Skip to content

Commit 2b0ab72

Browse files
chore: regenerate semantic conventions
1 parent db0ee77 commit 2b0ab72

31 files changed

Lines changed: 1095 additions & 233 deletions

File tree

semantic_conventions/lib/opentelemetry/semantic_conventions/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
module OpenTelemetry
88
module SemanticConventions
99
# Version of the OpenTelemetry Semantic Conventions from which this library was generated.
10-
SPEC_VERSION = '1.41.1'
10+
SPEC_VERSION = '1.42.0'
1111
# Release version of this gem. May not match SPEC_VERSION until gem is released after a spec update.
1212
VERSION = '1.41.0'
1313
end
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# frozen_string_literal: true
2+
3+
# Copyright The OpenTelemetry Authors
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# SPDX-License-Identifier: Apache-2.0
18+
19+
# This file was autogenerated. Do not edit it by hand.
20+
21+
require_relative 'container/attributes'
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# frozen_string_literal: true
2+
3+
# Copyright The OpenTelemetry Authors
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# SPDX-License-Identifier: Apache-2.0
18+
#
19+
# This file was autogenerated. Do not edit it by hand.
20+
21+
module OpenTelemetry
22+
module SemConv
23+
module CONTAINER
24+
# @!group Attribute Names
25+
26+
# Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/containers/run/#container-identification). The UUID might be abbreviated.
27+
#
28+
# @note Stability Level: stable
29+
CONTAINER_ID = 'container.id'
30+
31+
# Name of the image the container was built on.
32+
#
33+
# @note Stability Level: stable
34+
CONTAINER_IMAGE_NAME = 'container.image.name'
35+
36+
# Repo digests of the container image as provided by the container runtime.
37+
#
38+
# [Docker](https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field.
39+
#
40+
# @note Stability Level: stable
41+
CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests'
42+
43+
# Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`.
44+
#
45+
# @note Stability Level: stable
46+
CONTAINER_IMAGE_TAGS = 'container.image.tags'
47+
48+
# @!endgroup
49+
end
50+
end
51+
end

semantic_conventions/lib/opentelemetry/semconv/incubating/android/attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module ANDROID
2626

2727
# This attribute represents the state of the application.
2828
#
29-
# The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived.
29+
# The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lifecycle-callbacks), and from which the `OS identifiers` are derived.
3030
#
3131
# @note Stability Level: development
3232
ANDROID_APP_STATE = 'android.app.state'

semantic_conventions/lib/opentelemetry/semconv/incubating/app/attributes.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ module APP
2929
# @note Stability Level: development
3030
APP_BUILD_ID = 'app.build_id'
3131

32+
# A unique identifier representing an instance of an end-user facing app crash.
33+
#
34+
# Its value MAY be meaningful and be used as a reference for telemetry and metadata recorded by
35+
# the same instrumentation (e.g. it is an ID generated by an external source that captured the crash).
36+
# It MAY come from a source external to the instrumentation such that it can be used to look up additional
37+
# data from other sources as well as facilitate deduplication.
38+
#
39+
# @note Stability Level: development
40+
APP_CRASH_ID = 'app.crash.id'
41+
3242
# A unique identifier representing the installation of an application on a specific device
3343
#
3444
# Its value SHOULD persist across launches of the same application installation, including through application upgrades.

semantic_conventions/lib/opentelemetry/semconv/incubating/browser/attributes.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ module BROWSER
3131
# @note Stability Level: development
3232
BROWSER_BRANDS = 'browser.brands'
3333

34+
# Absolute URL of the current browser document according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986).
35+
#
36+
# @note Stability Level: development
37+
BROWSER_DOCUMENT_URL_FULL = 'browser.document.url.full'
38+
3439
# Preferred language of the user using the browser
3540
#
3641
# This value is intended to be taken from the Navigator API `navigator.language`.

semantic_conventions/lib/opentelemetry/semconv/incubating/cicd/attributes.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,22 +81,22 @@ module CICD
8181
# @note Stability Level: development
8282
CICD_PIPELINE_TASK_TYPE = 'cicd.pipeline.task.type'
8383

84-
# The name of a component of the CICD system.
84+
# The name of a component of the CI/CD system.
8585
#
8686
# @note Stability Level: development
8787
CICD_SYSTEM_COMPONENT = 'cicd.system.component'
8888

89-
# The unique identifier of a worker within a CICD system.
89+
# The unique identifier of a worker within a CI/CD system.
9090
#
9191
# @note Stability Level: development
9292
CICD_WORKER_ID = 'cicd.worker.id'
9393

94-
# The name of a worker within a CICD system.
94+
# The name of a worker within a CI/CD system.
9595
#
9696
# @note Stability Level: development
9797
CICD_WORKER_NAME = 'cicd.worker.name'
9898

99-
# The state of a CICD worker / agent.
99+
# The state of a CI/CD worker / agent.
100100
#
101101
# @note Stability Level: development
102102
CICD_WORKER_STATE = 'cicd.worker.state'

semantic_conventions/lib/opentelemetry/semconv/incubating/cicd/metrics.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ module CICD
4242
# @note Stability Level: development
4343
CICD_PIPELINE_RUN_ERRORS = 'cicd.pipeline.run.errors'
4444

45-
# The number of errors in a component of the CICD system (eg. controller, scheduler, agent).
45+
# The number of errors in a component of the CI/CD system (eg. controller, scheduler, agent).
4646
#
4747
# Errors in pipeline run execution are explicitly excluded. Ie a test failure is not counted in this metric.
4848
#
4949
# @note Stability Level: development
5050
CICD_SYSTEM_ERRORS = 'cicd.system.errors'
5151

52-
# The number of workers on the CICD system by state.
52+
# The number of workers on the CI/CD system by state.
5353
#
5454
# @note Stability Level: development
5555
CICD_WORKER_COUNT = 'cicd.worker.count'

semantic_conventions/lib/opentelemetry/semconv/incubating/container/attributes.rb

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ module CONTAINER
6363

6464
# Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/containers/run/#container-identification). The UUID might be abbreviated.
6565
#
66-
# @note Stability Level: release_candidate
66+
# @note Stability Level: stable
67+
#
68+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CONTAINER::CONTAINER_ID}.
6769
CONTAINER_ID = 'container.id'
6870

6971
# Runtime specific image identifier. Usually a hash algorithm followed by a UUID.
@@ -77,19 +79,25 @@ module CONTAINER
7779

7880
# Name of the image the container was built on.
7981
#
80-
# @note Stability Level: release_candidate
82+
# @note Stability Level: stable
83+
#
84+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CONTAINER::CONTAINER_IMAGE_NAME}.
8185
CONTAINER_IMAGE_NAME = 'container.image.name'
8286

8387
# Repo digests of the container image as provided by the container runtime.
8488
#
8589
# [Docker](https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field.
8690
#
87-
# @note Stability Level: release_candidate
91+
# @note Stability Level: stable
92+
#
93+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CONTAINER::CONTAINER_IMAGE_REPO_DIGESTS}.
8894
CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests'
8995

9096
# Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`.
9197
#
92-
# @note Stability Level: release_candidate
98+
# @note Stability Level: stable
99+
#
100+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CONTAINER::CONTAINER_IMAGE_TAGS}.
93101
CONTAINER_IMAGE_TAGS = 'container.image.tags'
94102

95103
# Must be called with a key for the full attribute name. See notes below about the expectations

semantic_conventions/lib/opentelemetry/semconv/incubating/container/metrics.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ module Incubating
2424
module CONTAINER
2525
# @!group Metrics Names
2626

27-
# Total CPU time consumed.
27+
# CPU time consumed.
2828
#
29-
# Total CPU time consumed by the specific container on all available CPU cores
29+
# CPU time consumed by the specific container on all available CPU cores
3030
#
31-
# @note Stability Level: development
31+
# @note Stability Level: release_candidate
3232
CONTAINER_CPU_TIME = 'container.cpu.time'
3333

3434
# Container's CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUs.

0 commit comments

Comments
 (0)