You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instrumentation-api-incubator/src/test/java/io/opentelemetry/instrumentation/api/incubator/semconv/rpc/RpcClientMetricsTest.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,7 @@ void collectsMetrics() {
80
80
assertThat(metric)
81
81
.hasName("rpc.client.duration")
82
82
.hasUnit("ms")
83
+
.hasDescription("Measures the duration of outbound RPC.")
83
84
.hasHistogramSatisfying(
84
85
histogram ->
85
86
histogram.hasPointsSatisfying(
@@ -112,6 +113,7 @@ void collectsMetrics() {
112
113
assertThat(metric)
113
114
.hasName("rpc.client.duration")
114
115
.hasUnit("ms")
116
+
.hasDescription("Measures the duration of outbound RPC.")
Copy file name to clipboardExpand all lines: instrumentation-api-incubator/src/test/java/io/opentelemetry/instrumentation/api/incubator/semconv/rpc/RpcServerMetricsTest.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,7 @@ void collectsMetrics() {
82
82
assertThat(metric)
83
83
.hasName("rpc.server.duration")
84
84
.hasUnit("ms")
85
+
.hasDescription("Measures the duration of inbound RPC.")
85
86
.hasHistogramSatisfying(
86
87
histogram ->
87
88
histogram.hasPointsSatisfying(
@@ -113,6 +114,7 @@ void collectsMetrics() {
113
114
assertThat(metric)
114
115
.hasName("rpc.server.duration")
115
116
.hasUnit("ms")
117
+
.hasDescription("Measures the duration of inbound RPC.")
0 commit comments