Versions in this module Expand all Collapse all v1 v1.17.1 Feb 10, 2026 v1.17.0 Feb 2, 2026 Changes in this version + const CodeError + const CodeOk + const CodeUnset + const SpanKindClient + const SpanKindConsumer + const SpanKindInternal + const SpanKindProducer + const SpanKindServer + const SpanKindUnspecified + var Bool = attribute.Bool + var BoolSlice = attribute.BoolSlice + var ConfigFacade config.Config + var Float64 = attribute.Float64 + var Float64Slice = attribute.Float64Slice + var Int = attribute.Int + var Int64 = attribute.Int64 + var Int64Slice = attribute.Int64Slice + var IntSlice = attribute.IntSlice + var PropagationHeaderCarrier = func(h http.Header) propagation.HeaderCarrier + var PropagationMapCarrier = func(m map[string]string) propagation.MapCarrier + var String = attribute.String + var StringSlice = attribute.StringSlice + var Stringer = attribute.Stringer + var TelemetryFacade telemetry.Telemetry + var WithAttributes = trace.WithAttributes + var WithLinks = trace.WithLinks + var WithSpanKind = trace.WithSpanKind + var WithTimestamp = trace.WithTimestamp + type Application struct + func NewApplication(cfg Config) (*Application, error) + func (r *Application) Logger(name string, opts ...otellog.LoggerOption) otellog.Logger + func (r *Application) Meter(name string, opts ...otelmetric.MeterOption) otelmetric.Meter + func (r *Application) MeterProvider() otelmetric.MeterProvider + func (r *Application) Propagator() propagation.TextMapPropagator + func (r *Application) Shutdown(ctx context.Context) error + func (r *Application) Tracer(name string, opts ...oteltrace.TracerOption) oteltrace.Tracer + func (r *Application) TracerProvider() oteltrace.TracerProvider + type Config struct + Exporters map[string]ExporterEntry + Logs LogsConfig + Metrics MetricsConfig + Propagators string + Resource map[string]string + Service ServiceConfig + Traces TracesConfig + func (c Config) GetExporter(name string) (ExporterEntry, bool) + type ExporterDriver string + const LogExporterDriverConsole + const LogExporterDriverCustom + const LogExporterDriverOTLP + const MetricsExporterDriverConsole + const MetricsExporterDriverCustom + const MetricsExporterDriverOTLP + const TraceExporterDriverConsole + const TraceExporterDriverCustom + const TraceExporterDriverOTLP + const TraceExporterDriverZipkin + type ExporterEntry struct + Driver ExporterDriver + Endpoint string + Headers map[string]string + Insecure bool + MetricTemporality MetricTemporality + PrettyPrint bool + Protocol Protocol + Timeout time.Duration + Via any + type KeyValue = attribute.KeyValue + type LogsConfig struct + Exporter string + Processor LogsProcessorConfig + type LogsProcessorConfig struct + Interval time.Duration + Timeout time.Duration + type MetricTemporality string + const TemporalityCumulative + const TemporalityDelta + type MetricsConfig struct + Exporter string + Reader MetricsReaderConfig + type MetricsReaderConfig struct + Interval time.Duration + Timeout time.Duration + type Protocol string + const ProtocolGRPC + const ProtocolHTTPJSON + const ProtocolHTTPProtobuf + type SamplerConfig struct + Parent bool + Ratio float64 + Type string + type ServiceConfig struct + Environment string + Name string + Version string + type ServiceProvider struct + func (r *ServiceProvider) Boot(app foundation.Application) + func (r *ServiceProvider) Register(app foundation.Application) + func (r *ServiceProvider) Relationship() binding.Relationship + type ShutdownFunc = func(context.Context) error + func NewLoggerProvider(ctx context.Context, cfg Config, opts ...sdklog.LoggerProviderOption) (log.LoggerProvider, ShutdownFunc, error) + func NewMeterProvider(ctx context.Context, cfg Config, opts ...sdkmetric.Option) (metric.MeterProvider, ShutdownFunc, error) + func NewTracerProvider(ctx context.Context, cfg Config, opts ...sdktrace.TracerProviderOption) (oteltrace.TracerProvider, ShutdownFunc, error) + func NoopShutdown() ShutdownFunc + type TracesConfig struct + Exporter string + Sampler SamplerConfig