Class MetricsMvcEndpoint
- java.lang.Object
- org.springframework.boot.actuate.endpoint.mvc.AbstractEndpointMvcAdapter<Endpoint<?>>
- org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter
- org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint
- All Implemented Interfaces:
MvcEndpoint
,NamedMvcEndpoint
@ConfigurationProperties(prefix="endpoints.metrics") public class MetricsMvcEndpoint extends EndpointMvcAdapter
Adapter to exposeMetricsEndpoint
as anMvcEndpoint
.
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetricsMvcEndpoint.NoSuchMetricException
Exception thrown when the specified metric cannot be found.
Field Summary
Fields inherited from interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
DISABLED_RESPONSE
Constructor Summary
Constructors Constructor Description MetricsMvcEndpoint(MetricsEndpoint delegate)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
value(String name)
Methods inherited from class org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter
invoke
Methods inherited from class org.springframework.boot.actuate.endpoint.mvc.AbstractEndpointMvcAdapter
getDelegate, getDisabledResponse, getEndpointType, getName, getPath, isSensitive, setPath
Constructor Detail
MetricsMvcEndpoint
public MetricsMvcEndpoint(MetricsEndpoint delegate)
Method Detail
value
@ActuatorGetMapping("/{name:.*}") @ResponseBody @HypermediaDisabled public Object value(@PathVariable String name)