[chore] Move Peer to registry (#853)

Co-authored-by: Joao Grassi <5938087+joaopgrassi@users.noreply.github.com>
This commit is contained in:
Alexandra Konrad 2024-04-03 11:28:57 +02:00 committed by GitHub
parent 8dc38ecc97
commit bc4146949e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 34 additions and 9 deletions

View File

@ -48,6 +48,7 @@ body:
- area:network
- area:oci
- area:os
- area:peer
- area:process
- area:rpc
- area:server

View File

@ -41,6 +41,7 @@ body:
- area:network
- area:oci
- area:os
- area:peer
- area:process
- area:rpc
- area:server

View File

@ -50,6 +50,7 @@ body:
- area:network
- area:oci
- area:os
- area:peer
- area:process
- area:rpc
- area:server

View File

@ -54,6 +54,7 @@ Currently, the following namespaces exist:
* [Network](network.md)
* [OCI](oci.md)
* [OS](os.md)
* [Peer](peer.md)
* [Process](process.md)
* [RPC](rpc.md)
* [Server](server.md)

View File

@ -0,0 +1,12 @@
<!--- Hugo front matter used to generate the website version of this page:
--->
# Peer
## Peer Attributes
<!-- semconv registry.peer(omit_requirement_level) -->
| Attribute | Type | Description | Examples | Stability |
|---|---|---|---|---|
| `peer.service` | string | The [`service.name`](/docs/resource/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any. | `AuthTokenCache` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
<!-- endsemconv -->

View File

@ -296,7 +296,7 @@ Instrumentations SHOULD provide a way for users to configure this name.
<!-- semconv peer -->
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
|---|---|---|---|---|---|
| `peer.service` | string | The [`service.name`](/docs/resource/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any. | `AuthTokenCache` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| [`peer.service`](../attributes-registry/peer.md) | string | The [`service.name`](/docs/resource/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any. | `AuthTokenCache` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
<!-- endsemconv -->
Examples of `peer.service` that users may specify:

View File

@ -32,14 +32,8 @@ groups:
type: span
brief: "Operations that access some remote service."
attributes:
- id: service
type: string
stability: experimental
brief: >
The [`service.name`](/docs/resource/README.md#service)
of the remote service. SHOULD be equal to the actual `service.name`
resource attribute of the remote service if any.
examples: "AuthTokenCache"
- ref: peer.service
requirement_level: recommended
- id: identity
type: span
brief: >

15
model/registry/peer.yaml Normal file
View File

@ -0,0 +1,15 @@
groups:
- id: registry.peer
type: span
prefix: peer
brief: >
Operations that access some remote service.
attributes:
- id: service
type: string
stability: experimental
brief: >
The [`service.name`](/docs/resource/README.md#service)
of the remote service. SHOULD be equal to the actual `service.name`
resource attribute of the remote service if any.
examples: "AuthTokenCache"