sttp.client3.prometheus
package sttp.client3.prometheus
Members list
Concise view
Type members
Classlikes
trait BaseCollectorConfig
Attributes
- Graph
- 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
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait BaseCollectorConfigclass Objecttrait Matchableclass Any
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
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait BaseCollectorConfigclass Objecttrait Matchableclass Any
object HistogramCollectorConfig
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
object PrometheusBackend
Attributes
- Graph
- 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
- Graph
- Supertypes