Different Metrics !?

21 views
Skip to first unread message

David Paz

unread,
Nov 18, 2021, 6:10:43 AM11/18/21
to Prometheus Users
Hello,

it may be a dummy question but please can someone help me to understand why i am getting different metrics when using the jmx agent and when using the jmx http server?

The configuration is always the same:
---
hostPort: "host:1099"
username:
password:
rules:
- pattern: '.*'
...

As agent i am attaching it to a tomcat, as http server i am running it as:
java -jar /opt/jmx/jmx-httpserver-0.16.2.jar 9099 /opt/jmx/tomcat.yml

The tomcat server is startet to expose jxm on port 1099.

What i am missing here? Any help will be greatly appreciated.

Thanks in advance,
David
Reply all
Reply to author
Forward
0 new messages