Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/internal/tools/github.…
Browse files Browse the repository at this point in the history
…com/golangci/golangci-lint-1.45.2
  • Loading branch information
MrAlias authored Mar 28, 2022
2 parents 8df3d0d + 0a7cf5a commit 8a6c3d3
Show file tree
Hide file tree
Showing 15 changed files with 2,085 additions and 61 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

### Security

- Upgrade `go.opentelemetry.io/proto/otlp` from `v0.12.0` to `v0.12.1`.
This includes an indirect upgrade of `github.com/grpc-ecosystem/grpc-gateway` which resolves [a vulnerability](https://nvd.nist.gov/vuln/detail/CVE-2019-11254) from `gopkg.in/yaml.v2` in version `v2.2.3`. (#2724, #TBD)

## [1.6.0/0.28.0] - 2022-03-23

### ⚠️ Notice ⚠️
Expand Down
283 changes: 278 additions & 5 deletions example/otel-collector/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion exporters/otlp/otlpmetric/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
go.opentelemetry.io/otel/metric v0.28.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/sdk/metric v0.28.0
go.opentelemetry.io/proto/otlp v0.12.0
go.opentelemetry.io/proto/otlp v0.12.1
google.golang.org/grpc v1.45.0
google.golang.org/protobuf v1.27.1
)
Expand Down
308 changes: 300 additions & 8 deletions exporters/otlp/otlpmetric/go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ require (
go.opentelemetry.io/otel/metric v0.28.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/sdk/metric v0.28.0
go.opentelemetry.io/proto/otlp v0.12.0
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
go.opentelemetry.io/proto/otlp v0.12.1
google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1
google.golang.org/grpc v1.45.0
google.golang.org/protobuf v1.27.1
)
Expand Down
308 changes: 300 additions & 8 deletions exporters/otlp/otlpmetric/otlpmetricgrpc/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion exporters/otlp/otlpmetric/otlpmetrichttp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.28.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/proto/otlp v0.12.0
go.opentelemetry.io/proto/otlp v0.12.1
google.golang.org/protobuf v1.27.1
)

Expand Down
308 changes: 300 additions & 8 deletions exporters/otlp/otlpmetric/otlpmetrichttp/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion exporters/otlp/otlptrace/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
go.opentelemetry.io/proto/otlp v0.12.0
go.opentelemetry.io/proto/otlp v0.12.1
google.golang.org/grpc v1.45.0
google.golang.org/protobuf v1.27.1
)
Expand Down
308 changes: 300 additions & 8 deletions exporters/otlp/otlptrace/go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions exporters/otlp/otlptrace/otlptracegrpc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ require (
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/proto/otlp v0.12.0
go.opentelemetry.io/proto/otlp v0.12.1
go.uber.org/goleak v1.1.12
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1
google.golang.org/grpc v1.45.0
google.golang.org/protobuf v1.27.1
)
Expand Down
285 changes: 279 additions & 6 deletions exporters/otlp/otlptrace/otlptracegrpc/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion exporters/otlp/otlptrace/otlptracehttp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
go.opentelemetry.io/proto/otlp v0.12.0
go.opentelemetry.io/proto/otlp v0.12.1
google.golang.org/protobuf v1.27.1
)

Expand Down
308 changes: 300 additions & 8 deletions exporters/otlp/otlptrace/otlptracehttp/go.sum

Large diffs are not rendered by default.

17 changes: 15 additions & 2 deletions sdk/resource/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,16 @@ func WithOSDescription() Option {
}

// WithProcess adds all the Process attributes to the configured Resource.
// See individual WithProcess* functions to configure specific attributes.
//
// Warning! This option will include process command line arguments. If these
// contain sensitive information it will be included in the exported resource.
//
// This option is equivalent to calling WithProcessPID,
// WithProcessExecutableName, WithProcessExecutablePath,
// WithProcessCommandArgs, WithProcessOwner, WithProcessRuntimeName,
// WithProcessRuntimeVersion, and WithProcessRuntimeDescription. See each
// option function for information about what resource attributes each
// includes.
func WithProcess() Option {
return WithDetectors(
processPIDDetector{},
Expand Down Expand Up @@ -143,7 +152,11 @@ func WithProcessExecutablePath() Option {
}

// WithProcessCommandArgs adds an attribute with all the command arguments (including
// the command/executable itself) as received by the process the configured Resource.
// the command/executable itself) as received by the process to the configured
// Resource.
//
// Warning! This option will include process command line arguments. If these
// contain sensitive information it will be included in the exported resource.
func WithProcessCommandArgs() Option {
return WithDetectors(processCommandArgsDetector{})
}
Expand Down

0 comments on commit 8a6c3d3

Please sign in to comment.