Export Synthetic Checks

Build synthetic checks visually in Dash0, then export them as YAML for version control and deployment.

Once you have created synthetic checks as defined in About Creating Synthetic Checks, do the following:

  1. Click Alerting in the left navigation menu and select Checks from the submenu or click Check Rules here to go directly to the Check Rules list .

  2. Select a check rule and click YAML in the navigation bar at the top.

    Export synthetic check

Export Format

The exported YAML follows the Dash0SyntheticCheck format:

yaml
kind: Dash0SyntheticCheck
metadata:
  name: api-health
spec:
  enabled: true
  display:
    name: API Health Check
  plugin:
    kind: http
    spec:
      request:
        method: get
        url: https://api.example.com/health
      assertions:
        criticalAssertions:
          - kind: status_code
            spec:
              value: "200"
              operator: is
  schedule:
    interval: 5m
    locations:
      - us-east
    strategy: all_locations

Further Reading

Last updated: