Skip to content

fix: correct job_duration metric unit from "{ms}" to "s"#314

Merged
joshfriend merged 1 commit into
mainfrom
fix/job-duration-metric-unit
May 18, 2026
Merged

fix: correct job_duration metric unit from "{ms}" to "s"#314
joshfriend merged 1 commit into
mainfrom
fix/job-duration-metric-unit

Conversation

@joshfriend
Copy link
Copy Markdown
Contributor

The metric records elapsed.Seconds() but the unit was "{ms}" (a dimensionless annotation, not actual milliseconds). Fix to "s" to match the recorded value and OTel conventions so Datadog displays the correct unit.

The metric records elapsed.Seconds() but the unit was "{ms}" (a
dimensionless annotation, not milliseconds). Fix to "s" to match
the recorded value and OTel conventions.
@joshfriend joshfriend marked this pull request as ready for review May 16, 2026 00:43
@joshfriend joshfriend requested a review from a team as a code owner May 16, 2026 00:43
@joshfriend joshfriend requested review from alecthomas and removed request for a team May 16, 2026 00:43
@joshfriend joshfriend merged commit a3df4dd into main May 18, 2026
8 checks passed
@joshfriend joshfriend deleted the fix/job-duration-metric-unit branch May 18, 2026 16:49
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 this pull request may close these issues.

1 participant