@ConfigurationProperties(name="endpoints.metrics", ignoreUnknownFields=false) public class MetricsEndpoint extends AbstractEndpoint<Map<String,Object>>
Endpoint
to expose PublicMetrics
.Constructor and Description |
---|
MetricsEndpoint(PublicMetrics metrics)
Create a new
MetricsEndpoint instance. |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
invoke()
Called to invoke the endpoint.
|
getPath, getProduces, isSensitive, setPath, setSensitive
public MetricsEndpoint(PublicMetrics metrics)
MetricsEndpoint
instance.metrics
- the metrics to exposeCopyright © 2013. All rights reserved.