sttp.client3.prometheus

Members list

Concise view

Type members

Classlikes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class 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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self 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
trait RequestListener[Identity, RequestCollectors]
class Object
trait Matchable
class Any