~/talk

OpenTelemetry with PHP is easier than you think!

Talkat phpday 2025 · 2025-05-15..05-16· [observability]
slides:none on file

Repository with Docker Compose and ready demos exists and auto‑instrumentation uses a PHP 8 extension hook to attach spans and metrics. Local stacks shown include Zipkin, Jaeger and Apprace and deployment options compare agent per host versus centralized collectors. A real surprise: an early run generates 20 million spans a minute while vendor limits are 6M so metrics plus sampling (errors plus ~1% others, aim <5%) become the practical, cost‑saving priority. Trace_test and SQL commenter are used for assertions and correlating slow queries.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07What is OpenTelemetry
  3. 3:55OpenTelemetry vs APM tools
  4. 6:28Demonstration of tools
  5. 8:43Signals and context
  6. 14:03Collector deployment options
  7. 16:53Instrumenting PHP code
  8. 18:19PHP extension and hooks
  9. 22:17Metrics importance
  10. 26:30Production deployment lessons
  11. 30:10Manual vs automatic tracing
  12. 34:27Hooks for metrics
  13. 35:30Advanced tools like Trace Test
  14. 37:40Future of OpenTelemetry
  15. 38:23Key lessons and best practices
  16. 40:11PHP configuration tips
  17. 41:39Final recommendations
~/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.