Monitor Your Coherence Clusters using Grafana and Prometheus

With the release of the Coherence Operator, which allows customers to run Coherence within a Kubernetes environment and the recent Coherence 12.2.1.4 release, you now have the ability to expose Coherence metrics in a Prometheus format and therefore monitor your Coherence cluster via Grafana!

When deploying Coherence using the Coherence Operator, Grafana and Prometheus can be directly provisioned as part of the Coherence Operator helm install, or you can scrape Coherence metrics using your own Prometheus and push to your own Grafana.

The good news for those of you who are running Coherence 12.2.1.4+ but not within a Kubernetes environment, is you can still take advantage of this new integration!

I have created a step by step guide at my GitHub page below of how to achieve this – https://github.com/tmiddlet2666/coherence-grafana-metrics

At a high level, you need the following:

  • Docker Desktop for Mac or the equivalent Docker environment for you O/S
  • Coherence 12.2.1.4
  • JDK8 or 11
  • Maven 3.5.4+

If you follow the steps, you will be able to monitor your Coherence cluster via the rich set of Grafana dashboards we have made available.

For more information on the dashboards, please see https://oracle.github.io/coherence-operator/docs/2.1.0/#/metrics/050_dashboards!

Enjoy!

This entry was posted in Examples and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s