graphite-clickhouse
graphite-clickhouse copied to clipboard
Please implement filtering based on http header
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