From 534142ff464df58960300536ba2d0426acd6b057 Mon Sep 17 00:00:00 2001 From: Brian Shumate Date: Fri, 26 Aug 2022 19:48:38 -0400 Subject: [PATCH] Docs: Update Internals > Telemetry (#9323) * Docs: Update Internals > Telemetry - More clarification and detail around vault.core.leadership_lost * Update website/pages/docs/internals/telemetry.mdx Co-authored-by: Mark Gritter * Docs: Telemetry vault.core.leadership_lost Improved text reading. * Update website/pages/docs/internals/telemetry.mdx Co-authored-by: Loann Le <84412881+taoism4504@users.noreply.github.com> * Docs: Telemetry vault.core.leadership_lost clarity. Co-authored-by: Mark Gritter Co-authored-by: aphorise Co-authored-by: Loann Le <84412881+taoism4504@users.noreply.github.com> --- website/content/docs/internals/telemetry.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/content/docs/internals/telemetry.mdx b/website/content/docs/internals/telemetry.mdx index a532d8bf2..45f03abdc 100644 --- a/website/content/docs/internals/telemetry.mdx +++ b/website/content/docs/internals/telemetry.mdx @@ -93,7 +93,9 @@ These metrics represent operational aspects of the running Vault instance. | `vault.core.handle_login_request` | Duration of time taken by login requests handled by Vault core | ms | summary | | `vault.core.in_flight_requests` | Number of in-flight requests. | requests | gauge | | `vault.core.leadership_setup_failed` | Duration of time taken by cluster leadership setup failures which have occurred in a highly available Vault cluster. This should be monitored and alerted on for overall cluster leadership status. | ms | summary | -| `vault.core.leadership_lost` | Duration of time taken by cluster leadership set-up failures losses which have occurred in a highly available Vault cluster. This should be monitored and alerted on for overall cluster leadership status. | ms | summary | + +| `vault.core.leadership_lost` | The total duration that a HA cluster node maintained leadership as reported at the last time of loss. Any count greater than zero means that a leadership change has occurred. Continuing changes or reports of low value could be a cause for monitoring alerts as they would typically imply ongoing flapping of leadership that may rotate between nodes. | ms | summary | + | `vault.core.license.expiration_time_epoch` | Time as epoch (seconds since Jan 1 1970) at which license will expire. | seconds | gauge | | `vault.core.mount_table.num_entries` | Number of mounts in a particular mount table. This metric is labeled by table type (auth or logical) and whether or not the table is replicated (local or not) | objects | gauge | | `vault.core.mount_table.size` | Size of a particular mount table. This metric is labeled by table type (auth or logical) and whether or not the table is replicated (local or not) | bytes | gauge |