Shipped dashboards¶
PerfShop ships 13 Grafana dashboards organized into two folders — Students (7 dashboards readable by everyone, including the home) and Instructors (6 Admin-only dashboards, including the lab 12 reference dashboard); a third folder, Ateliers élèves, receives the dashboards built by students (see Grafana). This page lists each dashboard, its UID, target audience, primary datasource, and all of its panels, read directly from the source JSON files.
Source of truth
All panel titles, UIDs, and datasources on this page are extracted programmatically from the grafana/dashboards/eleves/*.json and grafana/dashboards/formateurs/*.json files. No title is paraphrased: it is the exact label as displayed to the user. The perfshop-test-ai dashboard is provisioned from a sibling package (test-ai/docker/grafana/dashboards/test-ai.json) via the T1-1 pattern (nested mount + dedicated provider) — see qa/test-ai-live-viewer.md.
Summary table¶
| Folder | File | UID | Primary datasource(s) | Panels |
|---|---|---|---|---|
| Students | dashboard-accueil.json |
perfshop-accueil |
— (text + dashboard lists) | 3 |
| Students | dashboard-apm-eleve.json |
perfshop-apm-eleve |
Prometheus + Tempo + Pyroscope | 16 |
| Students | dashboard-backend-eleve.json |
perfshop-backend-eleve |
Prometheus | 18 |
| Students | dashboard-frontend-eleve.json |
perfshop-frontend-eleve |
Prometheus | 25 |
| Students | dashboard-jmeter.json |
perfshop-jmeter-live |
Prometheus + Loki | 25 |
| Students | dashboard-logs-eleve.json |
perfshop-logs-eleve |
Loki | 6 |
| Students | test-ai/docker/grafana/dashboards/test-ai.json (external provider) |
perfshop-test-ai |
Prometheus (/api/metrics) |
6 |
| Instructors | dashboard-apm-formateur.json |
perfshop-apm-formateur |
Prometheus + Tempo + Pyroscope | 20 |
| Instructors | dashboard-backend-formateur.json |
perfshop-backend-formateur |
Prometheus | 25 |
| Instructors | dashboard-frontend-formateur.json |
perfshop-frontend-formateur |
Prometheus | 32 |
| Instructors | dashboard-logs-formateur.json |
perfshop-logs-formateur |
Loki | 10 |
| Instructors | dashboard-sre-premiere-minute.json |
sre-premiere-minute |
Prometheus + Tempo + Loki | 7 |
| Instructors | perfshop-general-v1.json |
perfshop-general-v1 |
Prometheus (docker job) | 13 |
Total: 206 panels (rows excluded) across 13 dashboards, recounted from the JSON files on 2026-09-28. The organization home is PerfShop — Accueil (perfshop-accueil, Students folder), set by the Grafana seed: this is what anonymous visitors and the student account see when landing on the Grafana URL without specifying a path. The administrator account lands on perfshop-general-v1 (a preference of that account only, set by the seed).
Dashboard titles
The dashboards are in French only, on an English-language platform too. The titles quoted below are English renderings; the lab documents quote the exact French title with an English gloss.
Students folder¶
perfshop-accueil — PerfShop — Accueil (organization home)¶
Target audience: students and anonymous visitors — organization home set by the Grafana seed (PATCH /api/org/preferences {"homeDashboardUID":"perfshop-accueil"}).
Panels: Bienvenue — Welcome (bilingual text: which dashboard to open for which signal; the folder's dashboards are read-only; the student account saves its dashboards in Ateliers élèves) · Dashboards élèves — Student dashboards (list of the Students folder) · Ateliers élèves — dashboards construits par les élèves (student-built dashboards) (list of the Ateliers élèves folder).
perfshop-apm-eleve — Student APM (Traces + Latencies)¶
Target audience: a student who wants to understand global backend latencies, observe recent traces, and explore a CPU flamegraph.
Sections and panels:
| # | Section | Panels |
|---|---|---|
| 1 | Overview — Application health | HTTP requests / min (stat) · P95 latency — all routes (stat) · HTTP 5xx error rate (stat) · JVM heap used (stat — maximum: 990 MiB, -Xmx1g) |
| 2 | Latencies — Spotting degradations | P50 / P95 / P99 latency — all routes (timeseries) |
| 3 | Traces — Searching for anomalies | Pedagogical guide (text) · HTTP 5xx errors (last hour) (stat) · Distinct HTTP routes (stat) · Max observed latency (stat) · "TraceQL toolbox" (text) · Recent traces — API HTTP requests (click a Trace ID) (TraceQL table {kind=server && span.http.route =~ "/api/.*"}) |
| 4 | JVM — Memory & Threads | JVM heap — Used / Max (timeseries) · JVM threads — live / daemon (timeseries) |
| 5 | CPU profiling — Pyroscope flamegraphs | Pedagogical guide (text) · CPU Flamegraph — JVM CPU profile (process_cpu) (flamegraph) · Lock contention — waits on JVM monitors (mutex profile) (flamegraph) |
Specificities: the counters of the overview and of the Traces section read the Micrometer HTTP metrics (http_server_requests_seconds_*), not Tempo — "HTTP requests / min" counts requests, not traces. The trace table only keeps the server spans of the /api/* routes (no scheduled tasks nor actuator scrapes). A single CPU panel (process_cpu:cpu:nanoseconds:cpu:nanoseconds, the only CPU type published by the agent — measured under Docker Desktop, itimer mode; not verified on native Linux). The contention panel stays empty as long as the lock_contention lever (scenario N3-07) is not active under concurrent load.
Pyroscope datasource is used for the flamegraphs; Tempo for the TraceQL table; Prometheus for everything else.
perfshop-backend-eleve — Student Backend (Analysis)¶
Target audience: a student who wants to understand the health of the Spring Boot backend — CPU, JVM, threads, database, HTTP latencies.
Sections and panels:
| # | Section | Panels |
|---|---|---|
| 1 | Real-time indicators | Application CPU (stat) · JVM memory (stat) · JVM threads (stat) · Active DB connections (stat) · HTTP threads busy (stat) · p99 response time (stat) |
| 2 | Application metrics | CPU — Application container (timeseries) · JVM heap — used vs max (timeseries) · Tomcat HTTP threads — busy vs max (timeseries) · GC — Pause time (timeseries) · DB connections — HikariCP pool state (timeseries) · DB connection acquisition time (ms) (timeseries) · HTTP request rate — 2xx / 5xx (timeseries) · HTTP response time — p50 / p95 / p99 (timeseries) · /api/products latency — p50 / p95 / p99 (timeseries) · /api/products HTTP errors (timeseries) · GC — Collection frequency (timeseries) · JVM threads — states (timeseries) |
Single datasource: Prometheus.
Metrics used (all listed in prometheus.md): docker_container_cpu_percent, jvm_memory_used_bytes, jvm_memory_max_bytes, jvm_threads_live_threads, jvm_threads_states_threads, hikaricp_connections_*, tomcat_threads_*, http_server_requests_seconds_*, jvm_gc_pause_seconds_*.
perfshop-frontend-eleve — Student Frontend (Analysis)¶
Target audience: a student who wants to observe the impact of a chaos on the frontend — both on the nginx container side and on the browser side (Web Vitals).
Sections and panels:
| # | Section | Panels |
|---|---|---|
| 1 | Nginx container | Container CPU · Container RAM · RAM % · Network IN · Network OUT · Processes (6 stats) |
| 2 | Client browser — JS performance | FPS · JS heap · Long Tasks/s · Fetch requests/s · DOM nodes · Fetch requests/s (6 stats — Web Vitals pushed by chaos-agent.js) |
| 3 | Worker CPU & metric freshness | Active Worker CPU (stat) · Client metrics age (s) (stat) · Fetch requests/s — trend (timeseries) |
| 4 | Time series — Container | CPU — Nginx container · RAM — usage vs limit · Network IN / OUT (bytes/s) · Disk I/O (bytes/s) (4 timeseries) |
| 5 | Time series — Browser JS | FPS (frames per second) · JS heap used (MB) · Long Tasks per second (tasks >50ms) · Fetch requests issued (req/s) · DOM nodes · Container OUT network (bytes/s) (6 timeseries) |
Specificity: this dashboard mixes two very different metric families — docker_container_* (job perfshop-docker, periodic scrape) and perfshop_client_* (pushed in real time by chaos-agent.js from the student's browser). See dashboard-html.md for the details of the client → backend → Prometheus flow.
Single datasource: Prometheus.
perfshop-jmeter-live — JMeter Load Test¶
Target audience: a student who launches a JMeter run via perfshop-jmeter-ui and wants to track the run in real time as well as the impact on the backend.
Sections and panels:
| # | Section | Panels |
|---|---|---|
| 1 | JMeter — Current run overview | Active vUsers · Transactions/s · Error rate % · P95 (ms) · Total samples · Mean time (ms) (6 stats) |
| 2 | Response times | P50 / P95 / P99 / Avg latency (ms) · P95 / P99 latency by label (sampler) (2 timeseries) |
| 3 | Throughput & errors | Transactions/s (success + errors) · Success / error rate % (by label) · Transactions/s by label (sampler) · Cumulative transactions by label (3 timeseries + 1 bargauge) |
| 4 | Virtual users (threads) | Active / started / finished threads · Cumulative samples (total) (2 timeseries) |
| 5 | PerfShop backend correlation (JVM + Spring Boot) | Backend JVM heap (used / max) · Backend HTTP error rate (4xx / 5xx) · Backend P50 / P95 / P99 latency (Spring Boot) · JVM threads (daemon / non-daemon) · Backend CPU (process) · Backend latency by endpoint (P95) (6 timeseries) |
| 6 | Logs — JMeter & JMeter UI | Logs — perfshop-jmeter (JMeter runs) (Loki logs) · Logs — perfshop-jmeter-ui (Node.js API) (Loki logs) |
Specificity: this is the only Student dashboard that mixes three sources — Prometheus (jmeter_* metrics and backend metrics), Loki (JMeter and JMeter UI logs). It is used to correlate in real time: "my run applies 200 vUsers → what is the impact on the JVM heap and the HikariCP pool?".
Loki datasource is used on the last two panels via the selectors {container="perfshop-jmeter"} and {container="perfshop-jmeter-ui"}.
perfshop-logs-eleve — Student Logs (Filtered)¶
Target audience: a student who wants to read backend logs, errors, and frontend nginx and database logs — with filtering that excludes the chaos engine internal logs (so as not to spoil what is happening under the hood).
Sections and panels:
| # | Section | Panels |
|---|---|---|
| 1 | Spring Boot backend logs | Application logs — Spring Boot backend (Loki logs, exclusion of [BusinessChaos], [BackendChaos], [SecurityChaos], [FunctionalChaos], [ChaosInterceptor], [FrontendChaos], [ChaosScripting], [Portal], chaos_intensity, then \| json \| chaos_family="", displayed as level class message) |
| 2 | Errors & exceptions | Backend errors only (ERROR / Exception) (Loki logs, level="ERROR" label, same exclusions, Java stack trace shown under the message) |
| 3 | Frontend & database logs | Nginx logs — Frontend HTTP access (Loki logs) · MySQL logs — Database (Loki logs, exclusion filter [note]) |
| 4 | Analysis — Volume & trends | Log volume by level (excluding chaos) (timeseries — sum by (level) on the level label, chaos exclusions) · Nginx HTTP errors (4xx / 5xx) (timeseries — count_over_time \| " 4" and \| " 5") |
Exclusion strategy: the != on the text and chaos_family="" on the JSON field hide every line of the chaos engines. This is intentional — the student must observe the impact (exception, latency) without reading the answer. Consequence: an error whose stack trace mentions an engine is hidden too (e.g. the order error under F1, whose stack trace contains [FunctionalChaos][F1]) — the student finds it in the traces. The [StudentChaos] lines (the student's own actions) remain visible. Instructors have their own logs dashboard without these exclusions.
Single datasource: Loki.
Instructors folder¶
perfshop-apm-formateur — Instructor APM (Tempo + Pyroscope)¶
Target audience: an instructor who wants to investigate in depth — failing traces by route, SQL queries, chaos control actions, CPU / contention / allocation profiles.
Sections and panels:
| # | Section | Panels |
|---|---|---|
| 1 | Distributed traces — Tempo | HTTP requests / min (by route) (timeseries) · P95 latency — /api/orders · HTTP 5xx errors / min · Functional Chaos level · JVM heap used · HTTP 5xx errors (5 min) · F4 — Silent corruptions (5 min) (6 stats) |
| 2 | Latencies & error rates — HTTP metrics (Micrometer) | P50 / P95 / P99 latency — all routes (timeseries) · Error rate per operation (timeseries) |
| 3 | Trace explorer — Tempo | Chaos control actions (routes /api/admin/chaos/*) (TraceQL table {span.http.route =~ "/api/admin/chaos/.*" && span.http.method != "GET" && span.http.method != "OPTIONS"}) · Instrumented SQL traces — captured JDBC queries ({span.db.statement != ""}) · F1 / F2 — orders failing with 500 (exception type in the trace) ({span.http.route="/api/orders" && span.http.status_code=500}) · Server errors 5xx — all routes ({kind=server && span.http.status_code >= 500}) · F3 — catalog failing with 500 (OutOfMemoryError in the trace) ({span.http.route="/api/products" && span.http.status_code=500}) · Recent traces — API HTTP requests ({kind=server && span.http.route =~ "/api/.*"}) |
| 4 | Continuous profiling — Pyroscope (flamegraphs) | CPU Flamegraph — JVM CPU profile (process_cpu) · Lock contention — mutex profile (lock_contention lever, scenario N3-07) · Memory allocations — allocation profile: F3, leak, GC pressure (3 flamegraphs) |
| 5 | JVM details — Memory / Threads / GC | JVM heap — Used / Committed / Max (timeseries) · JVM threads — live / daemon / peak (timeseries) |
Specificity: this is the most complete dashboard — TraceQL by route and HTTP status, Pyroscope flamegraphs (CPU, lock contention, allocations: F3, memory leak, GC pressure) and Micrometer HTTP metrics. Tempo 2.4.2 does not search span events: the type of an exception (java.lang.NullPointerException for F1, java.lang.OutOfMemoryError for F3) is read in the trace opened from a table, not in the query.
The Chaos control actions panel lists the writes to the /api/admin/chaos/* routes (POST, DELETE) — which levers were set, and when. State reads (GET), which an open trainer console polls every 5 s, and CORS preflights (OPTIONS) are excluded: without this filter they fill the table's 20 rows and push the actions out. No header appears in it: the OpenTelemetry agent only captures Content-Type.
perfshop-backend-formateur — Instructor Backend (Analysis)¶
Target audience: extended version of the Student Backend dashboard, with additional sections on chaos state.
Sections and panels:
| # | Section | Panels |
|---|---|---|
| 1 | Real-time indicators | Identical to the Student dashboard (6 stats) |
| 2 | Application metrics | Identical to the Student dashboard (12 timeseries) |
| 3 | Chaos state — Instructor | Chaos anomaly intensity (bargauge) · Chaos anomaly evolution over time (timeseries) — 9 series chaos_intensity{type="cpu|memory|gc_pressure|thread_pool|db_pool|slow_query|deadlock|network|lock_contention"} |
| 4 | Scripting Chaos — HTTP activity (marker section, no dedicated panel) | — |
| 5 | Security Chaos — OWASP activity | Security Chaos requests by type (timeseries rate(...uri=~".*/api/security.*"), rate(...uri=~".*/api/chaos.*")) · Checkout & Auth activity — Endpoints subject to Scripting Chaos (timeseries rate(...uri=~".*/api/auth.*"), rate(...uri=~".*/api/checkout.*\|.*/api/orders.*"), rate(...status=~"4..")) · 4xx error rate (rejected tokens) (stat) · Checkout p99 latency (stat histogram_quantile(0.99, ...uri=~".*/api/checkout.*\|.*/api/orders.*")) · HTTP success rate (%) (stat) |
Single datasource: Prometheus.
Specificity: the "Chaos state" section exposes the custom gauge chaos_intensity{type=...} declared by the backend ChaosService. The instructor sees at a glance which chaos types are active and at what intensity.
perfshop-frontend-formateur — Instructor Frontend (Analysis)¶
Target audience: extended version of the Student Frontend dashboard, with additional sections on Frontend Chaos correlation.
Sections and panels:
| # | Section | Panels |
|---|---|---|
| 1 to 5 | (Identical to the Student dashboard) | 23 panels reproduced identically |
| 6 | Frontend Chaos — State & impact | Active Worker CPU (stat) · Fetch flood — client req/s (stat) · Browser FPS (stat) · Client metrics age (s) (stat) · Correlation — FPS, Fetch flood, Worker CPU, Long Tasks (multi-series timeseries) |
| 7 | Detailed impact — Observed degradation | FPS vs Long Tasks — UI degradation (CPU chaos) (timeseries) · Fetch flood vs JS heap — Correlation (fetch + memory chaos) (timeseries) |
Specificity: the two final panels in section 7 are correlation panels that overlay several browser metrics to show the effect of a frontend chaos on Web Vitals. When the CPU Worker chaos is active, the instructor sees FPS drop and Long Tasks explode on the same graph instantly.
perfshop-logs-formateur — Instructor Logs (Complete)¶
Target audience: an instructor who wants to see everything — the chaos engine internal logs are included here, unlike the Student dashboard.
Sections and panels:
| # | Section | Panels |
|---|---|---|
| 1 | Search & filters | Spring Boot backend logs — Complete (instructor) (Loki logs {container="perfshop-app"} \| json \| line_format …) |
| 2 | Chaos logs — Backend | BusinessChaos logs (Business A1-A16) only (\| json \| chaos_family="business") · Performance logs (BackendChaos + ChaosInterceptor: CPU, memory, pools, network) (chaos_family="performance") · SecurityChaos + Portal logs (S1-S12) only (chaos_family="security") · FunctionalChaos logs (F1-F4) only (chaos_family="functional") |
| 3 | Frontend & database logs | Nginx logs — Frontend · MySQL logs — Database |
| 4 | Volume & error rates | Log volume by level (backend) (timeseries — sum by (level) (count_over_time({container="perfshop-app", level=~".+"} [1m]))) · Chaos log volume by family (timeseries — sum by (chaos_family)) · Chaos events by anomaly or scenario (scenario_id) (timeseries — sum by (scenario_id)) |
Single datasource: Loki.
LogQL strategy: every backend line is JSON (see Loki). The level is a label set by Promtail (level); the chaos family, level and code are fields read at query time: | json | chaos_family="business" only keeps the lines written by the business engine, with its anomaly code (scenario_id) and its level (chaos_level).
sre-premiere-minute — SRE — Première minute (backend) (lab 12 reference)¶
Target audience: instructors — reference dashboard of the lab observabilite-apm/cahier-des-charges-dashboard, identical to the JSON of its answer key. Deployed automatically in the Instructors folder, it is the model to compare with the dashboards students save in Ateliers élèves.
Panels: Débit total (exemple) · E1 — Erreurs serveur (5xx) par code · E2 — Latence p95 par route · E3 — Pool de connexions (HikariCP) · E4 — Heap de la JVM (utilisé / maximum) · E5 — Traces en erreur 500 (Tempo, TraceQL {kind=server && span.http.status_code=500}) · E6 — Logs d'erreur du backend (Loki).
perfshop-general-v1 — Container Overview (administrator account home)¶
Target audience: instructors — home of the administrator account, set by the Grafana seed via PATCH /api/user/preferences {"homeDashboardUID":"perfshop-general-v1"} (a preference of that account only; anonymous visitors have no access to it: Instructors folder).
Sections and panels:
| # | Section | Panels |
|---|---|---|
| 1 | Global overview | Total CPU (stat sum(docker_container_cpu_percent)) · Total RAM (stat sum(docker_container_mem_usage_bytes)) · Total IN network (stat sum(rate(docker_container_net_rx_bytes[1m]))) · Total OUT network (stat sum(rate(docker_container_net_tx_bytes[1m]))) |
| 2 | All-container comparison | CPU % — all containers (timeseries docker_container_cpu_percent) · RAM — all containers (timeseries docker_container_mem_usage_bytes) · Network IN — all containers · Network OUT — all containers · Disk I/O Read — all · Disk I/O Write — all (6 timeseries) |
| 3 | Comparative bargauges | CPU % — instant comparison (bargauge) · RAM % — instant comparison (bargauge) |
| 4 | Recap table | State of all containers (table with cpu_percent, mem_percent, mem_usage_bytes) |
Single datasource: Prometheus, perfshop-docker job exclusively.
Specificity: this is a dashboard placed in the Instructors folder, but it uses only the docker_container_* metrics (so no JVM panels, no HTTP panels). This is intentional — the "general" version focuses on infrastructure and container state, without going into application-level detail.
Visible containers
As explained in prometheus.md, only four containers are monitored by the perfshop-monitoring service that produces the docker_container_* metrics: perfshop-frontend, perfshop-app, perfshop-db, perfshop-monitoring. The other services in the stack (Grafana, Loki, Tempo, Squash TM, etc.) do not appear on this dashboard. This is consistent with the pedagogical use case: the front → back → DB chain is monitored during chaos demos, not the observability stack itself.
How to add or modify a dashboard¶
The shipped dashboards are reloaded every 10 seconds by Grafana (updateIntervalSeconds: 10 in dashboards.yml). Three ways to modify them:
| Approach | When? | Drawback |
|---|---|---|
| Direct edit in the Grafana UI | Quick test, exploration | Overwritten every 10 s by the file content |
| Edit the JSON file then copy into the bind mount | Development | Requires knowing the Grafana JSON structure |
| Export from the UI then replace the file | Lasting modification | The exported JSON contains useless UI keys to clean up |
To add a new shipped dashboard, drop a JSON file into grafana/dashboards/eleves/ or grafana/dashboards/formateurs/ depending on the target. Grafana will detect it within the next 10 seconds, with no container restart.
For a dashboard carried by a sibling package (like test-ai/), prefer the T1-1 pattern: a dedicated Grafana provider in grafana/provisioning/dashboards/ (with a shared folderUid to preserve folder UX) + a nested mount ./<package>/docker/grafana/dashboards:/etc/grafana/dashboards/<package>:ro in all 3 docker-compose*.yml files (grafana service). See grafana/provisioning/dashboards/test-ai.yml as a working example.