Overview
Hasura Cloud provides a scalable, highly available, globally distributed,
secure, production-ready GraphQL API over your data sources.
The Datadog integration is an observability feature of Hasura Cloud that exports
your Hasura Cloud project’s operation logs, metrics, and traces to your Datadog dashboard.
Setup
To set up the Hasura Cloud Datadog integration for your Hasura Cloud project, provide a Datadog API key and region to Hasura Cloud.
See the Hasura Cloud documentation for how to configure the Datadog integration for your Hasura Cloud project.
Once the above is done, go to the Logs section in Datadog and create facets for the following top level fields:
operation_name
operation_type
error_code
is_error
See the Datadog Log Facets documentation for information regarding creating facets from logs.
Logs, metrics, and traces from your Hasura Cloud project are automatically sent to Datadog when your project receives traffic.
Data Collected
Metrics
hasura_cloud.requests_per_minute (gauge) | Number of requests per minute |
hasura_cloud.average_execution_time (gauge) | Average request execution time Shown as second |
hasura_cloud.success_rate (gauge) | Success rate of requests |
hasura_cloud.active_subscriptions (gauge) | Number of active subscriptions |
hasura_cloud.websockets_open (gauge) | Number of websockets open |
Service Checks
The Hasura Cloud integration does not include any service checks.
Events
The Hasura Cloud integration does not include any events.
Troubleshooting
Need help? Contact Datadog support.