NAME
Sentry::Integration::CacheMemcached - Spans and breadcrumbs for Cache::Memcached
DESCRIPTION
Enabled by default. Records the operations of Cache::Memcached as spans for Sentry's Caches insight and breadcrumbs (category memcached):
cache.get-
getandget_multi(one span for all keys), withcache.hit(any key found) andcache.item_size. cache.put-
set,add,replace,append,prepend,incranddecr, withcache.write(whether the server stored it) and, if a value is given,cache.item_size. cache.remove-
delete(and its aliasremove), withcache.write. cache.flush-
flush_all, withcache.write.
The description and cache.key are the keys, without the client's namespace; values are never recorded. Without "send_default_pii" in Sentry::SDK, the parts of keys that look like ids or tokens (e.g. session ids) are replaced by *. Failed operations (the client died) get status internal_error and neither cache.hit nor cache.write. cache.item_size is the size in bytes of plain values; references, which the client serializes itself, have no size. With a single server, spans carry its network.peer.address and network.peer.port.
ATTRIBUTES
See "ATTRIBUTES" in Sentry::Integration::Base.
METHODS
install
See "install" in Sentry::Integration::Base.
SPAN ORIGIN
- origin
-
The spans of this integration have the origin
auto.cache.memcached(see "origin" in Sentry::Integration::Base).