Class ApplicationMetricsHandler
java.lang.Object
com.yahoo.jdisc.AbstractResource
com.yahoo.jdisc.handler.AbstractRequestHandler
com.yahoo.container.jdisc.ThreadedRequestHandler
com.yahoo.container.jdisc.ThreadedHttpRequestHandler
com.yahoo.container.handler.metrics.HttpHandlerBase
ai.vespa.metricsproxy.http.application.ApplicationMetricsHandler
- All Implemented Interfaces:
com.yahoo.container.jdisc.HttpRequestHandler,com.yahoo.container.jdisc.utils.CapabilityRequiringRequestHandler,com.yahoo.jdisc.handler.RequestHandler,com.yahoo.jdisc.SharedResource
public class ApplicationMetricsHandler
extends com.yahoo.container.handler.metrics.HttpHandlerBase
Http handler that returns metrics for all nodes in the Vespa application.
- Author:
- gjoranv
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.container.jdisc.ThreadedHttpRequestHandler
com.yahoo.container.jdisc.ThreadedHttpRequestHandler.Context, com.yahoo.container.jdisc.ThreadedHttpRequestHandler.LazyContentChannelNested classes/interfaces inherited from interface com.yahoo.jdisc.SharedResource
com.yahoo.jdisc.SharedResource.Debug -
Field Summary
FieldsFields inherited from class com.yahoo.container.jdisc.ThreadedHttpRequestHandler
CONTENT_TYPE, logFields inherited from class com.yahoo.container.jdisc.ThreadedRequestHandler
metric, metricUtilFields inherited from interface com.yahoo.container.jdisc.utils.CapabilityRequiringRequestHandler
DEFAULT_REQUIRED_CAPABILITYFields inherited from interface com.yahoo.jdisc.SharedResource
DEBUG, SYSTEM_PROPERTY_NAME_DEBUG -
Constructor Summary
ConstructorsConstructorDescriptionApplicationMetricsHandler(Executor executor, ApplicationMetricsRetriever metricsRetriever, MetricsConsumers metricsConsumers, ApplicationDimensions applicationDimensions, NodeDimensions nodeDimensions) -
Method Summary
Methods inherited from class com.yahoo.container.handler.metrics.HttpHandlerBase
getTimeout, handle, requiredCapability, resourceListResponseMethods inherited from class com.yahoo.container.jdisc.ThreadedHttpRequestHandler
addDateHeader, asHttpRequest, createLoggingCompletionHandler, handle, handleRequest, testContextMethods inherited from class com.yahoo.container.jdisc.ThreadedRequestHandler
executor, getRequestType, handleRequest, writeErrorResponseOnOverloadMethods inherited from class com.yahoo.jdisc.handler.AbstractRequestHandler
handleTimeoutMethods inherited from class com.yahoo.jdisc.AbstractResource
currentState, destroy, refer, refer, release, retainCountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.yahoo.container.jdisc.utils.CapabilityRequiringRequestHandler
requiredCapabilitiesMethods inherited from interface com.yahoo.container.jdisc.HttpRequestHandler
requestHandlerSpecMethods inherited from interface com.yahoo.jdisc.handler.RequestHandler
handleRequest, handleTimeoutMethods inherited from interface com.yahoo.jdisc.SharedResource
refer, refer, release
-
Field Details
-
METRICS_V1_PATH
- See Also:
-
METRICS_VALUES_PATH
- See Also:
-
PROMETHEUS_VALUES_PATH
- See Also:
-
-
Constructor Details
-
ApplicationMetricsHandler
@Inject public ApplicationMetricsHandler(Executor executor, ApplicationMetricsRetriever metricsRetriever, MetricsConsumers metricsConsumers, ApplicationDimensions applicationDimensions, NodeDimensions nodeDimensions)
-
-
Method Details