mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -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" >}}).
|
||||
|
||||
Reference in New Issue
Block a user