类 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
- 所有已实现的接口:
MvcEndpoint
,NamedMvcEndpoint
@ConfigurationProperties(prefix="endpoints.metrics") public class MetricsMvcEndpoint extends EndpointMvcAdapter
Adapter to exposeMetricsEndpoint
as anMvcEndpoint
.
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
MetricsMvcEndpoint.NoSuchMetricException
Exception thrown when the specified metric cannot be found.
字段概要
从接口继承的字段 org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
DISABLED_RESPONSE
构造器概要
构造器 构造器 说明 MetricsMvcEndpoint(MetricsEndpoint delegate)
方法概要
从类继承的方法 org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter
invoke
从类继承的方法 org.springframework.boot.actuate.endpoint.mvc.AbstractEndpointMvcAdapter
getDelegate, getDisabledResponse, getEndpointType, getName, getPath, isSensitive, setPath
构造器详细资料
MetricsMvcEndpoint
public MetricsMvcEndpoint(MetricsEndpoint delegate)
方法详细资料
value
@ActuatorGetMapping("/{name:.*}") @ResponseBody @HypermediaDisabled public Object value(@PathVariable String name)