~/talk

What Could Go Wrong with a GraphQL Query and Can OpenTelemetry Help?

Talkat OTel Community Day North America 2024 · on Tuesday, 2024-06-25· at 16:10· 445· [api-design, observability]
slides:none on file

Shows concrete instrumentation steps: NodeJS GraphQL is wired to the OpenTelemetry collector, traces export to Jaeger and metrics to Prometheus via the span‑metrics connector, and RED (rate, errors, duration) metrics appear in dashboards. Demonstrates finding an upstream 400 that propagates as a 500, and that GraphQL often returns HTTP 200 with errors captured only in the body — solved by adding a graphql.error.message span attribute. Detects an N+1 by observing 27 HTTP GET calls for one query and recommends DataLoader fixes.

AI-written summary · about

  1. 0:00GraphQL challenges and OpenTelemetry
  2. 2:49What is GraphQL vs REST
  3. 5:22Setting up the travel application demo
  4. 7:07Instrumenting GraphQL with OpenTelemetry
  5. 8:54Monitoring GraphQL with Jaeger
  6. 9:39Troubleshooting upstream errors
  7. 11:05Resolver errors and HTTP 200 issues
  8. 12:30Manual instrumentation for errors
  9. 13:13Performance challenges in GraphQL APIs
  10. 14:56Detecting N+1 queries
  11. 16:41OpenTelemetry limitations
  12. 17:24Future improvements
~/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.