open-telemetry / semantic-conventions

Defines standards for generating consistent, accessible telemetry across a variety of domains
Apache License 2.0
274 stars 175 forks source link

Add service.instance.pool #1404

Open verdie-g opened 2 months ago

verdie-g commented 2 months ago

Area(s)

area:service

Is your change request related to a problem? Please describe.

Instances of a service can be grouped into pools. For example, a service could be split into two pools: canary and default. Canary being a small pool that is deployed before default to check that everything is working as expected. Some pools can also be test pools of one or two instances to test a change in production.

The metrics can be aggregated by pool to easily compare the canary and default pools but currently there is no standard labels for that concept.

Describe the solution you'd like

A new label service.instance.pool which designates the pool the instance is part of. The value would depend on the company but some recommended values would be:

Describe alternatives you've considered

Additional context

No response