Hello,
I would like to ask for some help.
I am using Prometheus to monitor a Java application in 2 ways:
1-Through InspectIT-Ocelot agent, that has Prometheus bundled in and launches Prometheus at startup, and then sends the metrics to it.
2-Running Prometheus 2.21 separately from InspectIT-Ocelot, and then I don't think InspectIT-Ocelot sends the metrics to it.
When I use method 1, I can see the metrics on
http://localhost:<port>/metrics, where I can see metrics like
jvm_memory_committed{area="heap",host="DESKTOP-928RK73",host_address="192.168.222.1",id="PS Eden Space",service="InspectIT Agent",}
If I go to
http://localhost:<port> I get no user interface.
And then, when I try to pull the metrics from Grafana I get no data
When I use method 2, I can see the metrics on
http://localhost:9090/metrics, where I can see go metrics like
go_info{version="go1.15.2"}
go_memstats_alloc_bytes
If I go to
http://localhost:9090 I get the normal Prometheus user interface.
And then, I can pull the data from Grafana, but this are not the metrics I want.
Can anyone try to help me get the Prometheus bundled with InspectIT-Ocelot working with Grafana, or help me get an "outside Prometheus" working with my Java application with the InspectIT-Ocelot agent?
Thanks in advance,
Nuno