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

Blocking bad metrics through statsD or Graphite Carbon relay #2119

Closed
kira510 opened this issue Nov 16, 2017 · 3 comments
Closed

Blocking bad metrics through statsD or Graphite Carbon relay #2119

kira510 opened this issue Nov 16, 2017 · 3 comments
Labels

Comments

@kira510
Copy link

kira510 commented Nov 16, 2017

Hello Team,

I have set up a statsD node that sends metrics to a cluster wide carbon relay server(only carbon relay installed on a linux server). And this carbon relay server forwards the metrics to 3 graphite nodes(version 0.9.15). And finally i render the graphs on grafana.

Users are sending data that takes a lot of time to be rendered on grafana since they send numerous number of sub-metrics for single data source name (for example: Test.numerous.*.count , * is a huge number of metrics within Test) .

Could you please advise:

  1. How to track the data source as it is very difficult to know who is sending the data?
  2. How to block metrics based on certain pattern at statsD or cluster wide carbon relay level?

Thanks in advance,
Kiran

@wolfzhaoshuai
Copy link

For question 2, I think carbon-c-relay can help you. Carbon-c-relay block, transfer, and aggregate metrics based on pre-defined patterns.

@deniszh
Copy link
Member

deniszh commented Nov 20, 2017

Hi @kira510,
Sorry for late response, I missed your question somehow.
First, it's quite hard to track connections in graphite cluster, unfortunately. You can enable access logging and you will see metrics and source IP of the requestor in the log.
For the second question - yes, what @wolfzhaoshuai said. Graphite has blacklist feature too, but for cluster-wide blocking, you may prefer do it on relay level. 3rd party carbon-c-relay or graphite-ng relays are able to do that.

@kira510
Copy link
Author

kira510 commented Nov 21, 2017

Hi @deniszh @wolfzhaoshuai ,

Thanks for the suggestions. You may close this now.

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants