init monlet repo with stage 0-2 (docs, contract, agent MVP)

This commit is contained in:
Stanislav Rossovskii
2026-05-26 16:41:27 +04:00
commit dcea096327
42 changed files with 3183 additions and 0 deletions

15
deploy/README.md Normal file
View File

@@ -0,0 +1,15 @@
# Deploy
Deployment examples live here.
Planned files:
- Docker Compose for local development;
- PostgreSQL service;
- optional Prometheus scrape config;
- optional Alertmanager config;
- optional Grafana dashboard stub.
No production-ready deployment files are implemented in Stage 0.
Docker examples must not install Python, Node, or Go project dependencies on the host. Dependency installation belongs inside images/containers or repo-local development directories.

View File

@@ -0,0 +1,9 @@
# Alertmanager
Placeholder for optional Alertmanager integration examples.
Planned examples:
- receiver config for Monlet-originated alerts;
- stable label conventions;
- routing notes for avoiding duplicate notifications.

11
deploy/grafana/README.md Normal file
View File

@@ -0,0 +1,11 @@
# Grafana
Placeholder for Grafana dashboard examples.
Planned dashboards:
- agents alive/stale/dead;
- check state counts;
- open incidents;
- notification outbox state;
- server ingestion and notifier failures.

View File

@@ -0,0 +1,9 @@
# Prometheus
Placeholder for Prometheus examples.
Planned examples:
- scrape Monlet agent `/metrics`;
- scrape Monlet server `/metrics`;
- sample rules that avoid duplicate alerting when `notification_owner = server`.