This commit is contained in:
Daniil Gentili 2024-05-20 18:00:19 +02:00
parent ef96429069
commit 56c2127618

View File

@ -434,6 +434,7 @@ $settings->getLogger()->setLevel(Logger::LEVEL_ULTRA_VERBOSE);
// $settings->getMetrics()->setEnablePrometheusCollection(true);
// You can also enable collection of additional memory profiling metrics.
// Note: you must also set the MEMPROF_PROFILE=1 environment variable or GET parameter.
// $settings->getMetrics()->setEnableMemprofCollection(true);
// Metrics can be returned by an autoconfigured http://127.0.0.1:12345 HTTP server.
@ -1389,4 +1390,4 @@ $MadelineProto = new \danog\MadelineProto\API('bot.madeline');
echo json_encode($MadelineProto->getUpdates($_GET));
```
<a href="https://docs.madelineproto.xyz/docs/FILTERS.html">Next section</a>
<a href="https://docs.madelineproto.xyz/docs/FILTERS.html">Next section</a>