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

Rename tcollector proxy metric in agent #1182

Merged

Conversation

pavolloffay
Copy link
Member

Related to #773 (comment)

This is not something required but it seems wrong to have tag tcollector-proxy when the proxy can use any protocol.

@codecov
Copy link

codecov bot commented Nov 14, 2018

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1182   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files         157     157           
  Lines        7101    7101           
======================================
  Hits         7101    7101
Impacted Files Coverage Δ
cmd/agent/app/httpserver/server.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 4cc25e6...52b4c06. Read the comment docs.

@@ -71,7 +71,7 @@ type httpHandler struct {
BadRequest metrics.Counter `metric:"http-server.errors" tags:"status=4xx,source=all"`

// Number of collector proxy failures
TCollectorProxyFailures metrics.Counter `metric:"http-server.errors" tags:"status=5xx,source=tcollector-proxy"`
TCollectorProxyFailures metrics.Counter `metric:"http-server.errors" tags:"status=5xx,source=collector-proxy"`
Copy link
Member

Choose a reason for hiding this comment

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

s/TCollectorProxyFailures/CollectorProxyFailures/ as well

@pavolloffay pavolloffay merged commit 76ccd71 into jaegertracing:master Nov 15, 2018
@ghost ghost removed the review label Nov 15, 2018
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