Versions in this module Expand all Collapse all v0 v0.0.1 Sep 14, 2024 Changes in this version + func AddMeterContext(ctx context.Context, meter metric.Meter) context.Context + func AddTracerContext(ctx context.Context, tracer trace.Tracer) context.Context + func LogProviderFromContext(ctx context.Context) (*sdklog.LoggerProvider, error) + func MeterFromContext(ctx context.Context) (metric.Meter, error) + func TracerFromContext(ctx context.Context) (trace.Tracer, error) + type CleanupFunc func(context.Context) + func InitProviders(ctx context.Context, cfg *Config) (context.Context, CleanupFunc, error) + type Config struct + Lambda bool + OtelEndpoint string + ServiceName string + TlsConfig *tls.Config + type DefaultResourceError struct + func (e DefaultResourceError) Error() string + type GrpcConnError struct + func (e GrpcConnError) Error() string + type LambdaResourceError struct + func (e LambdaResourceError) Error() string + type LogExporterError struct + func (e LogExporterError) Error() string + type LogProviderError struct + func (e LogProviderError) Error() string + type LoggerCtxKey struct + type MeterCtxKey struct + type MeterError struct + func (e MeterError) Error() string + type MetricExporterError struct + func (e MetricExporterError) Error() string + type ResourceEnvError struct + func (e ResourceEnvError) Error() string + type ResourceMergeError struct + func (e ResourceMergeError) Error() string + type SdkResourceError struct + func (e SdkResourceError) Error() string + type ShutdownFuncs []func(context.Context) error + type TraceExporterError struct + func (e TraceExporterError) Error() string + type TracerCtxKey struct + type TracerError struct + func (e TracerError) Error() string