graphite-clickhouse icon indicating copy to clipboard operation
graphite-clickhouse copied to clipboard

target-blacklist still exposes blacklisted prefixes

Open bzed opened this issue 5 years ago • 0 comments

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!

bzed avatar Aug 14 '19 16:08 bzed