A list of extended statistics to retrieve. ![]() Defaults to all statistics unless extended statistics are requested. A list of statistics to retrieve, values can include Sum, SampleCount, Minimum, Maximum, Average. For the current metric, specify which CloudWatch dimension maps to the ARN resource ID. Where resource_type could be an empty string, like in S3 case: resource_type_selection: "s3:". resource_type_selection should be comprised as service:resource_type, as per the resource group tagging API. Specify a map from a tag key to a list of tag values to apply tag filtering on resources from which metrics will be gathered. A tag configuration to filter on, based on mapping from the tagged resource ID to a CloudWatch dimension. Specify a map from the dimension name to a list of regexes that will be applied to select from that dimension. Which dimension values to filter on with a regular expression. Specify a map from the dimension name to a list of values to select from that dimension. Run aws cloudwatch list-metrics to find out which dimensions you need to include for your metric. This should contain exactly all the dimensions available for a metric. A list of CloudWatch metrics to retrieve and export ![]() Useful for retrieving cross account metrics. If none is provided, an attempt will be made to determine the region from the default region provider chain. Note: A configuration builder can be found here. Note: configuration examples for different namespaces can be found in examples directory Resource_type_selection: "elasticloadbalancing:loadbalancer" ConfigurationĪn example with common options and aws_dimension_select:Īws_dimensions: The tag:GetResources IAM permission is also required to use the aws_tag_select feature. The cloudwatch:ListMetrics, cloudwatch:GetMetricStatistics and cloudwatch:GetMetricData IAM permissions are required. This includes the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment Which offers a variety of ways to provide credentials. ![]() The most recent pre-built JAR can be found at Credentials and permissions Java -jar target/cloudwatch_exporter-*-SNAPSHOT-jar-with-dependencies.jar 9106 example.yml to run. Building and runningĬloudwatch Exporter requires at least Java 11. Alternativesįor ECS workloads, there is also an ECS exporter.įor a different approach to CloudWatch metrics, with automatic discovery, consider Yet Another CloudWatch Exporter (YACE). A Prometheus exporter for Amazon CloudWatch.
0 Comments
Leave a Reply. |