OpenTelemetryMetricsBackend
object OpenTelemetryMetricsBackend
Value members
Concrete methods
def apply[F[_], P](delegate: SttpBackend[F, P], openTelemetry: OpenTelemetry, meterConfig: MeterConfig, clock: Clock, requestToLatencyHistogramMapper: RequestT[Identity, _, _] => Option[CollectorConfig], requestToInProgressCounterMapper: RequestT[Identity, _, _] => Option[CollectorConfig], responseToSuccessCounterMapper: Response[_] => Option[CollectorConfig], responseToErrorCounterMapper: Response[_] => Option[CollectorConfig], requestToFailureCounterMapper: (RequestT[Identity, _, _], Throwable) => Option[CollectorConfig], requestToSizeHistogramMapper: RequestT[Identity, _, _] => Option[CollectorConfig], responseToSizeHistogramMapper: Response[_] => Option[CollectorConfig]): SttpBackend[F, P]
def usingMeter[F[_], P](delegate: SttpBackend[F, P], meter: Meter, clock: Clock, requestToLatencyHistogramMapper: RequestT[Identity, _, _] => Option[CollectorConfig], requestToInProgressCounterMapper: RequestT[Identity, _, _] => Option[CollectorConfig], responseToSuccessCounterMapper: Response[_] => Option[CollectorConfig], responseToErrorCounterMapper: Response[_] => Option[CollectorConfig], requestToFailureCounterMapper: (RequestT[Identity, _, _], Throwable) => Option[CollectorConfig], requestToSizeHistogramMapper: RequestT[Identity, _, _] => Option[CollectorConfig], responseToSizeHistogramMapper: Response[_] => Option[CollectorConfig]): SttpBackend[F, P]