mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-04-07 07:00:13 +02:00
doc: fix godoc for WithEndpointURL and WithEndpoint (#4947)
This commit is contained in:
parent
b62df520ff
commit
3fe7401645
@ -64,7 +64,7 @@ func WithInsecure() Option {
|
|||||||
return wrappedOption{otlpconfig.WithInsecure()}
|
return wrappedOption{otlpconfig.WithInsecure()}
|
||||||
}
|
}
|
||||||
|
|
||||||
// WithEndpointURL sets the target endpoint URL the Exporter will connect to.
|
// WithEndpoint sets the target endpoint the Exporter will connect to.
|
||||||
//
|
//
|
||||||
// If the OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
|
// If the OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
|
||||||
// environment variable is set, and this option is not passed, that variable
|
// environment variable is set, and this option is not passed, that variable
|
||||||
@ -82,7 +82,7 @@ func WithEndpoint(endpoint string) Option {
|
|||||||
return wrappedOption{otlpconfig.WithEndpoint(endpoint)}
|
return wrappedOption{otlpconfig.WithEndpoint(endpoint)}
|
||||||
}
|
}
|
||||||
|
|
||||||
// WithEndpoint sets the target endpoint URL the Exporter will connect to.
|
// WithEndpointURL sets the target endpoint URL the Exporter will connect to.
|
||||||
//
|
//
|
||||||
// If the OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
|
// If the OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
|
||||||
// environment variable is set, and this option is not passed, that variable
|
// environment variable is set, and this option is not passed, that variable
|
||||||
|
@ -60,7 +60,7 @@ func (w wrappedOption) applyHTTPOption(cfg otlpconfig.Config) otlpconfig.Config
|
|||||||
return w.ApplyHTTPOption(cfg)
|
return w.ApplyHTTPOption(cfg)
|
||||||
}
|
}
|
||||||
|
|
||||||
// WithEndpointURL sets the target endpoint URL the Exporter will connect to.
|
// WithEndpoint sets the target endpoint the Exporter will connect to.
|
||||||
//
|
//
|
||||||
// If the OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
|
// If the OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
|
||||||
// environment variable is set, and this option is not passed, that variable
|
// environment variable is set, and this option is not passed, that variable
|
||||||
@ -78,7 +78,7 @@ func WithEndpoint(endpoint string) Option {
|
|||||||
return wrappedOption{otlpconfig.WithEndpoint(endpoint)}
|
return wrappedOption{otlpconfig.WithEndpoint(endpoint)}
|
||||||
}
|
}
|
||||||
|
|
||||||
// WithEndpoint sets the target endpoint URL the Exporter will connect to.
|
// WithEndpointURL sets the target endpoint URL the Exporter will connect to.
|
||||||
//
|
//
|
||||||
// If the OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
|
// If the OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
|
||||||
// environment variable is set, and this option is not passed, that variable
|
// environment variable is set, and this option is not passed, that variable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user