Skip to content

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

Open
joshfriend wants to merge 1 commit into
mainfrom
fix/job-duration-metric-unit
Open

fix: correct job_duration metric unit from "{ms}" to "s"#314
joshfriend wants to merge 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
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