-
Notifications
You must be signed in to change notification settings - Fork 811
feat: add support for _health_report #1002
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
feat: add support for _health_report #1002
Conversation
910c31e to
17cc0a2
Compare
|
cool, this will greatly improve our elasticsearch monitoring! Would be great if someone could review it. |
|
See the SLM collector for a good example of how we currently implement collectors |
55c1f6f to
6a0bb0e
Compare
|
@sysadmind I refactored the collector and tried to stick with how the SLM collector is implemented. Not sure how to deal with the many status colors there, so I'll appreciate any suggestions for improvements on that. |
c010d5c to
1ed57bc
Compare
In elasticsearch 8.7 a new endpoint for cluster health has been added. See https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-health-report Signed-off-by: Richard Klose <richard.klose@wiit.cloud>
1ed57bc to
f6b5497
Compare
sysadmind
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think functionally this is all good now, just need to fix the cardinality numbers on some metrics in the docs and update the version added to match the next release
Co-authored-by: Joe Adams <github@joeadams.io> Signed-off-by: Richard Klose <richard@klose.dev>
|
@sysadmind Can you provide a 1.10 release via Github that includes this change? |
In elasticsearch 8.7 a new endpoint for cluster health has been added. See https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-health-report