Skip to content

Commit

Permalink
Clarify example
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuraag Agrawal committed Jun 29, 2020
1 parent 2e42db3 commit 43520c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specification/trace/semantic_conventions/span-general.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ Instrumentation is expected to provide a way for users to configure this name.
| `peer.service` | Logical name of the service. <br/> MUST be the same for all instances of horizontally scaled services. Generally, a user SHOULD not set this to a fully qualified RPC service name as it would be a duplicate of `rpc.service`. |

Examples of `peer.service` that users may specify:
- A Redis cache of auth tokens, `AuthTokenCache`.
- A gRPC service `io.opentelemetry.AuthService` may be hosted in both a gateway, `ExternalApiService` and a backend, `AuthService`.
- A Redis cache of auth tokens. `peer.service=AuthTokenCache`.
- A gRPC service `rpc.service=io.opentelemetry.AuthService` may be hosted in both a gateway, `peer.service=ExternalApiService` and a backend, `peer.service=AuthService`.

## General identity attributes

Expand Down

0 comments on commit 43520c0

Please sign in to comment.