Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a factory for the spanmetrics connector.
Types ¶
type Config ¶
type Config struct { Resource ResourceConfig `mapstructure:"resource"` Scope ScopeConfig `mapstructure:"scope"` Span SpanConfig `mapstructure:"span"` SpanEvents SpanEventConfig `mapstructure:"span_events"` Namespace string `mapstructure:"namespace"` }
Config defines the configuration options for spaneventconnector.
type ResourceConfig ¶
type ResourceConfig struct {
Attributes []string `mapstructure:"attributes"`
}
type ScopeConfig ¶
type ScopeConfig struct {
Attributes []string `mapstructure:"attributes"`
}
type SpanConfig ¶
type SpanConfig struct { TraceID bool `mapstructure:"trace_id"` SpanID bool `mapstructure:"span_id"` ParentSpanID bool `mapstructure:"parent_span_id"` StartTs bool `mapstructure:"start_ts"` EndTs bool `mapstructure:"end_ts"` Name bool `mapstructure:"name"` Attributes []string `mapstructure:"attributes"` }
Click to show internal directories.
Click to hide internal directories.