Docker 48 🐳 Monitoring Containers with Prometheus, cAdvisor, and Grafana Dashboards
A running container is not the same as a healthy container. The docker ps shows the Up status, but it does not show the CPU spikes, the memory growth, the network saturation, or the disk I/O. The monitoring stack answers the question the docker stats cannot: what is the trend, what is the historical baseline, and when does the anomaly begin? The Prometheus is the time-series database and the pull-based collector. The cAdvisor is the container metrics exporter. The Grafana is the dashboard and the query interface. The three together form the standard open-source stack for the container monitoring, and the Docker Compose runs them in the minutes.
The architecture is the pull model. The Prometheus scrapes the /metrics endpoint of the cAdvisor every 15 seconds, and the cAdvisor reads the container statistics from the Linux cgroups. The Grafana queries the Prometheus with the PromQL, and the dashboards visualize the results. The cAdvisor is the exporter, the Prometheus is the storage, and the Grafana is the presentation. The container does not need the instrumentation; the cAdvisor reads the kernel’s cgroup data, and the metrics are available for every container automatically.
The cAdvisor exposes the metrics for the CPU, the memory, the network, the filesystem, and the container metadata. The Prometheus stores them with the labels: the container name, the image, the com_docker_compose_service, the com_docker_compose_project, and the others. The Grafana dashboard uses the labels to filter and the aggregate. The PromQL is the query language: the rate(container_cpu_usage_seconds_total[5m]) is the CPU usage, the container_memory_usage_bytes is the memory, and the container_network_receive_bytes_total is the network.
This chapter covers three areas. First, why the container monitoring exists — the point-in-time problem and the historical trend. Second, the stack — the cAdvisor, the Prometheus, the Grafana, and the Compose configuration. Third, the queries and the dashboards — the PromQL, the CPU, the memory, the network, the filesystem, and the alerts. The chapter ends with a complete example session, a quick reference, best practices, common pitfalls, real-world examples, and diagrams showing the monitoring flow.
Key point: The container monitoring stack is the cAdvisor, the Prometheus, and the Grafana. The cAdvisor exports the container metrics from the cgroups, the Prometheus scrapes and stores them, and the Grafana queries them with the PromQL and the dashboards. The stack is the pull model, and the containers need no instrumentation. The cAdvisor reads the /var/run/docker.sock and the /sys/fs/cgroup for the metrics.
Why the container monitoring exists
The point-in-time problem. The docker stats shows the current CPU, the memory, and the network. It does not show the trend. The CPU spike at the 3 AM is the past, and the docker stats does not remember it. The Prometheus stores the time series, and the trend is the query away. The historical baseline is the foundation of the anomaly detection.
The alerting problem. The container that consumes the 95% of the memory should alert the operator before the OOM killer. The docker stats has no alerting. The Prometheus has the alerting rules, and the Alertmanager routes the alerts to the Slack, the email, or the PagerDuty. The proactive monitoring replaces the reactive debugging.
The correlation problem. The API latency spikes, and the cause is the database container’s CPU. The correlation requires the metrics from both containers on the same timeline. The Prometheus stores the metrics from the whole host, and the Grafana overlays them. The correlation is the visual and the immediate.
The cAdvisor problem. The container metrics live in the Linux cgroups. The cAdvisor reads the /sys/fs/cgroup and the /var/run/docker.sock, and it exposes the metrics on the /metrics endpoint. The container does not need the client library; the cAdvisor is the agent, and the metrics are the automatic.
The pull-versus-push problem. The Prometheus pulls the metrics from the exporters, and the cAdvisor is the pull target. The alternative is the push model, where the application sends the metrics. The pull model is the simpler for the infrastructure, and the push model is the flexible for the batch jobs. The pull is the default, and the Pushgateway handles the push.
The trade-off. The monitoring stack adds the three services: the cAdvisor, the Prometheus, the Grafana. The cAdvisor is the privileged and the mounts the host’s cgroups. The Prometheus stores the time series, and the retention is the disk. The trade-off is between the observability and the resources.
a. The monitoring stack
The cAdvisor. The cAdvisor runs as the privileged container, and it mounts the host’s filesystems:
services:
cadvisor:
image: gcr.io/cadvisor/cadvisor:v0.49.1
container_name: cadvisor
privileged: true
devices:
- /dev/kmsg:/dev/kmsg
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
- /sys:/sys:ro
- /var/lib/docker:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
ports:
- "8080:8080"
restart: unless-stopped
The privileged: true is the requirement for the full access to the cgroups. The /var/lib/docker is the read-only mount for the container metadata. The /sys is the cgroup filesystem. The /dev/kmsg is the kernel messages.
The Prometheus. The Prometheus scrapes the cAdvisor every 15 seconds:
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: 'cadvisor'
static_configs:
- targets: ['cadvisor:8080']
metrics_path: /metrics
scrape_interval: 5s
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
The scrape_interval is the frequency, and the targets is the cAdvisor. The job_name is the label for the metrics.
The Grafana. The Grafana connects to the Prometheus as the data source:
services:
grafana:
image: grafana/grafana:11.1.0
ports:
- "3000:3000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_USERS_ALLOW_SIGN_UP=false
volumes:
- grafana-data:/var/lib/grafana
depends_on:
- prometheus
The GF_SECURITY_ADMIN_PASSWORD is the admin password, and the grafana-data is the persistent volume.
The Prometheus with the Docker socket. The Prometheus can also scrape the Docker daemon’s metrics via the dockerd metrics endpoint, and the cadvisor is the richer source.
b. The PromQL and the dashboards
The CPU usage. The container CPU usage is the rate of the container_cpu_usage_seconds_total:
# The CPU usage per container (the cores)
sum(rate(container_cpu_usage_seconds_total{name!=""}[5m])) by (name)
# The CPU usage percentage (the 0-100)
sum(rate(container_cpu_usage_seconds_total{name!=""}[5m])) by (name) * 100 / count(node_cpu_seconds_total{mode="idle"}) without (cpu)
The rate computes the per-second rate over the 5 minutes, and the sum by (name) aggregates the cores.
The memory usage. The container memory usage is the container_memory_usage_bytes:
# The memory usage per container (the bytes)
sum(container_memory_usage_bytes{name!=""}) by (name)
# The memory usage in the MB
sum(container_memory_usage_bytes{name!=""}) by (name) / 1024 / 1024
The container_memory_usage_bytes includes the cache, and the container_memory_working_set_bytes is the active memory.
The network. The container network is the container_network_receive_bytes_total:
# The receive rate per container (the bytes/s)
sum(rate(container_network_receive_bytes_total{name!=""}[5m])) by (name)
# The transmit rate
sum(rate(container_network_transmit_bytes_total{name!=""}[5m])) by (name)
The filesystem. The container filesystem is the container_fs_usage_bytes:
# The filesystem usage per container
sum(container_fs_usage_bytes{name!=""}) by (name)
The container metadata. The cAdvisor exposes the labels: the name, the image, the com_docker_compose_service, the com_docker_compose_project. The Grafana variables use the labels for the filtering.
The Grafana dashboard. The Grafana imports the dashboard from the grafana.com, and the cAdvisor dashboard is the popular. The dashboard shows the CPU, the memory, the network, and the filesystem for the selected container.
The alerts. The Prometheus alerting rules:
groups:
- name: docker
rules:
- alert: ContainerHighCpu
expr: sum(rate(container_cpu_usage_seconds_total{name!=""}[5m])) by (name) > 0.8
for: 5m
labels:
severity: warning
annotations:
summary: "The container {{ $labels.name }} has the high CPU"
- alert: ContainerHighMemory
expr: sum(container_memory_usage_bytes{name!=""}) by (name) / 1024 / 1024 > 512
for: 5m
labels:
severity: warning
annotations:
summary: "The container {{ $labels.name }} has the high memory"
The expr is the condition, and the for is the duration.
c. The patterns and the best practices
The label for the compose service. The cAdvisor exposes the com_docker_compose_service and the com_docker_compose_project for the Compose containers. The Grafana filters by the service name.
The retention. The Prometheus retention is the --storage.tsdb.retention.time=15d, and the default is the 15 days. The long retention is the disk, and the Thanos or the Cortex extends the retention.
The scrape interval. The cAdvisor scrape interval is the 5-15 seconds. The shorter is the finer and the more data, and the longer is the cheaper and the coarser.
The cAdvisor resources. The cAdvisor uses the CPU and the memory. The limit is the --docker_only=true, which ignores the system containers, and the --housekeeping_interval=10s, which controls the collection.
The Grafana provisioning. The dashboards and the data sources are provisioned with the YAML:
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
url: http://prometheus:9090
isDefault: true
The provisioning automates the setup, and the version control tracks the configuration.
The node exporter. The host-level metrics — the CPU, the memory, the disk, the network — come from the node exporter, and the cAdvisor is the container-level. The two complement each other.
Complete Example Session
# ============================================
# PART 1: THE COMPOSE FILE
# ============================================
services:
cadvisor:
image: gcr.io/cadvisor/cadvisor:v0.49.1
container_name: cadvisor
privileged: true
devices:
- /dev/kmsg:/dev/kmsg
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
- /sys:/sys:ro
- /var/lib/docker:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
ports:
- "8080:8080"
restart: unless-stopped
networks:
- monitoring
prometheus:
image: prom/prometheus:v2.53.0
container_name: prometheus
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- ./alerts.yml:/etc/prometheus/alerts.yml
- prometheus-data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.retention.time=15d'
ports:
- "9090:9090"
restart: unless-stopped
networks:
- monitoring
grafana:
image: grafana/grafana:11.1.0
container_name: grafana
ports:
- "3000:3000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_USERS_ALLOW_SIGN_UP=false
volumes:
- grafana-data:/var/lib/grafana
- ./provisioning:/etc/grafana/provisioning
depends_on:
- prometheus
restart: unless-stopped
networks:
- monitoring
volumes:
prometheus-data:
grafana-data:
networks:
monitoring:
# ============================================
# PART 2: THE PROMETHEUS CONFIG
# ============================================
global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
- /etc/prometheus/alerts.yml
scrape_configs:
- job_name: 'cadvisor'
static_configs:
- targets: ['cadvisor:8080']
scrape_interval: 5s
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
# ============================================
# PART 3: THE ALERTS
# ============================================
groups:
- name: docker
rules:
- alert: ContainerHighCpu
expr: sum(rate(container_cpu_usage_seconds_total{name!=""}[5m])) by (name) > 0.8
for: 5m
labels:
severity: warning
annotations:
summary: "The container {{ $labels.name }} has the high CPU"
- alert: ContainerHighMemory
expr: sum(container_memory_usage_bytes{name!=""}) by (name) / 1024 / 1024 > 512
for: 5m
labels:
severity: warning
annotations:
summary: "The container {{ $labels.name }} has the high memory"
# ============================================
# PART 4: THE GRAFANA PROVISIONING
# ============================================
# provisioning/datasources/prometheus.yml
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
isDefault: true
# ============================================
# PART 5: THE PROMQL QUERIES
# ============================================
# The CPU usage
sum(rate(container_cpu_usage_seconds_total{name!=""}[5m])) by (name)
# The memory usage
sum(container_memory_usage_bytes{name!=""}) by (name) / 1024 / 1024
# The network receive
sum(rate(container_network_receive_bytes_total{name!=""}[5m])) by (name)
# The filesystem
sum(container_fs_usage_bytes{name!=""}) by (name)
# ============================================
# PART 6: THE COMPOSE SERVICE FILTER
# ============================================
# The Compose service
sum(rate(container_cpu_usage_seconds_total{com_docker_compose_service!=""}[5m]))
by (com_docker_compose_service)
# The Compose project
sum(container_memory_usage_bytes{com_docker_compose_project="myapp"})
by (com_docker_compose_service)
# ============================================
# PART 7: THE CADVISOR ENDPOINT
# ============================================
curl http://localhost:8080/metrics | grep container_cpu_usage
# HELP container_cpu_usage_seconds_total Cumulative cpu time consumed
# TYPE container_cpu_usage_seconds_total counter
# container_cpu_usage_seconds_total{...} 123.45
# ============================================
# PART 8: THE PROMETHEUS ENDPOINT
# ============================================
# The targets
curl http://localhost:9090/api/v1/targets
# The query
curl 'http://localhost:9090/api/v1/query?query=up'
# ============================================
# PART 9: THE GRAFANA DASHBOARD
# ============================================
# Import the cAdvisor dashboard:
# 1. The Grafana → the Dashboards → the Import
# 2. The ID: 14282 (the cAdvisor dashboard)
# 3. The data source: the Prometheus
# 4. The Import
# ============================================
# PART 10: THE LFCS PIPELINE
# ============================================
# The start
docker compose up -d
# The cAdvisor
open http://localhost:8080
# The Prometheus
open http://localhost:9090/targets
# The Grafana
open http://localhost:3000
# The login: the admin / the admin
The ten parts show the Compose file, the Prometheus config, the alerts, the Grafana provisioning, the PromQL queries, the Compose service filter, the cAdvisor endpoint, the Prometheus endpoint, the Grafana dashboard, and the LFCS pipeline.
Quick Reference
The Stack Components
| Component | The role | The port |
|---|---|---|
| cAdvisor | The container metrics | 8080 |
| Prometheus | The time series | 9090 |
| Grafana | The dashboards | 3000 |
| Node Exporter | The host metrics | 9100 |
The cAdvisor Metrics
| Metric | The purpose |
|---|---|
container_cpu_usage_seconds_total | The CPU |
container_memory_usage_bytes | The memory |
container_memory_working_set_bytes | The active memory |
container_network_receive_bytes_total | The network |
container_fs_usage_bytes | The filesystem |
container_last_seen | The container uptime |
The PromQL Functions
| Function | The purpose |
|---|---|
rate(...) | The per-second rate |
irate(...) | The instant rate |
sum(...) by (...) | The aggregation |
avg(...) by (...) | The average |
increase(...) | The total increase |
count_over_time(...) | The count |
The Labels
| Label | The source |
|---|---|
name | The container name |
image | The image |
com_docker_compose_service | The Compose service |
com_docker_compose_project | The Compose project |
The Commands
| Command | The purpose |
|---|---|
docker compose up -d | The start |
curl http://localhost:8080/metrics | The cAdvisor |
curl http://localhost:9090/targets | The Prometheus targets |
docker compose down | The stop |
Best Practices
✅ Do This:
# Use the privileged for the cAdvisor
privileged: true # ✅
# Mount the docker and the cgroup
volumes:
- /var/lib/docker:/var/lib/docker:ro
- /sys:/sys:ro # ✅
# Use the retention
--storage.tsdb.retention.time=15d # ✅
# Use the compose labels
com_docker_compose_service # ✅
# Use the Grafana provisioning
provisioning/datasources/prometheus.yml # ✅
# Use the alerts
- alert: ContainerHighCpu # ✅
❌ Don’t Do This:
# Don't forget the privileged
cadvisor:
image: gcr.io/cadvisor/cadvisor # the metrics are incomplete // ❌
# Don't use the latest tag
image: gcr.io/cadvisor/cadvisor:latest # the pinned is the better // ❌
# Don't forget the retention
prometheus # the disk fills up // ❌
# Don't ignore the alerts
# The Prometheus rule_files // ❌
# Don't use the raw container id
container_name="abc123" # the name label is the better // ❌
# Don't skip the node exporter
# The host metrics are the missing // ❌
Common Pitfalls
| The pitfall | The why | The fix |
|---|---|---|
| The metrics are missing | The no privileged | Add the flag |
| The cAdvisor crashes | The wrong mounts | Check the /sys and the /var/run |
| The Prometheus cannot scrape | The wrong target | Check the cadvisor:8080 |
| The disk fills up | The no retention | Set the retention |
| The Grafana has no data | The wrong data source | Check the prometheus:9090 |
| The labels are empty | The wrong metric | Check the cAdvisor labels |
| The alerts are firing too much | The too low threshold | Tune the expr and the for |
Real-World Examples
1. The cAdvisor
cadvisor:
image: gcr.io/cadvisor/cadvisor:v0.49.1
privileged: true
ports: ["8080:8080"]
2. The Prometheus
prometheus:
image: prom/prometheus:v2.53.0
ports: ["9090:9090"]
3. The Grafana
grafana:
image: grafana/grafana:11.1.0
ports: ["3000:3000"]
4. The Scrape Config
scrape_configs:
- job_name: cadvisor
static_configs: [{ targets: ['cadvisor:8080'] }]
5. The CPU Query
sum(rate(container_cpu_usage_seconds_total[5m])) by (name)
6. The Memory Query
sum(container_memory_usage_bytes) by (name) / 1024 / 1024
7. The Network Query
sum(rate(container_network_receive_bytes_total[5m])) by (name)
8. The Alert
- alert: ContainerHighCpu
expr: rate(container_cpu_usage_seconds_total[5m]) > 0.8
9. The Data Source
url: http://prometheus:9090
10. The Complete
docker compose up -d
# the cAdvisor: :8080, the Prometheus: :9090, the Grafana: :3000
Visual
The Monitoring Flow
┌──────────────────────────────────────────────────────────────┐
│ THE MONITORING FLOW │
│ │
│ The containers: │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ app, db, cache, proxy │ │
│ └──────────────────────────────────────────────────────┘ │
│ │ │
│ │ the cgroups │
│ ▼ │
│ The cAdvisor: │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ the /metrics endpoint on the 8080 │ │
│ └──────────────────────────────────────────────────────┘ │
│ │ │
│ │ the scrape every 5-15s │
│ ▼ │
│ The Prometheus: │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ the time series on the 9090 │ │
│ └──────────────────────────────────────────────────────┘ │
│ │ │
│ │ the PromQL │
│ ▼ │
│ The Grafana: │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ the dashboards on the 3000 │ │
│ └──────────────────────────────────────────────────────┘ │
│ │
└──────────────────────────────────────────────────────────────┘
The Metric Types
┌──────────────────────────────────────────────────────────────┐
│ THE METRIC TYPES │
│ │
│ THE CPU: │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ container_cpu_usage_seconds_total (the counter) │ │
│ │ → the rate(...) gives the cores used │ │
│ └──────────────────────────────────────────────────────┘ │
│ │
│ THE MEMORY: │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ container_memory_usage_bytes (the gauge) │ │
│ │ → the current usage in the bytes │ │
│ └──────────────────────────────────────────────────────┘ │
│ │
│ THE NETWORK: │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ container_network_receive_bytes_total (the counter) │ │
│ │ → the rate(...) gives the bytes/s │ │
│ └──────────────────────────────────────────────────────┘ │
│ │
│ THE FILESYSTEM: │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ container_fs_usage_bytes (the gauge) │ │
│ │ → the current usage │ │
│ └──────────────────────────────────────────────────────┘ │
│ │
└──────────────────────────────────────────────────────────────┘
The PromQL Functions
┌──────────────────────────────────────────────────────────────┐
│ THE PROMQL FUNCTIONS │
│ │
│ rate(container_cpu_usage_seconds_total[5m]) │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ The per-second rate over the 5 minutes. │ │
│ │ The result: the CPU cores used. │ │
│ └──────────────────────────────────────────────────────┘ │
│ │
│ sum(...) by (name) │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ The aggregation by the container name. │ │
│ │ The result: the one value per container. │ │
│ └──────────────────────────────────────────────────────┘ │
│ │
│ increase(container_network_receive_bytes_total[1h]) │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ The total increase over the 1 hour. │ │
│ │ The result: the bytes received. │ │
│ └──────────────────────────────────────────────────────┘ │
│ │
└──────────────────────────────────────────────────────────────┘
The Docker Socket and the cgroups
┌──────────────────────────────────────────────────────────────┐
│ THE DOCKER SOCKET AND THE CGROUPS │
│ │
│ The cAdvisor: │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ volumes: │ │
│ │ - /var/run/docker.sock:/var/run/docker.sock:ro │ │
│ │ - /sys/fs/cgroup:/sys/fs/cgroup:ro │ │
│ │ - /var/lib/docker:/var/lib/docker:ro │ │
│ │ │ │
│ │ The socket: the container metadata │ │
│ │ The cgroup: the CPU, the memory, the I/O │ │
│ │ The /var/lib/docker: the filesystem │ │
│ └──────────────────────────────────────────────────────┘ │
│ │
│ The privileged: true is the requirement for the full │
│ access to the cgroups. │
│ │
└──────────────────────────────────────────────────────────────┘
Summary
| Item | Value |
|---|---|
| cAdvisor | The container metrics exporter |
| Prometheus | The time-series database |
| Grafana | The dashboards |
| Node Exporter | The host metrics |
| The scrape interval | 5-15s |
| The retention | 15d |
| The CPU metric | container_cpu_usage_seconds_total |
| The memory metric | container_memory_usage_bytes |
| The network metric | container_network_receive_bytes_total |
| The filesystem metric | container_fs_usage_bytes |
Key takeaways:
- The container monitoring stack is the cAdvisor, the Prometheus, and the Grafana. The cAdvisor exports the container metrics from the cgroups, the Prometheus scrapes and stores them, and the Grafana queries them with the PromQL and the dashboards.
- The cAdvisor runs as the privileged container and mounts the Docker socket and the cgroups. The
privileged: trueis the requirement for the full access, and the/sysand the/var/lib/dockerare the mounts. - The Prometheus pulls the metrics from the cAdvisor. The
scrape_configsdefines the target, and thescrape_intervalis the frequency. The pull model is the default. - The Grafana connects to the Prometheus and visualizes the metrics. The data source is the
http://prometheus:9090, and the dashboards import from the grafana.com. - The PromQL is the query language. The
rate(...)computes the per-second rate, and thesum(...) by (...)aggregates. The CPU, the memory, the network, and the filesystem are the common queries. - The cAdvisor exposes the Compose labels. The
com_docker_compose_serviceand thecom_docker_compose_projectallow the filtering by the Compose service. - The Prometheus alerting rules detect the anomalies. The
expris the condition, and theforis the duration. The Alertmanager routes the alerts. - The retention controls the disk. The
--storage.tsdb.retention.time=15dis the default, and the Thanos extends it. The result is the observable containers, which is the foundation of the container operations.
Remember: The container monitoring stack is the cAdvisor, the Prometheus, and the Grafana. The cAdvisor reads the cgroups and the Docker socket, and it exposes the metrics on the /metrics endpoint. The Prometheus scrapes the endpoint and stores the time series. The Grafana queries the Prometheus with the PromQL and the dashboards. The stack is the pull model, and the containers need no instrumentation. The result is the historical metrics, the trend, and the alerts, which is the foundation of the proactive operations.
Stop using slow, ad-bloated tool sites! 🤮
🔎 Search “KandZ Tools” on Google to use many professional utilities for free.
KandZ.me is the ultimate minimalist hub for:
✅ Finance (Mortgage, Interest, Inflation)
✅ Tech (Base64, JSON, Dev Suite, IP)
✅ Health (BMI, BMR, TDEE)
✅ Productivity (Timer, Workspace, QR)
⚡️ Fast & Private
🔒 No data leaves your device
💎 100% Free
🔗 Use it now: https://tools.kandz.me
🔖 Bookmark it—you’ll need it later!