prometheus/cloudwatch_exporter

I can see the metrics using localhost:9106/metrics but NOT in the web console from Prometheus

ElielBloemer opened this issue · 3 comments

Hello! I have a issue, I can see the metrics using localhost:9106/metrics

TYPE aws_applicationelb_new_connection_count_sum gauge

aws_applicationelb_new_connection_count_sum{job="aws_applicationelb",instance="",load_balancer="XXX",} 275.0 1695258240000
aws_applicationelb_new_connection_count_sum{job="aws_applicationelb",instance="",load_balancer="XXXXX",} 2.0 1695258180000
aws_applicationelb_new_connection_count_sum{job="aws_applicationelb",instance="",load_balancer="XXXXX",} 478.0 1695258240000
aws_applicationelb_new_connection_count_sum{job="aws_applicationelb",instance="",load_balancer="XXXX",} 1.0 1695258000000
aws_applicationelb_new_connection_count_sum{job="aws_applicationelb",instance="",load_balancer="XXX",} 3.0 1695258060000
aws_applicationelb_new_connection_count_sum{job="aws_applicationelb",instance="",load_balancer="XXXXX",} 4.0 1695258180000

But when I want to see these same metrics in the Prometheus Web it doesn´t appear!
How can I get the metrics in the Prometheus Web?
Thank you!

image

##################Prometheus config#####################
image

Please see this comment for an explanation of what's going on. I'm going to leave this issue open now because we really ought to document this more clearly and prominently in the README 😅

I want to leave this issue open as a reminder / call for help to finally properly document this 😄

Thank you so much @matthiasr. :)