Closed kaplanben closed 1 year ago
Hey @kaplanben, thanks for your report.
The exporter is currently showing the averageDuration
attribute from Rundeck jobs, and it really isn't the right attribute to measure the job execution duration.
I'll take a look at that issue as soon as possible!
Wow 😄 lightning fast! It works 👍
one suggestion I have is to rename the metric since the value is in milliseconds
and not second
e.g. # HELP rundeck_project_execution_duration_milliseconds Rundeck Project ProjectName Execution Duration in ms
Thank you @phsmith!
Awesome! :smiley:
Yeah, your suggestion is completely right, but Prometheus has some name conventions that encourages the usage of base units in the metrics name (seconds, bytes, meters, etc...). So in that case, it's better to transform the milliseconds value into seconds.
We're seeing strange numbers in
rundeck_project_execution_duration_seconds
metrics and we're not sure why:what's interesting is that
985109.0
appear multiple times.execution_id
is redundant no?job_a
average duration from Rundeck UI is18m
Any ideas?
Thanks!