Sentry¶
SentryInstrumentation creates Sentry cache spans for get, put, remove, and flush operations, recording cache.hit, cache.item_size, and cache.key data.
These show up in Sentry’s Cache Monitoring views.
The span_name argument to get_raw() and put_raw() is used as the Sentry span name (it defaults to "psycache get" / "psycache put").
It requires the sentry extra: