~/talk

Metrics as a First-Class Citizen in the E2E Testing Landscape

links:none on file
slides:none on file

Claims that instrumented apps can drive E2E tests by asserting on exposed Prometheus metrics rather than external exit codes, implemented with a Go e2e framework, Docker and Prometheus. The demo spins up an instrumented example app and Prometheus, waits until head_samples > 50 as a precondition, opens a browser and requires 5 HTTP requests observed by http_request_total before completing. Applied to Thanos and Observatorium repositories, the metric-driven interactive tests run successfully and enable fine-grained control, retries, and fail‑fast behavior.

AI-written summary · about

  1. 0:00Introduction
  2. 0:44About Matej
  3. 1:09Agenda
  4. 2:57Why do you need metrics
  5. 3:41Resources
  6. 3:58Instrumentation
  7. 4:44Metrics in Testing
  8. 6:31What is even better
  9. 6:56Making more detailed test assertions
  10. 7:50Better control over test scenarios
  11. 8:54More complex scenarios
  12. 9:22Extra data points
  13. 9:53Test types
  14. 11:51Unit test integration test entry test
  15. 14:21The Framework
  16. 18:47Demonstration
  17. 24:22Demo
  18. 27:38Running the test
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.