Class MetricsService

  • All Implemented Interfaces:
    org.apache.bookkeeper.http.service.HttpEndpointService

    public class MetricsService
    extends java.lang.Object
    implements org.apache.bookkeeper.http.service.HttpEndpointService
    HttpEndpointService that handle exposing metrics.

    The GET method will return all the emtrics collected at stats provider.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.bookkeeper.http.service.HttpServiceResponse handle​(org.apache.bookkeeper.http.service.HttpServiceRequest request)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PROMETHEUS_CONTENT_TYPE_004

        public static final java.lang.String PROMETHEUS_CONTENT_TYPE_004
        See Also:
        Constant Field Values
    • Method Detail

      • handle

        public org.apache.bookkeeper.http.service.HttpServiceResponse handle​(org.apache.bookkeeper.http.service.HttpServiceRequest request)
                                                                      throws java.lang.Exception
        Specified by:
        handle in interface org.apache.bookkeeper.http.service.HttpEndpointService
        Throws:
        java.lang.Exception