Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithOtelHTTPOptions ¶
func WithOtelHTTPOptions(httpopts ...otelhttp.Option) confighttp.ToServerOption
WithOtelHTTPOptions allows providing (or overriding) options passed to the otelhttp.NewHandler() function.
This is located in the experimental sub-package because the otelhttp library has not reached v1.x yet and exposing its types in confighttp public API could lead to breaking changes in the future. See https://github.com/open-telemetry/opentelemetry-collector/pull/11769
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.