opentelemetry-semantic_conventions 1.41.0 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +11 -4
- data/lib/opentelemetry/semantic_conventions/version.rb +2 -2
- data/lib/opentelemetry/semconv/container/attributes.rb +51 -0
- data/lib/opentelemetry/semconv/container.rb +21 -0
- data/lib/opentelemetry/semconv/db/attributes.rb +23 -2
- data/lib/opentelemetry/semconv/incubating/android/attributes.rb +1 -1
- data/lib/opentelemetry/semconv/incubating/app/attributes.rb +10 -0
- data/lib/opentelemetry/semconv/incubating/azure/attributes.rb +5 -0
- data/lib/opentelemetry/semconv/incubating/browser/attributes.rb +5 -0
- data/lib/opentelemetry/semconv/incubating/cicd/attributes.rb +20 -20
- data/lib/opentelemetry/semconv/incubating/cicd/metrics.rb +7 -7
- data/lib/opentelemetry/semconv/incubating/cloud/attributes.rb +2 -0
- data/lib/opentelemetry/semconv/incubating/container/attributes.rb +12 -4
- data/lib/opentelemetry/semconv/incubating/container/metrics.rb +3 -3
- data/lib/opentelemetry/semconv/incubating/cpu/attributes.rb +1 -1
- data/lib/opentelemetry/semconv/incubating/db/attributes.rb +23 -2
- data/lib/opentelemetry/semconv/incubating/disk/attributes.rb +1 -1
- data/lib/opentelemetry/semconv/incubating/file/attributes.rb +15 -0
- data/lib/opentelemetry/semconv/incubating/gcp/attributes.rb +13 -0
- data/lib/opentelemetry/semconv/incubating/gen_ai/attributes.rb +66 -16
- data/lib/opentelemetry/semconv/incubating/gen_ai/metrics.rb +7 -0
- data/lib/opentelemetry/semconv/incubating/k8s/attributes.rb +156 -65
- data/lib/opentelemetry/semconv/incubating/k8s/metrics.rb +83 -76
- data/lib/opentelemetry/semconv/incubating/mcp/attributes.rb +4 -0
- data/lib/opentelemetry/semconv/incubating/mcp/metrics.rb +4 -0
- data/lib/opentelemetry/semconv/incubating/network/attributes.rb +2 -2
- data/lib/opentelemetry/semconv/incubating/nodejs/metrics.rb +7 -7
- data/lib/opentelemetry/semconv/incubating/openai/attributes.rb +4 -0
- data/lib/opentelemetry/semconv/incubating/openshift/metrics.rb +20 -20
- data/lib/opentelemetry/semconv/incubating/oracle/attributes.rb +5 -5
- data/lib/opentelemetry/semconv/incubating/otel/metrics.rb +24 -3
- data/lib/opentelemetry/semconv/incubating/process/attributes.rb +34 -34
- data/lib/opentelemetry/semconv/incubating/process/metrics.rb +12 -12
- data/lib/opentelemetry/semconv/incubating/service/attributes.rb +1 -1
- data/lib/opentelemetry/semconv/incubating/system/attributes.rb +1 -1
- data/lib/opentelemetry/semconv/incubating/system/metrics.rb +5 -0
- data/lib/opentelemetry/semconv/incubating/url/attributes.rb +6 -4
- data/lib/opentelemetry/semconv/incubating/v8js/metrics.rb +9 -3
- data/lib/opentelemetry/semconv/incubating/vcs/attributes.rb +16 -16
- data/lib/opentelemetry/semconv/incubating/vcs/metrics.rb +8 -8
- data/lib/opentelemetry/semconv/k8s/attributes.rb +517 -0
- data/lib/opentelemetry/semconv/k8s.rb +21 -0
- data/lib/opentelemetry/semconv/url/attributes.rb +6 -4
- data/lib/opentelemetry/semconv.rb +141 -0
- data/lib/opentelemetry-semantic_conventions.rb +1 -0
- metadata +9 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c87619f45a9752cbd827768b88976c4636aba6abb0376efc480113bc4664ef73
|
|
4
|
+
data.tar.gz: b62d6d3745214c370d0316b2c95b0a0b35510dd53cb375d4ce15dcc07b7c5f6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a2e44a598a565d9cedac1a31cfec2d5d8c5e9ba6c43b22e8cf34c7c94472ac516cee0f5bd56a58bd94cc8529d5c41ab5d73d3da3b8c36d01c7ba5da73dee6a9
|
|
7
|
+
data.tar.gz: 9b537d4df0f26facf57fa5e411660287f6e81c8627fd9d046fd7a6edb66055d6c3f8ce512ed21d872c630b01c264949bfd50d336853483cebb349e3e095ace82
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release History: opentelemetry-semantic_conventions
|
|
2
2
|
|
|
3
|
+
### v1.43.0 / 2026-07-08
|
|
4
|
+
|
|
5
|
+
* ADDED: Update dependency open-telemetry/semantic-conventions to v1.43.0 (#2218)
|
|
6
|
+
|
|
7
|
+
### v1.42.0 / 2026-07-07
|
|
8
|
+
|
|
9
|
+
* ADDED: Autoload namespaces so a single require exposes all constants (#2204)
|
|
10
|
+
* ADDED: Update dependency open-telemetry/semantic-conventions to v1.42.0 (#2195)
|
|
11
|
+
|
|
3
12
|
### v1.41.0 / 2026-06-10
|
|
4
13
|
|
|
5
14
|
* ADDED: Update dependency open-telemetry/semantic-conventions to v1.41.1 (#2184)
|
data/README.md
CHANGED
|
@@ -55,12 +55,19 @@ These constants will be preserved to avoid breaking changes for users who rely
|
|
|
55
55
|
on the old constants. These constants do not differentiate between stable and
|
|
56
56
|
unstable constants. New constants will not be added to this namespace.
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
Require the gem once and reference any constant directly. Each namespace is
|
|
59
|
+
registered with Ruby's `autoload`, so the file backing a namespace is only loaded
|
|
60
|
+
the first time you reference one of its constants — you don't pay to load
|
|
61
|
+
conventions you never use.
|
|
61
62
|
|
|
62
63
|
```rb
|
|
63
|
-
require 'opentelemetry
|
|
64
|
+
require 'opentelemetry-semantic_conventions'
|
|
65
|
+
|
|
66
|
+
# Stable
|
|
67
|
+
OpenTelemetry::SemConv::HTTP::HTTP_REQUEST_METHOD # => 'http.request.method'
|
|
68
|
+
|
|
69
|
+
# Incubating (experimental/deprecated)
|
|
70
|
+
OpenTelemetry::SemConv::Incubating::GEN_AI::GEN_AI_SYSTEM
|
|
64
71
|
```
|
|
65
72
|
|
|
66
73
|
If you want to require all of the 1.11.0 constants, you can use:
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
module OpenTelemetry
|
|
8
8
|
module SemanticConventions
|
|
9
9
|
# Version of the OpenTelemetry Semantic Conventions from which this library was generated.
|
|
10
|
-
SPEC_VERSION = '1.
|
|
10
|
+
SPEC_VERSION = '1.43.0'
|
|
11
11
|
# Release version of this gem. May not match SPEC_VERSION until gem is released after a spec update.
|
|
12
|
-
VERSION = '1.
|
|
12
|
+
VERSION = '1.43.0'
|
|
13
13
|
end
|
|
14
14
|
end
|
|
@@ -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
|
|
@@ -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'
|
|
@@ -47,9 +47,30 @@ module OpenTelemetry
|
|
|
47
47
|
# @note Stability Level: stable
|
|
48
48
|
DB_NAMESPACE = 'db.namespace'
|
|
49
49
|
|
|
50
|
-
# The number of
|
|
50
|
+
# The number of database operations included in a batch operation.
|
|
51
51
|
#
|
|
52
|
-
#
|
|
52
|
+
# Except for empty batch requests described below, a batch operation contains two
|
|
53
|
+
# or more database operations explicitly submitted as separate operations in a single
|
|
54
|
+
# client call, protocol message, or database command.
|
|
55
|
+
#
|
|
56
|
+
# Requests to batch APIs that contain only one operation SHOULD be modeled as single
|
|
57
|
+
# operations, not as batch operations.
|
|
58
|
+
#
|
|
59
|
+
# A database call is not a batch operation solely because one operation accepts
|
|
60
|
+
# multiple operands, such as keys, rows, documents, points, or other data elements,
|
|
61
|
+
# including Redis [`MGET`](https://redis.io/docs/latest/commands/mget/) with
|
|
62
|
+
# multiple keys.
|
|
63
|
+
#
|
|
64
|
+
# In batch APIs that execute the same parameterized operation with parameter sets,
|
|
65
|
+
# each parameter set represents one database operation for determining whether the
|
|
66
|
+
# request is a batch operation. Requests with only one parameter set SHOULD be modeled
|
|
67
|
+
# as single operations, not as batch operations.
|
|
68
|
+
#
|
|
69
|
+
# `db.operation.batch.size` SHOULD be set to the number of operations in the batch.
|
|
70
|
+
# It SHOULD NOT be set for non-batch operations.
|
|
71
|
+
#
|
|
72
|
+
# A request to execute a batch operation with no operations SHOULD also be treated
|
|
73
|
+
# as a batch operation, and `db.operation.batch.size` SHOULD be set to `0`.
|
|
53
74
|
#
|
|
54
75
|
# @note Stability Level: stable
|
|
55
76
|
DB_OPERATION_BATCH_SIZE = 'db.operation.batch.size'
|
|
@@ -26,7 +26,7 @@ module OpenTelemetry
|
|
|
26
26
|
|
|
27
27
|
# This attribute represents the state of the application.
|
|
28
28
|
#
|
|
29
|
-
# The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#
|
|
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.
|
|
30
30
|
#
|
|
31
31
|
# @note Stability Level: development
|
|
32
32
|
ANDROID_APP_STATE = 'android.app.state'
|
|
@@ -29,6 +29,16 @@ module OpenTelemetry
|
|
|
29
29
|
# @note Stability Level: development
|
|
30
30
|
APP_BUILD_ID = 'app.build_id'
|
|
31
31
|
|
|
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
|
+
|
|
32
42
|
# A unique identifier representing the installation of an application on a specific device
|
|
33
43
|
#
|
|
34
44
|
# Its value SHOULD persist across launches of the same application installation, including through application upgrades.
|
|
@@ -61,6 +61,11 @@ module OpenTelemetry
|
|
|
61
61
|
# @note Stability Level: development
|
|
62
62
|
AZURE_COSMOSDB_RESPONSE_SUB_STATUS_CODE = 'azure.cosmosdb.response.sub_status_code'
|
|
63
63
|
|
|
64
|
+
# The name of the Azure [resource group](https://learn.microsoft.com/azure/azure-resource-manager/management/manage-resource-groups-portal) the resource belongs to.
|
|
65
|
+
#
|
|
66
|
+
# @note Stability Level: development
|
|
67
|
+
AZURE_RESOURCE_GROUP_NAME = 'azure.resource_group.name'
|
|
68
|
+
|
|
64
69
|
# [Azure Resource Provider Namespace](https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers) as recognized by the client.
|
|
65
70
|
#
|
|
66
71
|
# @note Stability Level: development
|
|
@@ -31,6 +31,11 @@ module OpenTelemetry
|
|
|
31
31
|
# @note Stability Level: development
|
|
32
32
|
BROWSER_BRANDS = 'browser.brands'
|
|
33
33
|
|
|
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
|
+
|
|
34
39
|
# Preferred language of the user using the browser
|
|
35
40
|
#
|
|
36
41
|
# This value is intended to be taken from the Navigator API `navigator.language`.
|
|
@@ -26,84 +26,84 @@ module OpenTelemetry
|
|
|
26
26
|
|
|
27
27
|
# The kind of action a pipeline run is performing.
|
|
28
28
|
#
|
|
29
|
-
# @note Stability Level:
|
|
29
|
+
# @note Stability Level: release_candidate
|
|
30
30
|
CICD_PIPELINE_ACTION_NAME = 'cicd.pipeline.action.name'
|
|
31
31
|
|
|
32
32
|
# The human readable name of the pipeline within a CI/CD system.
|
|
33
33
|
#
|
|
34
|
-
# @note Stability Level:
|
|
34
|
+
# @note Stability Level: release_candidate
|
|
35
35
|
CICD_PIPELINE_NAME = 'cicd.pipeline.name'
|
|
36
36
|
|
|
37
37
|
# The result of a pipeline run.
|
|
38
38
|
#
|
|
39
|
-
# @note Stability Level:
|
|
39
|
+
# @note Stability Level: release_candidate
|
|
40
40
|
CICD_PIPELINE_RESULT = 'cicd.pipeline.result'
|
|
41
41
|
|
|
42
42
|
# The unique identifier of a pipeline run within a CI/CD system.
|
|
43
43
|
#
|
|
44
|
-
# @note Stability Level:
|
|
44
|
+
# @note Stability Level: release_candidate
|
|
45
45
|
CICD_PIPELINE_RUN_ID = 'cicd.pipeline.run.id'
|
|
46
46
|
|
|
47
47
|
# The pipeline run goes through these states during its lifecycle.
|
|
48
48
|
#
|
|
49
|
-
# @note Stability Level:
|
|
49
|
+
# @note Stability Level: release_candidate
|
|
50
50
|
CICD_PIPELINE_RUN_STATE = 'cicd.pipeline.run.state'
|
|
51
51
|
|
|
52
52
|
# The [URL](https://wikipedia.org/wiki/URL) of the pipeline run, providing the complete address in order to locate and identify the pipeline run.
|
|
53
53
|
#
|
|
54
|
-
# @note Stability Level:
|
|
54
|
+
# @note Stability Level: release_candidate
|
|
55
55
|
CICD_PIPELINE_RUN_URL_FULL = 'cicd.pipeline.run.url.full'
|
|
56
56
|
|
|
57
57
|
# The human readable name of a task within a pipeline. Task here most closely aligns with a [computing process](https://wikipedia.org/wiki/Pipeline_(computing)) in a pipeline. Other terms for tasks include commands, steps, and procedures.
|
|
58
58
|
#
|
|
59
|
-
# @note Stability Level:
|
|
59
|
+
# @note Stability Level: release_candidate
|
|
60
60
|
CICD_PIPELINE_TASK_NAME = 'cicd.pipeline.task.name'
|
|
61
61
|
|
|
62
62
|
# The unique identifier of a task run within a pipeline.
|
|
63
63
|
#
|
|
64
64
|
# For a given pipeline run and task, the `cicd.pipeline.task.run.id` MUST be unique within that run. For the same task across different runs of the same pipeline, the `cicd.pipeline.task.run.id` MAY remain the same, enabling correlation of `cicd.pipeline.task.run.result` values across multiple pipeline runs.
|
|
65
65
|
#
|
|
66
|
-
# @note Stability Level:
|
|
66
|
+
# @note Stability Level: release_candidate
|
|
67
67
|
CICD_PIPELINE_TASK_RUN_ID = 'cicd.pipeline.task.run.id'
|
|
68
68
|
|
|
69
69
|
# The result of a task run.
|
|
70
70
|
#
|
|
71
|
-
# @note Stability Level:
|
|
71
|
+
# @note Stability Level: release_candidate
|
|
72
72
|
CICD_PIPELINE_TASK_RUN_RESULT = 'cicd.pipeline.task.run.result'
|
|
73
73
|
|
|
74
74
|
# The [URL](https://wikipedia.org/wiki/URL) of the pipeline task run, providing the complete address in order to locate and identify the pipeline task run.
|
|
75
75
|
#
|
|
76
|
-
# @note Stability Level:
|
|
76
|
+
# @note Stability Level: release_candidate
|
|
77
77
|
CICD_PIPELINE_TASK_RUN_URL_FULL = 'cicd.pipeline.task.run.url.full'
|
|
78
78
|
|
|
79
79
|
# The type of the task within a pipeline.
|
|
80
80
|
#
|
|
81
|
-
# @note Stability Level:
|
|
81
|
+
# @note Stability Level: release_candidate
|
|
82
82
|
CICD_PIPELINE_TASK_TYPE = 'cicd.pipeline.task.type'
|
|
83
83
|
|
|
84
|
-
# The name of a component of the
|
|
84
|
+
# The name of a component of the CI/CD system.
|
|
85
85
|
#
|
|
86
|
-
# @note Stability Level:
|
|
86
|
+
# @note Stability Level: release_candidate
|
|
87
87
|
CICD_SYSTEM_COMPONENT = 'cicd.system.component'
|
|
88
88
|
|
|
89
|
-
# The unique identifier of a worker within a
|
|
89
|
+
# The unique identifier of a worker within a CI/CD system.
|
|
90
90
|
#
|
|
91
|
-
# @note Stability Level:
|
|
91
|
+
# @note Stability Level: release_candidate
|
|
92
92
|
CICD_WORKER_ID = 'cicd.worker.id'
|
|
93
93
|
|
|
94
|
-
# The name of a worker within a
|
|
94
|
+
# The name of a worker within a CI/CD system.
|
|
95
95
|
#
|
|
96
|
-
# @note Stability Level:
|
|
96
|
+
# @note Stability Level: release_candidate
|
|
97
97
|
CICD_WORKER_NAME = 'cicd.worker.name'
|
|
98
98
|
|
|
99
|
-
# The state of a
|
|
99
|
+
# The state of a CI/CD worker / agent.
|
|
100
100
|
#
|
|
101
|
-
# @note Stability Level:
|
|
101
|
+
# @note Stability Level: release_candidate
|
|
102
102
|
CICD_WORKER_STATE = 'cicd.worker.state'
|
|
103
103
|
|
|
104
104
|
# The [URL](https://wikipedia.org/wiki/URL) of the worker, providing the complete address in order to locate and identify the worker.
|
|
105
105
|
#
|
|
106
|
-
# @note Stability Level:
|
|
106
|
+
# @note Stability Level: release_candidate
|
|
107
107
|
CICD_WORKER_URL_FULL = 'cicd.worker.url.full'
|
|
108
108
|
|
|
109
109
|
# @!endgroup
|
|
@@ -26,12 +26,12 @@ module OpenTelemetry
|
|
|
26
26
|
|
|
27
27
|
# The number of pipeline runs currently active in the system by state.
|
|
28
28
|
#
|
|
29
|
-
# @note Stability Level:
|
|
29
|
+
# @note Stability Level: release_candidate
|
|
30
30
|
CICD_PIPELINE_RUN_ACTIVE = 'cicd.pipeline.run.active'
|
|
31
31
|
|
|
32
32
|
# Duration of a pipeline run grouped by pipeline, state and result.
|
|
33
33
|
#
|
|
34
|
-
# @note Stability Level:
|
|
34
|
+
# @note Stability Level: release_candidate
|
|
35
35
|
CICD_PIPELINE_RUN_DURATION = 'cicd.pipeline.run.duration'
|
|
36
36
|
|
|
37
37
|
# The number of errors encountered in pipeline runs (eg. compile, test failures).
|
|
@@ -39,19 +39,19 @@ module OpenTelemetry
|
|
|
39
39
|
# There might be errors in a pipeline run that are non fatal (eg. they are suppressed) or in a parallel stage multiple stages could have a fatal error.
|
|
40
40
|
# This means that this error count might not be the same as the count of metric `cicd.pipeline.run.duration` with run result `failure`.
|
|
41
41
|
#
|
|
42
|
-
# @note Stability Level:
|
|
42
|
+
# @note Stability Level: release_candidate
|
|
43
43
|
CICD_PIPELINE_RUN_ERRORS = 'cicd.pipeline.run.errors'
|
|
44
44
|
|
|
45
|
-
# The number of errors in a component of the
|
|
45
|
+
# The number of errors in a component of the CI/CD system (eg. controller, scheduler, agent).
|
|
46
46
|
#
|
|
47
47
|
# Errors in pipeline run execution are explicitly excluded. Ie a test failure is not counted in this metric.
|
|
48
48
|
#
|
|
49
|
-
# @note Stability Level:
|
|
49
|
+
# @note Stability Level: release_candidate
|
|
50
50
|
CICD_SYSTEM_ERRORS = 'cicd.system.errors'
|
|
51
51
|
|
|
52
|
-
# The number of workers on the
|
|
52
|
+
# The number of workers on the CI/CD system by state.
|
|
53
53
|
#
|
|
54
|
-
# @note Stability Level:
|
|
54
|
+
# @note Stability Level: release_candidate
|
|
55
55
|
CICD_WORKER_COUNT = 'cicd.worker.count'
|
|
56
56
|
|
|
57
57
|
# @!endgroup
|
|
@@ -63,7 +63,9 @@ module OpenTelemetry
|
|
|
63
63
|
|
|
64
64
|
# 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.
|
|
65
65
|
#
|
|
66
|
-
# @note Stability Level:
|
|
66
|
+
# @note Stability Level: stable
|
|
67
|
+
#
|
|
68
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CONTAINER::CONTAINER_ID}.
|
|
67
69
|
CONTAINER_ID = 'container.id'
|
|
68
70
|
|
|
69
71
|
# Runtime specific image identifier. Usually a hash algorithm followed by a UUID.
|
|
@@ -77,19 +79,25 @@ module OpenTelemetry
|
|
|
77
79
|
|
|
78
80
|
# Name of the image the container was built on.
|
|
79
81
|
#
|
|
80
|
-
# @note Stability Level:
|
|
82
|
+
# @note Stability Level: stable
|
|
83
|
+
#
|
|
84
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CONTAINER::CONTAINER_IMAGE_NAME}.
|
|
81
85
|
CONTAINER_IMAGE_NAME = 'container.image.name'
|
|
82
86
|
|
|
83
87
|
# Repo digests of the container image as provided by the container runtime.
|
|
84
88
|
#
|
|
85
89
|
# [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.
|
|
86
90
|
#
|
|
87
|
-
# @note Stability Level:
|
|
91
|
+
# @note Stability Level: stable
|
|
92
|
+
#
|
|
93
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CONTAINER::CONTAINER_IMAGE_REPO_DIGESTS}.
|
|
88
94
|
CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests'
|
|
89
95
|
|
|
90
96
|
# 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>`.
|
|
91
97
|
#
|
|
92
|
-
# @note Stability Level:
|
|
98
|
+
# @note Stability Level: stable
|
|
99
|
+
#
|
|
100
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CONTAINER::CONTAINER_IMAGE_TAGS}.
|
|
93
101
|
CONTAINER_IMAGE_TAGS = 'container.image.tags'
|
|
94
102
|
|
|
95
103
|
# Must be called with a key for the full attribute name. See notes below about the expectations
|
|
@@ -24,11 +24,11 @@ module OpenTelemetry
|
|
|
24
24
|
module CONTAINER
|
|
25
25
|
# @!group Metrics Names
|
|
26
26
|
|
|
27
|
-
#
|
|
27
|
+
# CPU time consumed.
|
|
28
28
|
#
|
|
29
|
-
#
|
|
29
|
+
# CPU time consumed by the specific container on all available CPU cores
|
|
30
30
|
#
|
|
31
|
-
# @note Stability Level:
|
|
31
|
+
# @note Stability Level: release_candidate
|
|
32
32
|
CONTAINER_CPU_TIME = 'container.cpu.time'
|
|
33
33
|
|
|
34
34
|
# Container's CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUs.
|
|
@@ -242,9 +242,30 @@ module OpenTelemetry
|
|
|
242
242
|
# @deprecated Replaced by `db.operation.name`.
|
|
243
243
|
DB_OPERATION = 'db.operation'
|
|
244
244
|
|
|
245
|
-
# The number of
|
|
245
|
+
# The number of database operations included in a batch operation.
|
|
246
246
|
#
|
|
247
|
-
#
|
|
247
|
+
# Except for empty batch requests described below, a batch operation contains two
|
|
248
|
+
# or more database operations explicitly submitted as separate operations in a single
|
|
249
|
+
# client call, protocol message, or database command.
|
|
250
|
+
#
|
|
251
|
+
# Requests to batch APIs that contain only one operation SHOULD be modeled as single
|
|
252
|
+
# operations, not as batch operations.
|
|
253
|
+
#
|
|
254
|
+
# A database call is not a batch operation solely because one operation accepts
|
|
255
|
+
# multiple operands, such as keys, rows, documents, points, or other data elements,
|
|
256
|
+
# including Redis [`MGET`](https://redis.io/docs/latest/commands/mget/) with
|
|
257
|
+
# multiple keys.
|
|
258
|
+
#
|
|
259
|
+
# In batch APIs that execute the same parameterized operation with parameter sets,
|
|
260
|
+
# each parameter set represents one database operation for determining whether the
|
|
261
|
+
# request is a batch operation. Requests with only one parameter set SHOULD be modeled
|
|
262
|
+
# as single operations, not as batch operations.
|
|
263
|
+
#
|
|
264
|
+
# `db.operation.batch.size` SHOULD be set to the number of operations in the batch.
|
|
265
|
+
# It SHOULD NOT be set for non-batch operations.
|
|
266
|
+
#
|
|
267
|
+
# A request to execute a batch operation with no operations SHOULD also be treated
|
|
268
|
+
# as a batch operation, and `db.operation.batch.size` SHOULD be set to `0`.
|
|
248
269
|
#
|
|
249
270
|
# @note Stability Level: stable
|
|
250
271
|
#
|
|
@@ -87,6 +87,21 @@ module OpenTelemetry
|
|
|
87
87
|
# @note Stability Level: development
|
|
88
88
|
FILE_INODE = 'file.inode'
|
|
89
89
|
|
|
90
|
+
# The lock mechanism such as noted by [POSIX](https://pubs.opengroup.org/onlinepubs/9699919799/functions/fcntl.html)
|
|
91
|
+
#
|
|
92
|
+
# @note Stability Level: development
|
|
93
|
+
FILE_LOCK_MECHANISM = 'file.lock.mechanism'
|
|
94
|
+
|
|
95
|
+
# Mode of lock or operation such as documented by [POSIX](https://pubs.opengroup.org/onlinepubs/9699919799/functions/fcntl.html)
|
|
96
|
+
#
|
|
97
|
+
# @note Stability Level: development
|
|
98
|
+
FILE_LOCK_MODE = 'file.lock.mode'
|
|
99
|
+
|
|
100
|
+
# The lock type as represented by i.e. [POSIX](https://pubs.opengroup.org/onlinepubs/9699919799/functions/fcntl.html)'s l_type.
|
|
101
|
+
#
|
|
102
|
+
# @note Stability Level: development
|
|
103
|
+
FILE_LOCK_TYPE = 'file.lock.type'
|
|
104
|
+
|
|
90
105
|
# Mode of the file in octal representation.
|
|
91
106
|
#
|
|
92
107
|
# @note Stability Level: development
|
|
@@ -144,6 +144,19 @@ module OpenTelemetry
|
|
|
144
144
|
# @note Stability Level: development
|
|
145
145
|
GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'
|
|
146
146
|
|
|
147
|
+
# Must be called with a key for the full attribute name. See notes below about the expectations
|
|
148
|
+
# for the state of the key.
|
|
149
|
+
#
|
|
150
|
+
# @example Usage
|
|
151
|
+
# GCP_GCE_INSTANCE_LABELS_LAMBDA.call('some-cool-key') #=> 'gcp.gce.instance.labels.some-cool-key'
|
|
152
|
+
#
|
|
153
|
+
# GCE instance labels, `<key>` being the label name and the value being the label value.
|
|
154
|
+
#
|
|
155
|
+
# For example, a GCE instance label `team` with value `observability` SHOULD be recorded as the `gcp.gce.instance.labels.team` attribute with value `"observability"`. The `<key>` MUST be the exact GCE instance label key.
|
|
156
|
+
#
|
|
157
|
+
# @note Stability Level: development
|
|
158
|
+
GCP_GCE_INSTANCE_LABELS_LAMBDA = ->(key) { "gcp.gce.instance.labels.#{key}" }
|
|
159
|
+
|
|
147
160
|
# The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the [default internal DNS name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names).
|
|
148
161
|
#
|
|
149
162
|
# @note Stability Level: development
|