Name

prometheus4cats.Gauge$.Name$
See theName companion class
object Name extends Regex[Name]

Attributes

Companion
class
Source
Gauge.scala
Graph
Supertypes
class Regex[Name]
class Object
trait Matchable
class Any
Self type
Name.type

Members list

Value members

Inherited methods

inline def apply(inline t: String): Name

Attributes

Inherited from:
GaugeNameFromStringLiteral (hidden)
Source
GaugeNameFromStringLiteral.scala
def from(a: String): Either[String, B]

Parse from the given cakye

Parse from the given cakye

Value parameters

a

value from which to parse a gauge name

Attributes

Returns

a parsed B or failure message, represented by an scala.Either

Inherited from:
Refined (hidden)
Source
Refined.scala
def unsafeFrom(a: String): B

Unsafely parse a B from the given A

Unsafely parse a B from the given A

Value parameters

a

value from which to parse a counter name

Attributes

Returns

a parsed B

Throws
Inherited from:
Refined (hidden)
Source
Refined.scala

Implicits

Inherited implicits

implicit val catsInstances: Hash[Name] & Order[Name] & Show[Name]

Attributes

Inherited from:
Refined (hidden)
Source
Refined.scala
implicit inline def fromStringLiteral(inline t: String): Name

Attributes

Inherited from:
GaugeNameFromStringLiteral (hidden)
Source
GaugeNameFromStringLiteral.scala
implicit val ordering: Ordering[Name]

Attributes

Inherited from:
Refined (hidden)
Source
Refined.scala