[BUG] alb, nlb targetgroup metrics not joinable on name with aws_(alb,nlb)_info metric #529
Closed
1 task done
Labels
bug
Something isn't working
Is there an existing issue for this?
Current Behavior
The metrics emitted by yace for alb and nlb regarding targetgroup metrics e.g. aws_alb_healthy_host_count_minimum are not possible to correlate with the respective aws_(alb,nlb)_info metric. (https://github.com/nerdswords/yet-another-cloudwatch-exporter#query-examples-without-exportedtagsonmetrics)
The problem is that the name label (arn) for the info metric is using the targetgroups ARN while the targetgroup related metric e.g. aws_alb_healthy_host_count_minimum is using the loadbalancers ARN.
aws_alb_healthy_host_count_minimum{name="arn:aws:elasticloadbalancing:eu-west-1:1111:loadbalancer/app/alb-external/asdfasdf"}
aws_alb_info{name="arn:aws:elasticloadbalancing:eu-west-1:1111:targetgroup/asdf-asdf/xasdf", tag_Port="9999"}
This does not work to join with:
(aws_alb_healthy_host_count_minimum + on (name) group_left(tag_Port) aws_alb_info)
Expected Behavior
Being able to join the targetgroup related metrics.
Steps To Reproduce
Use targetgroup related metrics like:
Try to join targetgroup related metrics.
Anything else?
No response
The text was updated successfully, but these errors were encountered: