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

value of jetstream_server_total_consumers is not same as the output of nats con ls #187

Open
SiminMu opened this issue Aug 25, 2022 · 4 comments

Comments

@SiminMu
Copy link

SiminMu commented Aug 25, 2022

Hi, I am testing the prometheus-nats-exporter, is there a document which describes every metric in details?
I imported two dashboards from Grafana website, but some of the metric values look strange for me, Grafana dashboards:
https://grafana.com/grafana/dashboards/2279-nats-servers/
https://grafana.com/grafana/dashboards/14725-nats-jetstream/

One example is for metric jetstream_server_total_consumers{is_meta_leader="true"}, from the dashboard, I see it's 12, but actually we have 3 streams and have 12+12+1 consumers.
image

@AhmedAbouelkher
Copy link

Did you find a solution?
For me, I only see "no data" :( even when every configuration is right.

Screen Shot 2022-09-18 at 7 09 30 PM

@SiminMu
Copy link
Author

SiminMu commented Sep 19, 2022

Did you find a solution? For me, I only see "no data" :( even when every configuration is right.

Screen Shot 2022-09-18 at 7 09 30 PM

You may need to check your data source setting is right or not

@countravioli
Copy link

countravioli commented Sep 22, 2022

I added some context on this other ticket. #188 (comment)

I think a new version of the grafana dashboard needs to be published conforming to new variable names.

Edit:
It looks like there is newer published dashboard that fixes the variable naming issue. https://grafana.com/grafana/dashboards/13707-nats-server-dashboard/

@AhmedAbouelkher
Copy link

AhmedAbouelkher commented Sep 28, 2022

@SiminMu Can you share your prometheus-nats-exporter args?
And a snippet of your prometheus.yml if you can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants