Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ElielBloemer opened this issue Sep 21, 2023 · 3 comments · Fixed by #660
Labels
documentation Documentation improvement needed help wanted

Comments

@ElielBloemer
Copy link

ElielBloemer commented Sep 21, 2023

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

@ElielBloemer ElielBloemer added the metrics-configuration How to configure specific metrics for collection label Sep 21, 2023
@matthiasr
Copy link
Contributor

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 😅

@matthiasr matthiasr added help wanted documentation Documentation improvement needed and removed metrics-configuration How to configure specific metrics for collection labels Sep 25, 2023
@matthiasr matthiasr reopened this Sep 27, 2023
@matthiasr
Copy link
Contributor

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

@ElielBloemer
Copy link
Author

Thank you so much @matthiasr. :)

matthiasr added a commit that referenced this issue Mar 3, 2024
This comes up frequently, because it is confusing unless you understand the
intricacies of the Prometheus data and query model, CloudWatch metrics
convergence, and the relevant settings.

Fixes #580.
Explanation adapted from #483 (comment).

Signed-off-by: Matthias Rampke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation improvement needed help wanted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants