sttp.tapir.server.metrics.prometheus.PrometheusMetrics
See thePrometheusMetrics companion object case class PrometheusMetrics[F[_]](namespace: String, registry: CollectorRegistry, metrics: List[Metric[F, _]], endpointPrefix: EndpointInput[Unit]) Attributes
- Companion:
- object
- Graph
- Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Members list
Concise view
Value members
Registers a custom metric.
Registers a custom metric.
Attributes
Registers a $namespace_request_active{path, method}
gauge (assuming default labels).
Registers a $namespace_request_active{path, method}
gauge (assuming default labels).
Attributes
Registers a $namespace_request_duration_seconds{path, method, status, phase}
histogram (assuming default labels).
Registers a $namespace_request_duration_seconds{path, method, status, phase}
histogram (assuming default labels).
Attributes
Registers a $namespace_request_total{path, method, status}
counter (assuming default labels).
Registers a $namespace_request_total{path, method, status}
counter (assuming default labels).
Attributes
The interceptor which can be added to a server's options, to enable metrics collection.
The interceptor which can be added to a server's options, to enable metrics collection.
Attributes
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
An endpoint exposing the current metric values.
An endpoint exposing the current metric values.
Attributes