You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What should be done is to parse the duration of "_Connected at" value.
Don't hesitate to propose a PR if you're interested, otherwise I'll have a look soon.
After looking closer into this, the values returned in Connected at or _Connected at are not consistent enough (the format changes depending on the connection time).
I proposed a PR on ocserv project to display the raw value of the connection start time (unix timestamp).
Depending on its acceptance, I'll make the required change on ocserv-exporter.
The only thing you'll have to do on Prometheus is to compute the uptime by doing something like:
Can you add an output of how long the user session has been active?
The text was updated successfully, but these errors were encountered: