Observability
Connect your Datadog account, enable Chalk log export, and verify that your logs arrive.
Follow this guide to send Chalk logs to your Datadog account. When you finish, you will be able to find a test message from a Chalk resolver in Datadog Log Explorer.
You need:
datadoghq.com or datadoghq.euIf Exporters is missing from your telemetry settings, contact Chalk support to enable access.
Store your Datadog API key in AWS Secrets Manager in the AWS account and region used by Chalk. Use the raw API key as the secret value, without JSON or surrounding quotation marks. Copy the secret’s full ARN, for example:
arn:aws:secretsmanager:us-east-1:123456789012:secret:datadog-api-key-AbCdEf
Chalk needs permission to read this secret. If you need help storing the key or granting access, ask your cloud administrator or Chalk support. Have the ARN ready for the next step.
datadoghq.com; use datadoghq.eu for an
EU account, for example. Enter only the hostname, without https:// or an API path.Leave Telemetry enabled. New logs are sent automatically; historical logs are not replayed.
chalk-datadog-check-001 with a unique message for this test.from chalk.clogging import chalk_logger
# Inside your resolver:
chalk_logger.info("chalk-datadog-check-001")
Open Logs → Explorer in your Datadog account. Select a time range covering the test, clear unrelated filters, and search for your exact message in quotation marks:
"chalk-datadog-check-001"
Allow time for delivery and ingestion. Open the matching log and confirm that its message and time match the test you ran.
The export is working when the same message appears in Chalk and Datadog. You can then remove the test log call from your resolver.
If you can see the test message in Chalk but not in Datadog:
If the message still does not arrive, send Chalk support your Chalk environment, Datadog site, test message, query ID, and the time of the test. Do not include your API key in the support message.
After verifying delivery, use Vector Remap Language (VRL) to change events before export. Under Exporters → Shared VRL, remaps apply to every export destination for the corresponding signal. Under Export to Datadog → VRL, remaps apply only to Datadog, after the shared remaps. Save and confirm your changes, then repeat the test above.
To send metrics to another monitoring service, follow Export metrics to Prometheus or Export metrics over OTLP.
For independent log or trace delivery to an OTLP/HTTP destination, follow Export telemetry over OTLP. Datadog and OTLP exports can run together; each destination has its own credentials and exporter-specific remaps.