Gauge

trait Gauge

A Gauge is a metric representing a single numerical value that may be set or adjusted. A typical use of this metric would be to track the current memory usage. With a guage the quantity of interest is the current value, as opposed to a counter where the quantity of interest is the cumulative values over time.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def adjust(value: Double): UIO[Any]

Adjusts the counter by the specified amount.

Adjusts the counter by the specified amount.

def set(value: Double): UIO[Any]

Sets the counter to the specified value.

Sets the counter to the specified value.