Skip to content

Commit 1aee94e

Browse files
author
Liudmila Molkova
committed
Add batch.size and separate messaging attributes
Add destination name - it could be per-message
1 parent a87fb8c commit 1aee94e

File tree

5 files changed

+418
-147
lines changed

5 files changed

+418
-147
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,26 @@ release.
4848

4949
- Rename `http.retry_count` to `http.resend_count` and clarify its meaning.
5050
([#2743](https://github.com/open-telemetry/opentelemetry-specification/pull/2743))
51+
- BREAKING: rename `messaging.destination` to `messaging.destination.name`,
52+
`messaging.temp_destination` to `messaging.destination.temporary`,
53+
`messaging.destination_kind` to `messaging.destination.kind`,
54+
`messaging.message_id` to `messaging.message.id`,
55+
`messaging.protocol` to `net.app.protocol.name`,
56+
`messaging.protocol_version`, `net.app.protocol.version`,
57+
`messaging.conversation_id` to `messaging.message.conversation_id`,
58+
`messaging.message_payload_size_bytes` to `messaging.message.payload_size_bytes`,
59+
`messaging.message_payload_compressed_size_bytes` to `messaging.message.payload_compressed_size_bytes`,
60+
`messaging.rabbitmq.routing_key`: `messaging.rabbitmq.message.routing_key`,
61+
`messaging.kafka.message_key` to `messaging.kafka.message.key`,
62+
`messaging.kafka.partition` to `messaging.kafka.message.partition`,
63+
`messaging.kafka.tombstone` to `messaging.kafka.message.tombstone`,
64+
`messaging.rocketmq.message_type` to `messaging.rocketmq.message.type`,
65+
`messaging.rocketmq.message_tag` to `messaging.rocketmq.message.tag`,
66+
`messaging.rocketmq.message_keys` to `messaging.rocketmq.message.keys`;
67+
Removed `messaging.url`;
68+
Renamed `send` operation to `publish`;
69+
Split `destination` and `source` namespaces and clarify per-message attributes in batching scenarios.
70+
([#2763](https://github.com/open-telemetry/opentelemetry-specification/pull/2763)).
5171

5272
### Metrics
5373

schemas/1.16.0

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
file_format: 1.1.0
2+
schema_url: https://opentelemetry.io/schemas/1.16.0
3+
versions:
4+
1.16.0:
5+
spans:
6+
# https://github.com/open-telemetry/opentelemetry-specification/pull/2763
7+
changes:
8+
- rename_attributes:
9+
attribute_map:
10+
messaging.protocol: net.app.protocol.name
11+
messaging.protocol_version: net.app.protocol.version
12+
messaging.destination: messaging.destination.name
13+
messaging.temp_destination: messaging.destination.temporary
14+
messaging.destination_kind: messaging.destination.kind
15+
messaging.message_id: messaging.message.id
16+
messaging.conversation_id: messaging.message.conversation_id
17+
messaging.message_payload_size_bytes: messaging.message.payload_size_bytes
18+
messaging.message_payload_compressed_size_bytes: messaging.message.payload_compressed_size_bytes
19+
messaging.rabbitmq.routing_key: messaging.rabbitmq.message.routing_key
20+
messaging.kafka.message_key: messaging.kafka.message.key
21+
messaging.kafka.partition: messaging.kafka.message.partition
22+
messaging.kafka.tombstone: messaging.kafka.message.tombstone
23+
messaging.rocketmq.message_type: messaging.rocketmq.message.type
24+
messaging.rocketmq.message_tag: messaging.rocketmq.message.tag
25+
messaging.rocketmq.message_keys: messaging.rocketmq.message.keys
26+
1.15.0:
27+
spans:
28+
changes:
29+
# https://github.com/open-telemetry/opentelemetry-specification/pull/2743
30+
- rename_attributes:
31+
attribute_map:
32+
http.retry_count: http.resend_count
33+
1.14.0:
34+
1.13.0:
35+
spans:
36+
changes:
37+
# https://github.com/open-telemetry/opentelemetry-specification/pull/2614
38+
- rename_attributes:
39+
attribute_map:
40+
net.peer.ip: net.sock.peer.addr
41+
net.host.ip: net.sock.host.addr
42+
1.12.0:
43+
1.11.0:
44+
1.10.0:
45+
1.9.0:
46+
1.8.0:
47+
spans:
48+
changes:
49+
- rename_attributes:
50+
attribute_map:
51+
db.cassandra.keyspace: db.name
52+
db.hbase.namespace: db.name
53+
1.7.0:
54+
1.6.1:
55+
1.5.0:
56+
1.4.0:

0 commit comments

Comments
 (0)