sealed abstract class MetricFactory[F[_]] extends AnyRef

Source
MetricFactory.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetricFactory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type CounterDsl[MDsl[_[_], _, _[_[_], _, _]], A] = HelpStep[MDsl[F, A, Counter]]
  2. type GaugeDsl[MDsl[_[_], _, _[_[_], _, _]], A] = HelpStep[MDsl[F, A, Gauge]]
  3. type HistogramDsl[MDsl[_[_], _, _[_[_], _, _]], A] = HelpStep[BucketDsl[MDsl[F, A, Histogram], A]]
  4. type SummaryDslLambda[A] = HelpStep[Base[F, A]]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val commonLabels: CommonLabels
  7. def counter(name: Name): TypeStep[[β$2$]HelpStep[MetricDsl[F, β$2$, Counter]]]

    Starts creating a "counter" metric.

    Starts creating a "counter" metric.

    name

    Counter.Name value

    returns

    Counter builder

    Example:
    1. metrics.counter("my_counter").ofLong.help("my counter help") .label[Int]("first_label")
       .label[String]("second_label") .label[Boolean]("third_label") .build
  8. def dropCommonLabels: MetricFactory[F]

    Creates a new instance of MetricFactory with any Metric.CommonLabels

  9. def dropPrefix: MetricFactory[F]

    Creates a new instance of MetricFactory without a Metric.Prefix set

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def gauge(name: Name): TypeStep[[β$0$]HelpStep[MetricDsl[F, β$0$, Gauge]]]

    Starts creating a "gauge" metric.

    Starts creating a "gauge" metric.

    name

    Gauge.Name value

    returns

    Gauge builder

    Example:
    1. metrics.gauge("my_gauge").ofDouble.help("my gauge help").label[Int]("first_label")
       .label[String]("second_label").label[Boolean]("third_label") .build
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def histogram(name: Name): TypeStep[[β$4$]HelpStep[BucketDsl[MetricDsl[F, β$4$, Histogram], β$4$]]]

    Starts creating a "histogram" metric.

    Starts creating a "histogram" metric.

    name

    Histogram.Name value

    returns

    Histogram builder

    Example:
    1. metrics.histogram("my_histogram").ofDouble.help("my counter help").buckets(1.0, 2.0)
       .label[Int]("first_label").label[String]("second_label").label[Boolean]("third_label") .build
  17. def info(name: Name): HelpStep[BuildStep[F, Info[F, Map[Name, String]]]]

    Starts creating an "info" metric.

    Starts creating an "info" metric.

    name

    Info.Name value

    returns

    Info builder

    Example:
    1. metrics.info("app_info").help("my counter help").build
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def mapK[G[_]](fk: ~>[F, G])(implicit F: MonadCancel[F, _], G: MonadCancel[G, _]): MetricFactory[G]

    Given a natural transformation from F to G, transforms this MetricFactory from effect F to effect 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].

  20. val metricRegistry: MetricRegistry[F]
    Attributes
    protected[prometheus4cats]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. val prefix: Option[Prefix]
  25. def summary(name: Name): TypeStep[SummaryDslLambda]
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  31. def withCommonLabels(commonLabels: CommonLabels): MetricFactory[F]

    Creates a new instance of MetricFactory with the provided Metric.CommonLabels

  32. def withPrefix(prefix: Prefix): MetricFactory[F]

    Creates a new instance of MetricFactory with the given Metric.Prefix set

Inherited from AnyRef

Inherited from Any

Ungrouped