mirror of
https://github.com/prometheus/prometheus.git
synced 2026-04-07 10:15:49 -04:00
The `--header` flag was already supported by `promtool query range` but was missing from `promtool query instant`. This adds the same flag so users can pass extra HTTP headers (e.g. `X-Scope-OrgID` for multi-tenant setups) without needing to create an `--http.config.file`. ``` [ENHANCEMENT] promtool: Add `--header` flag to `query instant` command, matching existing `query range` behaviour. ``` Signed-off-by: Hoa <hoameomu@gmail.com> |
||
|---|---|---|
| .. | ||
| index.md | ||
| prometheus.md | ||
| promtool.md | ||