Skip to content

Conversation

@richardklose
Copy link
Contributor

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

@ederator
Copy link

cool, this will greatly improve our elasticsearch monitoring! Would be great if someone could review it.

@sysadmind
Copy link
Contributor

See the SLM collector for a good example of how we currently implement collectors

@richardklose richardklose force-pushed the feat/health_report branch 2 times, most recently from 55c1f6f to 6a0bb0e Compare February 24, 2025 11:47
@richardklose
Copy link
Contributor Author

@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.

@richardklose richardklose requested a review from sysadmind March 4, 2025 18:52
@richardklose richardklose force-pushed the feat/health_report branch 2 times, most recently from c010d5c to 1ed57bc Compare March 13, 2025 06:56
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>
Copy link
Contributor

@sysadmind sysadmind left a 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>
@richardklose richardklose requested a review from sysadmind March 21, 2025 10:19
@sysadmind sysadmind merged commit 0863684 into prometheus-community:master Apr 2, 2025
9 checks passed
@richardklose
Copy link
Contributor Author

@sysadmind Can you provide a 1.10 release via Github that includes this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants