Update sessions metric name.

This commit is contained in:
Ben Kochie 2017-07-12 15:05:51 +02:00
parent 93be7b5a1c
commit 79465fb3d4
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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)