Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LocalGauge

Hierarchy

Implements

  • { name: string; tags: Tags } & { set: any }
  • { name: string; tags: Tags } & { set: any } & { increment: (val: T, tags?: Tags) => void }

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Protected _val

_val: Value<number | undefined>

Protected Readonly log

log: InternalLog = logger('LocalGauge')

Readonly name

name: string

Readonly tags

tags: Tags

Accessors

raw

  • get raw(): number

value

  • get value(): Value<number | undefined>

Methods

decrement

  • decrement(value?: number, tags?: Tags): void

increment

  • increment(value?: number, tags?: Tags): void

reset

  • reset(): void

set

  • set(value: number, tags?: Tags): Value<number | undefined>

Generated using TypeDoc