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

Collect completed and failed jobs as counter metric type #188

Open
janhalama opened this issue Oct 6, 2020 · 0 comments
Open

Collect completed and failed jobs as counter metric type #188

janhalama opened this issue Oct 6, 2020 · 0 comments

Comments

@janhalama
Copy link

Hi there!

I have question regarding metrics types. Why does bull_exporter expose bull_queue_completed and bull_queue_failed metrics as type gauge? Completed and failed jobs can be represented as single monotonically increasing counter, which is what is Prometheus counter type designed for.

Completed and failed counters can be incremented in queue's global:completed and global:failed event handlers.

Jan

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