forked from open-telemetry/weaver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexpected-attribute-catalog.json
More file actions
423 lines (423 loc) · 14.6 KB
/
expected-attribute-catalog.json
File metadata and controls
423 lines (423 loc) · 14.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
[
{
"name": "messaging.batch.message_count",
"type": "int",
"brief": "The number of messages sent, received, or processed in the scope of the batching operation.",
"examples": [
0,
1,
2
],
"requirement_level": "recommended",
"note": "Instrumentations SHOULD NOT set `messaging.batch.message_count` on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations SHOULD use `messaging.batch.message_count` for batching APIs and SHOULD NOT use it for single-message APIs.\n",
"stability": "stable"
},
{
"name": "messaging.client_id",
"type": "string",
"brief": "A unique identifier for the client that consumes or produces a message.\n",
"examples": [
"client-5",
"myhost@8742@s8083jm"
],
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.destination.anonymous",
"type": "boolean",
"brief": "A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name).",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.destination.name",
"type": "string",
"brief": "The message destination name",
"examples": [
"MyQueue",
"MyTopic"
],
"requirement_level": "recommended",
"note": "Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If\nthe broker doesn't have such notion, the destination name SHOULD uniquely identify the broker.\n",
"stability": "stable"
},
{
"name": "messaging.destination.name",
"type": "string",
"brief": "The message destination name",
"examples": [
"MyQueue",
"MyTopic"
],
"requirement_level": {
"conditionally_required": "if and only if `messaging.destination.name` is known to have low cardinality. Otherwise, `messaging.destination.template` MAY be populated."
},
"note": "Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If\nthe broker doesn't have such notion, the destination name SHOULD uniquely identify the broker.\n",
"stability": "stable"
},
{
"name": "messaging.destination.template",
"type": "string",
"brief": "Low cardinality representation of the messaging destination name",
"examples": [
"/customers/{customerId}"
],
"requirement_level": "recommended",
"note": "Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation.\n",
"stability": "stable"
},
{
"name": "messaging.destination.template",
"type": "string",
"brief": "Low cardinality representation of the messaging destination name",
"examples": [
"/customers/{customerId}"
],
"requirement_level": {
"conditionally_required": "if available."
},
"note": "Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation.\n",
"stability": "stable"
},
{
"name": "messaging.destination.temporary",
"type": "boolean",
"brief": "A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed.",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.destination_publish.anonymous",
"type": "boolean",
"brief": "A boolean that is true if the publish message destination is anonymous (could be unnamed or have auto-generated name).",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.destination_publish.name",
"type": "string",
"brief": "The name of the original destination the message was published to",
"examples": [
"MyQueue",
"MyTopic"
],
"requirement_level": "recommended",
"note": "The name SHOULD uniquely identify a specific queue, topic, or other entity within the broker. If\nthe broker doesn't have such notion, the original destination name SHOULD uniquely identify the broker.\n",
"stability": "stable"
},
{
"name": "messaging.gcp_pubsub.message.ordering_key",
"type": "string",
"brief": "The ordering key for a given message. If the attribute is not present, the message does not have an ordering key.\n",
"examples": "ordering_key",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.kafka.consumer.group",
"type": "string",
"brief": "Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers.\n",
"examples": "my-group",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.kafka.destination.partition",
"type": "int",
"brief": "Partition the message is sent to.\n",
"examples": 2,
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.kafka.message.key",
"type": "string",
"brief": "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.\n",
"examples": "myKey",
"requirement_level": "recommended",
"note": "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.\n",
"stability": "stable"
},
{
"name": "messaging.kafka.message.offset",
"type": "int",
"brief": "The offset of a record in the corresponding Kafka partition.\n",
"examples": 42,
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.kafka.message.tombstone",
"type": "boolean",
"brief": "A boolean that is true if the message is a tombstone.",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.message.body.size",
"type": "int",
"brief": "The size of the message body in bytes.\n",
"examples": 1439,
"requirement_level": "recommended",
"note": "This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed\nbody size should be used.\n",
"stability": "stable"
},
{
"name": "messaging.message.conversation_id",
"type": "string",
"brief": "The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called \"Correlation ID\".\n",
"examples": "MyConversationId",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.message.envelope.size",
"type": "int",
"brief": "The size of the message body and metadata in bytes.\n",
"examples": 2738,
"requirement_level": "recommended",
"note": "This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed\nsize should be used.\n",
"stability": "stable"
},
{
"name": "messaging.message.id",
"type": "string",
"brief": "A value used by the messaging system as an identifier for the message, represented as a string.",
"examples": "452a7c7c7c7048c2f887f61572b18fc2",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.operation",
"type": {
"members": [
{
"id": "publish",
"value": "publish",
"brief": "One or more messages are provided for publishing to an intermediary. If a single message is published, the context of the \"Publish\" span can be used as the creation context and no \"Create\" span needs to be created.\n",
"stability": "stable"
},
{
"id": "create",
"value": "create",
"brief": "A message is created. \"Create\" spans always refer to a single message and are used to provide a unique creation context for messages in batch publishing scenarios.\n",
"stability": "stable"
},
{
"id": "receive",
"value": "receive",
"brief": "One or more messages are requested by a consumer. This operation refers to pull-based scenarios, where consumers explicitly call methods of messaging SDKs to receive messages.\n",
"stability": "stable"
},
{
"id": "deliver",
"value": "deliver",
"brief": "One or more messages are passed to a consumer. This operation refers to push-based scenarios, where consumer register callbacks which get called by messaging SDKs.\n",
"stability": "stable"
}
]
},
"brief": "A string identifying the kind of messaging operation.\n",
"requirement_level": "recommended",
"note": "If a custom value is used, it MUST be of low cardinality.",
"stability": "stable"
},
{
"name": "messaging.rabbitmq.destination.routing_key",
"type": "string",
"brief": "RabbitMQ message routing key.\n",
"examples": "myKey",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.rocketmq.client_group",
"type": "string",
"brief": "Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind.\n",
"examples": "myConsumerGroup",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.rocketmq.consumption_model",
"type": {
"members": [
{
"id": "clustering",
"value": "clustering",
"brief": "Clustering consumption model",
"stability": "stable"
},
{
"id": "broadcasting",
"value": "broadcasting",
"brief": "Broadcasting consumption model",
"stability": "stable"
}
]
},
"brief": "Model of message consumption. This only applies to consumer spans.\n",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.rocketmq.message.delay_time_level",
"type": "int",
"brief": "The delay time level for delay message, which determines the message delay time.\n",
"examples": 3,
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.rocketmq.message.delivery_timestamp",
"type": "int",
"brief": "The timestamp in milliseconds that the delay message is expected to be delivered to consumer.\n",
"examples": 1665987217045,
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.rocketmq.message.group",
"type": "string",
"brief": "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.\n",
"examples": "myMessageGroup",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.rocketmq.message.keys",
"type": "string[]",
"brief": "Key(s) of message, another way to mark message besides message id.\n",
"examples": [
[
"keyA"
],
[
"keyB"
]
],
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.rocketmq.message.tag",
"type": "string",
"brief": "The secondary classifier of message besides topic.\n",
"examples": "tagA",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.rocketmq.message.type",
"type": {
"members": [
{
"id": "normal",
"value": "normal",
"brief": "Normal message",
"stability": "stable"
},
{
"id": "fifo",
"value": "fifo",
"brief": "FIFO message",
"stability": "stable"
},
{
"id": "delay",
"value": "delay",
"brief": "Delay message",
"stability": "stable"
},
{
"id": "transaction",
"value": "transaction",
"brief": "Transaction message",
"stability": "stable"
}
]
},
"brief": "Type of message.\n",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.rocketmq.namespace",
"type": "string",
"brief": "Namespace of RocketMQ resources, resources in different namespaces are individual.\n",
"examples": "myNamespace",
"requirement_level": "recommended",
"stability": "stable"
},
{
"name": "messaging.system",
"type": {
"members": [
{
"id": "activemq",
"value": "activemq",
"brief": "Apache ActiveMQ",
"stability": "stable"
},
{
"id": "aws_sqs",
"value": "aws_sqs",
"brief": "Amazon Simple Queue Service (SQS)",
"stability": "stable"
},
{
"id": "azure_eventgrid",
"value": "azure_eventgrid",
"brief": "Azure Event Grid",
"stability": "stable"
},
{
"id": "azure_eventhubs",
"value": "azure_eventhubs",
"brief": "Azure Event Hubs",
"stability": "stable"
},
{
"id": "azure_servicebus",
"value": "azure_servicebus",
"brief": "Azure Service Bus",
"stability": "stable"
},
{
"id": "gcp_pubsub",
"value": "gcp_pubsub",
"brief": "Google Cloud Pub/Sub",
"stability": "stable"
},
{
"id": "jms",
"value": "jms",
"brief": "Java Message Service",
"stability": "stable"
},
{
"id": "kafka",
"value": "kafka",
"brief": "Apache Kafka",
"stability": "stable"
},
{
"id": "rabbitmq",
"value": "rabbitmq",
"brief": "RabbitMQ",
"stability": "stable"
},
{
"id": "rocketmq",
"value": "rocketmq",
"brief": "Apache RocketMQ",
"stability": "stable"
}
]
},
"brief": "An identifier for the messaging system being used. See below for a list of well-known identifiers.\n",
"requirement_level": "recommended",
"stability": "stable"
}
]