aws_ebs metrics and instance label

33 views
Skip to first unread message

Dmitry Levchenko

unread,
May 5, 2020, 8:22:14 AM5/5/20
to Prometheus Users

We have scraped aws_ebs_burst_balance_minimum metric from cloudwatch
aws_ebs_burst_balance_minimum{job="aws_ebs",instance="",volume_id="vol-0692443b3429d1f",} 99.0 1588671900000

The instance label is empty, so how to determinate which instance_id is use this ebs volume? any ideas?

Sally Lehman

unread,
May 16, 2020, 2:02:19 AM5/16/20
to Prometheus Users
Are you looking for a way to use an expression within Prometheus to determine that? There might be a way through combining other metrics that return an instance ID but I'm not aware of any....Does your use case allow for a AWS API/CLI lookup like describe-volumes https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-volumes.html that feeds in the prometheus volume data?
Reply all
Reply to author
Forward
0 new messages