public interface CounterRegistry extends Closeable
Modifier and Type | Interface and Description |
---|---|
static class |
CounterRegistry.AsyncCounterRegistrationEvent |
Modifier and Type | Method and Description |
---|---|
IntegerCounter |
newIntegerCounter(String category,
String name,
com.google.common.collect.ImmutableMap<String,String> tags) |
SamplingCounter |
newSamplingCounter(String category,
String name,
com.google.common.collect.ImmutableMap<String,String> tags) |
TagSetCounter |
newTagSetCounter(String category,
String name,
com.google.common.collect.ImmutableMap<String,String> tags) |
void |
registerCounters(Collection<Counter> counters) |
void |
registerCounters(CounterRegistry.AsyncCounterRegistrationEvent event) |
IntegerCounter newIntegerCounter(String category, String name, com.google.common.collect.ImmutableMap<String,String> tags)
SamplingCounter newSamplingCounter(String category, String name, com.google.common.collect.ImmutableMap<String,String> tags)
TagSetCounter newTagSetCounter(String category, String name, com.google.common.collect.ImmutableMap<String,String> tags)
void registerCounters(Collection<Counter> counters)
void registerCounters(CounterRegistry.AsyncCounterRegistrationEvent event)