Documentation
¶
Overview ¶
Package signalfxcorrelationexporter performs span to metric correlation for SignalFx.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ExporterFactory
NewFactory creates a factory for signalfx_correlation exporter.
Types ¶
type Config ¶
type Config struct { configmodels.ExporterSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct. confighttp.HTTPClientSettings `mapstructure:",squash"` correlations.Config `mapstructure:",squash"` // How long to wait after a trace span's service name is last seen before // uncorrelating that service. StaleServiceTimeout time.Duration `mapstructure:"stale_service_timeout"` // SyncAttributes is a key of the span attribute name to sync to the dimension as the value. SyncAttributes map[string]string `mapstructure:"sync_attributes"` // AccessToken is the authentication token provided by SignalFx. AccessToken string `mapstructure:"access_token"` // HostTranslations is a map where the key is the host attribute name to rename to the value. // TODO: Remove once translations are removed from signalfx exporter. HostTranslations map[string]string `mapstructure:"host_translations"` }
Config defines configuration for signalfx_correlation exporter.
type Tracker ¶
type Tracker struct {
// contains filtered or unexported fields
}
Tracker correlation
func NewTracker ¶
func NewTracker(cfg *Config, params component.ExporterCreateParams) *Tracker
NewTracker creates a new tracker instance for correlation.
Click to show internal directories.
Click to hide internal directories.