backport of commit a485837cb6 (#23632)

Co-authored-by: Skybladev2 <Skybladev2@users.noreply.github.com>
This commit is contained in:
hc-github-team-secure-vault-core
2023-10-12 10:13:03 -04:00
committed by GitHub
parent cbc0d14a3e
commit 69d5891222

View File

@@ -907,6 +907,10 @@ $ curl \
Reading the configuration shows the current settings, as well as a flag as to whether any data can be queried. Reading the configuration shows the current settings, as well as a flag as to whether any data can be queried.
| Method | Path |
| :----- | :------------------------------ |
| `GET` | `/sys/internal/counters/config` |
- `enabled` `(string)` - returns `default-enabled` or `default-disabled` if the configuration is `default`. - `enabled` `(string)` - returns `default-enabled` or `default-disabled` if the configuration is `default`.
- `queries_available` `(bool)` - indicates whether any usage report is available. This will initially be - `queries_available` `(bool)` - indicates whether any usage report is available. This will initially be
false until the end of the first calendar month after the feature is enabled. false until the end of the first calendar month after the feature is enabled.