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

   ### Description
   
   ```
   {% if enabled_plugins["prometheus"] and not 
enabled_stream_plugins["prometheus"] then %}
       lua_shared_dict prometheus-metrics {* 
http.lua_shared_dict["prometheus-metrics"] *};
       -- add prometheus-cache here
       lua_shared_dict prometheus-cache {* 
http.lua_shared_dict["prometheus-cache"] *};
   {% end  #%}
   ```
   Maybe it's better to set prometheus-cache together with prometheus-metrics 
in ngx_tpl.lua


-- 
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