PrometheusMetrics

case class PrometheusMetrics[F[_]](namespace: String, registry: CollectorRegistry, metrics: List[Metric[F, _]])
Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def metricsInterceptor(ignoreEndpoints: Seq[AnyEndpoint]): MetricsRequestInterceptor[F]
def withCustom(m: Metric[F, _]): PrometheusMetrics[F]
def withRequestsActive(labels: MetricLabels): PrometheusMetrics[F]
def withRequestsTotal(labels: MetricLabels): PrometheusMetrics[F]
def withResponsesDuration(labels: MetricLabels, clock: Clock): PrometheusMetrics[F]
def withResponsesTotal(labels: MetricLabels): PrometheusMetrics[F]

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields

lazy val metricsEndpoint: ServerEndpoint[Any, F]