Skip to content
CCPEDIAby Unity Nodes
App Development

Monitoring Canton using Grafana

2 posts389 views2 likesLast activity Jan 2022

  1. Ben_MOP

    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?

  2. Phoebe_Nichols 2

    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