mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-20 18:21:09 +01:00
Fix bogus duration string: "1hr" should be "1h". (#15301)
This commit is contained in:
parent
4762fb702a
commit
c00201e57d
@ -36,10 +36,10 @@ The following options are available on all telemetry configurations.
|
||||
- `enable_hostname_label` `(bool: false)` - Specifies if all metric values should
|
||||
contain the `host` label with the local hostname. It is recommended to enable
|
||||
`disable_hostname` if this option is used.
|
||||
- `lease_metrics_epsilon` `(string: "1hr")` - Specifies the the size of the bucket used to measure future
|
||||
- `lease_metrics_epsilon` `(string: "1h")` - Specifies the size of the bucket used to measure future
|
||||
lease expiration. For example, for the default value of 1 hour, the `vault.expire.leases.by_expiration`
|
||||
metric will aggregate the total number of expiring leases for 1 hour buckets, starting from the current time.
|
||||
Note that leases are put into buckets by rounding. For example, if `lease_metrics_epsilon` is set to 1hr and
|
||||
Note that leases are put into buckets by rounding. For example, if `lease_metrics_epsilon` is set to 1h and
|
||||
lease A expires 25 minutes from now, and lease B expires 35 minutes from now, then lease A will be in the first
|
||||
bucket, which corresponds to 0-30 minutes, and lease B will be in the second bucket, which corresponds to 31-90
|
||||
minutes.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user