Class HTTPMetricsServer
- java.lang.Object
-
- org.apache.eventmesh.runtime.metrics.http.HTTPMetricsServer
-
public class HTTPMetricsServer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.concurrent.ScheduledExecutorServicemetricsSchedule
-
Constructor Summary
Constructors Constructor Description HTTPMetricsServer(EventMeshHTTPServer eventMeshHTTPServer, java.util.List<org.apache.eventmesh.metrics.api.MetricsRegistry> metricsRegistries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.eventmesh.metrics.api.model.HttpSummaryMetricsgetSummaryMetrics()voidinit()voidshutdown()voidstart()
-
-
-
Constructor Detail
-
HTTPMetricsServer
public HTTPMetricsServer(EventMeshHTTPServer eventMeshHTTPServer, java.util.List<org.apache.eventmesh.metrics.api.MetricsRegistry> metricsRegistries)
-
-
Method Detail
-
init
public void init() throws java.lang.Exception- Throws:
java.lang.Exception
-
start
public void start() throws java.lang.Exception- Throws:
java.lang.Exception
-
shutdown
public void shutdown() throws java.lang.Exception- Throws:
java.lang.Exception
-
getSummaryMetrics
public org.apache.eventmesh.metrics.api.model.HttpSummaryMetrics getSummaryMetrics()
-
-