Debug & Monitoring
Monitoring endpoint
Several monitoring endpoint is enabled by default and available on port 28081 only.
You can disable it, change the port or restrict access only for authenticated users following micronaut configuration below.
/infoInfo Endpoint with git status information./healthHealth Endpoint/loggersLoggers Endpoint/metricsMetrics Endpoint/prometheusPrometheus Endpoint
Debugging AKHQ performance issues
You can debug all query duration from AKHQ with this commands
curl -i -X POST -H "Content-Type: application/json" \
-d '{ "configuredLevel": "TRACE" }' \
http://localhost:28081/loggers/org.akhq
Debugging authentication
Debugging auth can be done by increasing log level on Micronaut that handle most of the authentication part :
curl -i -X POST -H "Content-Type: application/json" \
-d '{ "configuredLevel": "TRACE" }' \
http://localhost:28081/loggers/io.micronaut.security
curl -i -X POST -H "Content-Type: application/json" \
-d '{ "configuredLevel": "TRACE" }' \
http://localhost:28081/loggers/org.akhq.configs