public class CloudMetricServiceImpl extends java.lang.Object implements CloudMetricService
构造器和说明 |
---|
CloudMetricServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
void |
addCounter(java.lang.String group,
java.lang.String category,
java.lang.String item,
long increment,
java.util.Map<java.lang.String,java.lang.String> attrs)
添加计数(累计)
|
void |
addGauge(java.lang.String group,
java.lang.String category,
java.lang.String item,
long number,
java.util.Map<java.lang.String,java.lang.String> attrs)
添加指标(瞬值)
|
void |
addTimer(java.lang.String group,
java.lang.String category,
java.lang.String item,
long record,
java.util.Map<java.lang.String,java.lang.String> attrs)
添加计时(平均值、最大值、最小值)
|
protected java.lang.Iterable<io.micrometer.core.instrument.Tag> |
getTags(java.util.Map<java.lang.String,java.lang.String> tags) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCounter, addCounter, addGauge, addGauge, addTimer, addTimer
public void addCounter(java.lang.String group, java.lang.String category, java.lang.String item, long increment, java.util.Map<java.lang.String,java.lang.String> attrs)
CloudMetricService
addCounter
在接口中 CloudMetricService
group
- 组category
- 类别item
- 项目increment
- 增量值public void addTimer(java.lang.String group, java.lang.String category, java.lang.String item, long record, java.util.Map<java.lang.String,java.lang.String> attrs)
CloudMetricService
addTimer
在接口中 CloudMetricService
group
- 组category
- 类别item
- 项目record
- 记录值public void addGauge(java.lang.String group, java.lang.String category, java.lang.String item, long number, java.util.Map<java.lang.String,java.lang.String> attrs)
CloudMetricService
addGauge
在接口中 CloudMetricService
group
- 组category
- 类别item
- 项目number
- 瞬间值protected java.lang.Iterable<io.micrometer.core.instrument.Tag> getTags(java.util.Map<java.lang.String,java.lang.String> tags)