open-vault/command/agent/cache
Rémi Lapeyre 98b18ee08e
Add telemetry to Vault agent (#13675)
This patch adds a new /agent/v1/metrics that will return metrics on the
running Vault agent. Configuration is done using the same telemetry
stanza as the Vault server. For now default runtime metrics are
returned with a few additional ones specific to the agent:
  - `vault.agent.auth.failure` and `vault.agent.auth.success` to monitor
  the correct behavior of the auto auth mechanism
  - `vault.agent.proxy.success`, `vault.agent.proxy.client_error` and
  `vault.agent.proxy.error` to check the connection with the Vault server
  - `vault.agent.cache.hit` and `vault.agent.cache.miss` to monitor the
  cache

Closes https://github.com/hashicorp/vault/issues/8649

Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
2022-02-17 17:10:26 -08:00
..
cacheboltdb agent/cache: Store leases in-order in persistent cache so that restore respects dependencies (#12843) 2021-10-27 11:36:48 +01:00
cachememdb Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
keymanager Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
api_proxy.go [VAULT-3157] Move `mergeStates` utils from Agent to api module (#12731) 2021-10-06 10:57:06 -07:00
api_proxy_test.go [VAULT-3157] Move `mergeStates` utils from Agent to api module (#12731) 2021-10-06 10:57:06 -07:00
cache_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
handler.go Add telemetry to Vault agent (#13675) 2022-02-17 17:10:26 -08:00
lease_cache.go agent/cache: Store leases in-order in persistent cache so that restore respects dependencies (#12843) 2021-10-27 11:36:48 +01:00
lease_cache_test.go ensure errors are checked (#12989) 2021-11-01 13:34:51 -05:00
listener.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
proxy.go Agent auto auth wrapping new config checks (#6479) 2019-04-05 16:12:54 -04:00
testing.go agent: add an inflight cache better concurrent request handling (#10705) 2021-01-26 12:09:37 -08:00