forked from open-telemetry/opentelemetry-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add yaml for Cloud, Container, and Deployment resource attributes (op…
- Loading branch information
Showing
6 changed files
with
105 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
groups: | ||
- id: cloud | ||
prefix: cloud | ||
brief: > | ||
A cloud infrastructure (e.g. GCP, Azure, AWS) | ||
attributes: | ||
- id: provider | ||
type: | ||
allow_custom_values: true | ||
members: | ||
- id: AWS | ||
value: 'aws' | ||
brief: 'Amazon Web Services' | ||
- id: Azure | ||
value: 'azure' | ||
brief: 'Amazon Web Services' | ||
- id: GCP | ||
value: 'gcp' | ||
brief: 'Google Cloud Platform' | ||
brief: > | ||
Name of the cloud provider. | ||
examples: 'gcp' | ||
- id: account.id | ||
type: string | ||
brief: > | ||
The cloud account ID used to identify different entities. | ||
examples: ['opentelemetry'] | ||
- id: region | ||
type: string | ||
brief: > | ||
A specific geographical location where different entities can run. | ||
examples: ['us-central1'] | ||
- id: zone | ||
type: string | ||
brief: > | ||
Zones are a sub set of the region connected through low-latency links. | ||
note: > | ||
In AWS, this is called availability-zone. | ||
examples: ['us-central1-a'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
groups: | ||
- id: container | ||
prefix: container | ||
brief: > | ||
A container instance. | ||
attributes: | ||
- id: name | ||
type: string | ||
brief: > | ||
Container name. | ||
examples: ['opentelemetry-autoconf'] | ||
- id: id | ||
type: string | ||
brief: > | ||
Container id. Usually a UUID, as for example used to | ||
[identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). | ||
The UUID might be abbreviated. | ||
examples: ['a3bf90e006b2'] | ||
- id: image.name | ||
type: string | ||
brief: > | ||
Name of the image the container was built on. | ||
examples: ['gcr.io/opentelemetry/operator'] | ||
- id: image.tag | ||
type: string | ||
brief: > | ||
Container image tag. | ||
examples: ['0.1'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
groups: | ||
- id: deployment | ||
prefix: deployment | ||
brief: > | ||
The software deployment. | ||
attributes: | ||
- id: environment | ||
type: string | ||
brief: > | ||
Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) | ||
(aka deployment tier). | ||
examples: ['staging', 'production'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters