Documentation ¶
Index ¶
- Constants
- func Create(server *veneur.Server, name string, logger *logrus.Entry, config veneur.Config, ...) (sinks.MetricSink, error)
- func NewCloudwatchMetricSink(endpoint, namespace, region string, standardUnitTagName types.StandardUnit, ...) *cloudwatchMetricSink
- func ParseConfig(name string, config interface{}) (veneur.MetricSinkConfig, error)
- type CloudwatchMetricSinkConfig
Constants ¶
View Source
const ( DefaultCloudwatchStandardUnitTagName = "cloudwatch_standard_unit" DefaultRemoteTimeout = time.Duration(30 * time.Second) )
Variables ¶
This section is empty.
Functions ¶
func NewCloudwatchMetricSink ¶
func ParseConfig ¶
Types ¶
type CloudwatchMetricSinkConfig ¶
type CloudwatchMetricSinkConfig struct { AWSRegion string `yaml:"aws_region"` AWSDisableRetries bool `yaml:"aws_disable_retries"` CloudwatchEndpoint string `yaml:"cloudwatch_endpoint"` CloudwatchNamespace string `yaml:"cloudwatch_namespace"` CloudwatchStandardUnitTagName types.StandardUnit `yaml:"cloudwatch_standard_unit_tag_name"` RemoteTimeout time.Duration `yaml:"remote_timeout"` StripTags []string `yaml:"strip_tags"` }
Click to show internal directories.
Click to hide internal directories.