You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-08-10 22:31:50 +02:00
docs: updating outdated comments (#5940)
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 <223565+codeboten@users.noreply.github.com>
This commit is contained in:
@@ -20,15 +20,13 @@ type (
|
|||||||
// telemetrySDK is a Detector that provides information about
|
// telemetrySDK is a Detector that provides information about
|
||||||
// the OpenTelemetry SDK used. This Detector is included as a
|
// the OpenTelemetry SDK used. This Detector is included as a
|
||||||
// builtin. If these resource attributes are not wanted, use
|
// builtin. If these resource attributes are not wanted, use
|
||||||
// the WithTelemetrySDK(nil) or WithoutBuiltin() options to
|
// resource.New() to explicitly disable them.
|
||||||
// explicitly disable them.
|
|
||||||
telemetrySDK struct{}
|
telemetrySDK struct{}
|
||||||
|
|
||||||
// host is a Detector that provides information about the host
|
// host is a Detector that provides information about the host
|
||||||
// being run on. This Detector is included as a builtin. If
|
// being run on. This Detector is included as a builtin. If
|
||||||
// these resource attributes are not wanted, use the
|
// these resource attributes are not wanted, use the
|
||||||
// WithHost(nil) or WithoutBuiltin() options to explicitly
|
// resource.New() to explicitly disable them.
|
||||||
// disable them.
|
|
||||||
host struct{}
|
host struct{}
|
||||||
|
|
||||||
stringDetector struct {
|
stringDetector struct {
|
||||||
|
Reference in New Issue
Block a user