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

metric data format is Wrong! #1

Open
lshguo opened this issue Apr 18, 2017 · 0 comments
Open

metric data format is Wrong! #1

lshguo opened this issue Apr 18, 2017 · 0 comments

Comments

@lshguo
Copy link

lshguo commented Apr 18, 2017

In the code of "app.js", there is one line:
response.end("# TYPE qps gauge\nqps " + avgQps + "\n");
should be changed to:
response.end("# HELP qps querry per second\n# TYPE qps gauge\nqps " + avgQps + "\n");
the string of "# HELP ***" is describe in:
https://prometheus.io/docs/instrumenting/exposition_formats/

It worked in my environment where kuber version is 1.4.2, and heapster version is 1.3.0

Thanks for your attention!

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

1 participant