apiserver/pkg/authentication/token/cache
Mike Danese 5b8058738a token cache: make fetch_total a counter
Downstreams assume process restarts when counters decrement. Currently,
the "active" label is expected to decrement but the "ok" and "error"
labels are intended to be handled as counters. This is unneccesary and
hard to deal with. This changes consolidate "blocking" and "in_flight"
tracking into a single guage, which allows fetch completion to be a pure
counter.

Kubernetes-commit: dc5934f58456d95b0264665871c0c48e16ee6469
2020-01-07 08:48:25 -08:00
..
cache_simple.go inline GC in expiring cache 2019-11-15 17:04:28 -08:00
cache_striped.go make token cache include audience in hash key 2018-10-16 10:02:01 -07:00
cache_test.go inline GC in expiring cache 2019-11-15 17:04:28 -08:00
cached_token_authenticator.go auth: add metrics to token cache 2019-12-13 14:03:05 -08:00
cached_token_authenticator_test.go shared authenticator lookups 2019-11-11 22:15:40 -08:00
stats.go token cache: make fetch_total a counter 2020-01-07 08:48:25 -08:00