You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are facing issue while using helm monitor plugin. Prometheus server is up and running. But when we are using it with helm monitor commands its not working. We have tried with different PROMQL query as well but still same result.
Flags:
-h, --help help for prometheus
--prometheus string prometheus address (default "http://localhost:9090")
Global Flags:
--dry-run simulate a rollback if triggered by query result
--expected-result-count int number of results that are expected to be returned by the query (rollback triggered if the number of results exceeds this value)
--force force resource update through delete/recreate if needed
-i, --interval int time in seconds between each query (default 10)
--no-hooks prevent hooks from running during rollback
--rollback-timeout int time in seconds to wait for any individual Kubernetes operation during the rollback (like Jobs for hooks) (default 300)
--timeout int time in seconds to wait before assuming a monitoring action is successfull (default 300)
-v, --verbose enable verbose output
--wait if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment are in a ready state before marking a rollback as successful. It will wait for as long as --rollback-timeout
Error: plugin "monitor" exited with error
We have installed Elasticsearch also and tried with that , getting the same output with Elasticsearch also.
The text was updated successfully, but these errors were encountered:
Hi Team ,
We are facing issue while using helm monitor plugin. Prometheus server is up and running. But when we are using it with helm monitor commands its not working. We have tried with different PROMQL query as well but still same result.
prometheus server :-
curl http://IP:PORT/-/healthy
Prometheus Server is Healthy.
helm monitor prometheus --prometheus=http://IP:PORT my-release 'rate(http_requests_total{code=~"^5.*$"}[5m]) >
0'
Error: context deadline exceeded
Usage:
monitor prometheus [flags] RELEASE PROMQL
Flags:
-h, --help help for prometheus
--prometheus string prometheus address (default "http://localhost:9090")
Global Flags:
--dry-run simulate a rollback if triggered by query result
--expected-result-count int number of results that are expected to be returned by the query (rollback triggered if the number of results exceeds this value)
--force force resource update through delete/recreate if needed
-i, --interval int time in seconds between each query (default 10)
--no-hooks prevent hooks from running during rollback
--rollback-timeout int time in seconds to wait for any individual Kubernetes operation during the rollback (like Jobs for hooks) (default 300)
--timeout int time in seconds to wait before assuming a monitoring action is successfull (default 300)
-v, --verbose enable verbose output
--wait if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment are in a ready state before marking a rollback as successful. It will wait for as long as --rollback-timeout
Error: plugin "monitor" exited with error
We have installed Elasticsearch also and tried with that , getting the same output with Elasticsearch also.
The text was updated successfully, but these errors were encountered: