Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
79465fb3
Commit
79465fb3
authored
Jul 12, 2017
by
Ben Kochie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sessions metric name.
parent
93be7b5a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/controllers/sessions_controller.rb
app/controllers/sessions_controller.rb
+1
-1
doc/administration/monitoring/prometheus/gitlab_metrics.md
doc/administration/monitoring/prometheus/gitlab_metrics.md
+1
-1
No files found.
app/controllers/sessions_controller.rb
View file @
79465fb3
...
...
@@ -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,
...
...
doc/administration/monitoring/prometheus/gitlab_metrics.md
View file @
79465fb3
...
...
@@ -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_session
s_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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment