Stack Picker
a developer-grade decision engine
Back to the picker
Monitoring / APM

Prometheus

Open-source time-series database for metrics.

Official site
Monthly cost
Free
Self-hosted
Popularity
4/5
LLM knowledge
5/5
Difficulty
Hard
#open-source#self-hostable

What Prometheus is good at

Strengths
  • +De-facto metrics standard
  • +Pull model
  • +Huge ecosystem
Tradeoffs
  • You run it
  • Not for logs or traces

Coding-agent prompt

You're working with Prometheus. Open-source time-series database for metrics.

Best practices:
- Lean on: de-facto metrics standard
- Lean on: pull model
- Lean on: huge ecosystem

Things to watch for:
- Watch out for: you run it
- Watch out for: not for logs or traces

General guidance:
- Canonical docs: https://prometheus.io — check here before inventing APIs.
- Keep secrets in environment variables, never commit them.
- Write TypeScript where the ecosystem supports it; add types to every exported function.
- Add tests for the critical paths before declaring the task done.
- Read-the-docs is usually faster than guessing — cite the docs page in code comments when you apply a non-obvious pattern.

Beginner's guide to Prometheus

In one line: Open-source time-series database — the standard for metrics.

Prometheus scrapes metrics from your apps on a schedule and stores them. Usually paired with Grafana for visualization.

Browse all categories