Class MetricsFileReporter

java.lang.Object
com.codahale.metrics.ScheduledReporter
org.opendaylight.serviceutils.metrics.internal.MetricsFileReporter
All Implemented Interfaces:
com.codahale.metrics.Reporter, Closeable, AutoCloseable

public class MetricsFileReporter extends com.codahale.metrics.ScheduledReporter
  • Constructor Details

    • MetricsFileReporter

      public MetricsFileReporter(com.codahale.metrics.MetricRegistry registry, Duration interval)
  • Method Details

    • startReporter

      public void startReporter()
    • report

      public void report(PrintWriter pw)
    • report

      public void report(SortedMap<String,com.codahale.metrics.Gauge> gauges, SortedMap<String,com.codahale.metrics.Counter> counters, SortedMap<String,com.codahale.metrics.Histogram> histograms, SortedMap<String,com.codahale.metrics.Meter> meters, SortedMap<String,com.codahale.metrics.Timer> timers)
      Specified by:
      report in class com.codahale.metrics.ScheduledReporter
    • createFile

      public File createFile(int dayOfTheWeek, int hourOfTheDay) throws IOException
      Throws:
      IOException