Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 697f225

Browse files
committed
Actually send the call duration.
1 parent 0c47480 commit 697f225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cc/service/invocation/with_metrics.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def call
1818
raise ex
1919
ensure
2020
duration = ((Time.now - start_time) * 1_000)
21-
@statsd.timing(timing_key)
21+
@statsd.timing(timing_key, duration)
2222
end
2323

2424
def success_key

0 commit comments

Comments
 (0)