Monitor HTTP response codes with JMX, Prometheus and JBoss EAP 7
Issue
I configured my JBoss so that metrics like incoming requests or active sessions are exposed to Prometheus via JMX. Now I also want to measure the number of HTTP responses with specific status codes (e.g. 200, 404, 500). Does JBoss expose these metrics via JMX? I could not find them in the JConsole. How do I have to configure JBoss to get access to these metrics?
Environment
- JBoss Enterprise Application Platform (EAP)
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.