This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Getting complete duration in metrics #1392
Comments
Jobs include a timestamp and a finishOn fields that can be used for computing durations: https://api.docs.bullmq.io/classes/Job.html |
Thank you, could you also explain the meaning of parameters in that object?) Don't see any explanation in docs.
For example, I have
What does each of them mean? |
I'll write how I see that, correct me if I misunderstand something. meta.count - count of all jobs per hour(referring to data - an array of counts of jobs per point (per minute) |
Meta is actually data used internally, maybe we should not expose it to avoid confusion. |
@manast How to use this method to get the most recent jobs for a minute? |
Not sure what you mean with that. The method returns the completed/failed jobs with "descending" order by default: |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Does this library have a built-in mechanism for retrieving information about jobs completion duration? I could not find any methods containing execution time info in
QueueGetters.ts
The text was updated successfully, but these errors were encountered: