kellyseeme opened a new issue, #12899:
URL: https://github.com/apache/apisix/issues/12899

   ### Current Behavior
   
   https://github.com/apache/apisix/issues/11113
   has this problem been resolved?
   I tested it and it still happens.
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   复现步骤:
   apache/apisix:3.9.0-redhat 镜像启动,使用yaml配置route如下
   
   routes:
   uri: /hello
   upstream:
       nodes:
           "127.0.0.1:1980": 1
       type: roundrobin
   global_rules:
   id: 1
   plugins:
     prometheus:
       prefer_name: true
   #END
   
   普米过期设置10s,
   
   启动apisix,执行下面请求后,
   curl -Ssl "127.0.0.1:9080/hello" > /dev/null && sleep 12 && curl -Ssl 
"127.0.0.1:9091/apisix/prometheus/metrics" | grep 'route'
   之后再执行指标不会输出指标
   curl -Ssl "127.0.0.1:9080/hello" > /dev/null && sleep 2 && curl -Ssl 
"127.0.0.1:9091/apisix/prometheus/metrics" | grep 'route'
   
   ### Environment
   
   - APISIX version (run `apisix version`): v3.9.0
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to