Builder

prometheus4cats.MetricFactory$.Builder
class Builder

Builder for MetricFactory

Attributes

Source
MetricFactory.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Build a MetricFactory from a MetricRegistry

Build a MetricFactory from a MetricRegistry

Value parameters

metricRegistry

MetricRegistry with which to register new metrics created by the built MetricFactory

Attributes

Returns

a new MetricFactory instance

Source
MetricFactory.scala

Build a MetricFactory from a MetricRegistry and separate CallbackRegistry

Build a MetricFactory from a MetricRegistry and separate CallbackRegistry

Value parameters

callbackRegistry

CallbackRegistry with which to register new metrics created by the built MetricFactory

metricRegistry

MetricRegistry with which to register new metrics created by the built MetricFactory

Attributes

Returns

a new MetricFactory.WithCallbacks instance

Source
MetricFactory.scala

Value parameters

metricRegistry

[with CallbackRegistry with which to register new metrics and callbacks created by the built MetricFactory

Attributes

Returns

a new MetricFactory.WithCallbacks instance

Source
MetricFactory.scala

Build a MetricFactory from an existing MetricFactory and CallbackRegistry

Build a MetricFactory from an existing MetricFactory and CallbackRegistry

Value parameters

callbackRegistry

CallbackRegistry with which to register new metrics created by the built MetricFactory

metricFactory

MetricFactory from which to obtain a MetricRegistry

Attributes

Returns

a new MetricFactory.WithCallbacks instance

Source
MetricFactory.scala

Build a MetricFactory the performs no operations

Build a MetricFactory the performs no operations

Attributes

Returns

a new MetricFactory instance that performs no operations

Source
MetricFactory.scala

Add the given labels to all metrics created by the MetricFactory

Add the given labels to all metrics created by the MetricFactory

Value parameters

labels

Metric.CommonLabels

Attributes

Source
MetricFactory.scala

Add a prefix to all metrics created by the MetricFactory

Add a prefix to all metrics created by the MetricFactory

Value parameters

prefix

Metric.Prefix

Attributes

Source
MetricFactory.scala