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
- Graph
-
- Supertypes
Members list
Type members
Types
Attributes
- Source
- MetricFactory.scala
Attributes
- Source
- MetricFactory.scala
Attributes
- Source
- MetricFactory.scala
Inherited types
Attributes
- Inherited from:
- MetricFactory
- Source
- MetricFactory.scala
Attributes
- Inherited from:
- MetricFactory
- Source
- MetricFactory.scala
Attributes
- Inherited from:
- MetricFactory
- Source
- MetricFactory.scala
Attributes
- Inherited from:
- MetricFactory
- Source
- MetricFactory.scala
Value members
Concrete methods
Starts creating a "counter" metric.
Creates a new instance of MetricFactory with any Metric.CommonLabels
Creates a new instance of MetricFactory with any Metric.CommonLabels
Attributes
- Definition Classes
- Source
- MetricFactory.scala
Creates a new instance of MetricFactory without a Metric.Prefix set
Creates a new instance of MetricFactory without a Metric.Prefix set
Attributes
- Definition Classes
- Source
- MetricFactory.scala
Starts creating a "gauge" metric.
Starts creating a "histogram" metric.
Given a natural transformation from F
to G
and from G
to F
, transforms this MetricFactory.WithCallbacks from effect F
to effect G
. The G constraint can also be satisfied by requiring a Functor[G].
Given a natural transformation from F
to G
and from G
to F
, transforms this MetricFactory.WithCallbacks from effect F
to effect G
. The G constraint can also be satisfied by requiring a Functor[G].
Attributes
- Source
- MetricFactory.scala
Attributes
- Source
- MetricFactory.scala
Attributes
- Definition Classes
- Source
- MetricFactory.scala
Creates a new instance of MetricFactory with the provided Metric.CommonLabels
Creates a new instance of MetricFactory with the provided Metric.CommonLabels
Attributes
- Definition Classes
- Source
- MetricFactory.scala
Creates a new instance of MetricFactory with the given Metric.Prefix set
Creates a new instance of MetricFactory with the given Metric.Prefix set
Attributes
- Definition Classes
- Source
- MetricFactory.scala
Inherited methods
Starts creating an "info" metric.
Starts creating an "info" metric.
Value parameters
- name
-
Info.Name value
Attributes
- Returns
-
Info builder
- Example
-
metrics.info("app_info").help("my counter help").build
- Inherited from:
- MetricFactory
- Source
- MetricFactory.scala
Given a natural transformation from F
to G
, transforms this MetricFactory from effect F
to effect G
. The G constraint can also be satisfied by requiring a Functor[G].
Given a natural transformation from F
to G
, transforms this MetricFactory from effect F
to effect G
. The G constraint can also be satisfied by requiring a Functor[G].
Attributes
- Inherited from:
- MetricFactory
- Source
- MetricFactory.scala