Skip to content

Commit

Permalink
Draft:(resource/sem) Adding Datacenter Conventions.
Browse files Browse the repository at this point in the history
* Would be good to unify potentially with "Cloud" conventions. To try to
  be a little more generic.

Relates to #1458
  • Loading branch information
hdost committed Feb 23, 2021
1 parent 168aa71 commit e5cc5c9
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions specification/resource/semantic_conventions/datacenter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# DataCenter

**Status**: [Experimental](../../document-status.md)

**type:** `datacenter`

**Description:** Generic DataCenter infrastructure tagging.

<!-- semconv datacenter -->
| Attribute | Type | Description | Examples | Required |
|---|---|---|---|---|
| `dc.name` | string | Name of datacenter. | `dc-name` | No |
| `dc.provider.name` | string | Name of the datacenter provider | `corp` | No |
| `dc.provider.type` | string | Type of datacenter | `colocation` | No |
| `dc.suite` | string | Name of the datacenter suite | `suite-5` | No |
| `dc.site` | string | Name of the datacenter site | `site-1` | No |
| `dc.cage` | string | Name of the cage | `cage-1` | No |
| `dc.pod` | string | Name of the pod | `pod-4` | No |
| `dc.rack` | string | Name of the rack | `rack-7` | No |

`dc.provider.name` MUST be one of the following or, if none of the listed values apply, a custom value:

| Value | Description |
|---|---|
| `aws` | Amazon Web Services |
| `azure` | Microsoft Azure |
| `gcp` | Google Cloud Platform |
| `corp` | Internally Hosted Platform |

`dc.provider.type` MUST be one of the following or, if none of the listed values apply, a custom value:

| Value | Description |
|---|---|
| `cloud` | Amazon Web Services |
| `colocation` | Microsoft Azure |
| `internal` | Google Cloud Platform |

<!-- endsemconv -->

0 comments on commit e5cc5c9

Please sign in to comment.