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

Unable to run hawkular query from grafana #101

Open
sshingarapu opened this issue Jan 4, 2018 · 4 comments
Open

Unable to run hawkular query from grafana #101

sshingarapu opened this issue Jan 4, 2018 · 4 comments

Comments

@sshingarapu
Copy link

Hi,

We are trying to fetch metrics in grafana from Openshift origin using hawkular-metrics. It worked well for few days with 3-5 projects. However, the moment we go to dashboard which fetch metrics from multiple (around 100 projects) we get multiple errors & mostly cassandra timeout as below:

  1. "errorMsg": "Failed to perform operation due to an error: Cassandra timeout during read query at consistency LOCAL_ONE (1 responses were required but only 0 replica responded)"
  2. errorMsg:"Failed to perform operation due to an error: All host(s) tried for query failed (tried: hawkular-cassandra/x.x.x.x:9042 (com.datastax.driver.core.exceptions.OperationTimedOutException: [hawkular-cassandra/x.x.x.x:9042] Timed out waiting for server response

Currently hawkular-metrics is in unstable condition. We are running 2 replicas of hawkular-metrics & single replica for hawkular-cassandra & heapstar. We also observed that JVM heapsize for hawkular-metrics by default is 512 MB. However, this pod always runs more than of this memory allocation.

Please let us know if we need anyother information required.

@mwringe
Copy link

mwringe commented Jan 9, 2018

What version are you running? Can you please post the output of 'oc get pods -o yaml -n openshift-infra'

@sshingarapu
Copy link
Author

We redeployed the hawkular metrics and the issue got resolved. Thanks for your help.

@rhalagali
Copy link

I think this issue may come for even cluster is not configured properly. Sometimes master node wont show.

I had below message and I got know that problem with cluster.
cassandra error

@sshingarapu sshingarapu reopened this Jan 19, 2018
@sshingarapu
Copy link
Author

Hi,

I reopened this for the below query.

We also observed that JVM heapsize for hawkular-metrics by default is 512 MB. However, this pod always runs more than of this memory allocation.
And when we fetch metrics from grafana for 10/30 days it is taking some time to load the metrics.
How can we increase the JVM heapsize for hawkular-metrics?

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

No branches or pull requests

3 participants