Skip to content

Commit cadfe53

Browse files
jsueretharminru
andauthored
Stage 1.22.0 release for review. (#380)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
1 parent ec3a4cf commit cadfe53

File tree

3 files changed

+287
-1
lines changed

3 files changed

+287
-1
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ release.
77

88
## Unreleased
99

10+
## v1.22.0 (2023-10-12)
11+
12+
- Remove experimental Kafka metrics ([#338](https://github.com/open-telemetry/semantic-conventions/pull/338))
1013
- Adds `session.id` and session.md to general docs and model
1114
([#215](https://github.com/open-telemetry/semantic-conventions/pull/215))
1215
- Add `container.labels.<key>` attributes.
@@ -129,6 +132,8 @@ release.
129132
([#350](https://github.com/open-telemetry/semantic-conventions/pull/350))
130133
- Improve network attribute briefs.
131134
([#352](https://github.com/open-telemetry/semantic-conventions/pull/352))
135+
- Document the difference between host and system metrics
136+
([#324](https://github.com/open-telemetry/semantic-conventions/pull/324))
132137
- BREAKING: Rename `telemetry.auto.version` resource attribute to `telemetry.distro.version`
133138
and add `telemetry.distro.name` resource attribute
134139
([#178](https://github.com/open-telemetry/semantic-conventions/pull/178))

schema-next.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
file_format: 1.1.0
2-
schema_url: https://opentelemetry.io/schemas/1.21.0
2+
schema_url: https://opentelemetry.io/schemas/next
33
versions:
44
next:
5+
1.22.0:
56
spans:
67
changes:
78
# https://github.com/open-telemetry/semantic-conventions/pull/229

schemas/1.22.0

+280
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,280 @@
1+
file_format: 1.1.0
2+
schema_url: https://opentelemetry.io/schemas/1.22.0
3+
versions:
4+
1.22.0:
5+
spans:
6+
changes:
7+
# https://github.com/open-telemetry/semantic-conventions/pull/229
8+
- rename_attributes:
9+
attribute_map:
10+
messaging.message.payload_size_bytes: messaging.message.body.size
11+
metrics:
12+
changes:
13+
# https://github.com/open-telemetry/semantic-conventions/pull/224
14+
- rename_metrics:
15+
http.client.duration: http.client.request.duration
16+
http.server.duration: http.server.request.duration
17+
# https://github.com/open-telemetry/semantic-conventions/pull/241
18+
- rename_metrics:
19+
process.runtime.jvm.memory.usage: jvm.memory.usage
20+
process.runtime.jvm.memory.committed: jvm.memory.committed
21+
process.runtime.jvm.memory.limit: jvm.memory.limit
22+
process.runtime.jvm.memory.usage_after_last_gc: jvm.memory.usage_after_last_gc
23+
process.runtime.jvm.gc.duration: jvm.gc.duration
24+
# also https://github.com/open-telemetry/semantic-conventions/pull/252
25+
process.runtime.jvm.threads.count: jvm.thread.count
26+
# also https://github.com/open-telemetry/semantic-conventions/pull/252
27+
process.runtime.jvm.classes.loaded: jvm.class.loaded
28+
# also https://github.com/open-telemetry/semantic-conventions/pull/252
29+
process.runtime.jvm.classes.unloaded: jvm.class.unloaded
30+
# also https://github.com/open-telemetry/semantic-conventions/pull/252
31+
# and https://github.com/open-telemetry/semantic-conventions/pull/60
32+
process.runtime.jvm.classes.current_loaded: jvm.class.count
33+
process.runtime.jvm.cpu.time: jvm.cpu.time
34+
process.runtime.jvm.cpu.recent_utilization: jvm.cpu.recent_utilization
35+
process.runtime.jvm.memory.init: jvm.memory.init
36+
process.runtime.jvm.system.cpu.utilization: jvm.system.cpu.utilization
37+
process.runtime.jvm.system.cpu.load_1m: jvm.system.cpu.load_1m
38+
# https://github.com/open-telemetry/semantic-conventions/pull/253
39+
process.runtime.jvm.buffer.usage: jvm.buffer.memory.usage
40+
# https://github.com/open-telemetry/semantic-conventions/pull/253
41+
process.runtime.jvm.buffer.limit: jvm.buffer.memory.limit
42+
process.runtime.jvm.buffer.count: jvm.buffer.count
43+
# https://github.com/open-telemetry/semantic-conventions/pull/20
44+
- rename_attributes:
45+
attribute_map:
46+
type: jvm.memory.type
47+
pool: jvm.memory.pool.name
48+
apply_to_metrics:
49+
- jvm.memory.usage
50+
- jvm.memory.committed
51+
- jvm.memory.limit
52+
- jvm.memory.usage_after_last_gc
53+
- jvm.memory.init
54+
- rename_attributes:
55+
attribute_map:
56+
name: jvm.gc.name
57+
action: jvm.gc.action
58+
apply_to_metrics:
59+
- jvm.gc.duration
60+
- rename_attributes:
61+
attribute_map:
62+
daemon: thread.daemon
63+
apply_to_metrics:
64+
- jvm.threads.count
65+
- rename_attributes:
66+
attribute_map:
67+
pool: jvm.buffer.pool.name
68+
apply_to_metrics:
69+
- jvm.buffer.usage
70+
- jvm.buffer.limit
71+
- jvm.buffer.count
72+
# https://github.com/open-telemetry/semantic-conventions/pull/89
73+
- rename_attributes:
74+
attribute_map:
75+
state: system.cpu.state
76+
cpu: system.cpu.logical_number
77+
apply_to_metrics:
78+
- system.cpu.time
79+
- system.cpu.utilization
80+
- rename_attributes:
81+
attribute_map:
82+
state: system.memory.state
83+
apply_to_metrics:
84+
- system.memory.usage
85+
- system.memory.utilization
86+
- rename_attributes:
87+
attribute_map:
88+
state: system.paging.state
89+
apply_to_metrics:
90+
- system.paging.usage
91+
- system.paging.utilization
92+
- rename_attributes:
93+
attribute_map:
94+
type: system.paging.type
95+
direction: system.paging.direction
96+
apply_to_metrics:
97+
- system.paging.faults
98+
- system.paging.operations
99+
- rename_attributes:
100+
attribute_map:
101+
device: system.device
102+
direction: system.disk.direction
103+
apply_to_metrics:
104+
- system.disk.io
105+
- system.disk.operations
106+
- system.disk.io_time
107+
- system.disk.operation_time
108+
- system.disk.merged
109+
- rename_attributes:
110+
attribute_map:
111+
device: system.device
112+
state: system.filesystem.state
113+
type: system.filesystem.type
114+
mode: system.filesystem.mode
115+
mountpoint: system.filesystem.mountpoint
116+
apply_to_metrics:
117+
- system.filesystem.usage
118+
- system.filesystem.utilization
119+
- rename_attributes:
120+
attribute_map:
121+
device: system.device
122+
direction: system.network.direction
123+
protocol: network.protocol
124+
state: system.network.state
125+
apply_to_metrics:
126+
- system.network.dropped
127+
- system.network.packets
128+
- system.network.errors
129+
- system.network.io
130+
- system.network.connections
131+
- rename_attributes:
132+
attribute_map:
133+
status: system.processes.status
134+
apply_to_metrics:
135+
- system.processes.count
136+
# https://github.com/open-telemetry/semantic-conventions/pull/247
137+
- rename_metrics:
138+
http.server.request.size: http.server.request.body.size
139+
http.server.response.size: http.server.response.body.size
140+
resources:
141+
changes:
142+
# https://github.com/open-telemetry/semantic-conventions/pull/178
143+
- rename_attributes:
144+
attribute_map:
145+
telemetry.auto.version: telemetry.distro.version
146+
1.21.0:
147+
spans:
148+
changes:
149+
# https://github.com/open-telemetry/opentelemetry-specification/pull/3336
150+
- rename_attributes:
151+
attribute_map:
152+
messaging.kafka.client_id: messaging.client_id
153+
messaging.rocketmq.client_id: messaging.client_id
154+
# https://github.com/open-telemetry/opentelemetry-specification/pull/3402
155+
- rename_attributes:
156+
attribute_map:
157+
# net.peer.(name|port) attributes were usually populated on client side
158+
# so they should be usually translated to server.(address|port)
159+
# net.host.* attributes were only populated on server side
160+
net.host.name: server.address
161+
net.host.port: server.port
162+
# was only populated on client side
163+
net.sock.peer.name: server.socket.domain
164+
# net.sock.peer.(addr|port) mapping is not possible
165+
# since they applied to both client and server side
166+
# were only populated on server side
167+
net.sock.host.addr: server.socket.address
168+
net.sock.host.port: server.socket.port
169+
http.client_ip: client.address
170+
# https://github.com/open-telemetry/opentelemetry-specification/pull/3426
171+
- rename_attributes:
172+
attribute_map:
173+
net.protocol.name: network.protocol.name
174+
net.protocol.version: network.protocol.version
175+
net.host.connection.type: network.connection.type
176+
net.host.connection.subtype: network.connection.subtype
177+
net.host.carrier.name: network.carrier.name
178+
net.host.carrier.mcc: network.carrier.mcc
179+
net.host.carrier.mnc: network.carrier.mnc
180+
net.host.carrier.icc: network.carrier.icc
181+
# https://github.com/open-telemetry/opentelemetry-specification/pull/3355
182+
- rename_attributes:
183+
attribute_map:
184+
http.method: http.request.method
185+
http.status_code: http.response.status_code
186+
http.scheme: url.scheme
187+
http.url: url.full
188+
http.request_content_length: http.request.body.size
189+
http.response_content_length: http.response.body.size
190+
metrics:
191+
changes:
192+
# https://github.com/open-telemetry/semantic-conventions/pull/53
193+
- rename_metrics:
194+
process.runtime.jvm.cpu.utilization: process.runtime.jvm.cpu.recent_utilization
195+
1.20.0:
196+
spans:
197+
changes:
198+
# https://github.com/open-telemetry/opentelemetry-specification/pull/3272
199+
- rename_attributes:
200+
attribute_map:
201+
net.app.protocol.name: net.protocol.name
202+
net.app.protocol.version: net.protocol.version
203+
1.19.0:
204+
spans:
205+
changes:
206+
# https://github.com/open-telemetry/opentelemetry-specification/pull/3209
207+
- rename_attributes:
208+
attribute_map:
209+
faas.execution: faas.invocation_id
210+
# https://github.com/open-telemetry/opentelemetry-specification/pull/3188
211+
- rename_attributes:
212+
attribute_map:
213+
faas.id: cloud.resource_id
214+
# https://github.com/open-telemetry/opentelemetry-specification/pull/3190
215+
- rename_attributes:
216+
attribute_map:
217+
http.user_agent: user_agent.original
218+
resources:
219+
changes:
220+
# https://github.com/open-telemetry/opentelemetry-specification/pull/3190
221+
- rename_attributes:
222+
attribute_map:
223+
browser.user_agent: user_agent.original
224+
1.18.0:
225+
1.17.0:
226+
spans:
227+
changes:
228+
# https://github.com/open-telemetry/opentelemetry-specification/pull/2957
229+
- rename_attributes:
230+
attribute_map:
231+
messaging.consumer_id: messaging.consumer.id
232+
messaging.protocol: net.app.protocol.name
233+
messaging.protocol_version: net.app.protocol.version
234+
messaging.destination: messaging.destination.name
235+
messaging.temp_destination: messaging.destination.temporary
236+
messaging.destination_kind: messaging.destination.kind
237+
messaging.message_id: messaging.message.id
238+
messaging.conversation_id: messaging.message.conversation_id
239+
messaging.message_payload_size_bytes: messaging.message.payload_size_bytes
240+
messaging.message_payload_compressed_size_bytes: messaging.message.payload_compressed_size_bytes
241+
messaging.rabbitmq.routing_key: messaging.rabbitmq.destination.routing_key
242+
messaging.kafka.message_key: messaging.kafka.message.key
243+
messaging.kafka.partition: messaging.kafka.destination.partition
244+
messaging.kafka.tombstone: messaging.kafka.message.tombstone
245+
messaging.rocketmq.message_type: messaging.rocketmq.message.type
246+
messaging.rocketmq.message_tag: messaging.rocketmq.message.tag
247+
messaging.rocketmq.message_keys: messaging.rocketmq.message.keys
248+
messaging.kafka.consumer_group: messaging.kafka.consumer.group
249+
1.16.0:
250+
1.15.0:
251+
spans:
252+
changes:
253+
# https://github.com/open-telemetry/opentelemetry-specification/pull/2743
254+
- rename_attributes:
255+
attribute_map:
256+
http.retry_count: http.resend_count
257+
1.14.0:
258+
1.13.0:
259+
spans:
260+
changes:
261+
# https://github.com/open-telemetry/opentelemetry-specification/pull/2614
262+
- rename_attributes:
263+
attribute_map:
264+
net.peer.ip: net.sock.peer.addr
265+
net.host.ip: net.sock.host.addr
266+
1.12.0:
267+
1.11.0:
268+
1.10.0:
269+
1.9.0:
270+
1.8.0:
271+
spans:
272+
changes:
273+
- rename_attributes:
274+
attribute_map:
275+
db.cassandra.keyspace: db.name
276+
db.hbase.namespace: db.name
277+
1.7.0:
278+
1.6.1:
279+
1.5.0:
280+
1.4.0:

0 commit comments

Comments
 (0)