You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ni...@apache.org on 2021/07/06 12:58:28 UTC

[ignite] branch master updated: IGNITE-15063 Documents system views obtaining through a control script. (#9232)

This is an automated email from the ASF dual-hosted git repository.

nizhikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 4dd534c  IGNITE-15063 Documents system views obtaining through a control script. (#9232)
4dd534c is described below

commit 4dd534c0f17ff44dd66d77b3e704b2094eaf5854
Author: Mikhail Petrov <32...@users.noreply.github.com>
AuthorDate: Tue Jul 6 15:57:01 2021 +0300

    IGNITE-15063 Documents system views obtaining through a control script. (#9232)
---
 docs/_docs/monitoring-metrics/system-views.adoc | 28 +++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/docs/_docs/monitoring-metrics/system-views.adoc b/docs/_docs/monitoring-metrics/system-views.adoc
index 460c7b5..ddc5593 100644
--- a/docs/_docs/monitoring-metrics/system-views.adoc
+++ b/docs/_docs/monitoring-metrics/system-views.adoc
@@ -61,6 +61,34 @@ include::{javaCodeDir}/JavaThinClient.java[tag=system-views,indent=0]
 ----
 
 
+System views can also be queried through the link:tools/control-script#system-view-command[Control Script system view command].
+Note that the mentioned above command result contains all columns of the requested system view. If filtering is necessary, it should be performed manually.
+
+Examples of the use of link:tools/control-script#system-view-command[Control Script system view command]:
+
+[tabs]
+--
+tab:Unix[]
+[source,shell,subs="verbatim,quotes"]
+----
+# get the list of nodes
+control.sh --system-view NODES
+
+# get the list of metrics from the node with the specific ID
+control.sh --system-view NODE_METRICS --node-id a1b77663-b37f-4ddf-87a6-1e2d684f3bae
+----
+tab:Windows[]
+[source,shell,subs="verbatim,quotes"]
+----
+# get the list of nodes
+control.bat --system-view NODES
+
+# get the list of metrics from the node with the specific ID
+control.bat --system-view NODE_METRICS --node-id a1b77663-b37f-4ddf-87a6-1e2d684f3bae
+----
+--
+
+
 :table_opts: cols="2,1,4",opts="header"
 
 == CACHES