Skip to content

Commit

Permalink
File settings health indicator (#3173)
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle authored Nov 22, 2024
1 parent e9a5ad8 commit b4ee38a
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 28 deletions.
127 changes: 99 additions & 28 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions specification/_global/health_report/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export class Indicators {
ilm?: IlmIndicator
slm?: SlmIndicator
shards_capacity?: ShardsCapacityIndicator
file_settings?: FileSettingsIndicator
}

export class BaseIndicator {
Expand Down Expand Up @@ -202,3 +203,14 @@ export class ShardsCapacityIndicatorTierDetail {
max_shards_in_cluster: integer
current_used_shards?: integer
}

/** FILE_SETTINGS **/

export class FileSettingsIndicator extends BaseIndicator {
details?: FileSettingsIndicatorDetails
}

export class FileSettingsIndicatorDetails {
failure_streak: long
most_recent_failure: string
}

0 comments on commit b4ee38a

Please sign in to comment.