Grafana 2.4 默认用户超时

Grafana 2.4 default user timeout

我正在尝试为 Grafana 仪表板上的用户不活动配置会话超时。我想知道用户不活动的默认超时时间是多少。谢谢

来自当前文档:

session_life_time

How long sessions lasts in seconds. Defaults to 86400 (24 hours).

http://docs.grafana.org/installation/configuration/#session-life-time

我找不到 Grafana 2.4 的发布标签,但 2.5(2015 年发布)的文档看起来一样:

https://github.com/grafana/grafana/blob/v2.5.0/docs/sources/installation/configuration.md#session_life_time

更新:此选项已在 Grafana 6.0 中删除。 Grafana 从用户会话改为使用短期令牌。 release blog post for 6.0 and in the migration guide to Grafana 6.0.

中解释了更改

新设置记录在 user authentication docs page

这两个设置取代了旧的 session_life_time 设置:

# The lifetime (days) an authenticated user can be inactive before being required to login at next visit. Default is 7 days.
login_maximum_inactive_lifetime_days = 7

# The maximum lifetime (days) an authenticated user can be logged in since login time before being required to login. Default is 30 days.
login_maximum_lifetime_days = 30