Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

My open‑source monitoring stack in 2026 – 5 tools that replaced Datadog for $0

说明与用途

作者用 Prometheus、Grafana、Loki、SigNoz 和 Uptime Kuma 等自托管工具替代 Datadog,将每月费用从约900美元降至约10美元,但牺牲了托管可靠性和即时告警。

问题

Datadog cost $900–$1,500/month for a 12‑service, 20‑host setup with 50 GB/day metrics, which was unsustainable for a side project.

结果

The stack reduced monthly cost from ~$900 to ~$10 while retaining metrics, logs, APM, uptime, and alerting, but required self‑hosted maintenance and manual instrumentation.

工作流

  • Deploy a single VM with 4 GB RAM
  • Install Prometheus (≈1 GB RAM) and Grafana (≈200 MB)
  • Configure Prometheus to scrape Node Exporter and app exporters
  • Set up Thanos with S3 backend for long‑term storage (~$5/month)
  • Install Loki and Promtail; ship logs (~20 GB/day)
  • Deploy Uptime Kuma on the same VM for status page
  • Set up SigNoz for distributed tracing of main API
  • Configure Alertmanager to route alerts to Discord, email, and PagerDuty

证据

Datadog wanted $1,500/month for my setup.

来源

Prometheus scrapes metrics from my services (Node Exporter for hosts, app-specific exporters for apps).

来源

Loki is "Prometheus but for logs" — it doesn't index log content, just labels.

来源

Uptime Kuma ... pings every 5 minutes, alerts via email/Discord/Telegram on failure.

来源

SigNoz is a Datadog APM alternative. It's OpenTelemetry-native, so any OTel-instrumented service works.

来源

  • 记录日期: 2026-10-19T22:41:28.328Z