Erica Thompson 0660ea6fac
Update README (#31244)
* Update README

Let contributors know that docs will now be located in UDR

* Add comments to each mdx doc

Comment has been added to all mdx docs that are not partials

* chore: added changelog

changelog check failure

* wip: removed changelog

* Fix content errors

* Doc spacing

* Update website/content/docs/deploy/kubernetes/vso/helm.mdx

Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>

---------

Co-authored-by: jonathanfrappier <92055993+jonathanfrappier@users.noreply.github.com>
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2025-07-22 08:12:22 -07:00

55 lines
3.1 KiB
Plaintext

---
layout: docs
page_title: Metrics reference overview
description: |-
Learn about how telemetry metrics are structured in Vault
---
> [!IMPORTANT]
> **Documentation Update:** Product documentation, which were located in this repository under `/website`, are now located in [`hashicorp/web-unified-docs`](https://github.com/hashicorp/web-unified-docs), colocated with all other product documentation. Contributions to this content should be done in the `web-unified-docs` repo, and not this one. Changes made to `/website` content in this repo will not be reflected on the developer.hashicorp.com website.
# Telemetry metrics overview
## Metric types
Vault provides three types of telemetry metrics:
- **Counter metrics** increment when an event occurs. Counters are cumulative
and reset at the end of reporting intervals.
- **Gauge metrics** provide measurements of current values.
- **Summary metrics** provide observational values. Vault commonly uses
summaries to measure the time required to for a discrete event to complete.
High-cardinality gauges, like `vault.kv.secret.count`, update at the interval
configured with `usage_gauge_period` in the `telemetry` stanza. The default
reporting interval for gauge metrics is 10 minutes.
## Metric labels
Some telemetry metrics come with additional metadata that provides context for
the measurement. For example, a token metric might include the namespace it
belongs to or the authentication method used to create it.
Metric metadata is labeled and incorporated into the metric name for the
in-memory telemetry and any other telemetry engine that does not support custom
labels.
The metric name in the table below is followed by a list of labels supported,
in the order in which they appear, if flattened.
| Label | Example | Description
| ---------------------- | ----------------------- | ---------------------------
| `auth_method` | `userpass` | Authorization engine type
| `cluster` | `vault-cluster-d54ad07` | Name of the cluster where the metric originated
| `creation_ttl` | `7d` | Time-to-live assigned at creation, rounded up to the next-highest bucket: `1m`, `10m`, `20m`, `1h`, `2h`, `1d`, `2d`, `7d`, `30d`, or `+Inf`
| `mount_point` | `auth/userpass/` | Path at which an authentication method or secret engine is mounted
| `name` | `memoryLimit` | Name of the object being aggregated (for example, a quota or quota rule)
| `namespace` | `ns1` | A namespace path or `root` for the root namespace
| `policy` | `default` | Name of the associated policy
| `secret_engine` | `aws` | Secrets engine type
| `token_type` | `service` | Type of the associated token: `batch` or `service`
| `peer_id` | `node-1` | Unique identifier of a raft peer node
| `node_id` | `node-42` | Unique identifier of a raft peer node (duplicates `peer_id`)
| `snapshot_config_name` | `config1` | Name of the configuration used for automated snapshots