opentelemetry-go
opentelemetry-go copied to clipboard
Add `semconv/v1.26.0`
v1.26.0 semantic conventions release notes:
v1.26.0
🛑 Breaking changes 🛑
-
db: Renamedb.statementtodb.query.textand introducedb.query.parameter.<key>(#716) -
db: Renamesdb.sql.table,db.cassandra.table,db.mongodb.collection, anddb.cosmosdb.containerattributes todb.collection.name(#870) -
db: Renamedb.operationtodb.operation.name. (#884) -
messaging: Renamemessaging.operationtomessaging.operation.type, addmessaging.operation.name. (#890) -
db: Deprecate thedb.userattribute. (#885) -
db: Renamedb.nameanddb.redis.database_indextodb.namespace, deprecatedb.mssql.instance_name. (#885) -
db: Removedb.instance.id. For Elasticsearch, replace withdb.elasticsearch.node.name. (#972) -
db: Clarify database span name format and fallback values. (#974, #704) -
db: Renamedb.client.connections.*metric namespace todb.client.connection.*and renamedb.client.connection.usagetodb.client.connection.count.
(#201, #967) -
db: Renamepool.nametodb.client.connections.pool.nameandstatetodb.client.connections.state. (#909) -
system: Deprecatesharedfromsystem.memory.statevalues and make it a standalone metric (#522) -
device.app.lifecycle: Reformat and update thedevice.app.lifecycleevent description adds constraints for the possible values of theandroid.stateandios.state.
(#794)
Removes theios.lifecycle.eventsandandroid.lifecycle.eventsattributes from the global registry and adds constraints for the possible values of theandroid.stateandios.stateattributes. -
messaging: Renamemessaging.client_idtomessaging.client.id(#935) -
rpc: Renamemessage.*attributes underrpctorpc.message.*. Deprecate oldmessage.*attributes. (#854)
🚀 New components 🚀
gen-ai: Introducing semantic conventions for GenAI clients. (#327)
💡 Enhancements 💡
-
all: Markdown snippets are now generated by jinja templates in thetemplatesdirectory. (#1000) -
db, messaging, gen_ai: Clarify thatdb.system,messaging.system,gen_ai.systemattributes capture the client perception and may differ from the actual product name. (#813, #1016) -
messaging: Show all applicable attributes in individual messaging semantic conventions. (#869, #1018) -
process: Add additional attributes to process attribute registry (#564) -
messaging: Add a GCP Pub/Sub unary pull example and the new GCP messaging attributes: -messaging.gcp_pubsub.message.ack_deadline, -messaging.gcp_pubsub.message.ack_id, -messaging.gcp_pubsub.message.delivery_attempt(#527) -
db: Adddb.client.operation.durationmetric (#512) -
messaging: Adds `messaging.destination.partition.id`` to the messaging attributes (#814) -
exception: Replace constraints with requirement levels on exceptions. (#862) -
process: Replace constraints with requirement_level in process attributes. (#863) -
db: Reorganize DB conventions to be shared across span and metric conventions. (#910) -
all: Migrate Attribute Registry to be completely autogenerated. (#197)
Migrate to using weaver for markdown generation (snippet + registry).
The entirety of the registry now is generated using weaver with templates
under thetemplates/directory. Snippets still require a hardcoded
command. -
http: List all HTTP client and server attributes in the corresponding table, remove common attributes from yaml and markdown. (#928) -
other: Document patterns and suggestions for semconv code generation. (#551, #953) -
db: Show applicable common attributes in individual database semantic conventions. (#973) -
db: Adderror.typeattribute to the database span and operation duration metric. (#975) -
db: Parameterized query text does not need to be sanitized by default (#976) -
http: List experimental HTTP attributes applicable to HTTP client and server spans. (#989) -
db: Finalizes the migration requirement for instrumentations to follow when updating to stable database semconv. (#719) -
http: Newurl.templateattribute added to URL, HTTP client attributes are extended with optional low-cardinalityurl.template(#675) -
db: Add note todb.collection.name,db.namespace, anddb.operation.nameabout capturing those without attempting to do any case normalization.
(#886) -
events: Provides additional definitions of log events and their structure. (#755) -
k8s: add container.status.last_terminated_reason resource attribute (#922)
🧰 Bug fixes 🧰
Follow up work
- [ ] Update all dependencies on semconv to v1.26.0
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.5%. Comparing base (
5661ff0) to head (cb38de8).
Additional details and impacted files
@@ Coverage Diff @@
## main #5394 +/- ##
=======================================
- Coverage 84.5% 84.5% -0.1%
=======================================
Files 268 268
Lines 17796 17796
=======================================
- Hits 15052 15051 -1
- Misses 2430 2431 +1
Partials 314 314
Blocked by https://github.com/open-telemetry/semantic-conventions/issues/1031 or a workaround.
Superseded by https://github.com/open-telemetry/opentelemetry-go/pull/5476