Skip to content

Commit ea6f916

Browse files
committed
Update misleading Javadocs for client side metrics.
Stopwatch metrics always convert nanoseconds to milliseconds when getLong() is called on them.
1 parent 6a5d073 commit ea6f916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client-v2/src/main/java/com/clickhouse/client/api/metrics/ClientMetrics.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
public enum ClientMetrics {
44

55
/**
6-
* Operation duration in nanoseconds.
6+
* Operation duration in milliseconds.
77
*/
88
OP_DURATION("client.opDuration"),
99

1010
/**
11-
* Duration of the operation serialization step in nanoseconds.
11+
* Duration of the operation serialization step in milliseconds.
1212
*/
1313
OP_SERIALIZATION("client.opSerialization");
1414

0 commit comments

Comments
 (0)