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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
efe97c75
Commit
efe97c75
authored
Nov 08, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in lib/gitlab/metrics/transaction.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
4e40639c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
lib/gitlab/metrics/transaction.rb
lib/gitlab/metrics/transaction.rb
+0
-3
spec/lib/gitlab/metrics/web_transaction_spec.rb
spec/lib/gitlab/metrics/web_transaction_spec.rb
+0
-3
No files found.
lib/gitlab/metrics/transaction.rb
View file @
efe97c75
...
...
@@ -70,7 +70,6 @@ module Gitlab
def
add_event
(
event_name
,
tags
=
{})
self
.
class
.
metric_event_counter
(
event_name
,
tags
).
increment
(
tags
.
merge
(
labels
))
@metrics
<<
Metric
.
new
(
EVENT_SERIES
,
{
count:
1
},
tags
.
merge
(
event:
event_name
),
:event
)
<<<<<<<
HEAD
end
#
...
...
@@ -80,8 +79,6 @@ module Gitlab
{
count:
1
}.
merge
(
values
),
{
event:
event_name
}.
merge
(
tags
),
:event
)
=======
>>>>>>>
upstream
/
master
end
# Returns a MethodCall object for the given name.
...
...
spec/lib/gitlab/metrics/web_transaction_spec.rb
View file @
efe97c75
...
...
@@ -155,7 +155,6 @@ describe Gitlab::Metrics::WebTransaction do
end
end
<<<<<<<
HEAD
:spec
/
lib
/
gitlab
/
metrics
/
web_transaction_spec
.
rb
describe
'#add_event_with_values'
do
it
'adds a metric'
do
transaction
.
add_event_with_values
(
:meow
,
{})
...
...
@@ -180,8 +179,6 @@ describe Gitlab::Metrics::WebTransaction do
end
end
=======
>>>>>>>
upstream
/
master
:spec
/
lib
/
gitlab
/
metrics
/
web_transaction_spec
.
rb
describe
'#labels'
do
context
'when request goes to Grape endpoint'
do
before
do
...
...
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