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

Expose queue sizes via Prometheus metrics #296

Open
davidor opened this issue Jun 30, 2021 · 1 comment
Open

Expose queue sizes via Prometheus metrics #296

davidor opened this issue Jun 30, 2021 · 1 comment

Comments

@davidor
Copy link
Contributor

davidor commented Jun 30, 2021

In some environments, that's done using a Redis exporter. However, that's not available in some setups. For that reason, it'd be nice if the Apisonator workers exposed the queue sizes via Prometheus.

@slopezz
Copy link
Member

slopezz commented Jun 30, 2021

One problem of redis exporter, is that when a queue is empty, there is no key in redis, so its value does not exist. Because of that reason, you can not define alerts checking increments over time using functions like predict linear, because you need a 0 value if queue is empty.

So it would be nice to return a 0 in case a queue is empty instead of not returning any value.

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

2 participants