Add cron schedules and sync docs
Some checks failed
ci / openapi (push) Failing after 7s
ci / agent (push) Failing after 5s
ci / server (push) Failing after 6s
ci / stack-smoke (push) Has been skipped
ci / web (push) Failing after 5s

This commit is contained in:
Stanislav Rossovskii
2026-06-23 19:18:01 +04:00
parent f5ec97fcb9
commit d6f9335398
24 changed files with 638 additions and 131 deletions

View File

@@ -1,9 +1,20 @@
# Prometheus
Placeholder for Prometheus examples.
Example scrape configuration for the optional observability profile in
`deploy/docker-compose.yml`.
Planned examples:
Run it with:
- scrape Monlet agent `/metrics`;
- scrape Monlet server `/metrics`;
- sample rules for checks that use `notifications_enabled = false`.
```sh
cd deploy
MONLET_AUTH_TOKEN=$(openssl rand -hex 16) docker compose --profile observability up
```
The example config scrapes:
- `server:8000/metrics` as `monlet-server`
- `host.docker.internal:9100/metrics` as `monlet-agent`
Adjust the agent target for your environment. In the showcase stack one demo
agent exposes metrics on host port `9465`; production agents usually expose
`metrics.listen` only on the host or a private monitoring network.