Class MetricsService
- java.lang.Object
-
- org.apache.bookkeeper.server.http.service.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.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROMETHEUS_CONTENT_TYPE_004
-
Constructor Summary
Constructors Constructor Description MetricsService(ServerConfiguration conf, StatsProvider statsProvider)
-
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)
-
-
-
Field Detail
-
PROMETHEUS_CONTENT_TYPE_004
public static final java.lang.String PROMETHEUS_CONTENT_TYPE_004
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MetricsService
public MetricsService(ServerConfiguration conf, StatsProvider statsProvider)
-
-