BucketDsl

prometheus4cats.internal.histogram.BucketDsl
See theBucketDsl companion object
final class BucketDsl[+A, N]

Attributes

Companion
object
Source
BucketDsl.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def buckets(list: NonEmptySeq[N]): A

Provides the list of buckets for the histogram as a non-empty sequence.

Provides the list of buckets for the histogram as a non-empty sequence.

Attributes

Source
BucketDsl.scala
def buckets(head: N, rest: N*): A

Provides the list of buckets for the histogram as parameters.

Provides the list of buckets for the histogram as parameters.

Attributes

Source
BucketDsl.scala
Implicitly added by DoubleSyntax

Initialise this histogram with the default HTTP buckets list.

Initialise this histogram with the default HTTP buckets list.

Attributes

See also
Source
BucketDsl.scala
def exponentialBuckets[Count <: Nat : ToInt](start: Double, factor: Double)(implicit evidence$2: ToInt[Count], gt: GT[Count, _0]): A
Implicitly added by DoubleSyntax

Attributes

Source
BucketDsl.scala
def linearBuckets[Count <: Nat : ToInt](start: N, width: N)(implicit evidence$1: ToInt[Count], gt: GT[Count, _0]): A

Attributes

Source
BucketDsl.scala