spacewander commented on code in PR #9012:
URL: https://github.com/apache/apisix/pull/9012#discussion_r1133356846


##########
apisix/plugin.lua:
##########
@@ -746,6 +746,10 @@ function _M.init_worker()
     -- see https://github.com/apache/apisix/issues/3286
     _M.load()
 
+    if is_http then
+        require("apisix.plugins.server-info").init_worker()

Review Comment:
   Yes, but we don't require Prometheus plugin. The required module is 
"apisix.plugins.prometheus.exporter", not the Prometheus plugin itself. We need 
to do the same with server-info.



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