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.
/info
Info Endpointopen in new window with git status information./health
Health Endpointopen in new window/loggers
Loggers Endpointopen in new window/metrics
Metrics Endpointopen in new window/prometheus
Prometheus Endpointopen in new window
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
1
2
3
2
3
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
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8