public class HawkularReporter
extends com.codahale.metrics.ScheduledReporter
| Modifier and Type | Method and Description |
|---|---|
void |
addTag(String m,
String key,
String value) |
static HawkularReporterBuilder |
builder(com.codahale.metrics.MetricRegistry registry,
String tenant)
Create a new builder for an
HawkularReporter |
Optional<Collection<String>> |
getAllowedParts(String metricName) |
Map<String,String> |
getGlobalTags() |
HawkularHttpClient |
getHawkularClient() |
Optional<String> |
getPrefix() |
Map<String,String> |
getTagsForMetrics(String m) |
boolean |
isEnableTagComposition() |
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) |
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)
report in class com.codahale.metrics.ScheduledReporterpublic HawkularHttpClient getHawkularClient()
public Optional<Collection<String>> getAllowedParts(String metricName)
public boolean isEnableTagComposition()
public static HawkularReporterBuilder builder(com.codahale.metrics.MetricRegistry registry, String tenant)
HawkularReporterregistry - the Dropwizard Metrics registrytenant - the Hawkular tenant IDCopyright © 2014–2017 Red Hat, Inc.. All rights reserved.