prometheus4cats.MetricFactory$
See theMetricFactory companion class
object MetricFactory
Attributes
- Companion
- class
- Source
- MetricFactory.scala
- Graph
-
- Supertypes
- Self type
-
MetricFactory.type
Members list
Type members
Classlikes
class Builder
Builder for MetricFactory
sealed abstract class WithCallbacks[F[_]](val metricRegistry: MetricRegistry[F], callbackRegistry: CallbackRegistry[F], prefix: Option[Prefix], commonLabels: CommonLabels)(implicit evidence$1: Functor[F]) extends MetricFactory[F]
Subtype of MetricFactory that can register metric callbacks with the DSL
Subtype of MetricFactory that can register metric callbacks with the DSL
Attributes
- Note
-
Calling MetricFactory.WithCallbacks.mapK will return a MetricFactory only. To change the type of
F
and return a MetricFactory.WithCallbacks you must you MetricFactory.WithCallbacks.imapK. - Companion
- object
- Source
- MetricFactory.scala
- Supertypes
object WithCallbacks
Attributes
- Companion
- class
- Source
- MetricFactory.scala
- Supertypes
- Self type
-
WithCallbacks.type
Value members
Concrete methods
Construct a MetricFactory using MetricFactory.Builder
Create an instance of MetricFactory that performs no operations
Create an instance of MetricFactory that performs no operations
Attributes
- Source
- MetricFactory.scala
In this article