You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apisix doesn't have plugins about error_page which is useful in some scene. And I tried the following 2 ways:
Add error_page config in http_server_configuration_snippet
this way works well when there comes 5xx requests. But I found these 5xx requests could't be recorded in metrics(prometheus plugin)
Based on step 1, I add lua phase config
And this time 5xx request successfully recorded in metrics
But I still have 2 questions:
Are there any risks in the configuration of step 2?
Description
Apisix doesn't have plugins about error_page which is useful in some scene. And I tried the following 2 ways:
this way works well when there comes 5xx requests. But I found these 5xx requests could't be recorded in metrics(prometheus plugin)
And this time 5xx request successfully recorded in metrics
But I still have 2 questions:
Environment
apisix version
): 3.5uname -a
): 3.10.0-514.26.2.el7.x86_64openresty -V
ornginx -V
): nginx version: openresty/1.21.4.2curl http://127.0.0.1:9090/v1/server_info
): 3.5luarocks --version
): 2.3.0The text was updated successfully, but these errors were encountered: