Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct {
// contains filtered or unexported fields
}
Bridge pushes metrics to AWS CloudWatch
type Config ¶
type Config struct { // Required. The AWS Region to use AwsRegion string // Required. The CloudWatch namespace under which metrics should be published CloudWatchNamespace string // The frequency with which metrics should be published to Cloudwatch. CloudWatchPublishInterval time.Duration // Timeout for sending metrics to Cloudwatch. CloudWatchPublishTimeout time.Duration // Prometheus scrape URL. If it's empty, then internal Prometheus handler will be used. PrometheusScrapeURL string // Additional dimensions to send to CloudWatch AdditionalDimensions map[string]string // Replace dimensions with the provided label. This allows for aggregating metrics across dimensions so we can set CloudWatch Alarms on the metrics ReplaceDimensions map[string]string }
Config defines configuration options
Click to show internal directories.
Click to hide internal directories.