sttp.client3.prometheus
package sttp.client3.prometheus
Members list
Type members
Classlikes
trait BaseCollectorConfig
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class CollectorConfigclass HistogramCollectorConfig
case class CollectorConfig(collectorName: String, labels: List[(String, String)]) extends BaseCollectorConfig
Represents the name of a collector, together with label names and values. The same labels must be always returned, and in the same order.
Represents the name of a collector, together with label names and values. The same labels must be always returned, and in the same order.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BaseCollectorConfigclass Objecttrait Matchableclass AnyShow all
case class HistogramCollectorConfig(collectorName: String, labels: List[(String, String)], buckets: List[Double]) extends BaseCollectorConfig
Represents the name of a collector with configurable histogram buckets.
Represents the name of a collector with configurable histogram buckets.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BaseCollectorConfigclass Objecttrait Matchableclass AnyShow all
object HistogramCollectorConfig
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
object PrometheusBackend
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PrometheusBackend.type
class PrometheusListener(requestToHistogramNameMapper: RequestT[Identity, _, _] => Option[HistogramCollectorConfig], requestToInProgressGaugeNameMapper: RequestT[Identity, _, _] => Option[CollectorConfig], requestToSuccessCounterMapper: ((RequestT[Identity, _, _], Response[_])) => Option[CollectorConfig], requestToErrorCounterMapper: ((RequestT[Identity, _, _], Response[_])) => Option[CollectorConfig], requestToFailureCounterMapper: ((RequestT[Identity, _, _], Exception)) => Option[CollectorConfig], requestToSizeSummaryMapper: RequestT[Identity, _, _] => Option[CollectorConfig], responseToSizeSummaryMapper: ((RequestT[Identity, _, _], Response[_])) => Option[CollectorConfig], collectorRegistry: CollectorRegistry, histogramsCache: ConcurrentHashMap[String, Histogram], gaugesCache: ConcurrentHashMap[String, Gauge], countersCache: ConcurrentHashMap[String, Counter], summariesCache: ConcurrentHashMap[String, Summary]) extends RequestListener[Identity, RequestCollectors]
Attributes
- Supertypes
In this article