🛑 Breaking changes 🛑
-
code
:code.function.name
value should contain the fully qualified function name,code.namespace
is now deprecated (#1677) -
gen-ai
: Introducegen_ai.output.type
and deprecategen_ai.openai.request.response_format
(#1757) -
mobile
: Reworkdevice.app.lifecycle
mobile event. (#1880)
Thedevice.app.lifecycle
event has been reworked to use attributes instead
of event body fields. Theios.app.state
andandroid.app.state
attributes
have been reintroduced to the attribute registry. -
system
: Move CPU-related system.cpu.* metrics to CPU namespace (#1873) -
k8s
: Change k8s.replication_controller metrics to k8s.replicationcontroller (#1848) -
db
: Renamedb.system
todb.system.name
in database metrics, and update the values to be consistent with database spans. (#1581) -
session
: Movesession.id
andsession.previous_id
from body fields to event attributes, and yamlizesession.start
andsession.end
events. (#1845)
As part of the ongoing migration of event fields from LogRecord body to extended/complex attributes, thesession.start
andsession.end
events have been redefined.
💡 Enhancements 💡
-
code
: Markcode.*
semantic conventions as release candidate (#1377) -
db
: Add database-specific notes on db.operation.name and db.collection.name for Cassandra, Cosmos DB, HBase, MongoDB, and Redis, covering their batch/bulk terms and lack of cross-table queries. (#1863, #1573) -
gen-ai
: Addsgen_ai.request.choice.count
span attribute (#1888)
Enables recording target number of completions to generate -
enduser
: Undeprecate 'enduser.id' and introduce new attributeenduser.pseudo.id
(#1104)
The new attributeenduser.pseudo.id
is intended to provide a unique identifier of a pseudonymous enduser. -
k8s
: Addk8s.hpa
,k8s.resourcequota
andk8s.replicationcontroller
attributes and resources (#1656) -
k8s
: How to populate resource attributes based on attributes, labels and transformation (#236) -
process
: Adjust the semantic expectations forprocess.executable.name
(#1736) -
otel
: Adds SDK self-monitoring metrics for span processing (#1631) -
cicd
: Adds a new attributecicd.pipeline.run.url.full
and corrects the attribute description ofcicd.pipeline.task.run.url.full
(#1796) -
user-agent
: Adduser_agent.os.name
anduser_agent.os.version
attributes (#1433)
🧰 Bug fixes 🧰
process
: Fix units of process.open_file_descriptor.count and process.context_switches (#1662)
New Contributors
- @emdneto made their first contribution in #1827
- @geny200 made their first contribution in #1836
- @niwoerner made their first contribution in #1833
- @heyams made their first contribution in #1456
- @JonasKunz made their first contribution in #1631
- @sincejune made their first contribution in #1917
Special thanks to @chalin with all the link-checking fixes ❤️
Full Changelog: v1.30.0...v1.31.0