Documentation ¶
Overview ¶
Package signalfxexporter implements an exporter that sends data to SignalFx.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶ added in v0.9.0
func NewFactory() component.ExporterFactory
NewFactory creates a factory for SignalFx exporter.
Types ¶
type Config ¶
type Config struct { configmodels.ExporterSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct. exporterhelper.TimeoutSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct. exporterhelper.QueueSettings `mapstructure:"sending_queue"` exporterhelper.RetrySettings `mapstructure:"retry_on_failure"` // AccessToken is the authentication token provided by SignalFx. AccessToken string `mapstructure:"access_token"` // Realm is the SignalFx realm where data is going to be sent to. Realm string `mapstructure:"realm"` // IngestURL is the destination to where SignalFx metrics will be sent to, it is // intended for tests and debugging. The value of Realm is ignored if the // URL is specified. If a path is not included the exporter will // automatically append the appropriate path, eg.: "v2/datapoint". // If a path is specified it will act as a prefix. IngestURL string `mapstructure:"ingest_url"` // APIURL is the destination to where SignalFx metadata will be sent. This // value takes precedence over the value of Realm APIURL string `mapstructure:"api_url"` // Headers are a set of headers to be added to the HTTP request sending // trace data. These can override pre-defined header values used by the // exporter, eg: "User-Agent" can be set to a custom value if specified // here. Headers map[string]string `mapstructure:"headers"` // Whether to log dimension updates being sent to SignalFx. LogDimensionUpdates bool `mapstructure:"log_dimension_updates"` splunk.AccessTokenPassthroughConfig `mapstructure:",squash"` // TranslationRules defines a set of rules how to translate metrics to a SignalFx compatible format // Rules defined in translation/constants.go are used by default. TranslationRules []translation.Rule `mapstructure:"translation_rules"` // DeltaTranslationTTL specifies in seconds the max duration to keep the most recent datapoint for any // `delta_metric` specified in TranslationRules. Default is 3600s. DeltaTranslationTTL int64 `mapstructure:"delta_translation_ttl"` // SyncHostMetadata defines if the exporter should scrape host metadata and // sends it as property updates to SignalFx backend. // IMPORTANT: Host metadata synchronization relies on `resourcedetection` processor. // If this option is enabled make sure that `resourcedetection` processor // is enabled in the pipeline with one of the cloud provider detectors // or environment variable detector setting a unique value to // `host.name` attribute within your k8s cluster. Also keep override // And keep `override=true` in resourcedetection config. SyncHostMetadata bool `mapstructure:"sync_host_metadata"` // ExcludeMetrics defines dpfilter.MetricFilters that will determine metrics to be // excluded from sending to SignalFx backend. If translations enabled with // TranslationRules options, the exclusion will be applie on translated metrics. ExcludeMetrics []dpfilters.MetricFilter `mapstructure:"exclude_metrics"` // IncludeMetrics defines dpfilter.MetricFilters to override exclusion any of metric. // This option can be used to included metrics that are otherwise dropped by default. // See ./translation/default_metrics.go for a list of metrics that are dropped by default. IncludeMetrics []dpfilters.MetricFilter `mapstructure:"include_metrics"` // Correlation configuration for syncing traces service and environment to metrics. Correlation *correlation.Config `mapstructure:"correlation"` // NonAlphanumericDimensionChars is a list of allowable characters, in addition to alphanumeric ones, // to be used in a dimension key. NonAlphanumericDimensionChars string `mapstructure:"nonalphanumeric_dimension_chars"` }
Config defines configuration for SignalFx exporter.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package correlation performs span to metric correlation for SignalFx.
|
Package correlation performs span to metric correlation for SignalFx. |
Click to show internal directories.
Click to hide internal directories.