This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update out-of-date documentation (#820)
* Update readme and dev guide * Update partiql doc for nested field * Add PPL metrics * Add PPL metrics * Add PPL metrics * Add PPL metrics * Prepare PR
- Loading branch information
Showing
5 changed files
with
193 additions
and
50 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
.. highlight:: sh | ||
|
||
========== | ||
Monitoring | ||
========== | ||
|
||
.. rubric:: Table of contents | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 1 | ||
|
||
|
||
Introduction | ||
============ | ||
|
||
By a stats endpoint, you are able to collect metrics for the plugin within the interval. Note that only node level statistics collecting is implemented for now. In other words, you only get the metrics for the node you're accessing. Cluster level statistics have yet to be implemented. | ||
|
||
Node Stats | ||
========== | ||
|
||
Description | ||
----------- | ||
|
||
The meaning of fields in the response is as follows: | ||
|
||
+--------------------------------+-------------------------------------------------------------------+ | ||
| Field name| Description| | ||
+================================+===================================================================+ | ||
| ppl_request_total| Total count of PPL request| | ||
+--------------------------------+-------------------------------------------------------------------+ | ||
| ppl_request_count| Total count of PPL request within the interval| | ||
+--------------------------------+-------------------------------------------------------------------+ | ||
| ppl_failed_request_count_syserr|Count of failed PPL request due to system error within the interval| | ||
+--------------------------------+-------------------------------------------------------------------+ | ||
| ppl_failed_request_count_cuserr| Count of failed PPL request due to bad request within the interval| | ||
+--------------------------------+-------------------------------------------------------------------+ | ||
|
||
|
||
Example | ||
------- | ||
|
||
SQL query:: | ||
|
||
>> curl -H 'Content-Type: application/json' -X GET localhost:9200/_opendistro/_ppl/stats | ||
|
||
Result set:: | ||
|
||
{ | ||
"ppl_request_total": 10, | ||
"ppl_request_count": 2, | ||
"ppl_failed_request_count_syserr": 0, | ||
"ppl_failed_request_count_cuserr": 0, | ||
... | ||
} | ||
|
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