public interface PrefixMetricWriter
Modifier and Type | Method and Description |
---|---|
void |
increment(String group,
Delta<?> delta)
Increment the value of a metric (or decrement if the delta is negative).
|
void |
reset(String group)
Rest the values of all metrics in the group.
|
void |
set(String group,
Collection<Metric<?>> values)
Save some metric values and associate them with a group name.
|
void set(String group, Collection<Metric<?>> values)
group
- the name of the groupvalues
- the metric values to savevoid increment(String group, Delta<?> delta)
group + "." + delta.name
.group
- the name of the groupdelta
- the amount to increment byvoid reset(String group)
group
- reset the whole groupCopyright © 2017 Pivotal Software, Inc.. All rights reserved.