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

Prometheus exporter /metrics endpoint does not produce correct output #366

Closed
nikitabugrovsky opened this issue Apr 16, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@nikitabugrovsky
Copy link
Contributor

nikitabugrovsky commented Apr 16, 2023

Describe the bug

The prometheus exporter /metrics endpoint does not produce correct output for

#TYPE pgagroal_query_count count

That "count" at the end is invalid. It has to be "counter".
Prometheus and the signalfx cannot parse that correctly.

Offending lines are:

data = pgagroal_append(data, "#TYPE pgagroal_query_count count\n");

data = pgagroal_append(data, "#TYPE pgagroal_tx_count count\n");

Version

pgagroal 1.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants