Reputation: 13045
From a webapp deployed in a Glassfish app server, I have to find some metrics to allow monitoring. Inside the webapp, is there others tools/libraries which allow me to gather such metrics ?
I know I can connect to JMX/AMX, but is there others solutions ?
Upvotes: 2
Views: 724
Reputation: 4173
There is the Codahale Metrics library which provides you a conevient way to collect many different metrics. Furthermore it provides different reporters as JMX, CSV, JSON, fileoutput.
Upvotes: 0
Reputation: 1743
JavaMelody can monitor a lot of things inside the webapp (used memory, %cpu, http sessions, ...), and if you want that you could use it to access metrics and JMX values over just http.
Upvotes: 2
Reputation: 4543
dpending on your client there is variety of options - first comming to my mind is JSON or CSV provided through HTTP URL you can pull
Upvotes: 0