Redis Cache Module - 1 - Prepare Code (#3073) · gitcommit90/sentry-python@121aa0e · GitHub
Skip to content

Commit 121aa0e

Browse files
antonpirkerszokeasaurusrexsentrivana
authored
Redis Cache Module - 1 - Prepare Code (getsentry#3073)
Make the redis integration fit for sending Span data that is eligible for the Caches performance module in Sentry. --------- Co-authored-by: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com> Co-authored-by: Ivana Kellyerova <ivana.kellyerova@sentry.io>
1 parent 30f72a3 commit 121aa0e

23 files changed

Lines changed: 1139 additions & 425 deletions

.github/workflows/test-integrations-databases.yml

Lines changed: 4 additions & 4 deletions

scripts/split-tox-gh-actions/split-tox-gh-actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"clickhouse_driver",
8383
"pymongo",
8484
"redis",
85-
"rediscluster",
85+
"redis_py_cluster_legacy",
8686
"sqlalchemy",
8787
],
8888
"GraphQL": [

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ class SPANDATA:
368368
class OP:
369369
ANTHROPIC_MESSAGES_CREATE = "ai.messages.create.anthropic"
370370
CACHE_GET = "cache.get"
371-
CACHE_SET = "cache.set"
371+
CACHE_PUT = "cache.put"
372372
COHERE_CHAT_COMPLETIONS_CREATE = "ai.chat_completions.create.cohere"
373373
COHERE_EMBEDDINGS_CREATE = "ai.embeddings.create.cohere"
374374
DB = "db"

sentry_sdk/integrations/django/caching.py

Lines changed: 6 additions & 24 deletions

0 commit comments

Comments
 (0)