Apollo Server is a popular framework for building APIs based on GraphQL, a query language for APIs that includes a server-side runtime for executing queries. The flexibility of GraphQL comes with a performance cost when running complex queries against the Apollo server. This blog post will guide you through using OpenTelemetry and New Relic to measure the performance of both federated and non-federated Apollo at every phase of the query cycle, providing curated dashboards, tracing details, and gateway-specific spans. The setup involves installing required libraries, creating an `open-telemetry.js` file, integrating New Relic, and configuring OpenTelemetry instrumentation for subgraphs or monolithic applications. For federated Apollo, additional configuration files are needed to integrate the gateway into the architecture. With this integration, you can analyze your Apollo Server data in New Relic using NRQL queries, debug issues with the OpenTelemetry integration, and take advantage of features like service maps and query resolution details.