Class SumoMetricReporter.Builder
- java.lang.Object
-
- com.sumologic.jenkins.jenkinssumologicplugin.metrics.SumoMetricReporter.Builder
-
- Enclosing class:
- SumoMetricReporter
public static class SumoMetricReporter.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SumoMetricReporter
build(LogSenderHelper logSenderHelper)
SumoMetricReporter.Builder
convertDurationsTo(TimeUnit durationUnit)
SumoMetricReporter.Builder
convertRatesTo(TimeUnit rateUnit)
SumoMetricReporter.Builder
filter(com.codahale.metrics.MetricFilter filter)
SumoMetricReporter.Builder
prefixedWith(String prefix)
SumoMetricReporter.Builder
withClock(com.codahale.metrics.Clock clock)
-
-
-
Method Detail
-
withClock
public SumoMetricReporter.Builder withClock(com.codahale.metrics.Clock clock)
-
prefixedWith
public SumoMetricReporter.Builder prefixedWith(String prefix)
-
convertRatesTo
public SumoMetricReporter.Builder convertRatesTo(TimeUnit rateUnit)
-
convertDurationsTo
public SumoMetricReporter.Builder convertDurationsTo(TimeUnit durationUnit)
-
filter
public SumoMetricReporter.Builder filter(com.codahale.metrics.MetricFilter filter)
-
build
public SumoMetricReporter build(LogSenderHelper logSenderHelper)
-
-