From 580121698c95608e9619fd68dbd9317b3504bbd4 Mon Sep 17 00:00:00 2001 From: Jaana Dogan Date: Thu, 11 Mar 2021 02:02:16 -0800 Subject: [PATCH] Rename cloud.zone to cloud.availability_zone (#1495) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Christian Neumüller Co-authored-by: Armin Ruech --- semantic_conventions/resource/cloud.yaml | 10 +++++----- specification/resource/semantic_conventions/cloud.md | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/semantic_conventions/resource/cloud.yaml b/semantic_conventions/resource/cloud.yaml index 8c45dfcbe..d134478c0 100644 --- a/semantic_conventions/resource/cloud.yaml +++ b/semantic_conventions/resource/cloud.yaml @@ -33,15 +33,15 @@ groups: [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations). examples: ['us-central1', 'us-east-1'] - - id: zone + - id: availability_zone type: string brief: > Cloud regions often have multiple, isolated locations known as zones - to increase availability. Zone represents the zone where the resource - is running. + to increase availability. Availability zone represents the + zone where the resource is running. note: > - AWS and Azure calls them availability zones or AZs. - examples: ['us-central1-a', 'us-east-1c'] + Availability zones are called "zones" on Google Cloud. + examples: ['us-east-1c'] - id: infrastructure_service type: allow_custom_values: true diff --git a/specification/resource/semantic_conventions/cloud.md b/specification/resource/semantic_conventions/cloud.md index 60178b420..5e068bcb4 100644 --- a/specification/resource/semantic_conventions/cloud.md +++ b/specification/resource/semantic_conventions/cloud.md @@ -12,10 +12,10 @@ | `cloud.provider` | string | Name of the cloud provider. | `gcp` | No | | `cloud.account.id` | string | The cloud account ID the resource is assigned to. | `111111111111`; `opentelemetry` | No | | `cloud.region` | string | The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations). | `us-central1`; `us-east-1` | No | -| `cloud.zone` | string | Cloud regions often have multiple, isolated locations known as zones to increase availability. Zone represents the zone where the resource is running. [1] | `us-central1-a`; `us-east-1c` | No | +| `cloud.availability_zone` | string | Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running. [1] | `us-east-1c` | No | | `cloud.infrastructure_service` | string | The cloud infrastructure resource in use. [2] | `aws_ec2`; `azure_vm`; `gcp_compute_engine` | No | -**[1]:** AWS and Azure calls them availability zones or AZs. +**[1]:** Availability zones are called "zones" on Google Cloud. **[2]:** The prefix of the service SHOULD match the one specified in `cloud.provider`.