Class PrometheusMvcEndpoint

  • All Implemented Interfaces:
    org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint, org.springframework.boot.actuate.endpoint.mvc.NamedMvcEndpoint

    @ConfigurationProperties("endpoints.prometheus")
    public class PrometheusMvcEndpoint
    extends org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter
    • Field Summary

      • Fields inherited from interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint

        DISABLED_RESPONSE
    • Constructor Summary

      Constructors 
      Constructor Description
      PrometheusMvcEndpoint​(io.prometheus.client.spring.boot.PrometheusEndpoint delegate)  
    • Constructor Detail

      • PrometheusMvcEndpoint

        public PrometheusMvcEndpoint​(io.prometheus.client.spring.boot.PrometheusEndpoint delegate)
    • Method Detail

      • value

        @RequestMapping(method=GET,
                        produces="*/*")
        @ResponseBody
        public org.springframework.http.ResponseEntity value​(@RequestParam(value="name[]",required=false,defaultValue="")
                                                             Set<String> name)