Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 08 · DevOps · Ship it · about 16 min to read

Play it as a journeyTutor comes with a plan

Instrument and ask: OpenTelemetry, PromQL and dashboards

The Watchtower
The Watchtower · Open board

: the tower that watches every ship without boarding one. This lesson covers how a program tells the tower what it sees, and how you ask the tower a question.

Before you start. In The Watchtower (Observability) you met three kinds of signal: a log (one line per event), a metric (a running number such as a count), and a trace (one id followed across every hop, each hop a span). You also met the percentile, such as p95. In Ship it: the alarm Prometheus read a /metrics page every 15 seconds and raised an alert. In Is it up? (metrics and monitoring) you saw the time series database that cardinality can kill.

Lesson 67 of 70 in DevOps

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • A checkout service that nobody can question
  • Instrument once: OpenTelemetry
  • Every label set is a series, and series are the cost
  • Asking the counter: rate() in PromQL
  • Asking the histogram: histogram_quantile()
  • RED and USE: two fixed layouts for a dashboard
  • A log pipeline: parse, drop, redact, label
  • API and SDK are two things
  • The instrumented script
  • Two bucket conventions
  • The PromQL arithmetic, checked
  • Where limits belong
  • Trade-offs

Terms it explains: instrumenting, OpenTelemetry, counter, labels, histogram, series, cardinality, PromQL, quantile, dashboard, RED, USE, log pipeline, collector, Common mistakes, API, SDK, resource, observability.

Review DevOps