-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
/metrics of jmx_exporter does not respond in time #1006
Comments
@suavebajaj The curl output...
... indicates a connection issue. Curl isn't connecting to the exporter. Some common debugging steps:
|
@dhoard Thank you for sharing the troubleshooting steps, the Port is open to listening to the same, firewall is okay! We have the same firewall settings in all our GKE clusters. Sharing the output below
|
@suavebajaj Have you tested using the IP address from the machine?
|
@dhoard Yes, Tested with this IP, only metrics endpoint is not returning anything I tried again to get the cluster details with the POD IP and it was successful
|
@suavebajaj can you provide the JVM options you are using to load the exporter? |
@dhoard Shared in the initial post, sharing it here again, please let me know if anything else is needed on the configuration side Below is the configuration file
|
@suavebajaj previous output showed you couldn't connect. Can you clarify if you can't connect or it's connecting but you are not getting metrics (empty response)? |
@dhoard, the metric endpoint is not responding. We get a failed connection due to the connection timed out, not an empty response. |
@suavebajaj this is an interesting issue/it's not clear what's going on. Looking at the
Some things to try...
|
@dhoard Tried the first 2 already, sharing the output again. Will try updating to 1.0.1 release
|
Hey @dhoard , updated the exporter to 1.0.1 still the /metrics endpoint is not responding
|
@suavebajaj I have attached a zip that contains the Java agent based on the latest code with 4 debug prints that go to system out. Can you test?
|
We encountered the same issue. In the early stages of program startup, the jmx_exporter responds normally. However, after some business requests run for a while, the jmx_exporter stops responding, even though the port is still being listened to. |
@suavebajaj @SaylorZhu can either of you provide a thread dump? |
I'm facing an issue where the Hazelcast metrics endpoint (/metrics) does not return any data in one of my Google Kubernetes Engine (GKE) clusters, while it functions correctly in others. The only difference between them is the cluster members. The working cluster has 3 members while the non-working one has 15 members
Expected Behavior:
In my working clusters, I can retrieve metrics using the following command:
This command returns the expected metrics data, such as:
Observed Behavior:
In the non-working cluster, executing the same command hangs indefinitely:
Below is the configuration file
Steps Taken:
curl -vvv 0.0.0.0:5701/hazelcast/rest/cluster
working and non-working clusters for discrepancies.
hazelcast.jmx
is set to trueWhat additional troubleshooting steps or best practices can help diagnose this issue further?
The text was updated successfully, but these errors were encountered: