Object

sttp.client3.prometheus

PrometheusBackend

Related Doc: package prometheus

Permalink

object PrometheusBackend

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrometheusBackend
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class RequestCollectors(maybeTimer: Option[Timer], maybeGauge: Option[Child]) extends Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DefaultErrorCounterName: String

    Permalink
  5. val DefaultFailureCounterName: String

    Permalink
  6. val DefaultHistogramName: String

    Permalink
  7. val DefaultMethodLabel: String

    Permalink
  8. val DefaultRequestSizeName: String

    Permalink
  9. val DefaultRequestsInProgressGaugeName: String

    Permalink
  10. val DefaultResponseSizeName: String

    Permalink
  11. val DefaultStatusLabel: String

    Permalink
  12. val DefaultSuccessCounterName: String

    Permalink
  13. def addMethodLabel[T <: BaseCollectorConfig](config: T, req: Request[_, _]): PrometheusBackend.addMethodLabel.T.T

    Permalink

    Add, if not present, a "method" label.

    Add, if not present, a "method" label. That is, if the user already supplied such a label, it is left as-is.

    config

    The collector config to which the label should be added.

    returns

    The modified collector config. The config can be used when configuring the backend using apply.

  14. def addStatusLabel[T <: BaseCollectorConfig](config: T, resp: Response[_]): PrometheusBackend.addStatusLabel.T.T

    Permalink

    Add, if not present, a "status" label.

    Add, if not present, a "status" label. That is, if the user already supplied such a label, it is left as-is.

    config

    The collector config to which the label should be added.

    returns

    The modified collector config. The config can be used when configuring the backend using apply.

  15. 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]

    Permalink
  16. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  17. def clear(collectorRegistry: CollectorRegistry): Unit

    Permalink

    Clear cached collectors (gauges and histograms) both from the given collector registry, and from the backend.

  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped