How to Set Up Datadog Integration
Track CloudCruise workflow error rates, queue dispatch latency, and execution runtime directly in Datadog dashboards and monitors without sending workflow input variables, scraped outputs, or PHI.Step 1: Create a Datadog API Key
- Log into your Datadog dashboard and navigate to Organization Settings → API Keys.
- Click + New Key, name it
CloudCruise, and copy the key.
CloudCruise only requires a Datadog API Key (not an Application Key). Your key is encrypted at rest with AWS KMS and never returned after saving.
Step 2: Connect CloudCruise to Datadog
- Navigate to Workspace Settings → Integrations.
- Under Monitoring, click Connect to Datadog.
- Select your Datadog Site (
datadoghq.com,us3.datadoghq.com,us5.datadoghq.com,datadoghq.eu,ap1.datadoghq.com, orddog-gov.com). - Paste your Datadog API Key and optionally customize the
serviceandenvtags. - Click Test Connection, then Connect.
What Gets Synced to Datadog?
CloudCruise emits strictly PHI-free operational telemetry. Workflowinput_variables, scraped data, raw free-text error messages, vault secrets, and user_alias are never exported.
Metrics
Metrics are emitted for all terminal runs (success, failed, stopped) so error-rate denominators stay accurate regardless of log filters. If a run’s start or enqueue timestamp is unavailable, the corresponding latency distribution point (dispatch_latency_ms or e2e_duration_ms) is omitted rather than recorded as 0.
Example Datadog Queries
- Workflow error rate:
- p95 dispatch latency by workflow:
- p95 execution runtime by workflow:
Structured Logs & permissioned_user_id Filtering
When Structured logs is enabled, CloudCruise emits one PHI-free JSON log per terminal run matching your log status filters (failed and stopped enabled by default; success opt-in).
- Filter by user in Datadog Log Explorer using
@cloudcruise.user_id:<permissioned_user_id>. - Each log includes
cloudcruise.schema_version(1),cloudcruise.run_urllinking directly to the run in CloudCruise, anddispatch_latency_ms,runtime_ms,e2e_duration_ms,error_code, anderror_category. - Cardinality control:
Include user_id on metricsis off by default to avoid Datadog custom-metric billing overhead; enable it only if you need per-user metric monitors.

