-
Notifications
You must be signed in to change notification settings - Fork 886
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
promtool check metrics issues #204
Comments
@mjtrangoni - thanks for raising the issue, I think that's related to #178 - a lot or the Go ahead and open a PR if you want to fix the issue, that'd be great! |
@oliver006 ok, perfect. I will be sending a PR creating Counters instead of Gauges at weekend. Thanks! |
Thanks @mjtrangoni |
@oliver006 I took a look today, and saw that I can create from Exporter struct element Do you agree doing that? This will be fixing only the following two metrics,
After fixing them, I would be adding, like it is said in #178, a metric type field to the metricMap. Do you agree doing that too? This would be a separated PR. |
I think what you suggest makes sense. You'll probably need separate map for Counters and Gauges unless there's a common interface you can use instead (maybe And then follow the path laid out in #178 - you should be good to go! |
Hi @oliver006 ,
Checking the redis_exporter `v0.23.0 output with promtool, I have the following result,
If you agree, I could send a PR for fixing this, and also adding this check to CircleCI.
The text was updated successfully, but these errors were encountered: