BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
93c0a168
Commit
93c0a168
authored
Feb 20, 2018
by
Pawel Chojnacki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put all event metrics exposed to prometheus behind a feature flag
parent
efdde042
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
transaction.rb
lib/gitlab/metrics/transaction.rb
+1
-0
No files found.
lib/gitlab/metrics/transaction.rb
View file @
93c0a168
...
@@ -155,6 +155,7 @@ module Gitlab
...
@@ -155,6 +155,7 @@ module Gitlab
fetch_metric
(
type
,
metric_name
)
do
fetch_metric
(
type
,
metric_name
)
do
docstring
"Transaction
#{
prefix
}#{
name
}
#{
type
}
"
docstring
"Transaction
#{
prefix
}#{
name
}
#{
type
}
"
base_labels
tags
.
merge
(
BASE_LABELS
)
base_labels
tags
.
merge
(
BASE_LABELS
)
with_feature
"prometheus_transaction_
#{
prefix
}#{
name
}
_total"
.
to_sym
if
type
==
:gauge
if
type
==
:gauge
multiprocess_mode
:livesum
multiprocess_mode
:livesum
...
...
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