package
2.32.4
Repository: https://github.com/docker/compose.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ConfigFromDockerContext inspects extra metadata included as part of the specified Docker context to try and extract a valid OTLP client configuration.
ContainerOptions returns common attributes from a Moby container.
EventWrapFuncForErrGroup invokes a function and records an event, optionally including the returned error as the "exception message" on the event.
No description provided by the author
No description provided by the author
No description provided by the author
ProjectOptions returns common attributes from a Compose project.
ServiceOptions returns common attributes from a Compose service.
SpanWrapFunc wraps a function that takes a context with a trace.Span, marking the status as codes.Error if the wrapped function returns an error.
SpanWrapFuncForErrGroup wraps a function that takes a context with a trace.Span, marking the status as codes.Error if the wrapped function returns an error.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
OTLPConfig contains the necessary values to initialize an OTLP client manually.

# Type aliases

ShutdownFunc flushes and stops an OTEL exporter.
SpanOptions is a small helper type to make it easy to share the options helpers between downstream functions that accept slices of trace.SpanStartOption and trace.EventOption.