Skip to content

Update collector metric counters to have a name#886

Merged
black-adder merged 2 commits intomasterfrom
metrics_must_have_name
Jun 25, 2018
Merged

Update collector metric counters to have a name#886
black-adder merged 2 commits intomasterfrom
metrics_must_have_name

Conversation

@black-adder
Copy link
Copy Markdown
Contributor

Signed-off-by: Won Jun Jang wjang@uber.com

Which problem is this PR solving?

  • All counters deserve real meaningful names.

Short description of the changes

  • All counters deserve real meaningful names

Signed-off-by: Won Jun Jang <wjang@uber.com>
func TestNewCountsBySvc(t *testing.T) {
baseMetrics := jaegerM.NewLocalFactory(time.Hour)
metrics := newCountsBySvc(baseMetrics, 3)
metrics := newCountsBySvc(baseMetrics, "", 3)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we change this test to reflect the usage (i.e. not a blank arg)?

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 25, 2018

Codecov Report

Merging #886 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #886   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files         126    126           
  Lines        6051   6052    +1     
=====================================
+ Hits         6051   6052    +1
Impacted Files Coverage Δ
cmd/collector/app/metrics.go 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3a31eae...aa72532. Read the comment docs.

Signed-off-by: Won Jun Jang <wjang@uber.com>
@black-adder black-adder merged commit 50429cb into master Jun 25, 2018
@ghost ghost removed the review label Jun 25, 2018
@black-adder black-adder deleted the metrics_must_have_name branch June 25, 2018 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants