~/talk

Supercharging API Monitoring with Guzzle Middleware - Liam Hammett

Talkat PHP UK Conference 2025 · on Wednesday, 2025-02-19· [php, observability]
links:none on file
slides:none on file

Claims an operational system handling millions of API calls per week built around Guzzle middleware that captures structured logs to Kibana, errors to Sentry, traces to OpenZipkin/Jaeger (via Tempo) and metrics as Prometheus metrics with Grafana, Alertmanager and KEDA. Shows middleware code for request/response logging, OpenTelemetry spans and counters, Grafana dashboards and alert rules. Demo uses a Prometheus scrape workaround because the OTLP metrics exporter fails in the demo, and the repository and setup scripts are published.

AI-written summary · about

  1. 0:00API monitoring with Guzzle
  2. 6:25Observability and telemetry
  3. 8:55OpenTelemetry standards
  4. 13:55OpenTelemetry in PHP
  5. 15:40Guzzle middleware
  6. 19:08Logging API requests
  7. 23:43Logs with Loki and Grafana
  8. 25:29Tracing API calls
  9. 28:59Traces in Tempo and Grafana
  10. 32:52Metrics with Prometheus
  11. 41:38Grafana dashboards
  12. 44:46Alerting in Grafana
  13. 48:20Resources and closing
~/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.