@@ -67,6 +67,10 @@ Below is a list of RPC server metric instruments.
6767
6868This metric is [ recommended] [ MetricRecommended ] .
6969
70+ This metric SHOULD be specified with
71+ [ ` ExplicitBucketBoundaries ` ] ( https://github.com/open-telemetry/opentelemetry-specification/blob/v1.50.0/specification/metrics/api.md#instrument-advisory-parameters )
72+ of ` [ 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10 ] ` .
73+
7074<!-- semconv metric.rpc.server.duration -->
7175<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
7276<!-- see templates/registry/markdown/snippet.md.j2 -->
@@ -76,12 +80,10 @@ This metric is [recommended][MetricRecommended].
7680
7781| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
7882| -------- | --------------- | ----------- | -------------- | --------- | ------ |
79- | ` rpc.server.duration ` | Histogram | ` ms ` | Measures the duration of inbound RPC. [ 1] | ![ Development] ( https://img.shields.io/badge/-development-blue ) | |
80-
81- ** [ 1] :** While streaming RPCs may record this metric as start-of-batch
82- to end-of-batch, it's hard to interpret in practice.
83+ | ` rpc.server.duration ` | Histogram | ` s ` | Measures the duration of inbound remote procedure calls (RPC). [ 1] | ![ Development] ( https://img.shields.io/badge/-development-blue ) | |
8384
84- ** Streaming** : N/A.
85+ ** [ 1] :** When this metric is reported alongside an RPC server span, the metric value
86+ SHOULD be the same as the RPC server span duration.
8587
8688** Attributes:**
8789
@@ -369,12 +371,15 @@ different processes could be listening on TCP port 12345 and UDP port 12345.
369371### RPC client
370372
371373Below is a list of RPC client metric instruments.
372- These apply to traditional RPC usage, not streaming RPCs.
373374
374375#### Metric: ` rpc.client.duration `
375376
376377This metric is [ recommended] [ MetricRecommended ] .
377378
379+ This metric SHOULD be specified with
380+ [ ` ExplicitBucketBoundaries ` ] ( https://github.com/open-telemetry/opentelemetry-specification/blob/v1.50.0/specification/metrics/api.md#instrument-advisory-parameters )
381+ of ` [ 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10 ] ` .
382+
378383<!-- semconv metric.rpc.client.duration -->
379384<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
380385<!-- see templates/registry/markdown/snippet.md.j2 -->
@@ -384,12 +389,10 @@ This metric is [recommended][MetricRecommended].
384389
385390| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
386391| -------- | --------------- | ----------- | -------------- | --------- | ------ |
387- | ` rpc.client.duration ` | Histogram | ` ms ` | Measures the duration of outbound RPC. [ 1] | ![ Development] ( https://img.shields.io/badge/-development-blue ) | |
388-
389- ** [ 1] :** While streaming RPCs may record this metric as start-of-batch
390- to end-of-batch, it's hard to interpret in practice.
392+ | ` rpc.client.duration ` | Histogram | ` s ` | Measures the duration of outbound remote procedure calls (RPC). [ 1] | ![ Development] ( https://img.shields.io/badge/-development-blue ) | |
391393
392- ** Streaming** : N/A.
394+ ** [ 1] :** When this metric is reported alongside an RPC client span, the metric value
395+ SHOULD be the same as the RPC client span duration.
393396
394397** Attributes:**
395398
0 commit comments