From b971d97b3210fcd1ee1fe4b10b5bd71881d7f3e2 Mon Sep 17 00:00:00 2001 From: Jay Camp Date: Tue, 29 Sep 2020 08:12:05 -0400 Subject: [PATCH] Explicitly specify cloud.provider values for common cloud providers (#1018) * Explicitly specify cloud.provider values for common cloud providers Before some cloud provider values were given as an examples but it was still left open to interpretation about what that meant. This makes it more explicit that these are known values for those particular cloud providers. * Apply suggestions from code review Co-authored-by: Armin Ruech --- specification/resource/semantic_conventions/cloud.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/specification/resource/semantic_conventions/cloud.md b/specification/resource/semantic_conventions/cloud.md index 961a0f023..5a6b37874 100644 --- a/specification/resource/semantic_conventions/cloud.md +++ b/specification/resource/semantic_conventions/cloud.md @@ -6,7 +6,17 @@ | Attribute | Description | Example | |---|---|---| -| cloud.provider | Name of the cloud provider.
Example values are aws, azure, gcp. | `gcp` | +| cloud.provider | Name of the cloud provider. See [Cloud Providers](#cloud-providers) for a list of known values. | `gcp` | | cloud.account.id | The cloud account id used to identify different entities. | `opentelemetry` | | cloud.region | A specific geographical location where different entities can run | `us-central1` | | cloud.zone | Zones are a sub set of the region connected through low-latency links.
In aws it is called availability-zone. | `us-central1-a` | + +## Cloud Providers + +`cloud.provider` MUST be one of the following or, if none of the listed values apply, a custom value: + +| cloud.provider | Description | +|---|---| +| aws | Amazon Web Services | +| azure | Microsoft Azure | +| gcp | Google Cloud Platform |