mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
Add HLRC support for enrich stats API (#47306)
This PR also includes HLRC docs for the enrich stats api. Relates to #32789
This commit is contained in:
parent
498789bcc3
commit
0caca2f73f
14 changed files with 498 additions and 25 deletions
33
docs/java-rest/high-level/enrich/stats.asciidoc
Normal file
33
docs/java-rest/high-level/enrich/stats.asciidoc
Normal file
|
@ -0,0 +1,33 @@
|
|||
--
|
||||
:api: enrich-stats
|
||||
:request: StatsRequest
|
||||
:response: StatsResponse
|
||||
--
|
||||
|
||||
[id="{upid}-{api}"]
|
||||
=== Stats API
|
||||
|
||||
[id="{upid}-{api}-request"]
|
||||
==== Request
|
||||
|
||||
The stats API returns enrich related stats.
|
||||
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
include-tagged::{doc-tests-file}[{api}-request]
|
||||
--------------------------------------------------
|
||||
|
||||
[id="{upid}-{api}-response"]
|
||||
==== Response
|
||||
|
||||
The returned +{response}+ includes enrich related stats.
|
||||
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
include-tagged::{doc-tests-file}[{api}-response]
|
||||
--------------------------------------------------
|
||||
<1> List of policies that are currently executing with
|
||||
additional details.
|
||||
<2> List of coordinator stats per ingest node.
|
||||
|
||||
include::../execution.asciidoc[]
|
|
@ -613,7 +613,9 @@ The Java High Level REST Client supports the following Enrich APIs:
|
|||
* <<{upid}-enrich-put-policy>>
|
||||
* <<{upid}-enrich-delete-policy>>
|
||||
* <<{upid}-enrich-get-policy>>
|
||||
* <<{upid}-enrich-stats-policy>>
|
||||
|
||||
include::enrich/put_policy.asciidoc[]
|
||||
include::enrich/delete_policy.asciidoc[]
|
||||
include::enrich/get_policy.asciidoc[]
|
||||
include::enrich/stats.asciidoc[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue