amtool alert query --alertmanager.url=http://localhost:9093

Category: Monitoring & Observability

amtool alert query --alertmanager.url=http://localhost:9093

Point amtool at a specific Alertmanager

Overrides the Alertmanager endpoint for this invocation, here the default local address on port 9093. Without it amtool reads the URL from its config file or the AMTOOL_URL environment variable. Useful when several Alertmanager instances run on one host.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.