-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elasticsearch 5.0 Compatibility #221
Comments
Well, this sucks. I've berated them before about changing stuff like this that's a PITA across versions. Monitoring APIs shouldn't be needlessly broken like this. I'll have to spin up 5.x to test some fixes here, since Opserver must continue to support all versions. Thanks for letting me know exactly what's broken, this is a huge time saver. |
This fixes the "hostname" => "host" change in v5 only (while supporting old versions). Dear elastic, stop breaking shit randomly, please. XOXO, Nick
I have pushed a fix for one half on this, but I'm discussing with the Elastic folks the very unecessary breaking change on the |
I'm giving up on Elasticsearch giving a fuck about breaking versions. They don't. Breaks are intentionally not being constrained to major versions, see Elastic #21410 and #21417 for context. To support this reasonably, Opserver not just doesn't support pre-v0.90 correctly. If this becomes an issue we'll add it back quickly via a switch.
@nlowe can you please give latest a try? Elasticsearch 5.0 should work now, but if you see any other breaks I'll open this back and address anything you find. Thanks! |
@NickCraver so far, looks like this fixed it, thanks for the quick turnaround! I'll keep an eye out for any other breakage. |
This fixes the "hostname" => "host" change in v5 only (while supporting old versions). Dear elastic, stop breaking shit randomly, please. XOXO, Nick
I'm giving up on Elasticsearch giving a fuck about breaking versions. They don't. Breaks are intentionally not being constrained to major versions, see Elastic #21410 and #21417 for context. To support this reasonably, Opserver not just doesn't support pre-v0.90 correctly. If this becomes an issue we'll add it back quickly via a switch.
As far as I can tell, the only compatibility problems with ES 5.0 is dropping the
all
parameter from_nodes/stats
and renaminghostname
tohost
:Without these changes, most of the node stats show up as unknown, and the status icon next to the cluster name reports 400 errors in the tooltip:
The text was updated successfully, but these errors were encountered: