vertx / io.vertx.core.spi.metrics

## Package io.vertx.core.spi.metrics

### Types

EventBusMetrics | `interface EventBusMetrics<H : Any> : Metrics` The event bus metrics SPI which Vert.x will use to call when each event occurs.
MetricsProvider | `interface MetricsProvider : Measured` Metrics provider is the base SPI used by metrics implementations to retrieve a io.vertx.core.spi.metrics.Metrics object. It is meant to be implemented by io.vertx.core.metrics.Measured implementations but not exposed directly.
TCPMetrics | `interface TCPMetrics<S : Any> : NetworkMetrics<S>` An SPI used internally by Vert.x to gather metrics on a net socket which serves as a base class for things like HttpServer and HttpClient, all of which serve TCP connections. The thread model for the tcp metrics depends on the actual context thats created the client/server. Event loop context Unless specified otherwise, all the methods on this object including the methods inherited from the super interfaces are invoked with the thread of the client/server and therefore are the same than the io.vertx.core.spi.metrics.VertxMetrics `createMetrics` method that created and returned this metrics object. Worker context Unless specified otherwise, all the methods on this object including the methods inherited from the super interfaces are invoked with a worker thread.
VertxMetrics | `interface VertxMetrics : Metrics, Measured` The main Vert.x metrics SPI which Vert.x will use internally. This interface serves two purposes, one to be called by Vert.x itself for events like verticles deployed, timers created, etc. The other to provide Vert.x with other metrics SPI's which will be used for specific components i.e. io.vertx.core.http.HttpServer, io.vertx.core.spi.metrics.EventBusMetrics, etc.