PrometheusBackend
object PrometheusBackend
Type members
Types
Value members
Concrete methods
def apply[F[_], P](delegate: SttpBackend[F, P], requestToHistogramNameMapper: RequestT[Identity, _, _] => Option[HistogramCollectorConfig], requestToInProgressGaugeNameMapper: RequestT[Identity, _, _] => Option[CollectorConfig], responseToSuccessCounterMapper: Response[_] => Option[CollectorConfig], responseToErrorCounterMapper: Response[_] => Option[CollectorConfig], requestToFailureCounterMapper: (RequestT[Identity, _, _], Throwable) => Option[CollectorConfig], requestToSizeSummaryMapper: RequestT[Identity, _, _] => Option[CollectorConfig], responseToSizeSummaryMapper: Response[_] => Option[CollectorConfig], collectorRegistry: CollectorRegistry): SttpBackend[F, P]