Skip to content

Commit 9a4ea41

Browse files
authored
(chore) Resource -> Entity : Part 2 : Update all group ids, group id guidance and references to group ids. (#2244)
1 parent 45e91ae commit 9a4ea41

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+124
-102
lines changed

.chloggen/2244.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Use this changelog template to create an entry for release notes.
2+
#
3+
# If your change doesn't affect end users you should instead start
4+
# your pull request title with [chore] or use the "Skip Changelog" label.
5+
6+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
7+
change_type: enhancement
8+
9+
# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db)
10+
component: all
11+
12+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
13+
note: "Renames all `resource.*` groups to be `entity.*`"
14+
15+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
16+
# The values here must be integers.
17+
issues: [2244]
18+
19+
# (Optional) One or more lines of additional information to render under the primary note.
20+
# These lines will be padded with 2 spaces and then inserted directly into the document.
21+
# Use pipe (|) for multiline entries.
22+
subtext: Part of open-telemetry/opentelemetry-specification#4436

docs/general/semantic-convention-groups.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Each group has a `type` property that could be one of the following:
1313
- `span` - defines semantic convention for a specific type of span, such as HTTP `CLIENT`
1414
- `metric` - defines semantic convention for a specific metric, such as HTTP client request duration
1515
- `event` - defines semantic conventions for a specific event, such as exception.
16-
- `resource` - defines semantic conventions for a specific entity the telemetry is collected within,
16+
- `entity` - defines semantic conventions for a specific entity the telemetry is collected within,
1717
such as `service`.
1818

1919
Groups that have `attribute_group` type do not describe semantic convention and

docs/resource/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ as specified in the [Resource SDK specification](https://github.com/open-telemet
6767

6868
## Service
6969

70-
<!-- semconv resource.service -->
70+
<!-- semconv entity.service -->
7171
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
7272
<!-- see templates/registry/markdown/snippet.md.j2 -->
7373
<!-- prettier-ignore-start -->
@@ -140,7 +140,7 @@ service.name = Shop.shoppingcart
140140

141141
## Telemetry SDK
142142

143-
<!-- semconv resource.telemetry.sdk -->
143+
<!-- semconv entity.telemetry.sdk -->
144144
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
145145
<!-- see templates/registry/markdown/snippet.md.j2 -->
146146
<!-- prettier-ignore-start -->
@@ -193,7 +193,7 @@ All custom identifiers SHOULD be stable across different versions of an implemen
193193

194194
## Telemetry distro
195195

196-
<!-- semconv resource.telemetry.distro -->
196+
<!-- semconv entity.telemetry.distro -->
197197
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
198198
<!-- see templates/registry/markdown/snippet.md.j2 -->
199199
<!-- prettier-ignore-start -->

docs/resource/android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Android
22

3-
<!-- semconv resource.android -->
3+
<!-- semconv entity.android -->
44
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
55
<!-- see templates/registry/markdown/snippet.md.j2 -->
66
<!-- prettier-ignore-start -->

docs/resource/browser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Browser
22

3-
<!-- semconv resource.browser -->
3+
<!-- semconv entity.browser -->
44
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
55
<!-- see templates/registry/markdown/snippet.md.j2 -->
66
<!-- prettier-ignore-start -->

docs/resource/cicd.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ See also:
2424

2525
### CICD pipeline
2626

27-
<!-- semconv resource.cicd.pipeline -->
27+
<!-- semconv entity.cicd.pipeline -->
2828
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
2929
<!-- see templates/registry/markdown/snippet.md.j2 -->
3030
<!-- prettier-ignore-start -->
@@ -55,7 +55,7 @@ Since this resource is unique for each pipeline run, this means instantiating se
5555

5656
Using the CICD pipeline run resource with metrics inherently causes high cardinality and may increase costs with some metric storage backends. Thus, using CICD pipeline run resource for metrics MUST be opt-in.
5757

58-
<!-- semconv resource.cicd.pipeline.run -->
58+
<!-- semconv entity.cicd.pipeline.run -->
5959
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
6060
<!-- see templates/registry/markdown/snippet.md.j2 -->
6161
<!-- prettier-ignore-start -->
@@ -81,7 +81,7 @@ Using the CICD pipeline run resource with metrics inherently causes high cardina
8181

8282
### CICD worker
8383

84-
<!-- semconv resource.cicd.worker -->
84+
<!-- semconv entity.cicd.worker -->
8585
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
8686
<!-- see templates/registry/markdown/snippet.md.j2 -->
8787
<!-- prettier-ignore-start -->
@@ -110,7 +110,7 @@ Using the CICD pipeline run resource with metrics inherently causes high cardina
110110

111111
### VCS repository
112112

113-
<!-- semconv resource.vcs.repo -->
113+
<!-- semconv entity.vcs.repo -->
114114
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
115115
<!-- see templates/registry/markdown/snippet.md.j2 -->
116116
<!-- prettier-ignore-start -->
@@ -143,7 +143,7 @@ the `.git` extension.
143143

144144
### VCS reference
145145

146-
<!-- semconv resource.vcs.ref -->
146+
<!-- semconv entity.vcs.ref -->
147147
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
148148
<!-- see templates/registry/markdown/snippet.md.j2 -->
149149
<!-- prettier-ignore-start -->

docs/resource/cloud-provider/aws/ecs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ linkTitle: ECS
44

55
# AWS ECS
66

7-
<!-- semconv resource.aws.ecs -->
7+
<!-- semconv entity.aws.ecs -->
88
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
99
<!-- see templates/registry/markdown/snippet.md.j2 -->
1010
<!-- prettier-ignore-start -->

docs/resource/cloud-provider/aws/eks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ linkTitle: EKS
44

55
# AWS EKS
66

7-
<!-- semconv resource.aws.eks -->
7+
<!-- semconv entity.aws.eks -->
88
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
99
<!-- see templates/registry/markdown/snippet.md.j2 -->
1010
<!-- prettier-ignore-start -->

docs/resource/cloud-provider/aws/logs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ linkTitle: Logs
44

55
# AWS logs
66

7-
<!-- semconv resource.aws.log -->
7+
<!-- semconv entity.aws.log -->
88
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
99
<!-- see templates/registry/markdown/snippet.md.j2 -->
1010
<!-- prettier-ignore-start -->

docs/resource/cloud-provider/gcp/apphub.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ See [Supported Resources](https://cloud.google.com/app-hub/docs/supported-resour
1212

1313
## Application
1414

15-
<!-- semconv resource.gcp.apphub.application -->
15+
<!-- semconv entity.gcp.apphub.application -->
1616
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
1717
<!-- see templates/registry/markdown/snippet.md.j2 -->
1818
<!-- prettier-ignore-start -->
@@ -39,7 +39,7 @@ See [Supported Resources](https://cloud.google.com/app-hub/docs/supported-resour
3939

4040
## Service
4141

42-
<!-- semconv resource.gcp.apphub.service -->
42+
<!-- semconv entity.gcp.apphub.service -->
4343
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
4444
<!-- see templates/registry/markdown/snippet.md.j2 -->
4545
<!-- prettier-ignore-start -->
@@ -92,7 +92,7 @@ See [Supported Resources](https://cloud.google.com/app-hub/docs/supported-resour
9292

9393
## Workload
9494

95-
<!-- semconv resource.gcp.apphub.workload -->
95+
<!-- semconv entity.gcp.apphub.workload -->
9696
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
9797
<!-- see templates/registry/markdown/snippet.md.j2 -->
9898
<!-- prettier-ignore-start -->

0 commit comments

Comments
 (0)