Redis Attributes

1 attribute in this category.1 deprecated

1 attribute

Deprecated Attributes

These attributes are deprecated and should not be used in new code. See each attribute for migration guidance.

redis.keyDeprecated

stringScrub: ManualVisibility: PublicOTel: False

The key the Redis command is operating on.

Exampleuser:2047:city

Use db.redis.key instead.

This attribute is being deprecated in favor of db.redis.key, which is the preferred replacement.

Status: backfill

Changelog
nextAdded redis.key attribute, deprecated in favor of db.redis.key
Raw JSON
{
  "key": "redis.key",
  "brief": "The key the Redis command is operating on.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "user:2047:city",
  "deprecation": {
    "replacement": "db.redis.key",
    "reason": "This attribute is being deprecated in favor of db.redis.key, which is the preferred replacement.",
    "_status": "backfill"
  },
  "alias": [
    "db.redis.key"
  ],
  "changelog": [
    {
      "version": "next",
      "description": "Added redis.key attribute, deprecated in favor of db.redis.key"
    }
  ]
}