Skip to content
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

Expose node stats indexing pressure #875

Open
hartfordfive opened this issue Mar 19, 2024 · 1 comment
Open

Expose node stats indexing pressure #875

hartfordfive opened this issue Mar 19, 2024 · 1 comment

Comments

@hartfordfive
Copy link
Contributor

Currently, the exporter doesn't expose stats regarding the indexing pressure. This information would be quite valuable when it comes to having the ability to automatically detect when one ore many instances are unable to accept indexing requests and consequently returning 429 errors. These statics can be obtained from the Node Stats API, specifically with indexing_pressure metric.

For example, some of these useful resulting metrics would include:

  • nodes.<NODE_ID>.indexing_pressure.memory.total.primary_rejections
  • nodes.<NODE_ID>.indexing_pressure.memory.total.replica_rejections

I haven't considered the most appropriate structure with regards to labels although it should be mostly similar to the logic used in the current nodes info collector. You could potentially go one step further and have a configuration flag to enable each possible metric exposed by the node stats API.

@hartfordfive
Copy link
Contributor Author

If the repo maintainers are OK with it, I would be glad to help on contributing the code for this additional collector?

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

No branches or pull requests

1 participant