Interface PublicMetrics
- All Known Implementing Classes:
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.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Metric<?>>metrics()Return an indication of current state through metrics.
Method Detail
metrics
Collection<Metric<?>> metrics()
Return an indication of current state through metrics.- Returns:
- the public metrics