Monitor java heap space used in my APP

75 views
Skip to first unread message

Bharathwaj Shankar

unread,
Nov 26, 2020, 5:18:10 AM11/26/20
to Prometheus Users
I have configured prometheus for my java app recently.I frequently need to monitor java heap space used by the app and want to alert users if the heap space usage is high. is it possible to monitor in prometheus?? if yes please share the links where I can read,understand and configure.

Stuart Clark

unread,
Nov 26, 2020, 5:57:29 AM11/26/20
to Bharathwaj Shankar, Prometheus Users
Is your Java application being directly instrumented using the Java client library, or are you using the JMX exporter?

On 26 November 2020 10:18:09 GMT, Bharathwaj Shankar <saialumni...@gmail.com> wrote:
I have configured prometheus for my java app recently.I frequently need to monitor java heap space used by the app and want to alert users if the heap space usage is high. is it possible to monitor in prometheus?? if yes please share the links where I can read,understand and configure.


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Bharathwaj Shankar

unread,
Nov 26, 2020, 5:59:02 AM11/26/20
to Stuart Clark, Prometheus Users
We are directly instrumenting java client as it is a springboot app and we didn't use jmx exporter

Bharathwaj Shankar

unread,
Nov 26, 2020, 11:46:21 PM11/26/20
to Prometheus Users
any help?

Bharathwaj Shankar

unread,
Nov 27, 2020, 12:05:56 AM11/27/20
to Prometheus Users
what is JMX exporter? how to use it??
Reply all
Reply to author
Forward
0 new messages