Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 2.71 KB

INSTRUCTIONS.md

File metadata and controls

29 lines (22 loc) · 2.71 KB

Prerequisite - Understanding GraphQL

The purpose of this section is to orient you to GraphQL, a "query language" for New Relic's API. Naturally, this section is very "New Relic focused." There are links provided at that bottom of this page for more general GraphQL information.

GraphQL has some key differences when compared to REST. For example, it's the client, not the server, that determines what data will be returned. Also, it becomes easy to collect data from multiple sources. In the case of New Relic, we'll see you can get account information, data about infrastructure, and issue a NRQL request, all in one GraphQL query.

Getting an API Key

Before you use the NerdGraph API Explorer in the following exercises, create a new user key.

Exercises

The exercises in this section that will give you some hands on experience using "GraphiQL" a web based tool that will issue queries to New Relic's GraphQL service. These are designed to be walked through in order, as the concepts in the lessons build on each other. Start now with Schema Introspection and work your way through to being able to issue a GraphQL query that pulls data from multiple sources, including NRQL!

For Further Reading

This lab touched only the surface of what's possible with GraphQL. If you would like to continue learning about GraphQL, there are some excellent resources available on the web. Here are a few for you to check out.

Note: Some of these can be very opinionated regarding REST vs. GraphQL. From our perspective, both REST and GraphQL are, and will remain important technologies and tools in our portfolio.