Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OTLPConfig ¶
type OTLPConfig struct {
Endpoint string `toml:"endpoint,omitempty"`
Protocol string `toml:"protocol,omitempty"`
Insecure bool `toml:"insecure,omitempty"`
}
OTLPConfig holds the configurations for the built-in otlp span processor
type TraceConfig ¶
type TraceConfig struct {
ServiceName string `toml:"service_name,omitempty"`
TraceSamplingRatio float64 `toml:"sampling_ratio,omitempty"`
}
TraceConfig is the common configuration for open telemetry.
Click to show internal directories.
Click to hide internal directories.