opentelemetry-semantic_conventions 1.44.0 → 1.45.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 +4 -0
- data/lib/opentelemetry/semantic_conventions/version.rb +2 -2
- data/lib/opentelemetry/semconv/client/attributes.rb +2 -2
- data/lib/opentelemetry/semconv/db/attributes.rb +16 -11
- data/lib/opentelemetry/semconv/incubating/aws/attributes.rb +1 -1
- data/lib/opentelemetry/semconv/incubating/azure/attributes.rb +20 -0
- data/lib/opentelemetry/semconv/incubating/client/attributes.rb +72 -2
- data/lib/opentelemetry/semconv/incubating/container/metrics.rb +20 -25
- data/lib/opentelemetry/semconv/incubating/cpu/attributes.rb +4 -2
- data/lib/opentelemetry/semconv/incubating/db/attributes.rb +17 -12
- data/lib/opentelemetry/semconv/incubating/db/metrics.rb +8 -2
- data/lib/opentelemetry/semconv/incubating/destination/attributes.rb +53 -2
- data/lib/opentelemetry/semconv/incubating/enduser/attributes.rb +2 -0
- data/lib/opentelemetry/semconv/incubating/faas/attributes.rb +7 -3
- data/lib/opentelemetry/semconv/incubating/gcp/attributes.rb +20 -0
- data/lib/opentelemetry/semconv/incubating/host/attributes.rb +60 -1
- data/lib/opentelemetry/semconv/incubating/http/attributes.rb +59 -0
- data/lib/opentelemetry/semconv/incubating/jvm/attributes.rb +24 -0
- data/lib/opentelemetry/semconv/incubating/jvm/metrics.rb +45 -2
- data/lib/opentelemetry/semconv/incubating/k8s/metrics.rb +268 -66
- data/lib/opentelemetry/semconv/incubating/kafka/attributes.rb +55 -0
- data/lib/opentelemetry/semconv/incubating/kafka.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/log/attributes.rb +5 -5
- data/lib/opentelemetry/semconv/incubating/messaging/attributes.rb +68 -26
- data/lib/opentelemetry/semconv/incubating/network/attributes.rb +103 -1
- data/lib/opentelemetry/semconv/incubating/opentracing/attributes.rb +1 -0
- data/lib/opentelemetry/semconv/incubating/otel/metrics.rb +7 -1
- data/lib/opentelemetry/semconv/incubating/peer/attributes.rb +1 -1
- data/lib/opentelemetry/semconv/incubating/rabbitmq/attributes.rb +41 -0
- data/lib/opentelemetry/semconv/incubating/rabbitmq.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/rocketmq/attributes.rb +71 -0
- data/lib/opentelemetry/semconv/incubating/rocketmq.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/rpc/attributes.rb +110 -33
- data/lib/opentelemetry/semconv/incubating/rpc/metrics.rb +6 -2
- data/lib/opentelemetry/semconv/incubating/server/attributes.rb +70 -0
- data/lib/opentelemetry/semconv/incubating/service/attributes.rb +16 -0
- data/lib/opentelemetry/semconv/incubating/source/attributes.rb +53 -2
- data/lib/opentelemetry/semconv/incubating/system/attributes.rb +15 -9
- data/lib/opentelemetry/semconv/incubating/system/metrics.rb +7 -3
- data/lib/opentelemetry/semconv/incubating/url/attributes.rb +12 -0
- data/lib/opentelemetry/semconv/incubating/v8js/attributes.rb +2 -1
- data/lib/opentelemetry/semconv/incubating/zos/attributes.rb +4 -2
- data/lib/opentelemetry/semconv/rpc/attributes.rb +77 -0
- data/lib/opentelemetry/semconv/rpc/metrics.rb +45 -0
- data/lib/opentelemetry/semconv/rpc.rb +22 -0
- data/lib/opentelemetry/semconv/url/attributes.rb +12 -0
- data/lib/opentelemetry/semconv.rb +4 -0
- metadata +14 -5
|
@@ -0,0 +1,55 @@
|
|
|
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 Incubating
|
|
24
|
+
module KAFKA
|
|
25
|
+
# @!group Attribute Names
|
|
26
|
+
|
|
27
|
+
# The Kafka cluster ID, obtained from the broker metadata exposed through the Kafka client (or AdminClient) API.
|
|
28
|
+
#
|
|
29
|
+
# The cluster ID is a unique identifier reported by the Kafka broker. It identifies the cluster independently of the individual brokers the client is configured to connect to, and remains stable even if broker hostnames, IP addresses, or ports change.
|
|
30
|
+
#
|
|
31
|
+
# @note Stability Level: development
|
|
32
|
+
KAFKA_CLUSTER_ID = 'kafka.cluster.id'
|
|
33
|
+
|
|
34
|
+
# Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set.
|
|
35
|
+
#
|
|
36
|
+
# If the key type is not string, its string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value.
|
|
37
|
+
#
|
|
38
|
+
# @note Stability Level: development
|
|
39
|
+
KAFKA_MESSAGE_KEY = 'kafka.message.key'
|
|
40
|
+
|
|
41
|
+
# A boolean that is true if the message is a tombstone.
|
|
42
|
+
#
|
|
43
|
+
# @note Stability Level: development
|
|
44
|
+
KAFKA_MESSAGE_TOMBSTONE = 'kafka.message.tombstone'
|
|
45
|
+
|
|
46
|
+
# The offset of a record in the corresponding Kafka partition.
|
|
47
|
+
#
|
|
48
|
+
# @note Stability Level: development
|
|
49
|
+
KAFKA_OFFSET = 'kafka.offset'
|
|
50
|
+
|
|
51
|
+
# @!endgroup
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
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 'kafka/attributes'
|
|
@@ -24,27 +24,27 @@ module OpenTelemetry
|
|
|
24
24
|
module LOG
|
|
25
25
|
# @!group Attribute Names
|
|
26
26
|
|
|
27
|
-
# The basename of the file.
|
|
27
|
+
# The basename of the file to which the log record was emitted.
|
|
28
28
|
#
|
|
29
29
|
# @note Stability Level: development
|
|
30
30
|
LOG_FILE_NAME = 'log.file.name'
|
|
31
31
|
|
|
32
|
-
# The basename of the file, with symlinks resolved.
|
|
32
|
+
# The basename of the file to which the log record was emitted, with symlinks resolved.
|
|
33
33
|
#
|
|
34
34
|
# @note Stability Level: development
|
|
35
35
|
LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved'
|
|
36
36
|
|
|
37
|
-
# The full path to the file.
|
|
37
|
+
# The full path to the file to which the log record was emitted.
|
|
38
38
|
#
|
|
39
39
|
# @note Stability Level: development
|
|
40
40
|
LOG_FILE_PATH = 'log.file.path'
|
|
41
41
|
|
|
42
|
-
# The full path to the file, with symlinks resolved.
|
|
42
|
+
# The full path to the file to which the log record was emitted, with symlinks resolved.
|
|
43
43
|
#
|
|
44
44
|
# @note Stability Level: development
|
|
45
45
|
LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'
|
|
46
46
|
|
|
47
|
-
# The stream
|
|
47
|
+
# The stream the log record was emitted to.
|
|
48
48
|
#
|
|
49
49
|
# @note Stability Level: development
|
|
50
50
|
LOG_IOSTREAM = 'log.iostream'
|
|
@@ -98,36 +98,42 @@ module OpenTelemetry
|
|
|
98
98
|
# @deprecated Replaced by `messaging.consumer.group.name`.
|
|
99
99
|
MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.consumer.group'
|
|
100
100
|
|
|
101
|
-
#
|
|
101
|
+
# Deprecated, use `azure.eventhubs.message.enqueued_time` instead.
|
|
102
102
|
#
|
|
103
103
|
# @note Stability Level: development
|
|
104
|
+
# @deprecated Replaced by `azure.eventhubs.message.enqueued_time`.
|
|
104
105
|
MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhubs.message.enqueued_time'
|
|
105
106
|
|
|
106
|
-
#
|
|
107
|
+
# Deprecated, use `gcp.pubsub.message.ack_deadline` instead.
|
|
107
108
|
#
|
|
108
109
|
# @note Stability Level: development
|
|
110
|
+
# @deprecated Replaced by `gcp.pubsub.message.ack_deadline`.
|
|
109
111
|
MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE = 'messaging.gcp_pubsub.message.ack_deadline'
|
|
110
112
|
|
|
111
|
-
#
|
|
113
|
+
# Deprecated, use `gcp.pubsub.message.ack_id` instead.
|
|
112
114
|
#
|
|
113
115
|
# @note Stability Level: development
|
|
116
|
+
# @deprecated Replaced by `gcp.pubsub.message.ack_id`.
|
|
114
117
|
MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID = 'messaging.gcp_pubsub.message.ack_id'
|
|
115
118
|
|
|
116
|
-
#
|
|
119
|
+
# Deprecated, use `gcp.pubsub.message.delivery_attempt` instead.
|
|
117
120
|
#
|
|
118
121
|
# @note Stability Level: development
|
|
122
|
+
# @deprecated Replaced by `gcp.pubsub.message.delivery_attempt`.
|
|
119
123
|
MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT = 'messaging.gcp_pubsub.message.delivery_attempt'
|
|
120
124
|
|
|
121
|
-
#
|
|
125
|
+
# Deprecated, use `gcp.pubsub.message.ordering_key` instead.
|
|
122
126
|
#
|
|
123
127
|
# @note Stability Level: development
|
|
128
|
+
# @deprecated Replaced by `gcp.pubsub.message.ordering_key`.
|
|
124
129
|
MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pubsub.message.ordering_key'
|
|
125
130
|
|
|
126
|
-
#
|
|
131
|
+
# Deprecated, use `kafka.cluster.id` instead.
|
|
127
132
|
#
|
|
128
133
|
# The cluster ID is a unique identifier reported by the Kafka broker. It identifies the cluster independently of the individual brokers the client is configured to connect to, and remains stable even if broker hostnames, IP addresses, or ports change.
|
|
129
134
|
#
|
|
130
135
|
# @note Stability Level: development
|
|
136
|
+
# @deprecated Replaced by `kafka.cluster.id`.
|
|
131
137
|
MESSAGING_KAFKA_CLUSTER_ID = 'messaging.kafka.cluster.id'
|
|
132
138
|
|
|
133
139
|
# Deprecated, use `messaging.consumer.group.name` instead.
|
|
@@ -142,27 +148,30 @@ module OpenTelemetry
|
|
|
142
148
|
# @deprecated Record string representation of the partition ID in `messaging.destination.partition.id` attribute.
|
|
143
149
|
MESSAGING_KAFKA_DESTINATION_PARTITION = 'messaging.kafka.destination.partition'
|
|
144
150
|
|
|
145
|
-
#
|
|
151
|
+
# Deprecated, use `kafka.message.key` instead.
|
|
146
152
|
#
|
|
147
153
|
# If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value.
|
|
148
154
|
#
|
|
149
155
|
# @note Stability Level: development
|
|
156
|
+
# @deprecated Replaced by `kafka.message.key`.
|
|
150
157
|
MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key'
|
|
151
158
|
|
|
152
|
-
# Deprecated, use `
|
|
159
|
+
# Deprecated, use `kafka.offset` instead.
|
|
153
160
|
#
|
|
154
161
|
# @note Stability Level: development
|
|
155
|
-
# @deprecated Replaced by `
|
|
162
|
+
# @deprecated Replaced by `kafka.offset`.
|
|
156
163
|
MESSAGING_KAFKA_MESSAGE_OFFSET = 'messaging.kafka.message.offset'
|
|
157
164
|
|
|
158
|
-
#
|
|
165
|
+
# Deprecated, use `kafka.message.tombstone` instead.
|
|
159
166
|
#
|
|
160
167
|
# @note Stability Level: development
|
|
168
|
+
# @deprecated Replaced by `kafka.message.tombstone`.
|
|
161
169
|
MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.tombstone'
|
|
162
170
|
|
|
163
|
-
#
|
|
171
|
+
# Deprecated, use `kafka.offset` instead.
|
|
164
172
|
#
|
|
165
173
|
# @note Stability Level: development
|
|
174
|
+
# @deprecated Replaced by `kafka.offset`.
|
|
166
175
|
MESSAGING_KAFKA_OFFSET = 'messaging.kafka.offset'
|
|
167
176
|
|
|
168
177
|
# The size of the message body in bytes.
|
|
@@ -209,14 +218,16 @@ module OpenTelemetry
|
|
|
209
218
|
# @note Stability Level: development
|
|
210
219
|
MESSAGING_OPERATION_TYPE = 'messaging.operation.type'
|
|
211
220
|
|
|
212
|
-
#
|
|
221
|
+
# Deprecated, use `rabbitmq.destination.routing_key` instead.
|
|
213
222
|
#
|
|
214
223
|
# @note Stability Level: development
|
|
224
|
+
# @deprecated Replaced by `rabbitmq.destination.routing_key`.
|
|
215
225
|
MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbitmq.destination.routing_key'
|
|
216
226
|
|
|
217
|
-
#
|
|
227
|
+
# Deprecated, use `rabbitmq.message.delivery_tag` instead.
|
|
218
228
|
#
|
|
219
229
|
# @note Stability Level: development
|
|
230
|
+
# @deprecated Replaced by `rabbitmq.message.delivery_tag`.
|
|
220
231
|
MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq.message.delivery_tag'
|
|
221
232
|
|
|
222
233
|
# Deprecated, use `messaging.consumer.group.name` instead.
|
|
@@ -225,44 +236,52 @@ module OpenTelemetry
|
|
|
225
236
|
# @deprecated Replaced by `messaging.consumer.group.name` on the consumer spans. No replacement for producer spans.
|
|
226
237
|
MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_group'
|
|
227
238
|
|
|
228
|
-
#
|
|
239
|
+
# Deprecated, use `rocketmq.consumption_model` instead.
|
|
229
240
|
#
|
|
230
241
|
# @note Stability Level: development
|
|
242
|
+
# @deprecated Replaced by `rocketmq.consumption_model`.
|
|
231
243
|
MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model'
|
|
232
244
|
|
|
233
|
-
#
|
|
245
|
+
# Deprecated, use `rocketmq.message.delay_time_level` instead.
|
|
234
246
|
#
|
|
235
247
|
# @note Stability Level: development
|
|
248
|
+
# @deprecated Replaced by `rocketmq.message.delay_time_level`.
|
|
236
249
|
MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocketmq.message.delay_time_level'
|
|
237
250
|
|
|
238
|
-
#
|
|
251
|
+
# Deprecated, use `rocketmq.message.delivery_timestamp` instead.
|
|
239
252
|
#
|
|
240
253
|
# @note Stability Level: development
|
|
254
|
+
# @deprecated Replaced by `rocketmq.message.delivery_timestamp`.
|
|
241
255
|
MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp'
|
|
242
256
|
|
|
243
|
-
#
|
|
257
|
+
# Deprecated, use `rocketmq.message.group` instead.
|
|
244
258
|
#
|
|
245
259
|
# @note Stability Level: development
|
|
260
|
+
# @deprecated Replaced by `rocketmq.message.group`.
|
|
246
261
|
MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message.group'
|
|
247
262
|
|
|
248
|
-
#
|
|
263
|
+
# Deprecated, use `rocketmq.message.keys` instead.
|
|
249
264
|
#
|
|
250
265
|
# @note Stability Level: development
|
|
266
|
+
# @deprecated Replaced by `rocketmq.message.keys`.
|
|
251
267
|
MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message.keys'
|
|
252
268
|
|
|
253
|
-
#
|
|
269
|
+
# Deprecated, use `rocketmq.message.tag` instead.
|
|
254
270
|
#
|
|
255
271
|
# @note Stability Level: development
|
|
272
|
+
# @deprecated Replaced by `rocketmq.message.tag`.
|
|
256
273
|
MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.tag'
|
|
257
274
|
|
|
258
|
-
#
|
|
275
|
+
# Deprecated, use `rocketmq.message.type` instead.
|
|
259
276
|
#
|
|
260
277
|
# @note Stability Level: development
|
|
278
|
+
# @deprecated Replaced by `rocketmq.message.type`.
|
|
261
279
|
MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type'
|
|
262
280
|
|
|
263
|
-
#
|
|
281
|
+
# Deprecated, use `rocketmq.namespace` instead.
|
|
264
282
|
#
|
|
265
283
|
# @note Stability Level: development
|
|
284
|
+
# @deprecated Replaced by `rocketmq.namespace`.
|
|
266
285
|
MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'
|
|
267
286
|
|
|
268
287
|
# Deprecated, use `messaging.destination.subscription.name` instead.
|
|
@@ -271,28 +290,51 @@ module OpenTelemetry
|
|
|
271
290
|
# @deprecated Replaced by `messaging.destination.subscription.name`.
|
|
272
291
|
MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = 'messaging.servicebus.destination.subscription_name'
|
|
273
292
|
|
|
274
|
-
#
|
|
293
|
+
# Deprecated, use `azure.servicebus.disposition_status` instead.
|
|
275
294
|
#
|
|
276
295
|
# @note Stability Level: development
|
|
296
|
+
# @deprecated Replaced by `azure.servicebus.disposition_status`.
|
|
277
297
|
MESSAGING_SERVICEBUS_DISPOSITION_STATUS = 'messaging.servicebus.disposition_status'
|
|
278
298
|
|
|
279
|
-
#
|
|
299
|
+
# Deprecated, use `azure.servicebus.message.delivery_count` instead.
|
|
280
300
|
#
|
|
281
301
|
# @note Stability Level: development
|
|
302
|
+
# @deprecated Replaced by `azure.servicebus.message.delivery_count`.
|
|
282
303
|
MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servicebus.message.delivery_count'
|
|
283
304
|
|
|
284
|
-
#
|
|
305
|
+
# Deprecated, use `azure.servicebus.message.enqueued_time` instead.
|
|
285
306
|
#
|
|
286
307
|
# @note Stability Level: development
|
|
308
|
+
# @deprecated Replaced by `azure.servicebus.message.enqueued_time`.
|
|
287
309
|
MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servicebus.message.enqueued_time'
|
|
288
310
|
|
|
289
|
-
#
|
|
311
|
+
# Deprecated, use `messaging.system.name` instead.
|
|
312
|
+
#
|
|
313
|
+
# The actual messaging system may differ from the one known by the client.
|
|
314
|
+
# For example, when using Kafka client libraries to communicate with Azure Event Hubs, the `messaging.system`
|
|
315
|
+
# is set to `kafka` based on the instrumentation's best knowledge.
|
|
316
|
+
#
|
|
317
|
+
# When migrating to `messaging.system.name`, update the following values:
|
|
290
318
|
#
|
|
291
|
-
#
|
|
319
|
+
# - `aws_sqs` to `aws.sqs`
|
|
320
|
+
# - `eventgrid` to `azure.eventgrid`
|
|
321
|
+
# - `eventhubs` to `azure.eventhubs`
|
|
322
|
+
# - `servicebus` to `azure.servicebus`
|
|
323
|
+
# - `gcp_pubsub` to `gcp.pubsub`
|
|
324
|
+
#
|
|
325
|
+
# All other values are unchanged.
|
|
292
326
|
#
|
|
293
327
|
# @note Stability Level: development
|
|
328
|
+
# @deprecated Replaced by `messaging.system.name`.
|
|
294
329
|
MESSAGING_SYSTEM = 'messaging.system'
|
|
295
330
|
|
|
331
|
+
# The messaging system as identified by the client instrumentation.
|
|
332
|
+
#
|
|
333
|
+
# The actual messaging system may differ from the one known by the client. For example, when using Kafka client libraries to communicate with Azure Event Hubs, the `messaging.system.name` is set to `kafka` based on the instrumentation's best knowledge.
|
|
334
|
+
#
|
|
335
|
+
# @note Stability Level: development
|
|
336
|
+
MESSAGING_SYSTEM_NAME = 'messaging.system.name'
|
|
337
|
+
|
|
296
338
|
# @!endgroup
|
|
297
339
|
end
|
|
298
340
|
end
|
|
@@ -48,7 +48,7 @@ module OpenTelemetry
|
|
|
48
48
|
#
|
|
49
49
|
# Connection states are defined as part of the [rfc9293](https://datatracker.ietf.org/doc/html/rfc9293#section-3.3.2)
|
|
50
50
|
#
|
|
51
|
-
# @note Stability Level:
|
|
51
|
+
# @note Stability Level: release_candidate
|
|
52
52
|
NETWORK_CONNECTION_STATE = 'network.connection.state'
|
|
53
53
|
|
|
54
54
|
# This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a Wi-Fi connection.
|
|
@@ -78,6 +78,30 @@ module OpenTelemetry
|
|
|
78
78
|
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::NETWORK::NETWORK_LOCAL_ADDRESS}.
|
|
79
79
|
NETWORK_LOCAL_ADDRESS = 'network.local.address'
|
|
80
80
|
|
|
81
|
+
# The [Autonomous System Number (ASN)](https://www.iana.org/assignments/as-numbers/as-numbers.xhtml) associated with the local IP address.
|
|
82
|
+
#
|
|
83
|
+
# This attribute SHOULD only be set when the local address is an IP address and the ASN is available from routing, enrichment, or lookup data. The value SHOULD be represented as an integer without the `AS` prefix.
|
|
84
|
+
#
|
|
85
|
+
# @note Stability Level: development
|
|
86
|
+
NETWORK_LOCAL_AS_NUMBER = 'network.local.as.number'
|
|
87
|
+
|
|
88
|
+
# The name of the organization associated with the autonomous system of the local IP address.
|
|
89
|
+
#
|
|
90
|
+
# This attribute SHOULD only be set when `network.local.as.number` is set and the organization name is available. The value SHOULD be the organization name as provided by the lookup or enrichment source, not the AS name or short code.
|
|
91
|
+
#
|
|
92
|
+
# @note Stability Level: development
|
|
93
|
+
NETWORK_LOCAL_AS_ORGANIZATION = 'network.local.as.organization'
|
|
94
|
+
|
|
95
|
+
# Local Media Access Control (MAC) address of the network connection.
|
|
96
|
+
#
|
|
97
|
+
# MAC addresses MUST be represented in [IEEE RA hexadecimal form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf):
|
|
98
|
+
# as hyphen-separated octets in uppercase hexadecimal form from most to least significant.
|
|
99
|
+
#
|
|
100
|
+
# > [!WARNING]> This attribute may contain sensitive (PII) information.
|
|
101
|
+
#
|
|
102
|
+
# @note Stability Level: development
|
|
103
|
+
NETWORK_LOCAL_MAC_ADDRESS = 'network.local.mac.address'
|
|
104
|
+
|
|
81
105
|
# Local port number of the network connection.
|
|
82
106
|
#
|
|
83
107
|
# @note Stability Level: stable
|
|
@@ -85,6 +109,33 @@ module OpenTelemetry
|
|
|
85
109
|
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::NETWORK::NETWORK_LOCAL_PORT}.
|
|
86
110
|
NETWORK_LOCAL_PORT = 'network.local.port'
|
|
87
111
|
|
|
112
|
+
# The IP prefix associated with the local IP address, in CIDR notation.
|
|
113
|
+
#
|
|
114
|
+
# > [!WARNING]> This attribute may contain sensitive (PII) information. A `/32`> IPv4 prefix
|
|
115
|
+
# > or `/128`> IPv6 prefix preserves the complete endpoint IP address.
|
|
116
|
+
# > Using CIDR notation does not guarantee that the data is anonymous.
|
|
117
|
+
#
|
|
118
|
+
# The value MUST be an IPv4 or IPv6 network prefix in CIDR notation, as defined in
|
|
119
|
+
# [RFC 4632](https://www.rfc-editor.org/rfc/rfc4632.html) for IPv4 and
|
|
120
|
+
# [RFC 4291](https://www.rfc-editor.org/rfc/rfc4291.html#section-2.3) for IPv6.
|
|
121
|
+
# IPv4 prefixes MUST use a dotted-decimal address followed by `/` and a decimal
|
|
122
|
+
# prefix length from 0 to 32. IPv6 prefixes MUST use the canonical address text
|
|
123
|
+
# representation defined in [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952.html),
|
|
124
|
+
# followed by `/` and a decimal prefix length from 0 to 128. All host bits in
|
|
125
|
+
# the address MUST be set to zero. The value MUST NOT contain a domain name,
|
|
126
|
+
# UNIX domain socket name, or IPv6 zone identifier.
|
|
127
|
+
#
|
|
128
|
+
# Instrumentation or Collector receivers that populate this attribute MUST
|
|
129
|
+
# convert native representations, such as an address and subnet mask or an
|
|
130
|
+
# address and prefix length, to equivalent CIDR notation before emitting it.
|
|
131
|
+
#
|
|
132
|
+
# This attribute MAY be set whether or not `network.local.address` is set. If
|
|
133
|
+
# `network.local.address` is also set to an IP address, it MUST use the same IP version
|
|
134
|
+
# and be contained in this prefix.
|
|
135
|
+
#
|
|
136
|
+
# @note Stability Level: development
|
|
137
|
+
NETWORK_LOCAL_PREFIX = 'network.local.prefix'
|
|
138
|
+
|
|
88
139
|
# Peer address of the network connection - IP address or UNIX domain socket name.
|
|
89
140
|
#
|
|
90
141
|
# @note Stability Level: stable
|
|
@@ -92,6 +143,30 @@ module OpenTelemetry
|
|
|
92
143
|
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::NETWORK::NETWORK_PEER_ADDRESS}.
|
|
93
144
|
NETWORK_PEER_ADDRESS = 'network.peer.address'
|
|
94
145
|
|
|
146
|
+
# The [Autonomous System Number (ASN)](https://www.iana.org/assignments/as-numbers/as-numbers.xhtml) associated with the peer IP address.
|
|
147
|
+
#
|
|
148
|
+
# This attribute SHOULD only be set when the peer address is an IP address and the ASN is available from routing, enrichment, or lookup data. The value SHOULD be represented as an integer without the `AS` prefix.
|
|
149
|
+
#
|
|
150
|
+
# @note Stability Level: development
|
|
151
|
+
NETWORK_PEER_AS_NUMBER = 'network.peer.as.number'
|
|
152
|
+
|
|
153
|
+
# The name of the organization associated with the autonomous system of the peer IP address.
|
|
154
|
+
#
|
|
155
|
+
# This attribute SHOULD only be set when `network.peer.as.number` is set and the organization name is available. The value SHOULD be the organization name as provided by the lookup or enrichment source, not the AS name or short code.
|
|
156
|
+
#
|
|
157
|
+
# @note Stability Level: development
|
|
158
|
+
NETWORK_PEER_AS_ORGANIZATION = 'network.peer.as.organization'
|
|
159
|
+
|
|
160
|
+
# Peer Media Access Control (MAC) address of the network connection.
|
|
161
|
+
#
|
|
162
|
+
# MAC addresses MUST be represented in [IEEE RA hexadecimal form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf):
|
|
163
|
+
# as hyphen-separated octets in uppercase hexadecimal form from most to least significant.
|
|
164
|
+
#
|
|
165
|
+
# > [!WARNING]> This attribute may contain sensitive (PII) information.
|
|
166
|
+
#
|
|
167
|
+
# @note Stability Level: development
|
|
168
|
+
NETWORK_PEER_MAC_ADDRESS = 'network.peer.mac.address'
|
|
169
|
+
|
|
95
170
|
# Peer port number of the network connection.
|
|
96
171
|
#
|
|
97
172
|
# @note Stability Level: stable
|
|
@@ -99,6 +174,33 @@ module OpenTelemetry
|
|
|
99
174
|
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::NETWORK::NETWORK_PEER_PORT}.
|
|
100
175
|
NETWORK_PEER_PORT = 'network.peer.port'
|
|
101
176
|
|
|
177
|
+
# The IP prefix associated with the peer IP address, in CIDR notation.
|
|
178
|
+
#
|
|
179
|
+
# > [!WARNING]> This attribute may contain sensitive (PII) information. A `/32`> IPv4 prefix
|
|
180
|
+
# > or `/128`> IPv6 prefix preserves the complete endpoint IP address.
|
|
181
|
+
# > Using CIDR notation does not guarantee that the data is anonymous.
|
|
182
|
+
#
|
|
183
|
+
# The value MUST be an IPv4 or IPv6 network prefix in CIDR notation, as defined in
|
|
184
|
+
# [RFC 4632](https://www.rfc-editor.org/rfc/rfc4632.html) for IPv4 and
|
|
185
|
+
# [RFC 4291](https://www.rfc-editor.org/rfc/rfc4291.html#section-2.3) for IPv6.
|
|
186
|
+
# IPv4 prefixes MUST use a dotted-decimal address followed by `/` and a decimal
|
|
187
|
+
# prefix length from 0 to 32. IPv6 prefixes MUST use the canonical address text
|
|
188
|
+
# representation defined in [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952.html),
|
|
189
|
+
# followed by `/` and a decimal prefix length from 0 to 128. All host bits in
|
|
190
|
+
# the address MUST be set to zero. The value MUST NOT contain a domain name,
|
|
191
|
+
# UNIX domain socket name, or IPv6 zone identifier.
|
|
192
|
+
#
|
|
193
|
+
# Instrumentation or Collector receivers that populate this attribute MUST
|
|
194
|
+
# convert native representations, such as an address and subnet mask or an
|
|
195
|
+
# address and prefix length, to equivalent CIDR notation before emitting it.
|
|
196
|
+
#
|
|
197
|
+
# This attribute MAY be set whether or not `network.peer.address` is set. If
|
|
198
|
+
# `network.peer.address` is also set to an IP address, it MUST use the same IP version
|
|
199
|
+
# and be contained in this prefix.
|
|
200
|
+
#
|
|
201
|
+
# @note Stability Level: development
|
|
202
|
+
NETWORK_PEER_PREFIX = 'network.peer.prefix'
|
|
203
|
+
|
|
102
204
|
# [OSI application layer](https://wikipedia.org/wiki/Application_layer) or non-OSI equivalent.
|
|
103
205
|
#
|
|
104
206
|
# The value SHOULD be normalized to lowercase.
|
|
@@ -29,6 +29,7 @@ module OpenTelemetry
|
|
|
29
29
|
# The causal relationship between a child Span and a parent Span.
|
|
30
30
|
#
|
|
31
31
|
# @note Stability Level: development
|
|
32
|
+
# @deprecated OpenTracing compatibility requirements are [deprecated in OpenTelemetry Specification](https://opentelemetry.io/docs/specs/otel/compatibility/opentracing/)
|
|
32
33
|
OPENTRACING_REF_TYPE = 'opentracing.ref_type'
|
|
33
34
|
|
|
34
35
|
# @!endgroup
|
|
@@ -108,7 +108,13 @@ module OpenTelemetry
|
|
|
108
108
|
# @deprecated Replaced by `otel.sdk.exporter.span.inflight`.
|
|
109
109
|
OTEL_SDK_EXPORTER_SPAN_INFLIGHT_COUNT = 'otel.sdk.exporter.span.inflight.count'
|
|
110
110
|
|
|
111
|
-
# The number of
|
|
111
|
+
# The number of log records submitted to an enabled `Logger`.
|
|
112
|
+
#
|
|
113
|
+
# In OpenTelemetry SDKs a `Logger` is enabled by default, and can be disabled via configuration i.e. `LoggerConfig.enabled` = `false` when supported;
|
|
114
|
+
# a disabled `Logger` is a No-op: emitting to it has no effect, so its records are not counted.
|
|
115
|
+
# Every log record submitted to an enabled `Logger` is counted, even if it is later filtered or dropped within the SDK
|
|
116
|
+
# (e.g. by minimum severity or trace-based rules, or by a processor or the export pipeline), making this metric the top of the log delivery funnel.
|
|
117
|
+
# Records not submitted to the SDK are not counted (e.g. a caller that skips calling `Emit()` based on an `Enabled()` check, or an upstream logging library that filters first).
|
|
112
118
|
#
|
|
113
119
|
# @note Stability Level: development
|
|
114
120
|
OTEL_SDK_LOG_CREATED = 'otel.sdk.log.created'
|
|
@@ -32,7 +32,7 @@ module OpenTelemetry
|
|
|
32
32
|
# - A gRPC service `rpc.service="io.opentelemetry.AuthService"` may be hosted in both a gateway, `peer.service="ExternalApiService"` and a backend, `peer.service="AuthService"`.
|
|
33
33
|
#
|
|
34
34
|
# @note Stability Level: development
|
|
35
|
-
# @deprecated
|
|
35
|
+
# @deprecated Use `server.service.name` on the client side or `client.service.name` on the server side.
|
|
36
36
|
PEER_SERVICE = 'peer.service'
|
|
37
37
|
|
|
38
38
|
# @!endgroup
|
|
@@ -0,0 +1,41 @@
|
|
|
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 Incubating
|
|
24
|
+
module RABBITMQ
|
|
25
|
+
# @!group Attribute Names
|
|
26
|
+
|
|
27
|
+
# RabbitMQ message routing key.
|
|
28
|
+
#
|
|
29
|
+
# @note Stability Level: development
|
|
30
|
+
RABBITMQ_DESTINATION_ROUTING_KEY = 'rabbitmq.destination.routing_key'
|
|
31
|
+
|
|
32
|
+
# RabbitMQ message delivery tag
|
|
33
|
+
#
|
|
34
|
+
# @note Stability Level: development
|
|
35
|
+
RABBITMQ_MESSAGE_DELIVERY_TAG = 'rabbitmq.message.delivery_tag'
|
|
36
|
+
|
|
37
|
+
# @!endgroup
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
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 'rabbitmq/attributes'
|
|
@@ -0,0 +1,71 @@
|
|
|
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 Incubating
|
|
24
|
+
module ROCKETMQ
|
|
25
|
+
# @!group Attribute Names
|
|
26
|
+
|
|
27
|
+
# Model of message consumption. This only applies to consumer spans.
|
|
28
|
+
#
|
|
29
|
+
# @note Stability Level: development
|
|
30
|
+
ROCKETMQ_CONSUMPTION_MODEL = 'rocketmq.consumption_model'
|
|
31
|
+
|
|
32
|
+
# The delay time level for delay message, which determines the message delay time.
|
|
33
|
+
#
|
|
34
|
+
# @note Stability Level: development
|
|
35
|
+
ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'rocketmq.message.delay_time_level'
|
|
36
|
+
|
|
37
|
+
# The timestamp in milliseconds that the delay message is expected to be delivered to consumer.
|
|
38
|
+
#
|
|
39
|
+
# @note Stability Level: development
|
|
40
|
+
ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'rocketmq.message.delivery_timestamp'
|
|
41
|
+
|
|
42
|
+
# It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group.
|
|
43
|
+
#
|
|
44
|
+
# @note Stability Level: development
|
|
45
|
+
ROCKETMQ_MESSAGE_GROUP = 'rocketmq.message.group'
|
|
46
|
+
|
|
47
|
+
# Key(s) of message, another way to mark message besides message ID.
|
|
48
|
+
#
|
|
49
|
+
# @note Stability Level: development
|
|
50
|
+
ROCKETMQ_MESSAGE_KEYS = 'rocketmq.message.keys'
|
|
51
|
+
|
|
52
|
+
# The secondary classifier of message besides topic.
|
|
53
|
+
#
|
|
54
|
+
# @note Stability Level: development
|
|
55
|
+
ROCKETMQ_MESSAGE_TAG = 'rocketmq.message.tag'
|
|
56
|
+
|
|
57
|
+
# Type of message.
|
|
58
|
+
#
|
|
59
|
+
# @note Stability Level: development
|
|
60
|
+
ROCKETMQ_MESSAGE_TYPE = 'rocketmq.message.type'
|
|
61
|
+
|
|
62
|
+
# Namespace of RocketMQ resources, resources in different namespaces are individual.
|
|
63
|
+
#
|
|
64
|
+
# @note Stability Level: development
|
|
65
|
+
ROCKETMQ_NAMESPACE = 'rocketmq.namespace'
|
|
66
|
+
|
|
67
|
+
# @!endgroup
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|