Skip to content

feat(redis): Add tags for more commands#733

Merged
tonyo merged 2 commits into
masterfrom
feat/redis-more-commands
Jun 25, 2020
Merged

feat(redis): Add tags for more commands#733
tonyo merged 2 commits into
masterfrom
feat/redis-more-commands

Conversation

@tonyo

@tonyo tonyo commented Jun 23, 2020

Copy link
Copy Markdown
Contributor

When we deal with multikey commands (e.g. DEL), it's sometimes still useful to have the key as a tag. To make it less ambiguous, let's add the tag only if the command has one argument.

@tonyo
tonyo requested a review from untitaker June 23, 2020 15:16
Comment thread sentry_sdk/integrations/redis.py Outdated
if MYPY:
from typing import Any

SINGLE_KEY_COMMANDS = frozenset(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you prefix those w underscore?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

hell yeah

@tonyo
tonyo merged commit f352078 into master Jun 25, 2020
@tonyo
tonyo deleted the feat/redis-more-commands branch June 25, 2020 16:49
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.

2 participants