WithCallbacks

prometheus4cats.internal.LabelsBuildStep$.WithCallbacks
final class WithCallbacks[F[_], A, A0, T, L[_[_], _, _]] extends LabelsBuildStep[F, A, T, L], CallbackStep[F, NonEmptyList[(A0, T)]]

Attributes

Source
package.scala
Graph
Supertypes
trait CallbackStep[F, NonEmptyList[(A0, T)]]
class LabelsBuildStep[F, A, T, L]
class BaseLabelsBuildStep[F, A, T, L]
trait BuildStep[F, L[F, A, T]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def contramapLabels[B](f0: B => T): WithCallbacks[F, A, A0, B, L]

Attributes

Definition Classes
Source
package.scala

Inherited methods

override def build: Resource[F, L[F, A, T]]

Builds the metric

Builds the metric

Attributes

Definition Classes
Inherited from:
BaseLabelsBuildStep
Source
package.scala
def callback(callback: F[NonEmptyList[(A0, T)]]): BuildStep[F, Unit]

Attributes

Inherited from:
CallbackStep
Source
package.scala
def contramapCallback[B](f: B => NonEmptyList[(A0, T)])(implicit F: Functor[F]): CallbackStep[F, B]

Attributes

Inherited from:
CallbackStep
Source
package.scala
def map[B](f: L[F, A, T] => B): BuildStep[F, B]

Attributes

Inherited from:
BuildStep
Source
package.scala
def unsafeBuild(implicit F: MonadCancelThrow[F]): F[A]

Unsafely builds the metric, but does not deallocate

Unsafely builds the metric, but does not deallocate

Attributes

Inherited from:
BuildStep
Source
package.scala