reload_prometheus_config
Hot-reload Prometheus configuration on a target without restarting. Use dry-run to preview the current config hash before applying changes.
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 |