Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bull
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 175
    • Issues 175
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OptimalBits
  • bull
  • Issues
  • #1867
Closed
Open
Issue created Sep 21, 2020 by Administrator@rootContributor

Question/feature request: Get time since a job was added to the queue OR manually retried?

Created by: papandreou

Hi!

In our setup we have some metrics and alerting around how long jobs spend in the queue before being processed so we can continuously fine-tune the number of workers. There's one scenario where we're having a bit of trouble coming up with the right number: A job that fails and some hours gets retried manually. In that case processedOn will be reset to null when the job gets retried, and timestamp still reflects the time where the job was first added to the queue.

At that point, is there any way to find out how long time the job has spent in the queue since it was manually retried? If the answer is no, I would be happy to open a PR that adds another timestamp to the job so it's possible. Just wanted to check first :)

Assignee
Assign to
Time tracking