Monitoring with Prometheus and Grafana

Study Monitoring with Prometheus and Grafana with full lessons, revision notes and quick reference, across 35 lessons.

8 modules. 35 lessons. Self-paced.

Roles this course prepares you for

Course curriculum

No exam weights apply. Lessons follow practical prerequisites, from running a monitoring stack to instrumenting, querying, alerting, visualising, operating and troubleshooting it.

Free to read: 5 lessons, no account needed

Start Here (4 lessons)
  1. How this course works (read now)

    • Describe what the course builds, the practice folder and Compose project it uses, and what each study view is for.
    • State what the course does not cover and that completing lessons is not graded evidence of skill.
  2. What monitoring must answer (read now)

    • Distinguish symptoms from causes, and white-box from black-box monitoring, for a stated service.
    • Use the four golden signals and the RED and USE methods to list the questions a service's monitoring must answer.
    • Explain why a running process or a green dashboard is not evidence that users are served.
  3. Run, inspect and reset the practice stack (read now)

    • Start the supplied Compose project, confirm each service, pinned version and 127.0.0.1 port, and wait for Grafana to be ready.
    • Explain what docker compose stop, down and down -v each keep or delete.
    • Recover from the three most common setup failures.
  4. How Prometheus collects, stores and serves metrics (read now)

    • Trace one counter from the shop service through a scrape, the TSDB, a rule, an alert and a Grafana panel, naming the component at each step.
    • Read the targets page and the up series and predict what each component shows when a target stops.
Metrics and Instrumentation (4 lessons)
  1. Series, labels and the exposition format (read now)

    • Identify a time series by its metric name and labels and read samples and timestamps.
    • Read # HELP, # TYPE and sample lines and name the type of each metric family.
    • Choose a counter, gauge, histogram or summary for a stated measurement and justify it by how it will be queried.
  2. Count requests and track in-progress work in Python

    • Add a request counter with route, method and code labels and an in-progress gauge to the shop service.
    • Initialise known label sets so series exist before the first error.
    • Explain what each prometheus_client call does and when it runs.
  3. Measure latency with histograms and choose buckets

    • Add a latency histogram with buckets chosen around the expected latency and an objective.
    • Explain cumulative buckets, _sum and _count, and why buckets cannot be changed after the fact without losing comparability.
    • Compare a histogram with a summary for aggregation across instances.
  4. Name metrics and control label cardinality

    • Name metrics with base units, unit suffixes and _total, and write useful help text.
    • Estimate the series a label set produces and reject unbounded labels.
    • Find a cardinality problem in TSDB status.

With course access: 30 lessons

Scraping and Discovery (5 lessons)
  1. Configure scrape jobs and check target health

    • Write global and per-job scrape settings and explain each default.
    • Validate configuration with promtool and apply it with a reload, confirming success.
    • Use up, scrape_duration_seconds and scrape_samples_scraped to judge target health.
  2. Relabel targets and metrics

    • Explain when relabel_configs and metric_relabel_configs run and what each can change.
    • Use replace, keep, drop and labeldrop with anchored regexes to shape target labels and drop series.
    • Predict a target's final labels from its discovered labels and rules.
  3. Discover targets from files

    • Add and remove targets with file_sd_configs without restarting Prometheus.
    • Explain disk watches, refresh_interval, and why the file must be visible inside the container.
  4. Collect host metrics with node_exporter

    • Run and scrape node_exporter and read CPU, memory and filesystem metrics.
    • Explain what host node_exporter measures on Docker Desktop for macOS and Windows, and on native Linux.
  5. Probe endpoints with blackbox_exporter

    • Configure blackbox_exporter modules and the multi-target relabelling pattern.
    • Interpret probe_success, probe_http_status_code and probe_duration_seconds.
    • Explain when the Pushgateway is appropriate and why it is usually not.
Query with PromQL (6 lessons)
  1. Select series with matchers

    • Write instant and range vector selectors with =, !=, =~ and !~ matchers.
    • Predict the result type and labels before running a query.
    • Use the expression browser and the HTTP API to run the same query.
  2. Turn counters into rates

    • Compute per-second rates and increases from counters and explain extrapolation and counter-reset handling.
    • Choose a range at least several scrape intervals long and explain why too short a range returns nothing.
    • Explain why rate comes before sum, and when irate is acceptable.
  3. Aggregate with by and without

    • Aggregate with sum, avg, max, count and topk, keeping labels with by or removing them with without.
    • Predict the output labels of an aggregation.
  4. Build ratios with vector matching

    • Compute error ratios and other ratios whose label sets match.
    • Use on, ignoring, group_left and comparison operators with and without bool.
    • Explain an empty result caused by mismatched labels.
  5. Estimate percentiles with histogram_quantile

    • Compute p50, p95 and p99 latency from rates of buckets aggregated by le.
    • Judge the error of an estimate from bucket boundaries.
    • Compute the share of requests faster than a threshold.
  6. Handle missing data, staleness and time shifts

    • Explain the 5-minute lookback and staleness markers and what a query returns when a series stops.
    • Detect missing series with absent and absent_over_time, and missing targets with up.
    • Compare now with the past using offset.
Rules and Alerting (5 lessons)
  1. Precompute queries with recording rules

    • Write recording rules named level:metric:operations and load them with rule_files.
    • Explain when a recording rule helps and what a fixed range means inside it.
  2. Write alerting rules that mean something

    • Write alerting rules with for, keep_firing_for, labels and templated annotations.
    • Follow an alert through inactive, pending, firing and resolved.
    • Prefer symptom-based alerts and explain the cost of noisy ones.
  3. Unit-test rules with promtool

    • Write promtool unit tests with input series in expanding notation, alert tests and expression tests.
    • Read a failing test report and decide whether the rule or the expectation is wrong.
  4. Route and group alerts with Alertmanager

    • Configure a routing tree with matchers, receivers and continue.
    • Explain group_by, group_wait, group_interval and repeat_interval and predict when notifications arrive.
    • Deliver notifications to the local webhook receiver and read them.
  5. Inhibit, silence and template notifications

    • Write an inhibition rule and prove it suppresses the right alert.
    • Create, query and expire silences with amtool.
    • Customise notification text with a template.
Grafana Dashboards (5 lessons)
  1. Connect Grafana to Prometheus

    • Provision a Prometheus data source with the correct scrape interval and query it in Explore.
    • Explain what Grafana stores and what it only queries.
  2. Build panels that answer questions

    • Build time series, stat, gauge, table and heatmap panels for stated questions.
    • Set units, decimals, thresholds and legends so state is clear without colour alone.
    • Organise a dashboard with the RED method.
  3. Use variables and $__rate_interval

    • Add a label-values variable with multi-value and All and use it in queries.
    • Explain how $__rate_interval is calculated and why fixed ranges break at some zoom levels.
  4. Keep dashboards as provisioned files

    • Export the dashboard JSON and provision it from a file with a dashboard provider.
    • Prove the dashboard returns after the Grafana container and volume are recreated.
    • Explain what happens to interface edits of a provisioned dashboard.
  5. Grafana alerting or Prometheus rules

    • Compare Grafana-managed alert rules, contact points and notification policies with Prometheus rules and Alertmanager.
    • Choose an approach for a stated situation and avoid duplicate notifications.
Operate and Set Objectives (3 lessons)
  1. Size storage, set retention and watch Prometheus itself

    • Set retention by time and size in the configuration file and confirm it in runtime information.
    • Estimate disk need from samples per second, retention and bytes per sample.
    • Monitor Prometheus itself: head series, ingestion rate, rule evaluation failures and notification errors.
  2. Protect the endpoints

    • Explain Prometheus's security model and what the default endpoints expose.
    • Bind ports to 127.0.0.1 and enable basic authentication and TLS through the web configuration file.
    • Configure Prometheus and Grafana to keep working after authentication is enabled.
  3. Alert on service-level objectives

    • Define an availability SLI as good events over total events and choose an objective and window.
    • Write multi-window, multi-burn-rate recording and alerting rules for the shop.
    • Unit-test fast-burn and slow-burn cases and explain the chosen windows.
Troubleshoot and Final Challenge (3 lessons)
  1. Troubleshoot missing and misleading data

    • Trace a missing or misleading panel from symptom to cause using targets, scrape series, relabelling and queries.
    • Repair each fault and cite the evidence that confirms it.
  2. Troubleshoot alerts that never fire or never arrive

    • Follow an alert's path from rule to receiver and locate where it stops.
    • Repair rule, routing, inhibition, silence and delivery faults from evidence.
  3. Final challenge: monitor a new service

    • Instrument, scrape, query, record, alert on and dashboard a second supplied service using only taught skills.
    • Meet stated acceptance checks and explain the choices behind the solution.

Study views

  • Full Course
  • Revision
  • Quick Reference

Unlock all 35 lessons

Course access opens every lesson and adds revision notes, the Quick Reference, saved progress, bookmarks and your own notes.

INR 199 plus 18% GST. 90 days of online access. No auto-renewal.

Know what is included

Independent learning material from Vectametric. Not affiliated with or endorsed by the organisations behind the tools it teaches. Practice exams and projects are separate. Completing a course is not a professional certification.

Questions about courses

Are these video courses or reading courses?

The current courses use written lessons, examples and diagrams. Full Course, Revision and Cheat Sheet or Quick Reference views cover the same learning sequence at different levels of detail.

Which course should I start with?

Choose a Certification Course for a named exam, a Career Path Course for a role-led sequence, or a Skill Course for a focused subject. Read its level, prerequisites and curriculum before enrolling.

Do revision notes replace the full lessons?

No. Start with the full explanations, then use revision notes to refresh your understanding. Cheat sheets are concise study references, not a substitute for learning or permission to use notes during an official exam.

Are practice exams and projects included?

No. Course access, practice-exam bundles and project access are separate. An official certification, exam booking or voucher is not included.

How long do I have access?

The course page and checkout show the current online access period and price, including free enrollment where offered. Access starts when enrollment is confirmed and does not auto-renew.

Can I read lessons before enrolling?

Yes. Each course opens its first lessons to read without an account, and some courses are open in full. The course curriculum marks the lessons you can read now. Course access adds the remaining lessons, the Revision and Cheat Sheet or Quick Reference views, saved progress, bookmarks and personal notes.

Review the Terms and No-Refund Policy before confirming access. All sales are final; Vectametric does not offer refunds.

This website is operated by VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED, operating as Vectametric.

Corporate Identity Number (CIN): U85499KA2026OPC229822. GSTIN: 29AAMCV8281D1ZS. Registered office: RS NO/38/2A/1 BASTAND, ROAD MAHANTESH NAGAR, Ramdurg, Ramdurg, Belgaum- 591123, Karnataka.

Queries and grievances: Prajval Honnungar, Grievance Officer and Data Protection Contact.

Telephone: +91 94800 09310. Support: support@vectametric.com. Grievances: support@vectametric.com.

Copyright 2026 VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED. All rights reserved.

Vectametric home · Roadmaps · Vecta IT Exams · Vecta Government Exams · Vecta Banking & Finance Exams · Vecta Entrance Exams · About us · Contact · Privacy Policy · Terms and Conditions · No-Refund Policy