Skip to content

Conversation

AdamFR00
Copy link
Contributor

@AdamFR00 AdamFR00 commented Oct 6, 2025

Assignment Proposal

Title

Observability for Containerized Apps with cAdvisor, Prometheus & Grafana

Names and KTH ID

Deadline

  • Task 3

Category

  • Executable tutorial

Description

This executable tutorial will cover container observability, where we will set up a monitoring stack including Prometheus for collecting and storing metrics, Grafana visualize and understanding our data, and cAdvisor for gathering detailed resource metrics directly from the running containers, a layer Prometheus alone does not cover.

This stack will monitor a simple Flask application. We will put the app under different kinds of load, like using a /cpu-stress endpoint, and then observe these performance changes using cAdvisor's metrics. KillerKoda will handle setting up services, monitoring, and testing, all in one place.

General structure

  1. Explain container observability in DevOps. Define Prometheus, Grafana, and cAdvisor.
  2. Create all necessary config files. Build and start the monitoring stack.
  3. Verify cAdvisor data collection. Set up Grafana to visualize cAdvisor's container performance metrics.
  4. Trigger different load on the Flask app's container. See changes in cAdvisor data highlighted on their Grafana dashboards

Relevance

Container observability is essential in DevOps for understanding service performance. This tutorial uses cAdvisor to provide low-level data about container resource use, which is important for using resources smartly, identifying problems, and ensuring apps run optimally.

Link to tutorial
You can find our finished tutorial here

@sofiabobadilla
Copy link
Collaborator

We have received the submission.

The tutorial will be graded in the upcoming weeks, and the grades will be reported on canvas.

Thank you for your work.

@sofiabobadilla sofiabobadilla self-assigned this Oct 9, 2025
@sofiabobadilla sofiabobadilla merged commit 2a83a54 into KTH:2025 Oct 9, 2025
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants