Skip to content

Commit ef71bb2

Browse files
brettimusBrett Beutell
andauthored
Fix opentelemetry tracker duration recorded values (#66)
Co-authored-by: Brett Beutell <brett@fiberplane.com>
1 parent 37920c0 commit ef71bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/autometrics/tracker/opentelemetry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def __histogram(
123123
percentile = latency[1].value
124124

125125
self.__histogram_instance.record(
126-
duration * 1000,
126+
duration,
127127
attributes={
128128
"function": function,
129129
"module": module,

0 commit comments

Comments
 (0)