Send custom events and metrics to Datadog from your Xano backend. Monitor application health, track business KPIs, and trigger alerts based on real-time data from your workflows.
| Function | Description |
|---|---|
datadog_send_event |
Submits a custom event to Datadog. |
datadog_send_metric |
Submits a custom metric data point to Datadog. |
With the Xano MCP enabled in Claude Code, paste this into Claude:
Install the integration at https://github.com/xano-community/integration-datadog-monitoring into my Xano workspace.
Claude will clone the repo and push the functions to your workspace.
-
Install and authenticate the Xano CLI:
npm install -g @xano/cli xano auth
-
Clone and push this integration:
git clone https://github.com/xano-community/integration-datadog-monitoring.git cd integration-datadog-monitoring xano workspace push -w <your-workspace-id>
Replace
<your-workspace-id>with the ID fromxano workspace list.
- Log in to your Datadog account at https://app.datadoghq.com.
- Navigate to Organization Settings > API Keys.
- Click New Key, give it a name, and copy the generated API key.
- In Xano, set the environment variable DATADOG_API_KEY to your API key.
Environment variables used by this integration:
DATADOG_API_KEY
See .env.example for a template.
Call any function from another function, task, or API endpoint using function.run:
function.run "datadog_send_event" {
input = {
// See function signature for required parameters
}
} as $resultPosts a custom event to your Datadog event stream with a title, text body, priority, and optional tags. Events appear in the Datadog event explorer and can trigger monitors or be overlaid on dashboards. Use this to log deployments, track user milestones, or flag important application state changes.
Sends a custom metric data point to Datadog with a metric name, value, type (gauge, count, or rate), and optional tags. Metrics power Datadog dashboards and alerting. Ideal for tracking business metrics like sign-ups, revenue, or queue depth alongside your infrastructure data.
MIT — see LICENSE.