bosun-monitor / bosun

Time Series Alerting Framework
http://bosun.org
MIT License
3.4k stars 495 forks source link

Support runtime ElasticSearch version query #2428

Closed harudark closed 4 years ago

harudark commented 5 years ago

With this commit, Bosun is able to get Elastic cluster version by parsing simple HTTP query response, which means it can get version during runtime, rather than the value defined in configuration file.

This feature is useful during Elastic cluster migration. Bosun can keep working without downtime.

However, due to the fact Bosun parses configuration file very frequently, it's not suggested to enable this all the time because it will send a lot of additional queries to Elastic cluster.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

harudark commented 4 years ago

This PR doesn't work in production.