BucketBoundaries

org.typelevel.otel4s.metrics.BucketBoundaries
See theBucketBoundaries companion trait

Attributes

Companion
trait
Source
BucketBoundaries.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(boundaries: Vector[Double]): BucketBoundaries

Creates BucketBoundaries using the given boundaries.

Creates BucketBoundaries using the given boundaries.

Throws an exception if any of the following rules is violated:

  • the boundary cannot be Double.NaN

  • the boundaries must be in increasing order

  • first boundary cannot be Double.NegativeInfinity

  • last boundary cannot be Double.PositiveInfinity

Value parameters

boundaries

the vector of bucket boundaries

Attributes

Source
BucketBoundaries.scala