Observability
Push Chalk metrics to a Prometheus remote-write receiver and verify delivery with PromQL.
Use Vector to push metric samples from Chalk to a Prometheus-compatible monitoring service.
You need Metrics Export enabled for your Chalk team, permission to edit telemetry settings, and access to your monitoring service’s metrics query interface.
Get the full Prometheus remote-write URL from your monitoring service, including its write path. For example:
https://prometheus.example.com/api/v1/writeUse the ingestion URL supplied by your provider. The destination must have remote-write receiving enabled and be reachable from Chalk.
If the destination requires authentication or a tenant header, store its required HTTP headers as a JSON object in a cloud secret that Chalk can read. For AWS, use Secrets Manager in the account and region used by Chalk and copy the secret’s full ARN. For example, a service that requires a bearer token and tenant ID would use this secret value:
{
"Authorization": "Bearer YOUR_TOKEN",
"X-Scope-OrgID": "YOUR_TENANT_ID"
}Use only the headers required by your destination, with string values. If you need help storing the secret or granting Chalk access, ask your cloud administrator or Chalk support. You can skip the secret when your destination does not require custom headers.
chalk-production with a fixed name for this export. Preserve any remap code already in the field..tags.chalk_export = "chalk-production"The label applies to this Prometheus export. You can keep existing Datadog exports enabled at the same time. New metric samples are sent automatically; historical samples are not backfilled.
Run a few Chalk queries in the environment you configured, then open your monitoring service’s metrics query interface, such as Prometheus or Grafana Explore. Select the data source and tenant that receive your remote writes, and a time range covering the last 15 minutes.
Run this PromQL selector, using the label value you configured:
{chalk_export="chalk-production"}Allow time for collection and ingestion, then refresh the results. Check that the returned series
have the chalk_export label and samples from after you enabled the export.
The export is working when recent metric samples appear at your destination with your label. You can retain the label to identify Chalk metrics in dashboards and alerts.
If no samples appear, confirm the export is enabled and saved, check the full write URL and required headers, and verify that your query uses the receiving data source and tenant. If you still see no data, send Chalk support your Chalk environment, destination URL, label value, and the time you enabled export. Do not include credentials in the support message.