public interface PublicMetrics
Metric
s via a MetricsEndpoint
.
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.SystemPublicMetrics for an example implementation
Modifier and Type | Method and Description |
---|---|
Collection<Metric<?>> |
metrics()
Return an indication of current state through metrics.
|
Collection<Metric<?>> metrics()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.