Our data components are based on React Apollo. The most basic component is
NerdGraphQuery, which accepts any GraphQL (or GraphQL AST generated by the
grapqhl-tag library as the
query parameter, and a set of query variables passed as
Over this query, we have created an additional set of queries, which can be divided into four groups:
User queries: These allow you to query the current user and its associated accounts. Components in this category:
Entities queries: Because New Relic One is entity-centric, we use queries to make access to your entities easier. You can count, search, list, query, and favorite them. Components in this category:
Storage queries: New Relic One provides a simple storage mechanism that we call NerdStorage. This can be used by Nerdpack creators to store application configuration setting data, user-specific data, and other small pieces of data. Components in this category:
EntityStorageMutation. For details, see NerdStorage.
NRQL query: To be able to query your New Relic data via NRQL (New Relic query language), we provide a
NrqlQuery component. This component can return data in different formats, so that you can use it for charting and not only for querying.