reload_prometheus_config
Reload Prometheus config to apply changes without restarting. Supports dry-run to preview config hash and rollback by re-applying prior config.
Instructions
[WRITE][risk=medium] Hot-reload the Prometheus config (POST /-/reload). No undo.
Records the pre-reload config hash. Rollback = re-apply the prior config file.
Args: dry_run: If True, preview (reports the current config hash) without reloading. target: Prometheus target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No |