Getting Started With NerdGraph—The New Relic GraphQL API Explorer
Blog post from New Relic
New Relic's NerdGraph API, built on GraphQL, offers developers a streamlined way to query and manage telemetry data without excessive API operations, enhancing efficiency in creating dashboards and applications. By using a single endpoint, GraphQL allows for complex queries that can retrieve comprehensive data in one request, as opposed to multiple calls required by REST APIs. New Relic's implementation of GraphQL includes multiple APIs like accounts and Infrastructure, facilitating seamless data access and management across services. The blog post illustrates how to use NerdGraph for querying and updating New Relic Infrastructure cloud integrations, demonstrating the utility of interfaces and mutations in GraphQL for both retrieving detailed information and modifying configuration settings. Mark Weitzel emphasizes the flexibility and lightweight nature of GraphQL in reducing overhead and encourages developers to explore further capabilities through resources available on New Relic's developer site and community forum.