From 74e19343be41905572290878ca9fd0ef08ba0c5e Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 9 May 2024 21:10:54 +0200 Subject: [PATCH] Bump docs --- docs/danog/BetterPrometheus/BetterCollectorRegistry.md | 4 ++-- docs/danog/BetterPrometheus/BetterHistogram.md | 6 +++--- docs/danog/BetterPrometheus/BetterSummary.md | 6 +++--- docs/index.md | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/danog/BetterPrometheus/BetterCollectorRegistry.md b/docs/danog/BetterPrometheus/BetterCollectorRegistry.md index 647ebdd..c2c2a14 100644 --- a/docs/danog/BetterPrometheus/BetterCollectorRegistry.md +++ b/docs/danog/BetterPrometheus/BetterCollectorRegistry.md @@ -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 - +A better collector registry. diff --git a/docs/danog/BetterPrometheus/BetterHistogram.md b/docs/danog/BetterPrometheus/BetterHistogram.md index 962cd4d..dee696a 100644 --- a/docs/danog/BetterPrometheus/BetterHistogram.md +++ b/docs/danog/BetterPrometheus/BetterHistogram.md @@ -27,7 +27,7 @@ A better prometheus histogram. ## Method list: * [`__construct(\Prometheus\Storage\Adapter $adapter, string $namespace, string $name, string $help, array $labels = [], (non-empty-list|null) $buckets = NULL)`](#__construct) * [`addLabels(array $labels): static`](#addLabels) -* [`observe(double $value, array $labels = []): void`](#observe) +* [`observe((double|int) $value, array $labels = []): void`](#observe) ## Methods: ### `__construct(\Prometheus\Storage\Adapter $adapter, string $namespace, string $name, string $help, array $labels = [], (non-empty-list|null) $buckets = NULL)` @@ -63,14 +63,14 @@ Parameters: -### `observe(double $value, array $labels = []): void` +### `observe((double|int) $value, array $labels = []): void` Parameters: -* `$value`: `double` e.g. 123 +* `$value`: `(double|int)` e.g. 123 * `$labels`: `array` e.g. ['status' => '201', 'opcode' => 'SOME_OP'] diff --git a/docs/danog/BetterPrometheus/BetterSummary.md b/docs/danog/BetterPrometheus/BetterSummary.md index 6207292..ea6887a 100644 --- a/docs/danog/BetterPrometheus/BetterSummary.md +++ b/docs/danog/BetterPrometheus/BetterSummary.md @@ -29,7 +29,7 @@ A better prometheus summary. ## Method list: * [`__construct(\Prometheus\Storage\Adapter $adapter, string $namespace, string $name, string $help, array $labels = [], int $maxAgeSeconds = 600, ?non-empty-list $quantiles = NULL)`](#__construct) * [`addLabels(array $labels): static`](#addLabels) -* [`observe(double $value, array $labels = []): void`](#observe) +* [`observe((double|int) $value, array $labels = []): void`](#observe) ## Methods: ### `__construct(\Prometheus\Storage\Adapter $adapter, string $namespace, string $name, string $help, array $labels = [], int $maxAgeSeconds = 600, ?non-empty-list $quantiles = NULL)` @@ -66,14 +66,14 @@ Parameters: -### `observe(double $value, array $labels = []): void` +### `observe((double|int) $value, array $labels = []): void` Parameters: -* `$value`: `double` e.g. 123 +* `$value`: `(double|int)` e.g. 123 * `$labels`: `array` e.g. ['status' => '404', 'opcode' => 'SOME_OP'] diff --git a/docs/index.md b/docs/index.md index e7c556a..008b7f8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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)