Skip to content

Conversation

@ketkee-aryamane
Copy link
Contributor

Linked to #360
adds enums for Metrics and IndexMetrics for node stats endpoint

Added the enum values by referring the 8.19 docs

@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2025

Following you can find the validation changes against the target branch for the API.

API Status Request Response
nodes.stats 🔴 58/58 → 51/58 21/58

You can validate this API yourself by using the make validate target.

@flobernd
Copy link
Member

flobernd commented Nov 8, 2025

Wondering if this case is similar to @pquentin recent related PR in a way that the server accepts combinations of multiple of these enum values (flags).

We should define an alias:
SomeMetricFlags = SomeMetricEnum | SomeMetricEnum[]

if that's the case.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants