You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
Hello all,
Using the Prometheus CloudWatch Exporter, does anyone know or have a way of getting the EBS volume name (tag:Name) out rather than the VolumeId? I have many volumes, identifying them by and alerting on their ID is not very helpful.
Thanks,
Nils
Brian Candler
unread,
Aug 7, 2021, 4:12:35 AM8/7/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
If there's a separate metric which has VolumeId and volume name as labels, then you can use a many-to-one join to add the labels from this extra metric to your original query. See:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
Thanks, yes, I'm aware of how to join labels e.a. )
The problem I'm facing is that the Name tag for Volumes does not seem to be exposed in the first place - so I was wondering whether there was someone who found a way to pull in Name or otherwise.
Brian Candler
unread,
Aug 7, 2021, 12:32:43 PM8/7/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
OK. And for completeness, presumably you've tried the aws_tag_select feature?