Prefix

prometheus4cats.Metric$.Prefix
See thePrefix companion object
final class Prefix extends AnyVal, Value[String]

Refined value class that can be used with MetricFactory to prefix every metric name with a certain string value

Attributes

Companion
object
Source
Metric.scala
Graph
Supertypes
trait Value[String]
class AnyVal
trait Matchable
class Any

Members list

Value members

Inherited methods

override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Value -> Any
Inherited from:
Value
Source
Refined.scala

Concrete fields

val value: String

Attributes

Source
Metric.scala