Class MetricsHttpService
- java.lang.Object
-
- com.linecorp.armeria.server.AbstractHttpService
-
- org.curioswitch.common.server.framework.monitoring.MetricsHttpService
-
- All Implemented Interfaces:
com.linecorp.armeria.server.HttpService
,com.linecorp.armeria.server.Service<com.linecorp.armeria.common.HttpRequest,com.linecorp.armeria.common.HttpResponse>
public class MetricsHttpService extends com.linecorp.armeria.server.AbstractHttpService
Returns metrics in an HTTP response as JSON, useful for viewing current metrics of a running server. Should only be exposed internally.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.linecorp.armeria.common.HttpResponse
doGet(com.linecorp.armeria.server.ServiceRequestContext ctx, com.linecorp.armeria.common.HttpRequest req)
-
Methods inherited from class com.linecorp.armeria.server.AbstractHttpService
doDelete, doDelete, doGet, doHead, doHead, doOptions, doOptions, doPatch, doPatch, doPost, doPost, doPut, doPut, doTrace, doTrace, serve
-
-
-
-
Method Detail
-
doGet
protected com.linecorp.armeria.common.HttpResponse doGet(com.linecorp.armeria.server.ServiceRequestContext ctx, com.linecorp.armeria.common.HttpRequest req) throws java.lang.Exception
- Overrides:
doGet
in classcom.linecorp.armeria.server.AbstractHttpService
- Throws:
java.lang.Exception
-
-