Skip to content
CCPEDIAby Unity Nodes
App Development

Is there an example how to use metrics within canton

2 posts224 viewsLast activity Sep 2022

  1. DarkoOP

    I’m aware of the page Monitoring — Daml SDK 2.3.6 documentation explaining the configuration for metrics, but is there an example one could reference?

    Currently it’s not clear if the metrics are being pushed out to prometheus/graphite or if the data is being scraped from the canton components.

  2. MatthiasSchmalz

    Not sure what you mean by “example one could reference”. Could you please clarify?

    For prometheus/graphite, Canton pushes the metric values to the metrics db (prometheus/graphite). For JMX, the metrics viewer will pull (i.e. scrape) the metric values from the Canton components.

    Please don’t hesitate to ask further questions.