~/talk

Monitoring a PHP application with OpenTelemetry

Talkat phpday 2023 · 2023-05-18..05-19· [observability]
slides:none on file

Demonstrates that PHP apps emit traces metrics and logs via OpenTelemetry using the PHP SDK, OTLP (gRPC or HTTP), and the Go-based collector which can export to multiple back ends (Elastic included). Shows both manual spans and a working auto-instrumentation extension that hooks into the Zend runtime, notes required extensions (gRPC protobuf FFI) and recommends a Guzzle 7 adapter. Tracing is usable now (SDKs mostly beta) with 1.0 for traces imminent.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Observability
  3. 5:05Trace
  4. 8:05Metrics
  5. 10:52The Collector
  6. 15:55Microservices
  7. 17:35Context Propagation
  8. 21:00Baggage
  9. 23:57Protocol
  10. 24:57PHP code
  11. 25:48PHP SDK
  12. 29:56Technical requirements
  13. 33:01OpenTelemetry Code
  14. 35:51Create a span
  15. 37:47Send information log
  16. 38:14Auto instrumentation
  17. 38:43Hook
  18. 39:32Span
  19. 40:15Post
  20. 40:58Elastic
  21. 41:59Questions
~/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.