Class SumoMetricReporter
- java.lang.Object
-
- com.codahale.metrics.ScheduledReporter
-
- com.sumologic.jenkins.jenkinssumologicplugin.metrics.SumoMetricReporter
-
- All Implemented Interfaces:
com.codahale.metrics.Reporter
,Closeable
,AutoCloseable
public class SumoMetricReporter extends com.codahale.metrics.ScheduledReporter
Sumo Logic plugin for Jenkins model.Sumo Metric Reporter to generate graphite metric data
Created by Sourabh Jain on 5/2019.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SumoMetricReporter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SumoMetricReporter.Builder
forRegistry(com.codahale.metrics.MetricRegistry metricRegistry)
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)
-
-
-
Method Detail
-
forRegistry
public static SumoMetricReporter.Builder forRegistry(com.codahale.metrics.MetricRegistry metricRegistry)
-
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 classcom.codahale.metrics.ScheduledReporter
-
-