Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update collector metric counters to have a name #886

Merged
merged 2 commits into from
Jun 25, 2018

Conversation

black-adder
Copy link
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>
@@ -57,7 +57,7 @@ func TestProcessorMetrics(t *testing.T) {

func TestNewCountsBySvc(t *testing.T) {
baseMetrics := jaegerM.NewLocalFactory(time.Hour)
metrics := newCountsBySvc(baseMetrics, 3)
metrics := newCountsBySvc(baseMetrics, "", 3)
Copy link
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

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