Skip to content
DevOps · Web app

Prometheus

Metrics collection, queries and alert rules.
  • 20 Dcoins / hour
  • standard machine
  • ready in about 10 seconds
  • devops
  • monitoring

About Prometheus

Prometheus is the open-source monitoring system at the centre of most cloud-native setups. This lab runs Prometheus 3, so you can see scraping, its targets page and the expression browser for PromQL.

Learn how Prometheus works by using it. Look at what a target exposes on its metrics endpoint, then query it: rates of counters over a window, sums by label, and quantiles from histograms. Those three ideas cover most of the dashboards and alerts you will ever write. Recording rules and alerting rules come next, and the status pages show the configuration and the state of each target.

Pair it with the Grafana lab to turn queries into dashboards. The Instrument the API template in the project gallery covers the other side: adding the metrics to an application so there is something worth scraping.

What is installed

  • Metric scraping
  • PromQL expression browser
  • Targets & service discovery
  • Self-monitoring out of the box

What it is good for

  • Monitoring fundamentals
  • PromQL practice
  • Pairs with the Grafana lab
  • DevOps observability track

What it costs

20 Dcoins an hour while it runs (a standard machine), billed by the minute. Included on Pro and Power. Every new account starts with free Dcoins.

From Start to a working Prometheus takes about 10 seconds, measured on our lab server. If the server is asleep, waking it first adds a minute or two.

Courses that practise this

Similar labs