@@ -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| Attribute | Type | Description | Examples | [ Requirement Level] ( https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/ ) | Stability |
8789| ---| ---| ---| ---| ---| ---|
@@ -363,12 +365,15 @@ different processes could be listening on TCP port 12345 and UDP port 12345.
363365### RPC client
364366
365367Below is a list of RPC client metric instruments.
366- These apply to traditional RPC usage, not streaming RPCs.
367368
368369#### Metric: ` rpc.client.duration `
369370
370371This metric is [ recommended] [ MetricRecommended ] .
371372
373+ This metric SHOULD be specified with
374+ [ ` ExplicitBucketBoundaries ` ] ( https://github.com/open-telemetry/opentelemetry-specification/blob/v1.50.0/specification/metrics/api.md#instrument-advisory-parameters )
375+ 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 ] ` .
376+
372377<!-- semconv metric.rpc.client.duration -->
373378<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
374379<!-- see templates/registry/markdown/snippet.md.j2 -->
@@ -378,12 +383,10 @@ This metric is [recommended][MetricRecommended].
378383
379384| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
380385| -------- | --------------- | ----------- | -------------- | --------- | ------ |
381- | ` rpc.client.duration ` | Histogram | ` ms ` | Measures the duration of outbound RPC. [ 1] | ![ Development] ( https://img.shields.io/badge/-development-blue ) | |
382-
383- ** [ 1] :** While streaming RPCs may record this metric as start-of-batch
384- to end-of-batch, it's hard to interpret in practice.
386+ | ` rpc.client.duration ` | Histogram | ` s ` | Measures the duration of outbound remote procedure calls (RPC). [ 1] | ![ Development] ( https://img.shields.io/badge/-development-blue ) | |
385387
386- ** Streaming** : N/A.
388+ ** [ 1] :** When this metric is reported alongside an RPC client span, the metric value
389+ SHOULD be the same as the RPC client span duration.
387390
388391| Attribute | Type | Description | Examples | [ Requirement Level] ( https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/ ) | Stability |
389392| ---| ---| ---| ---| ---| ---|
0 commit comments