@ConfigurationProperties(prefix="endpoints.metrics") public class MetricsMvcEndpoint extends EndpointMvcAdapter
MetricsEndpoint
as an MvcEndpoint
.Modifier and Type | Class and Description |
---|---|
static class |
MetricsMvcEndpoint.NoSuchMetricException
Exception thrown when the specified metric cannot be found.
|
DISABLED_RESPONSE
Constructor and Description |
---|
MetricsMvcEndpoint(MetricsEndpoint delegate) |
Modifier and Type | Method and Description |
---|---|
Object |
value(String name) |
invoke
getDelegate, getDisabledResponse, getEndpointType, getName, getPath, isSensitive, setPath
public MetricsMvcEndpoint(MetricsEndpoint delegate)
@GetMapping(value="/{name:.*}", produces="application/json") @ResponseBody @HypermediaDisabled public Object value(@PathVariable String name)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.