object
PrometheusBackend
Type Members
-
final
case class
RequestCollectors(maybeTimer: Option[Timer], maybeGauge: Option[Child]) extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
val
DefaultErrorCounterName: String
-
val
DefaultFailureCounterName: String
-
val
DefaultHistogramName: String
-
val
DefaultMethodLabel: String
-
val
DefaultRequestSizeName: String
-
val
DefaultRequestsInProgressGaugeName: String
-
val
DefaultResponseSizeName: String
-
val
DefaultStatusLabel: String
-
val
DefaultSuccessCounterName: String
-
def
addMethodLabel[T <: BaseCollectorConfig](config: T, req: Request[_, _]): PrometheusBackend.addMethodLabel.T.T
-
def
addStatusLabel[T <: BaseCollectorConfig](config: T, resp: Response[_]): PrometheusBackend.addStatusLabel.T.T
-
def
apply[F[_], P](delegate: SttpBackend[F, P], requestToHistogramNameMapper: (Request[_, _]) ⇒ Option[HistogramCollectorConfig] = ..., requestToInProgressGaugeNameMapper: (Request[_, _]) ⇒ Option[CollectorConfig] = ..., responseToSuccessCounterMapper: (Request[_, _], Response[_]) ⇒ Option[CollectorConfig] = ..., responseToErrorCounterMapper: (Request[_, _], Response[_]) ⇒ Option[CollectorConfig] = ..., requestToFailureCounterMapper: (Request[_, _], Throwable) ⇒ Option[CollectorConfig] = ..., requestToSizeSummaryMapper: (Request[_, _]) ⇒ Option[CollectorConfig] = ..., responseToSizeSummaryMapper: (Request[_, _], Response[_]) ⇒ Option[CollectorConfig] = ..., collectorRegistry: CollectorRegistry = CollectorRegistry.defaultRegistry): SttpBackend[F, P]
-
final
def
asInstanceOf[T0]: T0
-
def
clear(collectorRegistry: CollectorRegistry): Unit
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
final
def
wait(): Unit
Deprecated Value Members
-
def
finalize(): Unit
Inherited from AnyRef
Inherited from Any