Skip to content

Commit

Permalink
Remove db.name attribute from redis instrumentation as there is no DB…
Browse files Browse the repository at this point in the history
… name concept in Redis
  • Loading branch information
luke6Lh43 committed Nov 1, 2022
1 parent f58d16b commit f009d91
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def _extract_conn_attributes(conn_kwargs):
SpanAttributes.DB_SYSTEM: DbSystemValues.REDIS.value,
}
db = conn_kwargs.get("db", 0)
attributes[SpanAttributes.DB_NAME] = db
attributes[SpanAttributes.DB_REDIS_DATABASE_INDEX] = db
try:
attributes[SpanAttributes.NET_PEER_NAME] = conn_kwargs.get(
Expand Down

0 comments on commit f009d91

Please sign in to comment.