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

Add kafka data recorder dd metrics #178

Merged
merged 1 commit into from
Oct 10, 2018

Conversation

zhouzhuojie
Copy link
Collaborator

No description provided.

@codecov-io
Copy link

Codecov Report

Merging #178 into master will decrease coverage by 0.42%.
The diff coverage is 36.36%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #178      +/-   ##
=========================================
- Coverage   91.13%   90.7%   -0.43%     
=========================================
  Files          25      25              
  Lines        1399    1410      +11     
=========================================
+ Hits         1275    1279       +4     
- Misses         91      98       +7     
  Partials       33      33
Impacted Files Coverage Δ
pkg/handler/data_recorder_kafka.go 81.11% <36.36%> (-6.24%) ⬇️

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 8c5b3a5...fdcb664. Read the comment docs.

config.Global.StatsdClient.Incr(
"data_recorder.kafka",
[]string{
fmt.Sprintf("FlagID:%d", util.SafeUint(r.FlagID)),
Copy link

Choose a reason for hiding this comment

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

nit: better use dash or underscores as delimiter. since statsd tags will normalize to lowercase.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yup, thanks for pointing it out. I just realized that in the dashboard, here just to keep it consistent because it was already used in other places.

@zhouzhuojie zhouzhuojie merged commit 3b41d74 into master Oct 10, 2018
@zhouzhuojie zhouzhuojie deleted the zz/add-kafka-data-recorder-incr branch October 10, 2018 00:11
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.

4 participants