Skip to content

Commit 56a2bb7

Browse files
traskLiudmila Molkova
andauthored
Remove redis database index from redis span name (#1565)
Co-authored-by: Liudmila Molkova <[email protected]>
1 parent 62306fc commit 56a2bb7

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.chloggen/1565.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Use this changelog template to create an entry for release notes.
2+
#
3+
# If your change doesn't affect end users you should instead start
4+
# your pull request title with [chore] or use the "Skip Changelog" label.
5+
6+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
7+
change_type: breaking
8+
9+
# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db)
10+
component: db
11+
12+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
13+
note: Remove redis database index from the redis span name.
14+
15+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
16+
# The values here must be integers.
17+
issues: [ 1449 ]
18+
19+
# (Optional) One or more lines of additional information to render under the primary note.
20+
# These lines will be padded with 2 spaces and then inserted directly into the document.
21+
# Use pipe (|) for multiline entries.
22+
subtext:

docs/database/redis.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ The Semantic Conventions for [Redis](https://redis.com/) extend and override the
1010

1111
`db.system` MUST be set to `"redis"` and SHOULD be provided **at span creation time**.
1212

13+
## Span name
14+
15+
Redis spans SHOULD follow the general [database span name convention](./database-spans.md#name),
16+
except that `db.namespace` SHOULD NOT be used in the span name since it is a numeric value that ends up
17+
looking confusing.
18+
1319
## Attributes
1420

1521
<!-- semconv span.db.redis.client -->

0 commit comments

Comments
 (0)