MetricFactory

prometheus4cats.MetricFactory$
See theMetricFactory companion class
object MetricFactory

Attributes

Companion
class
Source
MetricFactory.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class Builder

Builder for MetricFactory

Builder for MetricFactory

Attributes

Source
MetricFactory.scala
Supertypes
class Object
trait Matchable
class Any
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
class MetricFactory[F]
class Object
trait Matchable
class Any
object WithCallbacks

Attributes

Companion
class
Source
MetricFactory.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def noop[F[_] : Applicative]: MetricFactory[F]

Create an instance of MetricFactory that performs no operations

Create an instance of MetricFactory that performs no operations

Attributes

Source
MetricFactory.scala