better-prometheus

danog\BetterPrometheus\BetterCounter

Back to index

Author: Daniil Gentili [email protected]

A better prometheus counter.

Properties

Method list:

Methods:

addLabels(array $labels): static

Parameters:

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

Parameters:

incBy((int|float) $count, 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