sourcegraph/internal/diskcache
Keegan Carruthers-Smith f517373f22
tenant: pprof for missing tenant in FromContext (#64405)
Instead of adding instrumentation for each place we expect a tenant, we
instead assume that we always expect a tenant if FromContext is called.
This should allow us to not miss any places.

Note: this does remove the logging we had in diskcache, but it seems
more reasonable to just use pprof for something that can be noisy?

Test Plan: just gonna rely on CI since this defaults to off.
2024-08-12 13:00:03 +00:00
..
BUILD.bazel chore(backend): enable diskcache for multi-tenant (#64335) 2024-08-08 13:18:34 +00:00
cache_test.go tenant: update test to enforce tenant (#64379) 2024-08-09 10:03:41 +02:00
cache.go tenant: pprof for missing tenant in FromContext (#64405) 2024-08-12 13:00:03 +00:00
CODENOTIFY all: add keegancsmith to CODENOTIFY for many pkgs (#14241) 2020-09-29 11:03:53 +02:00
context.go all: use any instead of interface{} (#35102) 2022-05-09 10:59:39 +02:00
observability.go observability: build+propagate hierarchical observation contexts for telemetry provenance (#42765) 2022-12-05 21:52:30 +00:00
url_mutex.go Rename pkg to internal (#5898) 2019-10-07 15:36:41 -07:00