Vault: Add a 'sealed-status' gauge to telemetry

Created on 14 Dec 2017  路  5Comments  路  Source: hashicorp/vault

Feature Request:
Add a telemetry option to report current sealed status of the Vault instance.

I am running a Vault HA deployment in Kubernetes. Using a statsd_exporter side-car to collect metrics from each instance and expose them to Prometheus for monitoring.

With the vault.core.seal and vault.core.unseal metrics, I can perform calculations to get the vault status, until a vault instance restarts (since this is a 'seal' operation without a metric).

A new telemetry point that can just give the current sealedunsealed status as a gauge at vault.core.unsealed_status can be 0 when sealed (set at start-up and with any seal operation) and 1 after a successful unseal operation.

cormetric feature-request

Most helpful comment

+1 to this, related having a leadership status gauge would be similarly useful. Today I don't see a way to determine if the vault cluster has exactly 1 leader.

All 5 comments

Or thinking about it another way, maybe on start-up a vault instance should emit the telemetry for seal operations and unseal operations at 0...

+1 to this, related having a leadership status gauge would be similarly useful. Today I don't see a way to determine if the vault cluster has exactly 1 leader.

+1 on adding sealed and leader info added to vault telemetry

+1

+1
What is the ETA?

Was this page helpful?
0 / 5 - 0 ratings