@keystrokehq/datadog
v0.0.16
Published
Official Keystroke integration for [Datadog](https://www.datadoghq.com) — metrics, logs, traces, incidents, SLOs, synthetics, RUM, and security monitoring.
Readme
@keystrokehq/datadog
Official Keystroke integration for Datadog — metrics, logs, traces, incidents, SLOs, synthetics, RUM, and security monitoring.
Credential sets live under ./credential-sets. Operations
live under ./operations. Shared Zod contracts and webhook
payload schemas live under ./schemas.
Credentials
| Field | Required | Description |
|-------|----------|-------------|
| DATADOG_API_KEY | yes | Organization-level API key. |
| DATADOG_APP_KEY | yes | User or service-account application key. |
| DATADOG_SITE | no (defaults to datadoghq.com) | One of datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, datadoghq.eu, ap1.datadoghq.com, ddog-gov.com. |
| DATADOG_WEBHOOK_SECRET | no | Shared secret for inbound webhook HMAC verification. |
Quickstart
import { datadogCredentialSet } from '@keystrokehq/datadog/credential-sets';
import { submitMetricsOperation } from '@keystrokehq/datadog/operations';
import { Workflow } from '@keystrokehq/core';
const workflow = new Workflow({
id: 'datadog-ingest',
name: 'Datadog metric ingest',
credentialSets: [datadogCredentialSet],
run: async () => {
await submitMetricsOperation.run({
series: [
{
metric: 'keystroke.datadog.sample',
points: [[Math.floor(Date.now() / 1000), 1]],
},
],
});
},
});See PLAN.md and IMPLEMENTATION_NOTES.md for the
full action inventory and migration notes.
