接口 PublicMetrics
- 所有已知实现类:
CachePublicMetrics,DataSourcePublicMetrics,MetricReaderPublicMetrics,RichGaugeReaderPublicMetrics,SystemPublicMetrics,TomcatPublicMetrics
public interface PublicMetrics
Interface to expose specificMetrics via aMetricsEndpoint. Implementations should take care that the metrics they provide have unique names in the application context, but they shouldn't have to care about global uniqueness in the JVM or across a distributed system.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Collection<Metric<?>>metrics()Return an indication of current state through metrics.
方法详细资料
metrics
Collection<Metric<?>> metrics()
Return an indication of current state through metrics.- 返回:
- the public metrics