Commit 79465fb3 authored by Ben Kochie's avatar Ben Kochie

Update sessions metric name.

parent 93be7b5a
...@@ -48,7 +48,7 @@ class SessionsController < Devise::SessionsController ...@@ -48,7 +48,7 @@ class SessionsController < Devise::SessionsController
private private
def login_counter 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 end
# Handle an "initial setup" state, where there's only one user, it's an admin, # Handle an "initial setup" state, where there's only one user, it's an admin,
......
...@@ -40,7 +40,7 @@ In this experimental phase, only a few metrics are available: ...@@ -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_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_success | Gauge | Whether or not the last redis ping succeeded |
| redis_ping_latency_seconds | Gauge | Round trip time of the redis ping | | 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) [← Back to the main Prometheus page](index.md)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment