GridGain Developers Hub

Monitoring with Grafana and Prometheus

In this chapter, we will configure monitoring of a GridGain cluster with

Prerequisites

JMX exporter runs as a java agent and exports to te Prometheus server. Grafana uses the Prometheus server as a data source.

Configuring Cluster Nodes

export IGNITE_JMX_PORT=45000
export JVM_OPTS="-javaagent:jmx_prometheus_javaagent-0.12.0.jar=8080:config.yaml -DIGNITE_MBEAN_APPEND_CLASS_LOADER_ID=false"
config.yaml:
hostPort: 127.0.0.1:45000
ssl: false
lowercaseOutputLabelNames: false
lowercaseOutputName: false

You can connect to a single node and monitor global metrics (such as …​). If you want to monitor each node, you need to add the JMX Exporter in every node.