# SPDX-License-Identifier: Apache-2.0

pekko {
  # Configures MetricsKit
  test.metrics {

    # Available reporters are: console, graphite
    # In order to configure from the command line, use the alternative list syntax:
    #     -Dpekko.test.metrics.reporters.0=console -Dpekko.test.metrics.reporters.1=graphite
    reporters = [console]

    reporter {
      console {
        # Automatically print metrics to the console at scheduled interval.
        # To disable, set to `0`.
        scheduled-report-interval = 0 ms

        # enable for very verbose / detailed printouts
        verbose = false
      }

      graphite {
        prefix = "local"
        host = ""
        port = 2003

        # turn on to print which metrics are being sent to graphite, instead of just the number how many
        verbose = off

        # Automatically print metrics to the console at scheduled interval.
        # To disable, set to `0`.
        scheduled-report-interval = 0 s
      }
    }
  }
}
