From 7fc41dd5738ab4c9dbc2e756e8140719ce2c2d1c Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 15 May 2024 21:10:07 +0200 Subject: [PATCH] Bump docs --- .../MadelineProto/Settings/Prometheus.md | 29 +++++++++++++++++++ docs/docs/LOGIN.md | 2 +- docs/docs/SECRET_CHATS.md | 2 +- 3 files changed, 31 insertions(+), 2 deletions(-) diff --git a/docs/PHP/danog/MadelineProto/Settings/Prometheus.md b/docs/PHP/danog/MadelineProto/Settings/Prometheus.md index edaf3bde41..d587d3fa04 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Prometheus.md +++ b/docs/PHP/danog/MadelineProto/Settings/Prometheus.md @@ -19,6 +19,8 @@ Prometheus settings. ## Method list: * [`setEnablePrometheus(bool $enable): self`](#setEnablePrometheus) * [`getEnablePrometheus(): bool`](#getEnablePrometheus) +* [`setPrometheusEndpoint(?\Amp\Socket\SocketAddress $endpoint): self`](#setPrometheusEndpoint) +* [`getPrometheusEndpoint(): ?\Amp\Socket\SocketAddress`](#getPrometheusEndpoint) ## Methods: ### `setEnablePrometheus(bool $enable): self` @@ -38,5 +40,32 @@ Whether additional prometheus stat reporting is enabled for this session. +### `setPrometheusEndpoint(?\Amp\Socket\SocketAddress $endpoint): self` + +Whether to expose prometheus metrics on the specified endpoint via HTTP. + + +Parameters: + +* `$endpoint`: `?\Amp\Socket\SocketAddress` + + +#### See also: +* `\Amp\Socket\SocketAddress` + + + + +### `getPrometheusEndpoint(): ?\Amp\Socket\SocketAddress` + +Whether to expose prometheus metrics on the specified endpoint via HTTP. + + +#### See also: +* `\Amp\Socket\SocketAddress` + + + + --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/docs/LOGIN.md b/docs/docs/LOGIN.md index a74b06b045..aef5451977 100644 --- a/docs/docs/LOGIN.md +++ b/docs/docs/LOGIN.md @@ -192,4 +192,4 @@ if (isset($_GET['waitQrCodeOrLogin']) || isset($_GET['getQrCode'])) { } ``` -Next section +Next section \ No newline at end of file diff --git a/docs/docs/SECRET_CHATS.md b/docs/docs/SECRET_CHATS.md index 199b40cb70..b93f7945ef 100644 --- a/docs/docs/SECRET_CHATS.md +++ b/docs/docs/SECRET_CHATS.md @@ -72,4 +72,4 @@ $secret_chat = $MadelineProto->getSecretChat($chat); This method gets info about a certain chat. -Next section +Next section \ No newline at end of file