Skip to content

Commit

Permalink
docs: updating outdated comments
Browse files Browse the repository at this point in the history
Found some comments that reference WithoutBuiltin that was removed
some time ago, and being able to pass in a parameter into WithTelemetrySDK
which is not valid.

Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
codeboten committed Nov 3, 2024
1 parent 06ee6f2 commit 942fe76
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sdk/resource/builtin.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@ type (
// telemetrySDK is a Detector that provides information about
// the OpenTelemetry SDK used. This Detector is included as a
// builtin. If these resource attributes are not wanted, use
// the WithTelemetrySDK(nil) or WithoutBuiltin() options to
// explicitly disable them.
// resource.New() to explicitly disable them.
telemetrySDK struct{}

// host is a Detector that provides information about the host
// being run on. This Detector is included as a builtin. If
// these resource attributes are not wanted, use the
// WithHost(nil) or WithoutBuiltin() options to explicitly
// disable them.
// resource.New() to explicitly disable them.
host struct{}

stringDetector struct {
Expand Down

0 comments on commit 942fe76

Please sign in to comment.