MetricsRequestInterceptor

sttp.tapir.server.interceptor.metrics.MetricsRequestInterceptor
class MetricsRequestInterceptor[F[_]](metrics: List[Metric[F, _]], ignoreEndpoints: Seq[AnyEndpoint]) extends RequestInterceptor[F]

Attributes

Graph
Supertypes
trait Interceptor[F]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def apply[R, B](responder: Responder[F, B], requestHandler: EndpointInterceptor[F] => RequestHandler[F, R, B]): RequestHandler[F, R, B]

Type parameters

B

The interpreter-specific, low-level type of body.

R

The interpreter-specific supported capabilities, such as streaming support, websockets or Any.

Attributes

Definition Classes