Skip to content
Snippets Groups Projects
Commit 79465fb3 authored by Ben Kochie's avatar Ben Kochie
Browse files

Update sessions metric name.

parent 93be7b5a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -48,7 +48,7 @@ class SessionsController < Devise::SessionsController
private
 
def login_counter
@login_counter ||= Gitlab::Metrics.counter(:user_session_logins, 'User sign in count')
@login_counter ||= Gitlab::Metrics.counter(:user_session_logins_total, 'User sign in count')
end
 
# Handle an "initial setup" state, where there's only one user, it's an admin,
Loading
Loading
Loading
Loading
@@ -40,7 +40,7 @@ In this experimental phase, only a few metrics are available:
| redis_ping_timeout | Gauge | Whether or not the last redis ping timed out |
| redis_ping_success | Gauge | Whether or not the last redis ping succeeded |
| redis_ping_latency_seconds | Gauge | Round trip time of the redis ping |
| user_sessions_logins | Counter | Counter of how many users have logged in |
| user_session_logins_total | Counter | Counter of how many users have logged in |
 
[← Back to the main Prometheus page](index.md)
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment