apisix
apisix copied to clipboard
bug: 用plugin-interceptors方法对/apisix/prometheus/metrics目录进行限制无效
Issue description
Environment
- apisix version (cmd:
apisix version):apisix 2.o - OS:centos 7
用下面方法,对/apisix/prometheus/metrics 进行限制无效,烦请验证是否bug https://github.com/apache/apisix/blob/master/doc/zh-cn/plugin-interceptors.md
@tiger333777 Please check the master branch. The interceptors didn't work for 2.0 (This version is not new enough).
2.1 is released. Feel free to reopen it if it could be reproduced in the master branch.
I found it still doesn't work in 2.1 version @spacewander
You should provide an example to prove it is invalid. I tried myself, it works!