What is Grafana Stack?
Observability SaaS has the most creative meters in the industry: per host, per million spans, per GB ingested, per active series. The open-source answer has been stable for years - Grafana for dashboards, Prometheus for metrics, Loki for logs - and it deploys beautifully as one small stack.
This template wires the three together: Grafana public with both datasources pre-provisioned, Prometheus private with a baked config (the officially documented pattern) you extend with your apps’ /metrics endpoints by service name, and Loki private in its stock single-binary filesystem mode - apps push logs straight to its HTTP API.
Deliberately absent: node-exporter and cadvisor, which need host access this platform cannot grant - node metrics are the platform’s job. This stack is for your applications’ metrics and logs, which is the part you actually dashboard.
What you get
- Grafana with Prometheus + Loki datasources provisioned out of the box
- Prometheus: 15-day retention default, scrape any in-project app by service name
- Loki: zero-config single-binary mode; push logs from any logging library
- No per-host / per-GB / per-series meters
- Baked-config images - edit two small files to extend, redeploy to apply
- Alerting via Grafana (email, Slack, webhooks) included
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
grafana | dashboards (:5000) | yes |
prometheus | metrics, baked config (:9090) | no |
loki | logs, filesystem mode (:3100) | no |
Before you deploy
GF_ADMIN_PASSWORDGrafana admin login
GF_ROOT_URLset to the app’s https domain after first deploy
Sizing and billing
Right-sized for project-scale observability: 512 MiB per component. Prometheus RAM scales with active series, Loki disk with log volume - both have a long runway in this footprint.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 21.48 GiB of volumes cost $0.15 per GiB a month ($3.22/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Grafana Cloud | Pro (usage) | Usage-based | $19/mo base + $6.50 per 1k active metric series + ~$0.55/GB logs all-in; the free tier is genuinely generous |
| Datadog | Infrastructure Pro | $15/mo | per host per month (annual; $18 on-demand) - before logs, APM, and custom-metric add-ons |
Observability meters compound with growth; a self-hosted stack is billed for the compute it reserves, not per host or per gigabyte. Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
How does this compare to Datadog or Grafana Cloud?
Datadog Infrastructure Pro prices per host per month before logs and custom metrics. Grafana Cloud has a genuinely generous free tier, but the Pro meters (per 1k metric series, per GB of logs) compound with growth. This stack has none of those meters - the same Grafana, your retention rules.
How do my apps get metrics into it?
Expose /metrics with any Prometheus client library, add the service name to prometheus.yml in the template, redeploy. In-project targets are scraped over the private network - nothing public required.
How do logs get into Loki?
Apps push directly to http://loki:3100/loki/api/v1/push - every major logging library has a Loki sink, and OTLP works too. (Promtail reached end-of-life in March 2026, and on this platform there are no host log files to tail anyway - pushing is the right model.)
Why no node-exporter or cadvisor?
Both need host-level access (host network, /proc, the Docker socket) that platform sandboxes cannot grant - and node health is the platform’s responsibility anyway. Application metrics and logs are what this stack is for.