sttp.tapir.metrics

Type members

Classlikes

case
class EndpointMetric[F[_]](onEndpointRequest: Option[AnyEndpoint => F[Unit]], onResponse: Option[(AnyEndpoint, ServerResponse[_]) => F[Unit]], onException: Option[(AnyEndpoint, Throwable) => F[Unit]])
case
class Metric[F[_], M](metric: M, onRequest: (ServerRequest, M, MonadError[F]) => F[EndpointMetric[F]])
case
class MetricLabels(forRequest: Seq[(String, (AnyEndpoint, ServerRequest) => String)], forResponse: Seq[(String, Either[Throwable, ServerResponse[_]] => String)])
Companion
object
Companion
class