-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib/go-redis/redis.v8: add WithSkipRawCommand option and fix reso…
…urce This change adds a new option called `WithSkippedRawCommand` which determines the instrumentation code to skip adding the `redis.raw_command` tag to spans. This is useful in cases when the Datadog Agent Redis obfuscation is disabled (which it is, by default) and commands may contain sensitive information. Additionally, duplicate entries and an incosistency was found when setting the resource name for Redis spans, which was fixed as part of this PR. Closes #1022
- Loading branch information
Showing
3 changed files
with
65 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters