Skip to content

Commit

Permalink
Fix opentelemetry tracker duration recorded values (#66)
Browse files Browse the repository at this point in the history
Co-authored-by: Brett Beutell <[email protected]>
  • Loading branch information
brettimus and Brett Beutell authored Jul 19, 2023
1 parent 37920c0 commit ef71bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autometrics/tracker/opentelemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def __histogram(
percentile = latency[1].value

self.__histogram_instance.record(
duration * 1000,
duration,
attributes={
"function": function,
"module": module,
Expand Down

0 comments on commit ef71bb2

Please sign in to comment.