Definition of active User

I am very confused when it comes to configuring the Grafana session.

The configuration parameters are:

# The maximum lifetime (duration) an authenticated user can be inactive before being required to login at next visit. Default is 7 days (7d). This setting should be expressed as a duration, e.g. 5m (minutes), 6h (hours), 10d (days), 2w (weeks), 1M (month). The lifetime resets at each successful token rotation (token_rotation_interval_minutes).
login_maximum_inactive_lifetime_duration = 3m

# The maximum lifetime (duration) an authenticated user can be logged in since login time before being required to login. Default is 30 days (30d). This setting should be expressed as a duration, e.g. 5m (minutes), 6h (hours), 10d (days), 2w (weeks), 1M (month).
login_maximum_lifetime_duration = 30m

# How often should auth tokens be rotated for authenticated users when being active. The default is each 10 minutes.
token_rotation_interval_minutes = 1

I think I mostly know what they are doing but how how can i configure these parameters if i don’t know how a active or inactive user is defined?
And when is a user becoming inactive/active?
Also: can i change how or when a user becomes active/inactive?

I would be very happy to hear from you guys! Thx!

1 Like

Would be very helpful if someone has an answer to this one :ok_hand:

Inactive authenticated users will remain logged in for a duration specified by login_maximum_inactive_lifetime_duration. This means that a user can close a Grafana window and return before now + login_maximum_inactive_lifetime_duration to continue their session. This is true as long as the time since last user login is less than login_maximum_lifetime_duration.

1 Like

Thx!

So this means inactivity is only defined by closing the Grafana window?
Inactive user: A user who closed the Grafana window

Can I interpret it like this?