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

Please implement filtering based on http header #56

Open
bzed opened this issue Aug 14, 2019 · 0 comments
Open

Please implement filtering based on http header #56

bzed opened this issue Aug 14, 2019 · 0 comments

Comments

@bzed
Copy link
Contributor

bzed commented Aug 14, 2019

Hi,

it would be awesome if graphite-clickhouse could filter series based on an http header (or something similar). What I'm thinking about is basically:

  • pass X-GRAPHITE-CUSTOMER: 12345 in the request
  • have a config file which allows prefixes for the customer:
[12345]
blacklisted-prefixes = ["*"]
whitelisted-prefixes = ["foo", "bar", "carbon"]

With such a configuration graphite-clickhouse should just behave like always, but limit all its output to the metrics matching the whitelisted (or not blacklisted) prefixes.

Thanks for considering,

Bernd

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

No branches or pull requests

1 participant