Prometheus, end to endAI in Prometheus (self-study)
2 lessons · about 38 minutes of reading · Helmsman Pro
This page is the public course outline. Lessons, labs, tools and exams open after you sign in to your free account.
Sign in and start
In short
Two lessons on AI in Prometheus: AI for Prometheus: PromQL from plain English, alert rules, and checking every query; and monitoring AI workloads with Prometheus: tokens, latency, queues and GPUs. A self-study course: cohort programmes may set it as homework rather than teach it live.
Before you start: PromQL and alerting rules.
What you'll learn
- Assistants guess metric and label names: verify them
- Classic AI PromQL mistakes: rate on gauges, sum before rate, missing le
- promtool check and test every AI rule; alert on SLO burn
- Agents: read-only query API, timeouts and sample limits
- Scrape model server metrics (TTFT, tokens, running and waiting requests)
- DCGM exporter for GPU utilisation, memory and errors
- Token counters by team and model; cost via recording rules
- Burn-rate alerts on TTFT and errors; warnings on queues and GPU memory
Lessons
1. AI for Prometheus: PromQL from plain English, alert rules, and checking every query
Use assistants to draft and explain PromQL, recording rules and alerts, then prove them: check label names against your real metrics, test rules with promtool, watch for cardinality and rate mistakes, and give query agents read-only access.
Sign in to open the lesson
2. Monitoring AI workloads with Prometheus: tokens, latency, queues and GPUs
Instrument and alert on AI services with Prometheus: model server metrics such as time to first token, tokens per second and queue depth, GPU metrics from the DCGM exporter, token and cost counters from your gateway, and SLO-based alerts that fit AI traffic.
Sign in to open the lesson
Common questions
Is there an official Prometheus AI assistant?
Not in Prometheus itself; vendors and community MCP servers add assistants on top of the query API.
Are vLLM metric names stable?
They can change between versions; check /metrics on your version before writing rules.