Skip to content



This is a documentation for Centrifugo v2. The latest Centrifugo version is v3. Go to the for v3 docs.

Centrifugo supports reporting metrics in Prometheus format and can automatically export metrics to Graphite.


To enable Prometheus endpoint start Centrifugo with prometheus option on:

    "prometheus": true
./centrifugo --config=config.json

This will enable /metrics endpoint so Centrifugo instance can be monitored by your Prometheus server.


To enable automatic export to Graphite (via TCP):

    "graphite": true,
    "graphite_host": "localhost",
    "graphite_port": 2003

By default stats will be aggregated over 10 seconds interval inside Centrifugo and then pushed to Graphite over TCP connection.

If you need to change this aggregation interval use graphite_interval option (in seconds, default 10). This option available since v2.1.0

Grafana dashboard

Check out Centrifugo official Grafana dashboard for Prometheus storage. You can import that dashboard to your Grafana, point to Prometheus storage – and enjoy visualized metrics.

Note, that dashboard requires Centrifugo >= v2.7.0 to work correctly.