Skip to content

Redis command_args end up in APM despite being disabled #4227

Open
@farnoy

Description

@farnoy

Current behaviour
Command arguments are submitted in the span, despite this setting being disabled.

Expected behaviour
I wanted to just see commands like GET, SET without arguments.

Steps to reproduce

  1. Instrument Redis
  2. Use Rails.cache
  3. Observe cache keys as arguments to the GET command

Environment

  • datadog version: 1.23 but this instrumentation hasn't changed through 2.8
  • Configuration block (Datadog.configure ...):
c.tracing.instrument :redis,
                      describes: { url: redis_url },
                      service_name: "#{service_base_name}-redis"
  • Ruby version: 3.3.6
  • Operating system: linux x64
  • Relevant library versions:
     ddtrace (1.23.3)
       datadog-ci (~> 0.8.1)
       debase-ruby_core_source (= 3.3.1)
       libdatadog (~> 7.0.0.1.0)
       libddwaf (~> 1.14.0.0.0)
       msgpack

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugInvolves a bugcommunityWas opened by a community member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions