New announcements from Dash: Incident Management, Continuous Profiler, and more! New announcements from Dash!


Crawler Crawler

Supported OS: Linux Mac OS Windows


The Apollo Datadog integration enables you to forward Studio performance metrics to your Datadog account. Datadog supports an advanced function API, which enables you to create graphs and alerts for GraphQL metrics.


Studio forwards the following metrics to Datadog:

  • apollo.engine.operations.count - The number of GraphQL operations that were executed. This includes queries, mutations, and operations that resulted in an error.
  • apollo.engine.operations.error_count - The number of GraphQL operations that resulted in an error. This includes GraphQL execution errors, and HTTP errors if Studio failed to connect to your server.
  • apollo.engine.operations.cache_hit_count - The number of GraphQL queries for which the result was served from Apollo Server’s full query cache.
  • A histogram of GraphQL operation response times, measured in milliseconds. Due to Studio’s aggregation method (logarithmic binning), these values are accurate to +/- 5%:

    • apollo.engine.operations.latency.min
    • apollo.engine.operations.latency.median
    • apollo.engine.operations.latency.95percentile
    • apollo.engine.operations.latency.99percentile
    • apollo.engine.operations.latency.max
    • apollo.engine.operations.latency.avg

These metrics are aggregated in 60-second intervals and tagged with the GraphQL operation name as operation:<query-name>. Unique query signatures with the same operation name are merged, and queries without an operation name are ignored.

These metrics are also tagged with both the associated Studio graph ID (as service:<graph-id>) and the associated variant name (as variant:<variant-name>), so multiple graphs from Studio can send data to the same Datadog account. If you haven’t set a variant name, then current is used.



Getting set up with the Apollo Datadog integration is as simple as providing a Datadog API key and region to Studio. There’s no further configuration required.

  1. Go to your Datadog integrations page and click on the Apollo tile. Then go to the Configuration tab and click Install Integration at the bottom.

  2. Go to your Datadog APIs page and create an API key.

  3. Determine your Datadog API region by looking at your browser’s address bar:

  4. If the domain name is app.datadoghq.com, then your API region is US.

  5. If the domain name is app.datadoghq.eu, then your API region is EU.

  6. In Studio, go to your graph’s Integrations page:


  1. In the Datadog Forwarding section, click Configure. Provide your API key and region, then click Enable. Because all forwarded metrics are tagged with the corresponding graph’s ID (service:<graph-id>), you can use the same API key for all of your graphs.


  1. Go to the Datadog metrics explorer and start to see the metrics flow in! Please allow up to five minutes for metrics to be visible.


Please refer to the Apollo integrations docs for more detailed usage information.

Data Collected


Number of GraphQL operations (queries and mutations) processed.
Shown as operation
Total request duration for a GraphQL operation, average.
Shown as millisecond
Total request duration for a GraphQL operation, median/50th percentile.
Shown as millisecond
Total request duration for a GraphQL operation, 95th percentile.
Shown as millisecond
Total request duration for a GraphQL operation, 99th percentile.
Shown as millisecond
Total request duration for a GraphQL operation, max/100th percentile.
Shown as millisecond
Total request duration for a GraphQL operation, min/0th percentile.
Shown as millisecond
Number of GraphQL operations that resulted in a GraphQL error, including HTTP errors from origins.
Shown as error
Number of GraphQL queries that were served from the full response cache.
Shown as hit


The Apollo integration does not include any events at this time.

Service Checks

The Apollo integration does not include any service checks at this time.


Need help? Contact Datadog Support.

Further Reading

Learn more about infrastructure monitoring and all our integrations on our blog.