sttp.client3.prometheus

Members list

Type members

Classlikes

Attributes

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

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show 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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

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

Attributes

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

Supertypes
trait RequestListener[Identity, RequestCollectors]
class Object
trait Matchable
class Any