# Use nilToZero on all metrics else it won't work # Availability Metric for ELBs (Sucessfull requests / Total Requests) + k8s service name (aws_elb_httpcode_backend_4_xx_sum + on (name) group_left(tag_KubernetesCluster,tag_kubernetes_io_service_name) aws_elb_info) # Add kubernetes / kops tags on 4xx elb metrics (aws_es_free_storage_space_sum + on (name) group_left(tag_Type) aws_es_info) / 1024 # Free Storage in Megabytes + tag Type of the elasticsearch cluster Query Examples without exportedTagsOnMetrics # CPUUtilization + Name tag of the instance id - No more instance id needed for monitoringĪws_ec2_cpuutilization_average + on (name) group_left(tag_Name) aws_ec2_info # Track cloudwatch requests to calculate costs Metrics Examples # Metrics with exportedTagsOnMetricsĪws_ec2_cpuutilization_maximum 0 Return 0 value if Cloudwatch returns no metrics at allĮxport the metric with the original CloudWatch timestamp (Watch out using this for sparse metrics, e.g from S3)Ĭustom tags to be added as a list of Key/Value pairsĬloudWatch metric dimensions as a list of Name/Value pairs If set it will request metrics up until current_time - delay How far back to request data for in seconds List of dimensions to return beyond the default list per service List of Key/Value pairs to use for tag filtering (all must match), Value can be a regex. List of tags per service to export to all metricsĮxportedTagsOnMetrics example: exportedTagsOnMetrics: 0.5.0Ĭonfiguration Top level configuration Key quay.io/invisionag/yet-another-cloudwatch-exporter:x.x.x e.g.dynamodb - NoSQL Online Datenbank Service.Supported services with auto discovery through tags:.Pull data from multiple AWS accounts using cross-account roles.Static metrics support for all cloudwatch metrics without auto discovery.Allows exports metrics with CloudWatch timestamps (disabled by default).Allows to export 0 even if CloudWatch returns nil.Automatic adding of dimension labels to metrics.Automatic adding of tag labels to metrics.Stop worrying about your AWS IDs - Auto discovery of resources via tags.However, it has been in production use at InVision AG for a couple of months already. Things will probably break in upcoming versions. YACE is currently in quick iteration mode. ![]() YACE - yet another cloudwatch exporter Project Status
0 Comments
Leave a Reply. |