graphite-clickhouse
graphite-clickhouse copied to clipboard
target-blacklist still exposes blacklisted prefixes
With the follwing blacklist:
target-blacklist = ["^carbon.*","^clickhouse.*"]
the metrics finder still shows that the blacklisted prefixes exist:
$ curl http://10.47.127.37:8081/metrics/find/?query='*'
[{"allowChildren":1,"expandable":1,"leaf":0,"id":"clickhouse","text":"clickhouse","context":{}},{"allowChildren":1,"expandable":1,"leaf":0,"id":"carbon","text":"carbon","context":{}}]
although it hides their content properly:
$ curl http://10.47.127.37:8081/metrics/find/?query='carbon.*'
[]
I'd expect, that the '*' also hides all blacklisted series.
Thanks for fixing!