Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { config.ExporterSettings `mapstructure:",squash"` confighttp.HTTPClientSettings `mapstructure:",squash"` exporterhelper.QueueSettings `mapstructure:"sending_queue"` exporterhelper.RetrySettings `mapstructure:"retry_on_failure"` ResourceToTelemetrySettings resourcetotelemetry.Settings `mapstructure:"resource_to_telemetry_conversion"` // Dynatrace API token with metrics ingest permission APIToken string `mapstructure:"api_token"` // DefaultDimensions will be added to all exported metrics DefaultDimensions map[string]string `mapstructure:"default_dimensions"` // String to prefix all metric names Prefix string `mapstructure:"prefix"` // Tags will be added to all exported metrics // Deprecated: Please use DefaultDimensions instead Tags []string `mapstructure:"tags"` }
Config defines configuration for the Dynatrace exporter.
func (*Config) ValidateAndConfigureHTTPClientSettings ¶ added in v0.34.0
ValidateAndConfigureHTTPClientSettings validates the configuration and sets default values
Click to show internal directories.
Click to hide internal directories.