Documentation ¶
Index ¶
- Constants
- func Configure(exporterType Exporter, name string, env map[string]any, config ExporterConfig) error
- func ConfigureWithCustomTracerProvider(tracer *tracesdk.TracerProvider) error
- func Middleware(ctx mojito.Context, next func() error) error
- func StartTracing(mojitoCtx mojito.Context, name string) trace.Span
- type Exporter
- type ExporterConfig
Constants ¶
View Source
const METADATA_NAME = "open-telemetry_ctx"
Variables ¶
This section is empty.
Functions ¶
func ConfigureWithCustomTracerProvider ¶
func ConfigureWithCustomTracerProvider(tracer *tracesdk.TracerProvider) error
Types ¶
type ExporterConfig ¶
type ExporterConfig struct {
ProviderURL string
}
Click to show internal directories.
Click to hide internal directories.