forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transforms: Adding basic stats API param (elastic#104878)
* Transforms: Adding basic stats API param Adds an optional parameter to the `transform/_stats` API called `basic`. This parameter defaults to false, returning the complete set of stats (this is the same functionality as today). This helps reduce the latency calling for stats of one or more transforms, as the `operationsBehind` calculation is increasingly expensive as the size of the transform and number of nodes grow. Users can get a basic view of the current state, health, and progress of one or more transforms, and a second call for the complete stats set can be made when users want to drill down into a given transform. When `transform/_stats?basic=true`, Transforms will only return a subset of stats obtained by information immediately available from the main node, including `id`, `state`, `node`, `stats`, and `health`. `checkpointing` may be omitted. For continuous transforms, `checkpointing` will include the `last` `checkpoint` id. If there is a difference in data but the transform has not started on that difference yet, the `next` checkpoint will be included with the `position` and `progress`. For stopped transforms, `checkpointing` will include the `last` `checkpoint` id and the `next` `position` and `progress`. In both cases, `operationsBehind` will never be calculated, and all timestamp information will not be recorded.
- Loading branch information
Showing
21 changed files
with
459 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 104878 | ||
summary: "Transforms: Adding basic stats API param" | ||
area: Transform | ||
type: enhancement | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.