open-vault/command/agent
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
..
auth Add telemetry to Vault agent (#13675) 2022-02-17 17:10:26 -08:00
cache Add telemetry to Vault agent (#13675) 2022-02-17 17:10:26 -08:00
config agent: Use an in-process listener with cache (#12762) 2021-10-15 17:22:19 -07:00
sink OSS changes for ent pr (#13696) 2022-01-19 09:43:12 -08:00
template agent: Use an in-process listener with cache (#12762) 2021-10-15 17:22:19 -07:00
winsvc Convert to Go 1.17 go:build directive (#13579) 2022-01-05 12:02:03 -06:00
README.md Vault Agent Template (#7652) 2019-10-18 16:21:46 -05:00
alicloud_end_to_end_test.go agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
approle_end_to_end_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
auto_auth_preload_token_end_to_end_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
aws_end_to_end_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
cache_end_to_end_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
cert_end_to_end_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
cf_end_to_end_test.go mod: update plugin versions for 1.7.0 (#11046) 2021-03-04 18:32:51 -08:00
doc.go Vault Agent Template (#7652) 2019-10-18 16:21:46 -05:00
jwt_end_to_end_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
testing.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00

README.md

Vault Agent

Vault Agent is a client daemon that provides Auth-Auth, Caching, and Template features.

Vault Agent provides a number of different helper features, specifically addressing the following challenges:

  • Automatic authentication
  • Secure delivery/storage of tokens
  • Lifecycle management of these tokens (renewal & re-authentication)

See the usage documentation on the Vault website here: