Bump docs

This commit is contained in:
Daniil Gentili 2024-05-09 21:10:54 +02:00
parent f0eb82c76a
commit 74e19343be
4 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
---
title: "danog\\BetterPrometheus\\BetterCollectorRegistry: "
title: "danog\\BetterPrometheus\\BetterCollectorRegistry: A better collector registry."
description: ""
---
@ -9,7 +9,7 @@ description: ""
> Author: Daniil Gentili <daniil@daniil.it>
A better collector registry.

View File

@ -27,7 +27,7 @@ A better prometheus histogram.
## Method list:
* [`__construct(\Prometheus\Storage\Adapter $adapter, string $namespace, string $name, string $help, array<string, string> $labels = [], (non-empty-list<float>|null) $buckets = NULL)`](#__construct)
* [`addLabels(array $labels): static`](#addLabels)
* [`observe(double $value, array<string, string> $labels = []): void`](#observe)
* [`observe((double|int) $value, array<string, string> $labels = []): void`](#observe)
## Methods:
### <a name="__construct"></a> `__construct(\Prometheus\Storage\Adapter $adapter, string $namespace, string $name, string $help, array<string, string> $labels = [], (non-empty-list<float>|null) $buckets = NULL)`
@ -63,14 +63,14 @@ Parameters:
### <a name="observe"></a> `observe(double $value, array<string, string> $labels = []): void`
### <a name="observe"></a> `observe((double|int) $value, array<string, string> $labels = []): void`
Parameters:
* `$value`: `double` e.g. 123
* `$value`: `(double|int)` e.g. 123
* `$labels`: `array<string, string>` e.g. ['status' => '201', 'opcode' => 'SOME_OP']

View File

@ -29,7 +29,7 @@ A better prometheus summary.
## Method list:
* [`__construct(\Prometheus\Storage\Adapter $adapter, string $namespace, string $name, string $help, array<string, string> $labels = [], int $maxAgeSeconds = 600, ?non-empty-list<float> $quantiles = NULL)`](#__construct)
* [`addLabels(array $labels): static`](#addLabels)
* [`observe(double $value, array<string, string> $labels = []): void`](#observe)
* [`observe((double|int) $value, array<string, string> $labels = []): void`](#observe)
## Methods:
### <a name="__construct"></a> `__construct(\Prometheus\Storage\Adapter $adapter, string $namespace, string $name, string $help, array<string, string> $labels = [], int $maxAgeSeconds = 600, ?non-empty-list<float> $quantiles = NULL)`
@ -66,14 +66,14 @@ Parameters:
### <a name="observe"></a> `observe(double $value, array<string, string> $labels = []): void`
### <a name="observe"></a> `observe((double|int) $value, array<string, string> $labels = []): void`
Parameters:
* `$value`: `double` e.g. 123
* `$value`: `(double|int)` e.g. 123
* `$labels`: `array<string, string>` e.g. ['status' => '404', 'opcode' => 'SOME_OP']

View File

@ -13,7 +13,7 @@ A better Prometheus library for PHP applications
* [\danog\BetterPrometheus\BetterCollector: A better prometheus collector.](danog/BetterPrometheus/BetterCollector.md)
## Classes
* [\danog\BetterPrometheus\BetterCollectorRegistry](danog/BetterPrometheus/BetterCollectorRegistry.md)
* [\danog\BetterPrometheus\BetterCollectorRegistry: A better collector registry.](danog/BetterPrometheus/BetterCollectorRegistry.md)
* [\danog\BetterPrometheus\BetterCounter: A better prometheus counter.](danog/BetterPrometheus/BetterCounter.md)
* [\danog\BetterPrometheus\BetterGauge: A better prometheus gauge.](danog/BetterPrometheus/BetterGauge.md)
* [\danog\BetterPrometheus\BetterHistogram: A better prometheus histogram.](danog/BetterPrometheus/BetterHistogram.md)