open-telemetry / semantic-conventions

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

Rename `cloud.resource_id` to `cloud.resource.id` (blocked - we don't allow such renames for now) #1256

Open lmolkova opened 3 months ago

lmolkova commented 3 months ago

There could be cloud.resoure.name and possibly other properties of a cloud resource.

Based on the discussion in#1118, specifically https://github.com/open-telemetry/semantic-conventions/issues/1118#issuecomment-2159136053, we should use . instead of _ where it makes sense.

Since it's easy to imagine cloud.resource.name (e.g. on Azure id would be /subscriptions/<SUBSCIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<webapp> and name would be webapp, there could be others - type =Microsoft.Web/sites, group = <RG>)

This could be done during #1118 phase-3 and cannot be done before or after that.