Monitoring Canton using Grafana

Hi Canton Team,

Referring to Monitoring using Grafana on Canton, does anyone have a working example of a setup or a HOWTO on this combination?

I have used Grafana before but wondering if there are any known issues when using Canton?

Hi Ben,

You can configure canton to report to graphite with the following config options (docs):

canton.monitoring.metrics.reporters = [{
  type = graphite
  address = "localhost" // default
  port = 2003
  prefix.type = hostname // default
  interval = 30s // default
  filters = [{
    contains = "canton"
  }]
}]

There is one known issue: you shouldn’t report all the metrics that Canton has, or Graphite will become overloaded and discard arbitrary data.

In general, the Canton team uses a pretty standard Graphite/Grafana installation, so that should work for you too :slight_smile:

I hope that helps,
Phoebe

2 Likes