You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b68191e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(redis): bring span attributes into alignment with conventions
Bring the span attributes emitted by the Redis and IORedis
diagnostics_channel instrumentations into alignment with OTel and Sentry
conventions.
The cache keys are left as-is, because they already align with Sentry's
cache conventions, which differ from the DB conventions deliberately.
So:
db.system -> db.system.name
OTel deprecated db.system; Sentry's own span processing (captureSpan.ts)
reads db.system.name first; matches postgresjs
db.statement -> db.query.text
OTel deprecated db.statement; matches postgresjs
net.peer.port -> server.port
net.peer.name -> server.address
OTel deprecated net.peer.*; Sentry DB convention uses server.address
db.redis.batch_size -> db.operation.batch.size
OTel's stable batch-size key, proposed addition to sentry conventions:
getsentry/sentry-conventions#407
fix: JS-2636
fix: #21227
0 commit comments