DoubleCallbackRegistry

prometheus4cats.util.DoubleCallbackRegistry

Attributes

Source
DoubleCallbackRegistry.scala
Graph
Supertypes
trait CallbackRegistry[F]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

Register a labelled counter value that records scala.Long values against a metrics registry

Register a labelled counter value that records scala.Long values against a metrics registry

Value parameters

callback

Some effectful operation that returns a cats.data.NonEmptyList of scala.Long and label value tuples

commonLabels

Metric.CommonLabels map of common labels to be added to the metric

f

a function from A to an scala.IndexedSeq of java.lang.String that provides label values, which must be paired with their corresponding name in the scala.IndexedSeq of Label.Names

help

Metric.Help string to describe the metric

labelNames

an scala.IndexedSeq of Label.Names to annotate the metric with

name

Counter.Name metric name

prefix

optional Metric.Prefix to be prepended to the metric name

Attributes

Returns

An empty side effect to indicate that the callback has been registered

Definition Classes
Source
DoubleCallbackRegistry.scala

Register a labelled gauge value that records scala.Long values against a metrics registry

Register a labelled gauge value that records scala.Long values against a metrics registry

Value parameters

callback

Some effectful operation that returns a cats.data.NonEmptyList of scala.Long and label value tuples

commonLabels

Metric.CommonLabels map of common labels to be added to the metric

f

a function from A to an scala.IndexedSeq of java.lang.String that provides label values, which must be paired with their corresponding name in the scala.IndexedSeq of Label.Names

help

Metric.Help string to describe the metric

labelNames

an scala.IndexedSeq of Label.Names to annotate the metric with

name

Counter.Name metric name

prefix

optional Metric.Prefix to be prepended to the metric name

Attributes

Returns

An empty side effect to indicate that the callback has been registered

Definition Classes
Source
DoubleCallbackRegistry.scala

Register a labelled histogram value that records scala.Long values against a metrics registry

Register a labelled histogram value that records scala.Long values against a metrics registry

Value parameters

callback

Some effectful operation that returns a cats.data.NonEmptyList of Histogram.Value parameterised with scala.Long and label value tuples

commonLabels

Metric.CommonLabels map of common labels to be added to the metric

f

a function from A to an scala.IndexedSeq of java.lang.String that provides label values, which must be paired with their corresponding name in the scala.IndexedSeq of Label.Names

help

Metric.Help string to describe the metric

labelNames

an scala.IndexedSeq of Label.Names to annotate the metric with

name

Counter.Name metric name

prefix

optional Metric.Prefix to be prepended to the metric name

Attributes

Returns

An empty side effect to indicate that the callback has been registered

Definition Classes
Source
DoubleCallbackRegistry.scala

Register a labelled summary value that records scala.Long values against a metrics registry

Register a labelled summary value that records scala.Long values against a metrics registry

Value parameters

callback

Some effectful operation that returns a cats.data.NonEmptyList of Summary.Value parameterised with scala.Long and label value tuples

commonLabels

Metric.CommonLabels map of common labels to be added to the metric

f

a function from A to an scala.IndexedSeq of java.lang.String that provides label values, which must be paired with their corresponding name in the scala.IndexedSeq of Label.Names

help

Metric.Help string to describe the metric

labelNames

an scala.IndexedSeq of Label.Names to annotate the metric with

name

Summary.Name metric name

prefix

optional Metric.Prefix to be prepended to the metric name

Attributes

Returns

a Summary wrapped in whatever side effect that was performed in registering it

Definition Classes
Source
DoubleCallbackRegistry.scala

Inherited methods

final def imapK[G[_]](fk: FunctionK[F, G], gk: FunctionK[G, F])(implicit F: MonadCancel[F, _], G: MonadCancel[G, _]): CallbackRegistry[G]

Given a natural transformation from F to G and from G to F, transforms this CallbackRegistry from effect F to effect G

Given a natural transformation from F to G and from G to F, transforms this CallbackRegistry from effect F to effect G

Attributes

Inherited from:
CallbackRegistry
Source
CallbackRegistry.scala

Register a labelled counter value that records scala.Double values against a metrics registry

Register a labelled counter value that records scala.Double values against a metrics registry

Value parameters

callback

Some effectful operation that returns a cats.data.NonEmptyList of scala.Double and label value tuples

commonLabels

Metric.CommonLabels map of common labels to be added to the metric

f

a function from A to an scala.IndexedSeq of java.lang.String that provides label values, which must be paired with their corresponding name in the scala.IndexedSeq of Label.Names

help

Metric.Help string to describe the metric

labelNames

an scala.IndexedSeq of Label.Names to annotate the metric with

name

Counter.Name metric name

prefix

optional Metric.Prefix to be prepended to the metric name

Attributes

Returns

An empty side effect to indicate that the callback has been registered

Inherited from:
CallbackRegistry
Source
CallbackRegistry.scala

Register a labelled gauge value that records scala.Double values against a metrics registry

Register a labelled gauge value that records scala.Double values against a metrics registry

Value parameters

callback

Some effectful operation that returns a cats.data.NonEmptyList of scala.Double and label value tuples

commonLabels

Metric.CommonLabels map of common labels to be added to the metric

f

a function from A to an scala.IndexedSeq of java.lang.String that provides label values, which must be paired with their corresponding name in the scala.IndexedSeq of Label.Names

help

Metric.Help string to describe the metric

labelNames

an scala.IndexedSeq of Label.Names to annotate the metric with

name

Counter.Name metric name

prefix

optional Metric.Prefix to be prepended to the metric name

Attributes

Returns

An empty side effect to indicate that the callback has been registered

Inherited from:
CallbackRegistry
Source
CallbackRegistry.scala

Register a labelled histogram value that records scala.Double values against a metrics registry

Register a labelled histogram value that records scala.Double values against a metrics registry

Value parameters

callback

Some effectful operation that returns a cats.data.NonEmptyList of Histogram.Value parameterised with scala.Double and label value tuples

commonLabels

Metric.CommonLabels map of common labels to be added to the metric

f

a function from A to an scala.IndexedSeq of java.lang.String that provides label values, which must be paired with their corresponding name in the scala.IndexedSeq of Label.Names

help

Metric.Help string to describe the metric

labelNames

an scala.IndexedSeq of Label.Names to annotate the metric with

name

Counter.Name metric name

prefix

optional Metric.Prefix to be prepended to the metric name

Attributes

Returns

An empty side effect to indicate that the callback has been registered

Inherited from:
CallbackRegistry
Source
CallbackRegistry.scala

Register a labelled summary value that records scala.Double values against a metrics registry

Register a labelled summary value that records scala.Double values against a metrics registry

Value parameters

callback

Some effectful operation that returns a cats.data.NonEmptyList of Summary.Value parameterised with scala.Double and label value tuples

commonLabels

Metric.CommonLabels map of common labels to be added to the metric

f

a function from A to an scala.IndexedSeq of java.lang.String that provides label values, which must be paired with their corresponding name in the scala.IndexedSeq of Label.Names

help

Metric.Help string to describe the metric

labelNames

an scala.IndexedSeq of Label.Names to annotate the metric with

name

Summary.Name metric name

prefix

optional Metric.Prefix to be prepended to the metric name

Attributes

Returns

a Summary wrapped in whatever side effect that was performed in registering it

Inherited from:
CallbackRegistry
Source
CallbackRegistry.scala

Implicits

Implicits

implicit protected val F: Functor[F]

Attributes

Source
DoubleCallbackRegistry.scala