Redis Attributes

2 attributes in this category.2 deprecated

2 attributes

Deprecated Attributes

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

redis.commandDeprecated

stringScrub: ManualVisibility: PublicOTel: False

The name of the Redis operation being executed.

ExamplesSELECT

Use db.operation.name instead.

Status: backfill

Changelog
v0.19.0#531Added redis.command attribute
Raw JSON
{
  "key": "redis.command",
  "brief": "The name of the Redis operation being executed.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    "SELECT"
  ],
  "deprecation": {
    "replacement": "db.operation.name",
    "_status": "backfill"
  },
  "alias": [
    "cloudflare.d1.query_type",
    "db.operation.name",
    "db.operation"
  ],
  "changelog": [
    {
      "version": "0.19.0",
      "prs": [
        531
      ],
      "description": "Added redis.command attribute"
    }
  ]
}

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
v0.19.0#484Added 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": "0.19.0",
      "prs": [
        484
      ],
      "description": "Added redis.key attribute, deprecated in favor of db.redis.key"
    }
  ]
}