Metrics and insights in GraphOS
Understand your supergraph's usage and performance
GraphOS Studio offers a performant and intuitive UI to help you monitor and understand your supergraph's usage and performance.
To analyze operation metrics in GraphOS Studio, you must first report them to GraphOS. If you have a cloud supergraph, its router automatically reports operation metrics.
If you have a self-hosted supergraph, you need to connect your router to GraphOS to report metrics. The reporting mechanism is the same if you use Apollo Server without the Apollo Router. If you're using a third-party server, you need to set up a reporting agent.
Apollo also offers a Datadog integration to forward your graph's performance metrics to your Datadog account.
The following require an Enterprise plan:
- Connecting a self-hosted router to GraphOS
- Forwarding metrics to Datadog
If your organization doesn't currently have an Enterprise plan, you can test out this functionality by signing up for a free Enterprise trial.
Once you've configured your graph to send operation and field metrics to GraphOS, you can examine them from any variant's Insights page:
The Insights page offers:
- A collapsible left sidebar that acts as a paginated index of your graph's operations and fields, where you can search, filter, and sort operations and fields
- An operations overview where you can adjust the overview's timeframe and filter it to specific clients
- Individual and overall operations performance metrics, including request rate and latency
- Resolver-level traces, if you've configured them
- Field usage metrics
Beyond actively monitoring the Insights page, you can also configure GraphOS to notify your team about changes to your graph and its performance. Check out Setting up GraphOS notifications to learn more.