Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configure ¶
func Configure(ctx context.Context, cfg config.ObserveConfig) (shutdown func(context.Context) error, err error)
Configure sets up OpenTelemetry according to the configuration. If it does not return an error, make sure to call the returned shutdown function to properly stop the services and publish any unpublished batches of metrics.
func HttpTransport ¶
func HttpTransport(wrapped http.RoundTripper, cfg config.ObserveConfig) http.RoundTripper
Types ¶
type Multiplexer ¶
Click to show internal directories.
Click to hide internal directories.