Class SpectatorMetricsOptions.SpectatorHttpMetrics

java.lang.Object
net.bluemind.lib.vertx.metrics.SpectatorMetricsOptions.SpectatorHttpMetrics
All Implemented Interfaces:
io.vertx.core.spi.metrics.HttpServerMetrics<com.google.common.base.Stopwatch,Void,Void>, io.vertx.core.spi.metrics.Metrics, io.vertx.core.spi.metrics.NetworkMetrics<Void>, io.vertx.core.spi.metrics.TCPMetrics<Void>
Enclosing class:
SpectatorMetricsOptions

public static class SpectatorMetricsOptions.SpectatorHttpMetrics extends Object implements io.vertx.core.spi.metrics.HttpServerMetrics<com.google.common.base.Stopwatch,Void,Void>
  • Field Summary

    Fields inherited from interface io.vertx.core.spi.metrics.Metrics

    DISABLE_METRICS_PROPERTY_NAME, METRICS_ENABLED
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.common.base.Stopwatch
    requestBegin(Void socketMetric, io.vertx.core.spi.observability.HttpRequest request)
     
    void
    responseBegin(com.google.common.base.Stopwatch requestMetric, io.vertx.core.spi.observability.HttpResponse response)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.vertx.core.spi.metrics.HttpServerMetrics

    connected, disconnected, requestEnd, requestReset, requestRouted, responseEnd, responsePushed

    Methods inherited from interface io.vertx.core.spi.metrics.Metrics

    close

    Methods inherited from interface io.vertx.core.spi.metrics.NetworkMetrics

    bytesRead, bytesWritten, exceptionOccurred

    Methods inherited from interface io.vertx.core.spi.metrics.TCPMetrics

    connected, disconnected
  • Constructor Details

    • SpectatorHttpMetrics

      public SpectatorHttpMetrics(String port)
  • Method Details

    • requestBegin

      public com.google.common.base.Stopwatch requestBegin(Void socketMetric, io.vertx.core.spi.observability.HttpRequest request)
      Specified by:
      requestBegin in interface io.vertx.core.spi.metrics.HttpServerMetrics<com.google.common.base.Stopwatch,Void,Void>
    • responseBegin

      public void responseBegin(com.google.common.base.Stopwatch requestMetric, io.vertx.core.spi.observability.HttpResponse response)
      Specified by:
      responseBegin in interface io.vertx.core.spi.metrics.HttpServerMetrics<com.google.common.base.Stopwatch,Void,Void>