Expire a silence
End an active silence right now
amtool silence expire <id> --alertmanager.url=http://alertmanager:9093
- tool
- prometheus30 commands
More prometheus commands
-
amtool check-config alertmanager.ymlValidate the Alertmanager configuration file
-
amtool alert query --alertmanager.url=http://alertmanager:9093Show all firing alerts in Alertmanager
-
curl -X POST http://prometheus:9090/-/reloadHot-reload Prometheus configuration without restart
-
curl -sG 'http://prometheus:9090/api/v1/query' --data-urlencode 'query=up' | jq '.data.result'Run an instant PromQL query through the HTTP API
-
curl -sG 'http://prometheus:9090/api/v1/query_range' --data-urlencode 'query=rate(http_requests_total[5m])' --data-urlencode 'start=1h' --data-urlencode 'end=now' --data-urlencode 'step=60'Get time series data of a rate metric for a time range