Skip to content

Commit

Permalink
don't capture potentially sensitive customer info
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS-ovm committed Jun 18, 2024
1 parent a4b046a commit f729d5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tracing/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ func tracingResource() *resource.Resource {

res, err := resource.New(context.Background(),
resource.WithDetectors(detectors...),
// Keep the default detectors
// replace the default detectors
resource.WithHost(),
resource.WithOS(),
resource.WithProcess(),
// resource.WithProcess(), // don't capture potentially sensitive customer info
resource.WithContainer(),
resource.WithTelemetrySDK(),
resource.WithSchemaURL(semconv.SchemaURL),
Expand Down

0 comments on commit f729d5d

Please sign in to comment.