Value

prometheus4cats.Histogram$.Value
case class Value[A](sum: A, bucketValues: NonEmptySeq[A])

A value that is produced by a histogram

Type parameters

A

number type for this histogram value

Value parameters

bucketValues

values corresponding to to buckets defined when creating the histogram

sum

the histogram sum

Attributes

Note

the size bucketValues '''MUST MATCH''' that of the number of buckets defined when creating the histogram in MetricFactory.WithCallbacks. If they do not match, the histogram may not render correctly or at all.

Source
Histogram.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def map[B](f: A => B): Value[B]

Attributes

Source
Histogram.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product