~/talk

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

Talkat GraphQLConf 2024 · on Tuesday, 2024-09-10· at 14:50· Skyline B-C - Level 21· [observability, web-platform]
slides:none on file

A Node.js Express travel API stitches a GraphQL gateway to a GraphQL country service plus REST image and weather backends and uses OpenTelemetry + Jaeger + Prometheus to get end to end traces and RED metrics. Distributed traces surface a sudden 25% error rate and show resolver errors that still return HTTP 200 unless a custom graphql_error_message span attribute is added. Traces reveal an N+1 pathology with 27 outgoing HTTP requests per query and P95 alone proves too coarse.

AI-written summary · about

  1. 0:00Introduction to the talk
  2. 1:05Why operationalizing GraphQL matters
  3. 3:10GraphQL setup in a travel app
  4. 6:58What is OpenTelemetry
  5. 9:26OpenTelemetry components
  6. 10:30Adding OpenTelemetry to GraphQL
  7. 13:16Common GraphQL errors
  8. 15:26Resolver-level errors in GraphQL
  9. 18:17GraphQL performance issues
  10. 22:15Solving N+1 query problems
  11. 23:18Summary and resources
  12. 24:20Q&A on tracing costs
  13. 27:11Q&A on logging strategies
  14. 28:15Q&A on authorization delays
  15. 29:54Q&A on troubleshooting with traces
~/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.