@@ -16,11 +16,11 @@ metrics can be filtered for finer grain analysis.
1616
1717- [ Metric instruments] ( #metric-instruments )
1818 - [ RPC server] ( #rpc-server )
19- - [ Metric: ` rpc.server.duration ` ] ( #metric-rpcserverduration )
19+ - [ Metric: ` rpc.server.call. duration ` ] ( #metric-rpcservercallduration )
2020 - [ Metric: ` rpc.server.request.size ` ] ( #metric-rpcserverrequestsize )
2121 - [ Metric: ` rpc.server.response.size ` ] ( #metric-rpcserverresponsesize )
2222 - [ RPC client] ( #rpc-client )
23- - [ Metric: ` rpc.client.duration ` ] ( #metric-rpcclientduration )
23+ - [ Metric: ` rpc.client.call. duration ` ] ( #metric-rpcclientcallduration )
2424 - [ Metric: ` rpc.client.request.size ` ] ( #metric-rpcclientrequestsize )
2525 - [ Metric: ` rpc.client.response.size ` ] ( #metric-rpcclientresponsesize )
2626- [ Semantic Conventions for specific RPC technologies] ( #semantic-conventions-for-specific-rpc-technologies )
@@ -63,23 +63,25 @@ MUST be of the specified type and units.
6363
6464Below is a list of RPC server metric instruments.
6565
66- #### Metric: ` rpc.server.duration `
66+ #### Metric: ` rpc.server.call. duration `
6767
6868This metric is [ recommended] [ MetricRecommended ] .
6969
70- <!-- semconv metric.rpc.server.duration -->
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+
74+ <!-- semconv metric.rpc.server.call.duration -->
7175<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
7276<!-- see templates/registry/markdown/snippet.md.j2 -->
7377<!-- prettier-ignore-start -->
7478
7579| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
7680| -------- | --------------- | ----------- | -------------- | --------- | ------ |
77- | ` rpc.server.duration ` | Histogram | ` ms ` | Measures the duration of inbound RPC. [ 1] | ![ Development] ( https://img.shields.io/badge/-development-blue ) | |
78-
79- ** [ 1] :** While streaming RPCs may record this metric as start-of-batch
80- to end-of-batch, it's hard to interpret in practice.
81+ | ` rpc.server.call.duration ` | Histogram | ` s ` | Measures the duration of inbound remote procedure calls (RPC). [ 1] | ![ Development] ( https://img.shields.io/badge/-development-blue ) | |
8182
82- ** Streaming** : N/A.
83+ ** [ 1] :** When this metric is reported alongside an RPC server span, the metric value
84+ SHOULD be the same as the RPC server span duration.
8385
8486** Attributes:**
8587
@@ -360,25 +362,26 @@ different processes could be listening on TCP port 12345 and UDP port 12345.
360362### RPC client
361363
362364Below is a list of RPC client metric instruments.
363- These apply to traditional RPC usage, not streaming RPCs.
364365
365- #### Metric: ` rpc.client.duration `
366+ #### Metric: ` rpc.client.call. duration `
366367
367368This metric is [ recommended] [ MetricRecommended ] .
368369
369- <!-- semconv metric.rpc.client.duration -->
370+ This metric SHOULD be specified with
371+ [ ` ExplicitBucketBoundaries ` ] ( https://github.com/open-telemetry/opentelemetry-specification/blob/v1.50.0/specification/metrics/api.md#instrument-advisory-parameters )
372+ 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 ] ` .
373+
374+ <!-- semconv metric.rpc.client.call.duration -->
370375<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
371376<!-- see templates/registry/markdown/snippet.md.j2 -->
372377<!-- prettier-ignore-start -->
373378
374379| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
375380| -------- | --------------- | ----------- | -------------- | --------- | ------ |
376- | ` rpc.client.duration ` | Histogram | ` ms ` | Measures the duration of outbound RPC. [ 1] | ![ Development] ( https://img.shields.io/badge/-development-blue ) | |
377-
378- ** [ 1] :** While streaming RPCs may record this metric as start-of-batch
379- to end-of-batch, it's hard to interpret in practice.
381+ | ` rpc.client.call.duration ` | Histogram | ` s ` | Measures the duration of outbound remote procedure calls (RPC). [ 1] | ![ Development] ( https://img.shields.io/badge/-development-blue ) | |
380382
381- ** Streaming** : N/A.
383+ ** [ 1] :** When this metric is reported alongside an RPC client span, the metric value
384+ SHOULD be the same as the RPC client span duration.
382385
383386** Attributes:**
384387
0 commit comments