Monitor HTTP response codes with JMX, Prometheus and JBoss EAP 7

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content