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

[FEATURE] Add metrics for index policy failed #300

Open
Jakob3xD opened this issue Sep 6, 2024 · 1 comment
Open

[FEATURE] Add metrics for index policy failed #300

Jakob3xD opened this issue Sep 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Jakob3xD
Copy link

Jakob3xD commented Sep 6, 2024

Idea

I would like to have a metric to see if a policy is in failed state for and index.
GET _plugins/_ism/explain returns some information that can be used as labels.

Example

Value should 1 if it failed and 0 if it is running.

opensearch_index_policy_failed{policy_id="policy-1",state="init_state",action="rollover"} 0
@lukas-vlcek
Copy link
Collaborator

That is an interesting idea! Coincidentally I have been working with ISMs recently, I think this metric can be very useful.

@lukas-vlcek lukas-vlcek added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants