better-prometheus

danog\BetterPrometheus\BetterGauge

Back to index

Author: Daniil Gentili [email protected]

A better prometheus gauge.

Properties

Method list:

Methods:

addLabels(array $labels): static

Parameters:

set((int|double) $value, array<string, string> $labels = []): void

Parameters:

See also:

incBy(int|float $value, array<string, string> $labels = []): void

Parameters:

inc(array<string, string> $labels = []): void

Parameters:

dec(array<string, string> $labels = []): void

Parameters:

decBy(int|float $value, array<string, string> $labels = []): void

Parameters:

__construct(\Prometheus\Storage\Adapter $storageAdapter, string $namespace, string $name, string $help, array $labels = [])

Constructor.

Parameters:

See also:


Generated by danog/phpdoc