Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lettuce 5.1 - Remove redis args from span attributes for command such as AUTH #1190

Merged
merged 4 commits into from
Sep 11, 2020

Conversation

RashmiRam
Copy link
Contributor

@RashmiRam RashmiRam commented Sep 10, 2020

  1. Added name != "AUTH" check so that args of AUTH command won't be added in db.statement attribute value.
  2. Added tests only in LettuceSyncClientTest.groovy

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @RashmiRam!

Can you extract the new test out into a separate class, e.g. LettuceSyncClientAuthTest? I think that will be cleaner than spinning up two redis servers in this test, and hopefully we can consolidate into a base class at some point in the future to share similar code across all the Lettuce*ClientTest classes.

Copy link
Contributor

@anuraaga anuraaga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@anuraaga anuraaga merged commit d2d19ef into open-telemetry:master Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants