devhelm.yml file defines your entire monitoring configuration. Deploy it with devhelm deploy -f devhelm.yml.
Minimal example
Top-level structure
The file acceptsversion, defaults, moved, and ten resource sections. All section keys are camelCase. Every section is optional — include only what you need (but the file must contain at least one resource section):
version
"1" is the only supported value. The CLI warns on unrecognized versions but does not reject them. A config consisting of only version (no resource sections) is rejected with “Config has no resource definitions”.
defaults
Set default values that apply to all monitors unless overridden:incidentPolicy are replaced entirely, not deep-merged. A default incidentPolicy must be complete — triggerRules, confirmation, and recovery are all required whenever the block is present.
Resource sections
Each section is detailed on its own page:Cross-references
Resources reference each other by name (or slug), not by ID. The CLI resolves names to IDs at deploy time:Environment variable interpolation
Use${VAR} syntax to inject environment variables into any string value:
$$ for a literal $, and ${VAR:-} to explicitly allow an empty value.
Because interpolation happens inside string values,
${VAR} only works in string fields (URLs, tokens, names). Numeric fields like frequencySeconds cannot be interpolated — frequencySeconds: ${FREQ:-60} fails validation with “Expected number, received string”. Vary numeric fields across environments with separate files instead.Environment variable interpolation (
${VAR}) is different from vault secrets. Variables are resolved from the shell environment at deploy time. Vault secrets are stored in DevHelm and referenced by key in auth blocks.Multi-file configs
Pass multiple files with-f:
*.yml and *.yaml files are loaded in sorted order):
defaults block is the one exception: later files’ defaults.monitors fields shallow-merge over earlier ones.
Full example
Next steps
Monitors in YAML
All monitor types, assertions, and incident policies.
Deploy workflow
Validate, plan, and deploy lifecycle.