-
Notifications
You must be signed in to change notification settings - Fork 29
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
rq_ metrics are not collected by the exporter #33
Comments
Using latest docker image |
It seems that you don't have any workers running and there are no jobs enqueued, this is the initial state when there are no metrics to display. Take a look at the |
Thanks. I would expect it to show metric but with a value of 0 if there are
no jobs enqueued ?
…On Sat, 2 Dec 2023 at 5:54 PM, Pierre Mdawar ***@***.***> wrote:
It seems that you don't have any workers running and there are no jobs
enqueued, this is the initial state when there are no metrics to display.
Take a look at the docker-compose.yml
<https://github.com/mdawar/rq-exporter/blob/master/docker-compose.yml>
file for a complete example, you can start an example dev environment using docker
compose up.
—
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJKLW7JVNUOBSV5ZKG6Y65DYHMMYBAVCNFSM6AAAAABADHNX52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGEZTMMZVGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The Prometheus client automatically exports a 0 value for metrics without labels, all the metrics that you referred to have labels and are only exported when the data is available. |
Thanks a lot. I will test this on production and let you know.
…On Sat, 2 Dec 2023 at 6:24 PM, Pierre Mdawar ***@***.***> wrote:
The Prometheus client automatically exports a 0 value
<https://prometheus.io/docs/practices/instrumentation/#avoid-missing-metrics>
for metrics without labels, all the metrics that you referred to have
labels and are only exported when the data is available.
—
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJKLW7MEHV535U4J775R6EDYHMQJZAVCNFSM6AAAAABADHNX52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGE2DEMRRGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
were you able to fix it? |
The below metrics are not collected by the exporter
Debug logs of the container:
Metrics exposed by the exporter
The text was updated successfully, but these errors were encountered: