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

jenkins.job.waiting is in seconds, not ms #394

Closed
pascalrobert opened this issue Feb 4, 2024 · 1 comment · Fixed by #401
Closed

jenkins.job.waiting is in seconds, not ms #394

pascalrobert opened this issue Feb 4, 2024 · 1 comment · Fixed by #401
Assignees

Comments

@pascalrobert
Copy link

The README says the jenkins.job.waiting metric is in ms, but the actual code is converting the values to seconds:

metrics.gauge("jenkins.job.waiting", TimeUnit.MILLISECONDS.toSeconds(waitingMs), hostname, tags);

Please adjust the doc to specific that it's in seconds, not millis.

@nikita-tkachenko-datadog
Copy link
Collaborator

Thank you for reporting this! The doc has been adjusted

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

Successfully merging a pull request may close this issue.

2 participants