πŸ•ΈοΈ API Patterns and Practices: GraphQL
Home Chapters Examples Diagrams Bibliography GitHub β†—
Home / Observability & the Gateway
Part 9 2 chapters

Observability & the Gateway

Trace and measure resolvers, and compose several subgraphs behind one federated gateway.

Chapter 19

Observability

Telemetry for an API with one endpoint: OpenTelemetry on both stacks, a span per resolver and per source call, errors by code and deprecated-field usage as metrics, span metrics, logs found by trace id, and what to leave out.

13 min readRead β†’
Chapter 20

Federation & schema composition

Split one graph across teams with entities, references and batched entity resolution, gate deploys on composition, and read a query plan from the subgraphs' logs.

16 min readRead β†’
← Previous part Security Next part β†’ Real-time & Client Integration

API Patterns and Practices: GraphQL

Designing GraphQL APIs well, with runnable examples in Quarkus SmallRye GraphQL and Python Strawberry against one canonical SDL contract.

Site

  • Outline
  • Bibliography

Reference

  • GraphQL β†—
  • GraphQL specification β†—
  • SmallRye GraphQL β†—
  • Strawberry β†—
  • View on GitHub β†—
  • Issues β†—
Open source Β· MIT Last built 2026-11-11