Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging of jmx and alerts what all it can monitor #912

Closed
bhattanil opened this issue Feb 13, 2024 · 1 comment
Closed

Logging of jmx and alerts what all it can monitor #912

bhattanil opened this issue Feb 13, 2024 · 1 comment

Comments

@bhattanil
Copy link

How to log the log,
What all thing it can monitor
What will be configuration to monitoring every thing related to application.
How to monitor datasource checks
What it is stuck and using high cpu and memory resources.
What is the reason it stuck and we need to restart exporter in 2 or 3 months.
Version I am using. Latest

@dhoard
Copy link
Collaborator

dhoard commented Feb 16, 2024

How to log the log,
What all thing it can monitor

The JMX exporter exposes a REST API endpoint to return MBean metrics in either Prometheus or OpenMetrics format.

What will be configuration to monitoring every thing related to application.

The README.md and sample configuration files show how to configure the JMX Exporter to monitor a Java application

How to monitor datasource checks

If a datasource exposed MBean, then the JMX Exporter can be configured to capture the datasource metrics

What it is stuck and using high cpu and memory resources.

An application that is "stuck" or dead-locked is not addressed. CPU needs to be monitored via a standard OS process monitoring tool. The JMX Exporter can monitor the Java heap (JVM metrics), but you should also monitor it a OS process

What is the reason it stuck and we need to restart exporter in 2 or 3 months.

The use of the word "Stuck" is not clear. Are metrics being exported? Is the JMX Exporter returning metrics? What error are you seeing? etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants