Reference
Environment variables
Output and logging
How Dive reports progress and failures on stderr. Unset, stderr is for people.
| Value | Effect |
|---|---|
jsonl | stderr becomes a stream of JSON events, one per line. ask steps can't prompt anyone, so they use their whenUnanswered setting. |
github | A failing dive plan run also prints a ::error:: annotation to stdout, which GitHub Actions shows on the run. |
A log filter for stderr, such as info or dive_core=debug. -v, -vv and -vvv set info, debug and trace.
Secrets
${NAME} references in config.toml and in tool env values read the environment variable NAME first, then the OS credential store: this project's entry, then the one every project shares. See Secret references.
Whether ${NAME} references read the OS credential store when the environment doesn't set NAME.
| Value | Effect |
|---|---|
os | Read the macOS Keychain, or the Secret Service on Linux, under service dive. Where neither is available, Dive reads the environment only. |
none | Read the environment only. |
Storage
Where Dive keeps sessions, runs and the shape cache.
Overrides storage.backend in config.toml.
| Value | Effect |
|---|---|
file | Under settings.data_dir. |
memory | In memory only. Nothing is kept between runs. |
HTTP service
Set to any value other than 0 to have dive serve serve its OpenAPI document at /openapi.json and an API reference page at /docs.
Set to production to make dive serve refuse --dev-key, as [identity].environment = "production" also does.
Workbench
Where the workbench writes its log.
Overrides workbench.log_path in config.toml.
Telemetry
The OTLP/HTTP endpoint to export to.
Overrides telemetry.endpoint in config.toml.
The export wire format.
Overrides telemetry.protocol in config.toml.
| Value | Effect |
|---|---|
http/protobuf | Protobuf over HTTP. |
http/json | JSON over HTTP. |
Export timeout, in milliseconds.
Overrides telemetry.timeout_secs in config.toml.
Extra headers as comma-separated key=value pairs, added to the configured ones.
Overrides telemetry.headers in config.toml.
The service.name resource attribute.
Overrides telemetry.service_name in config.toml.