Short Links: Add setting for changing expiration time (#86003)

* Add setting for changing shortlink expiration time

* Add docs, add better language

* put all the numbers in the duration 🤷

* 🙄

* update language to be correct and clear

* Add max limit and more documentation
This commit is contained in:
Kristina
2024-04-22 07:39:24 -05:00
committed by GitHub
parent cad9e23e54
commit 2247d6c415
5 changed files with 28 additions and 2 deletions

View File

@@ -1779,6 +1779,16 @@ Enable or disable the Query history. Default is `enabled`.
<hr>
## [short_links]
Configures settings around the short link feature.
### expire_time
Short links which are never accessed are considered expired or stale, and will be deleted as cleanup. Set the expiration time in days. Default is `7` days. Maximum is `365` days, and setting above the maximum will have `365` set instead. Setting `0` means the short links will be cleaned up approximately every 10 minutes.
<hr>
## [metrics]
For detailed instructions, refer to [Internal Grafana metrics]({{< relref "../set-up-grafana-monitoring" >}}).