diff --git a/CHANGELOG.md b/CHANGELOG.md index 67be2664bfd..a5207baab1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ release. - Rename `gcp_gke` to `gcp_kubernetes_engine` to have consistency with other Google products under `cloud.infrastructure_service` ([#1496](https://github.com/open-telemetry/opentelemetry-specification/pull/1496)) - `http.url` MUST NOT contain credentials ([#1502](https://github.com/open-telemetry/opentelemetry-specification/pull/1502)) +- Add `aws.eks.cluster.arn` to EKS specific semantic conventions ([#1484](https://github.com/open-telemetry/opentelemetry-specification/pull/1484)) ## v1.0.1 (2021-02-11) diff --git a/semantic_conventions/resource/cloud_provider/aws/eks.yaml b/semantic_conventions/resource/cloud_provider/aws/eks.yaml new file mode 100644 index 00000000000..d6415e0269f --- /dev/null +++ b/semantic_conventions/resource/cloud_provider/aws/eks.yaml @@ -0,0 +1,11 @@ +groups: + - id: aws.eks + prefix: aws.eks + brief: > + Resources used by AWS Elastic Kubernetes Service (EKS). + attributes: + - id: cluster.arn + type: string + brief: > + The ARN of an EKS cluster. + examples: ['arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'] \ No newline at end of file diff --git a/specification/resource/semantic_conventions/cloud_provider/aws/README.md b/specification/resource/semantic_conventions/cloud_provider/aws/README.md index c635c52e32a..25ef5cc35d2 100644 --- a/specification/resource/semantic_conventions/cloud_provider/aws/README.md +++ b/specification/resource/semantic_conventions/cloud_provider/aws/README.md @@ -18,4 +18,5 @@ services within AWS or are abstracted away from any particular service: Attributes that relate to an individual AWS service: -- [Elastic Container Service](./ecs.md) +- [Elastic Container Service (ECS)](./ecs.md) +- [Elastic Kubernetes Service (EKS)](./eks.md) diff --git a/specification/resource/semantic_conventions/cloud_provider/aws/eks.md b/specification/resource/semantic_conventions/cloud_provider/aws/eks.md new file mode 100644 index 00000000000..d4e36cbd07b --- /dev/null +++ b/specification/resource/semantic_conventions/cloud_provider/aws/eks.md @@ -0,0 +1,13 @@ +# AWS EKS + +**Status**: [Experimental](../../../../document-status.md) + +**type:** `aws.eks` + +**Description:** Resources used by AWS Elastic Kubernetes Service (EKS). + + +| Attribute | Type | Description | Examples | Required | +|---|---|---|---|---| +| `aws.eks.cluster.arn` | string | The ARN of an EKS cluster. | `arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster` | No | +