开发者

Monitoring webapp deployed in Glassfish

开发者 https://www.devze.com 2023-04-06 14:58 出处:网络
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 ?

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 开发者_JS百科JMX/AMX, but is there others solutions ?


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.


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消