| <!DOCTYPE html> | 
 |  | 
 |        | 
 |        | 
 | <html lang="en"> | 
 | <head> | 
 |     <!-- Global site tag (gtag.js) - Google Analytics --> | 
 |     <script async src="https://www.googletagmanager.com/gtag/js?id=UA-61232409-1"></script> | 
 |     <script> | 
 |     window.dataLayer = window.dataLayer || []; | 
 |     function gtag(){dataLayer.push(arguments);} | 
 |     gtag('js', new Date()); | 
 |  | 
 |     gtag('config', 'UA-61232409-1'); | 
 |     </script> | 
 |  | 
 |      | 
 |  | 
 |     <meta charset="UTF-8"> | 
 |     <meta name="ignite-version" content="2.9.0" /> | 
 |     <title>New Metrics System | Ignite Documentation</title> | 
 |      | 
 |     <link rel="canonical" href="/docs/2.9.0/monitoring-metrics/new-metrics-system" /> | 
 |      | 
 | 	 | 
 | 	<link rel="stylesheet" href="/assets/css/styles.css?1598947897"> | 
 |     <link rel="stylesheet" href="/assets/css/asciidoc-pygments.css"> | 
 |     <link rel="shortcut icon" href="/favicon.ico"> | 
 |     <meta name='viewport' content='width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0'> | 
 |  | 
 | 	<script type="text/javascript" src="/assets/js/anchor.min.js?1598947897"></script> | 
 |    | 
 |   <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" /> | 
 |  | 
 |  | 
 | </head> | 
 | <body> | 
 |     <header> | 
 |     <div class="container"> | 
 |         <button type='button' class='menu' title='Docs menu'> | 
 |         <img src="/assets/images/menu-icon.svg"/> | 
 |         </button> | 
 |         <div class='home'> | 
 |             <a href="/" class='home' title='Apache Ignite home'> | 
 |                 <img src="/assets/images/apache_ignite_logo.svg" alt="Apache Ignite logo" width="103" > | 
 |             </a> | 
 |         </div> | 
 |          | 
 |         <nav> | 
 |              | 
 |         </nav> | 
 |          | 
 |         <select id="version-selector"> | 
 |             <option value="2.9.0">2.9.0</option> | 
 |         </select> | 
 |          | 
 |         <a href="https://github.com/apache/ignite" title='GitHub' class='github' target="_blank"> | 
 |             <img src="/assets/images/github-gray.svg" alt="GitHub logo"> | 
 |         </a> | 
 |          | 
 |         <form class='search'> | 
 |             <button class="search-close" type='button'><img src='/assets/images/cancel.svg'></button> | 
 |             <input type="search" placeholder="Search…" id="search-input"> | 
 |         </form> | 
 |         <button type='button' class='search-toggle'><img src='/assets/images/search.svg'></button> | 
 |         <button type='button' class='top-nav-toggle'>⋮</button> | 
 |  | 
 |          | 
 |          | 
 |     </div> | 
 | </header> | 
 |  | 
 |  | 
 |     	 <link rel="stylesheet" href="/assets/css/docs.css"> | 
 | <section class='page-docs'> | 
 |      | 
 |  | 
 |  | 
 |  | 
 | <nav class='left-nav' data-swiftype-index='false'> | 
 |  | 
 |        | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/preface" class='' >Preface</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle collapsed '>Quick Start Guides<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/quick-start/java" | 
 |  | 
 |                                 class='' | 
 |                             >Java</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/quick-start/dotnet" | 
 |  | 
 |                                 class='' | 
 |                             >.NET/C#</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/quick-start/cpp" | 
 |  | 
 |                                 class='' | 
 |                             >C++</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/quick-start/python" | 
 |  | 
 |                                 class='' | 
 |                             >Python</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/quick-start/nodejs" | 
 |  | 
 |                                 class='' | 
 |                             >Node.JS</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/quick-start/sql" | 
 |  | 
 |                                 class='' | 
 |                             >SQL</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/quick-start/php" | 
 |  | 
 |                                 class='' | 
 |                             >PHP</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/quick-start/restapi" | 
 |  | 
 |                                 class='' | 
 |                             >REST API</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="/installation" class='group-toggle collapsed '>Installation<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/installation/installing-using-zip" | 
 |  | 
 |                                 class='' | 
 |                             >Installing Using ZIP Archive</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/installation/installing-using-docker" | 
 |  | 
 |                                 class='' | 
 |                             >Installing Using Docker</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/installation/deb-rpm" | 
 |  | 
 |                                 class='' | 
 |                             >Installing DEB or RPM package</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                              | 
 |                              | 
 |                             <button | 
 |                                 type='button' | 
 |                                 class='collapsed '>Kubernetes<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |                             <nav class="sub_pages collapsed"> | 
 |  | 
 |                              | 
 |                                    | 
 |  | 
 | 								  <li><a href="/docs/2.9.0//installation/kubernetes/amazon-eks-deployment" class=''>Amazon EKS</a></li> | 
 |                              | 
 |                                    | 
 |  | 
 | 								  <li><a href="/docs/2.9.0//installation/kubernetes/azure-deployment" class=''>Azure Kubernetes Service</a></li> | 
 |                              | 
 |                                    | 
 |  | 
 | 								  <li><a href="/docs/2.9.0//installation/kubernetes/gke-deployment" class=''>Google Kubernetes Engine</a></li> | 
 |                              | 
 |                             </nav> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle collapsed '>Setting Up<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/setup" | 
 |  | 
 |                                 class='' | 
 |                             >Setting Up Ignite for Java</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/setup-dotnet" | 
 |  | 
 |                                 class='' | 
 |                             >Setting Up Ignite for .NET/C#</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/understanding-configuration" class='' >Understanding Configuration</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/logging" class='' >Configuring Logging</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/starting-nodes" class='' >Starting and Stopping Nodes</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle collapsed '>Clustering<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/clustering/clustering" | 
 |  | 
 |                                 class='' | 
 |                             >Overview</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/clustering/tcp-ip-discovery" | 
 |  | 
 |                                 class='' | 
 |                             >TCP/IP Discovery</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/clustering/zookeeper-discovery" | 
 |  | 
 |                                 class='' | 
 |                             >ZooKeeper Discovery</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/clustering/discovery-in-the-cloud" | 
 |  | 
 |                                 class='' | 
 |                             >Discovery in the Cloud</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/clustering/network-configuration" | 
 |  | 
 |                                 class='' | 
 |                             >Network Configuration</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/clustering/connect-client-nodes" | 
 |  | 
 |                                 class='' | 
 |                             >Connecting Client Nodes</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/clustering/running-client-nodes-behind-nat" | 
 |  | 
 |                                 class='' | 
 |                             >Running Client Nodes Behind NAT</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle collapsed '>Data Modeling<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/data-modeling/data-modeling" | 
 |  | 
 |                                 class='' | 
 |                             >Introduction</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/data-modeling/data-partitioning" | 
 |  | 
 |                                 class='' | 
 |                             >Data Partitioning</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/data-modeling/affinity-collocation" | 
 |  | 
 |                                 class='' | 
 |                             >Affinity Colocation</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle collapsed '>Configuring Memory<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/memory-architecture" | 
 |  | 
 |                                 class='' | 
 |                             >Memory Architecture</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/memory-configuration/data-regions" | 
 |  | 
 |                                 class='' | 
 |                             >Configuring Data Regions</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/memory-configuration/eviction-policies" | 
 |  | 
 |                                 class='' | 
 |                             >Eviction Policies</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle collapsed '>Configuring Caches<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/configuring-caches/configuration-overview" | 
 |  | 
 |                                 class='' | 
 |                             >Cache Configuration</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/configuring-caches/configuring-backups" | 
 |  | 
 |                                 class='' | 
 |                             >Configuring Partition Backups</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/configuring-caches/atomicity-modes" | 
 |  | 
 |                                 class='' | 
 |                             >Atomicity Modes</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/configuring-caches/expiry-policies" | 
 |  | 
 |                                 class='' | 
 |                             >Expiry Policy</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/configuring-caches/on-heap-caching" | 
 |  | 
 |                                 class='' | 
 |                             >On-Heap Caching</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/configuring-caches/cache-groups" | 
 |  | 
 |                                 class='' | 
 |                             >Cache Groups</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle collapsed '>Persistence<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/persistence/native-persistence" | 
 |  | 
 |                                 class='' | 
 |                             >Ignite Persistence</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/persistence/external-storage" | 
 |  | 
 |                                 class='' | 
 |                             >External Storage</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/persistence/swap" | 
 |  | 
 |                                 class='' | 
 |                             >Swapping</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/persistence/custom-cache-store" | 
 |  | 
 |                                 class='' | 
 |                             >Implementing Custom Cache Store</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/persistence/disk-compression" | 
 |  | 
 |                                 class='' | 
 |                             >Disk Compression</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/persistence/persistence-tuning" | 
 |  | 
 |                                 class='' | 
 |                             >Tuning Persistence</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/baseline-topology" class='' >Baseline Topology</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/cluster-states" class='' >Cluster States</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/data-rebalancing" class='' >Data Rebalancing</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/partition-loss-policy" class='' >Partition Loss Policy</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/peer-class-loading" class='' >Peer Class Loading</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/data-streaming" class='' >Data Streaming</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle collapsed '>Using Key-Value Cache API<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/key-value-api/basic-cache-operations" | 
 |  | 
 |                                 class='' | 
 |                             >Basic Cache Operations</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/key-value-api/binary-objects" | 
 |  | 
 |                                 class='' | 
 |                             >Working with Binary Objects</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/key-value-api/using-scan-queries" | 
 |  | 
 |                                 class='' | 
 |                             >Using Scan Queries</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/read-repair" | 
 |  | 
 |                                 class='' | 
 |                             >Read Repair</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/key-value-api/continuous-queries" class='' >Using Continuous Queries</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/key-value-api/transactions" class='' >Performing Transactions</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle collapsed '>Working with SQL<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/sql-introduction" | 
 |  | 
 |                                 class='' | 
 |                             >Introduction</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/schemas" | 
 |  | 
 |                                 class='' | 
 |                             >Understanding Schemas</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/indexes" | 
 |  | 
 |                                 class='' | 
 |                             >Defining Indexes</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/sql-api" | 
 |  | 
 |                                 class='' | 
 |                             >Using SQL API</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/distributed-joins" | 
 |  | 
 |                                 class='' | 
 |                             >Distributed Joins</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/sql-transactions" | 
 |  | 
 |                                 class='' | 
 |                             >SQL Transactions</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/custom-sql-func" | 
 |  | 
 |                                 class='' | 
 |                             >Custom SQL Functions</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/JDBC/jdbc-driver" | 
 |  | 
 |                                 class='' | 
 |                             >JDBC Driver</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/JDBC/jdbc-client-driver" | 
 |  | 
 |                                 class='' | 
 |                             >JDBC Client Driver</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/transactions/mvcc" | 
 |  | 
 |                                 class='' | 
 |                             >Multiversion Concurrency Control</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle collapsed '>Distributed Computing<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/distributed-computing/distributed-computing" | 
 |  | 
 |                                 class='' | 
 |                             >Distributed Computing API</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/distributed-computing/cluster-groups" | 
 |  | 
 |                                 class='' | 
 |                             >Cluster Groups</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/distributed-computing/executor-service" | 
 |  | 
 |                                 class='' | 
 |                             >Executor Service</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/distributed-computing/map-reduce" | 
 |  | 
 |                                 class='' | 
 |                             >MapReduce API</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/distributed-computing/load-balancing" | 
 |  | 
 |                                 class='' | 
 |                             >Load Balancing</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/distributed-computing/fault-tolerance" | 
 |  | 
 |                                 class='' | 
 |                             >Fault Tolerance</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/distributed-computing/job-scheduling" | 
 |  | 
 |                                 class='' | 
 |                             >Job Scheduling</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/collocated-computations" class='' >Colocating Computations with Data</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle collapsed '>Working with Events<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/events/listening-to-events" | 
 |  | 
 |                                 class='' | 
 |                             >Enabling and Listenting to Events</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/events/events" | 
 |  | 
 |                                 class='' | 
 |                             >Events</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/near-cache" class='' >Near Caches</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/platform-cache" class='' >.NET Platform Cache</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle expanded '>Monitoring<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group expanded'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/monitoring-metrics/intro" | 
 |  | 
 |                                 class='' | 
 |                             >Introduction</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/monitoring-metrics/cluster-id" | 
 |  | 
 |                                 class='' | 
 |                             >Cluster ID and Tag</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                              | 
 |                              | 
 |                             <button | 
 |                                 type='button' | 
 |                                 class='collapsed '>Metrics<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |                             <nav class="sub_pages collapsed"> | 
 |  | 
 |                              | 
 |                                    | 
 |  | 
 | 								  <li><a href="/docs/2.9.0//monitoring-metrics/configuring-metrics" class=''>Configuring Metrics</a></li> | 
 |                              | 
 |                                    | 
 |  | 
 | 								  <li><a href="/docs/2.9.0//monitoring-metrics/metrics" class=''>JMX Metrics</a></li> | 
 |                              | 
 |                             </nav> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                              | 
 |                              | 
 |                             <button | 
 |                                 type='button' | 
 |                                 class='expanded parent '>New Metrics System<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |                             <nav class="sub_pages expanded parent"> | 
 |  | 
 |                              | 
 |                                    | 
 |  | 
 | 								  <li><a href="/docs/2.9.0//monitoring-metrics/new-metrics-system" class='active'>Introduction</a></li> | 
 |                              | 
 |                                    | 
 |  | 
 | 								  <li><a href="/docs/2.9.0//monitoring-metrics/new-metrics" class=''>Metrics</a></li> | 
 |                              | 
 |                             </nav> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/monitoring-metrics/system-views" | 
 |  | 
 |                                 class='' | 
 |                             >System Views</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/monitoring-metrics/tracing" | 
 |  | 
 |                                 class='' | 
 |                             >Tracing</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="/security" class='group-toggle collapsed '>Security<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/security/authentication" | 
 |  | 
 |                                 class='' | 
 |                             >Authentication</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/security/ssl-tls" | 
 |  | 
 |                                 class='' | 
 |                             >SSL/TLS</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                              | 
 |                              | 
 |                             <button | 
 |                                 type='button' | 
 |                                 class='collapsed '>Transparent Data Encryption<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |                             <nav class="sub_pages collapsed"> | 
 |  | 
 |                              | 
 |                                    | 
 |  | 
 | 								  <li><a href="/docs/2.9.0//security/tde" class=''>Introduction</a></li> | 
 |                              | 
 |                                    | 
 |  | 
 | 								  <li><a href="/docs/2.9.0//security/master-key-rotation" class=''>Master key rotation</a></li> | 
 |                              | 
 |                             </nav> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle collapsed '>Thin Clients<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/thin-clients/getting-started-with-thin-clients" | 
 |  | 
 |                                 class='' | 
 |                             >Thin Clients Overview</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/thin-clients/java-thin-client" | 
 |  | 
 |                                 class='' | 
 |                             >Java Thin Client</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/thin-clients/dotnet-thin-client" | 
 |  | 
 |                                 class='' | 
 |                             >.NET Thin Client</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/thin-clients/cpp-thin-client" | 
 |  | 
 |                                 class='' | 
 |                             >C++ Thin Client</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/thin-clients/python-thin-client" | 
 |  | 
 |                                 class='' | 
 |                             >Python Thin Client</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/thin-clients/php-thin-client" | 
 |  | 
 |                                 class='' | 
 |                             >PHP Thin Client</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/thin-clients/nodejs-thin-client" | 
 |  | 
 |                                 class='' | 
 |                             >Node.js Thin Client</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="" class='group-toggle collapsed '>ODBC Driver<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/ODBC/odbc-driver" | 
 |  | 
 |                                 class='' | 
 |                             >ODBC Driver</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/ODBC/connection-string-dsn" | 
 |  | 
 |                                 class='' | 
 |                             >Connection String and DSN</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/ODBC/querying-modifying-data" | 
 |  | 
 |                                 class='' | 
 |                             >Querying and Modifying Data</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/ODBC/specification" | 
 |  | 
 |                                 class='' | 
 |                             >Specification</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/ODBC/data-types" | 
 |  | 
 |                                 class='' | 
 |                             >Data Types</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/SQL/ODBC/error-codes" | 
 |  | 
 |                                 class='' | 
 |                             >Error Codes</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/restapi" class='' >REST API</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/control-script" class='' >Control Script</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/plugins" class='' >Plugins</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |             <a href="/docs/2.9.0/sqlline" class='' >SQLLine</a> | 
 |              | 
 |         </li> | 
 |      | 
 |         <li> | 
 |              | 
 |  | 
 |              | 
 |  | 
 |              | 
 |  | 
 | 			<button type='button' data-guide-url="/sql-reference/sql-reference-overview" class='group-toggle collapsed '>SQL Reference<img class="state-indicator" src="/assets/images/left-nav-arrow.svg"></button> | 
 |              <nav class='nav-group collapsed'> | 
 |              | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/sql-reference/ddl" | 
 |  | 
 |                                 class='' | 
 |                             >Data Definition Language (DDL)</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/sql-reference/dml" | 
 |  | 
 |                                 class='' | 
 |                             >Data Manipulation Language (DML)</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/sql-reference/transactions" | 
 |  | 
 |                                 class='' | 
 |                             >Transactions</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/sql-reference/operational-commands" | 
 |  | 
 |                                 class='' | 
 |                             >Operational Commands</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/sql-reference/aggregate-functions" | 
 |  | 
 |                                 class='' | 
 |                             >Aggregate functions</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/sql-reference/numeric-functions" | 
 |  | 
 |                                 class='' | 
 |                             >Numeric Functions</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/sql-reference/string-functions" | 
 |  | 
 |                                 class='' | 
 |                             >String Functions</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/sql-reference/date-time-functions" | 
 |  | 
 |                                 class='' | 
 |                             >Data and Time Functions</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/sql-reference/system-functions" | 
 |  | 
 |                                 class='' | 
 |                             >System Functions</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |  | 
 |                      | 
 |                      | 
 |  | 
 |                     <li>  | 
 |                          | 
 |                             <a href="/docs/2.9.0/sql-reference/data-types" | 
 |  | 
 |                                 class='' | 
 |                             >Data Types</a> | 
 |                          | 
 |                     </li> | 
 |                  | 
 |                | 
 |                       | 
 |              </nav>    | 
 |              | 
 |         </li> | 
 |      | 
 | </nav> | 
 | <div class="left-nav__overlay"></div> | 
 |  | 
 |  | 
 |     <article data-swiftype-index='true'> | 
 |       <a class='edit-link' href="https://github.com/apache/ignite/tree/IGNITE-7595/docs/_docs/monitoring-metrics/new-metrics-system.adoc" target="_blank">Edit</a> | 
 |          | 
 |             <h1>New Metrics System</h1> | 
 |          | 
 |         <div class="sect1"> | 
 | <h2 id="overview">Overview</h2> | 
 | <div class="sectionbody"> | 
 | <div class="admonitionblock warning"> | 
 | <table> | 
 | <tr> | 
 | <td class="icon"> | 
 | <div class="title">Warning</div> | 
 | </td> | 
 | <td class="content"> | 
 | Experimental | 
 | </td> | 
 | </tr> | 
 | </table> | 
 | </div> | 
 | <div class="paragraph"> | 
 | <p>Ignite 2.8 introduced a new mechanism for collecting metrics, which is intended to replace the <a href="/docs/2.9.0/monitoring-metrics/metrics">legacy metrics system</a>. | 
 | This section explains the new system and how you can use it to monitor your cluster.</p> | 
 | </div> | 
 | <div class="paragraph"> | 
 | <p>Let’s explore the basic concepts of the new metrics system in Ignite. | 
 | First, there are different metrics. | 
 | Each metric has a name and a return value. | 
 | The return value can be a simple value like <code>String</code>, <code>long</code>, or <code>double</code>, or can represent a Java object. | 
 | Some metrics represent <a href="#histograms">Histograms</a>.</p> | 
 | </div> | 
 | <div class="paragraph"> | 
 | <p>And then there are different ways to export the metrics — what we call <em>exporters</em>. | 
 | To put it another way, the exporter are different ways you can access the metrics. | 
 | Each exporter always gives access to all available metrics.</p> | 
 | </div> | 
 | <div class="paragraph"> | 
 | <p>Ignite includes the following exporters:</p> | 
 | </div> | 
 | <div class="ulist"> | 
 | <ul> | 
 | <li> | 
 | <p>JMX</p> | 
 | </li> | 
 | <li> | 
 | <p>SQL Views</p> | 
 | </li> | 
 | <li> | 
 | <p>Log files</p> | 
 | </li> | 
 | <li> | 
 | <p>OpenCensus</p> | 
 | </li> | 
 | </ul> | 
 | </div> | 
 | <div class="paragraph"> | 
 | <p>You can create a custom exporter by implementing the <a href="https://ignite.apache.org/releases/2.9.0/javadoc/org/apache/ignite/spi/metric/MetricExporterSpi.html" target="_blank" rel="noopener">MetricExporterSpi</a> interface.</p> | 
 | </div> | 
 | </div> | 
 | </div> | 
 | <div class="sect1"> | 
 | <h2 id="metric-registers">Metric Registers</h2> | 
 | <div class="sectionbody"> | 
 | <div class="paragraph"> | 
 | <p>Metrics are grouped into categories (called <em>registers</em>). | 
 | Each register has a name. | 
 | The full name of a specific metric within the register consists of the register name followed by a dot, followed by the name of the metric: <code><register_name>.<metric_name></code>. | 
 | For example, the register for data storage metrics is called <code>io.datastorage</code>. | 
 | The metric that return the storage size is called <code>io.datastorage.StorageSize</code>.</p> | 
 | </div> | 
 | <div class="paragraph"> | 
 | <p>The list of all registers and the metrics  they contain are described <a href="/docs/2.9.0/monitoring-metrics/new-metrics">here</a>.</p> | 
 | </div> | 
 | </div> | 
 | </div> | 
 | <div class="sect1"> | 
 | <h2 id="metric-exporters">Metric Exporters</h2> | 
 | <div class="sectionbody"> | 
 | <div class="paragraph"> | 
 | <p>If you want to enable metrics, configure one or multiple metric exporters in the node configuration. | 
 | This is a node-specific configuration, which means it enables metrics only on the node where it is specified.</p> | 
 | </div> | 
 | <code-tabs><code-tab data-tab='XML'><div class="listingblock"> | 
 | <div class="content"> | 
 | <pre class="rouge highlight"><code data-lang="xml"><span class="nt"><bean</span> <span class="na">class=</span><span class="s">"org.apache.ignite.configuration.IgniteConfiguration"</span><span class="nt">></span> | 
 |     <span class="nt"><property</span> <span class="na">name=</span><span class="s">"metricExporterSpi"</span><span class="nt">></span> | 
 |         <span class="nt"><list></span> | 
 |             <span class="nt"><bean</span> <span class="na">class=</span><span class="s">"org.apache.ignite.spi.metric.jmx.JmxMetricExporterSpi"</span><span class="nt">/></span> | 
 |             <span class="nt"><bean</span> <span class="na">class=</span><span class="s">"org.apache.ignite.spi.metric.sql.SqlViewMetricExporterSpi"</span><span class="nt">/></span> | 
 |             <span class="nt"><bean</span> <span class="na">class=</span><span class="s">"org.apache.ignite.spi.metric.log.LogExporterSpi"</span><span class="nt">/></span> | 
 |             <span class="nt"><bean</span> <span class="na">class=</span><span class="s">"org.apache.ignite.spi.metric.opencensus.OpenCensusMetricExporterSpi"</span><span class="nt">/></span> | 
 |         <span class="nt"></list></span> | 
 |     <span class="nt"></property></span> | 
 | <span class="nt"></bean></span></code></pre> | 
 | </div> | 
 | </div></code-tab><code-tab data-tab='Java'><div class="listingblock"> | 
 | <div class="content"> | 
 | <pre class="rouge highlight"><code data-lang="java"><span class="nc">IgniteConfiguration</span> <span class="n">cfg</span> <span class="o">=</span> <span class="k">new</span> <span class="nc">IgniteConfiguration</span><span class="o">();</span> | 
 |  | 
 | <span class="n">cfg</span><span class="o">.</span><span class="na">setMetricExporterSpi</span><span class="o">(</span><span class="k">new</span> <span class="nc">JmxMetricExporterSpi</span><span class="o">(),</span> <span class="k">new</span> <span class="nc">SqlViewMetricExporterSpi</span><span class="o">());</span> | 
 |  | 
 | <span class="nc">Ignite</span> <span class="n">ignite</span> <span class="o">=</span> <span class="nc">Ignition</span><span class="o">.</span><span class="na">start</span><span class="o">(</span><span class="n">cfg</span><span class="o">);</span></code></pre> | 
 | </div> | 
 | </div></code-tab><code-tab data-tab='C#/.NET'></code-tab><code-tab data-tab='C++' data-unavailable='true'><div class="listingblock"> | 
 | <div class="content"> | 
 | <pre class="rouge highlight"><code>This API is not presently available for C++. You can use XML configuration.</code></pre> | 
 | </div> | 
 | </div></code-tab></code-tabs> | 
 | <div class="paragraph"> | 
 | <p>The following sections describe the exporters available in Ignite by default.</p> | 
 | </div> | 
 | <div class="sect2"> | 
 | <h3 id="jmx">JMX</h3> | 
 | <div class="paragraph"> | 
 | <p><code>org.apache.ignite.spi.metric.jmx.JmxMetricExporterSpi</code> exposes metrics via JMX beans.</p> | 
 | </div> | 
 | <code-tabs><code-tab data-tab='Java'><div class="listingblock"> | 
 | <div class="content"> | 
 | <pre class="rouge highlight"><code data-lang="java"><span class="nc">IgniteConfiguration</span> <span class="n">cfg</span> <span class="o">=</span> <span class="k">new</span> <span class="nc">IgniteConfiguration</span><span class="o">();</span> | 
 |  | 
 | <span class="nc">JmxMetricExporterSpi</span> <span class="n">jmxExporter</span> <span class="o">=</span> <span class="k">new</span> <span class="nc">JmxMetricExporterSpi</span><span class="o">();</span> | 
 |  | 
 | <span class="c1">//export cache metrics only</span> | 
 | <span class="n">jmxExporter</span><span class="o">.</span><span class="na">setExportFilter</span><span class="o">(</span><span class="n">mreg</span> <span class="o">-></span> <span class="n">mreg</span><span class="o">.</span><span class="na">name</span><span class="o">().</span><span class="na">startsWith</span><span class="o">(</span><span class="s">"cache."</span><span class="o">));</span> | 
 |  | 
 | <span class="n">cfg</span><span class="o">.</span><span class="na">setMetricExporterSpi</span><span class="o">(</span><span class="n">jmxExporter</span><span class="o">);</span></code></pre> | 
 | </div> | 
 | </div></code-tab><code-tab data-tab='C#/.NET'></code-tab><code-tab data-tab='C++' data-unavailable='true'><div class="listingblock"> | 
 | <div class="content"> | 
 | <pre class="rouge highlight"><code>This API is not presently available for C++.</code></pre> | 
 | </div> | 
 | </div></code-tab></code-tabs> | 
 | </div> | 
 | <div class="sect2"> | 
 | <h3 id="sql-view">SQL View</h3> | 
 | <div class="paragraph"> | 
 | <p><code>org.apache.ignite.spi.metric.sql.SqlViewMetricExporterSpi</code> exposes metrics via the <code>SYS.METRICS</code> view. | 
 | Each metric is displayed as a single record. | 
 | You can use any supported SQL tool to view the metrics:</p> | 
 | </div> | 
 | <div class="listingblock"> | 
 | <div class="content"> | 
 | <pre class="rouge highlight"><code data-lang="shell">> select name, value from SYS.METRICS where name LIKE 'cache.myCache.%'; | 
 | +-----------------------------------+--------------------------------+ | 
 | |                NAME               |             VALUE              | | 
 | +-----------------------------------+--------------------------------+ | 
 | | cache.myCache.CacheTxRollbacks    | 0                              | | 
 | | cache.myCache.OffHeapRemovals     | 0                              | | 
 | | cache.myCache.QueryCompleted      | 0                              | | 
 | | cache.myCache.QueryFailed         | 0                              | | 
 | | cache.myCache.EstimatedRebalancingKeys | 0                         | | 
 | | cache.myCache.CacheEvictions      | 0                              | | 
 | | cache.myCache.CommitTime          | [J@2eb66498                    | | 
 | ....</code></pre> | 
 | </div> | 
 | </div> | 
 | <div class="paragraph"> | 
 | <p>This is how you can configure the SQL View exporter:</p> | 
 | </div> | 
 | <code-tabs><code-tab data-tab='XML'><div class="listingblock"> | 
 | <div class="content"> | 
 | <pre class="rouge highlight"><code data-lang="xml"><span class="nt"><bean</span> <span class="na">class=</span><span class="s">"org.apache.ignite.configuration.IgniteConfiguration"</span><span class="nt">></span> | 
 |     <span class="nt"><property</span> <span class="na">name=</span><span class="s">"metricExporterSpi"</span><span class="nt">></span> | 
 |         <span class="nt"><list></span> | 
 |             <span class="nt"><bean</span> <span class="na">class=</span><span class="s">"org.apache.ignite.spi.metric.sql.SqlViewMetricExporterSpi"</span><span class="nt">/></span> | 
 |         <span class="nt"></list></span> | 
 |     <span class="nt"></property></span> | 
 | <span class="nt"></bean></span></code></pre> | 
 | </div> | 
 | </div></code-tab><code-tab data-tab='Java'><div class="listingblock"> | 
 | <div class="content"> | 
 | <pre class="rouge highlight"><code data-lang="java"><span class="nc">IgniteConfiguration</span> <span class="n">cfg</span> <span class="o">=</span> <span class="k">new</span> <span class="nc">IgniteConfiguration</span><span class="o">();</span> | 
 |  | 
 | <span class="nc">SqlViewMetricExporterSpi</span> <span class="n">jmxExporter</span> <span class="o">=</span> <span class="k">new</span> <span class="nc">SqlViewMetricExporterSpi</span><span class="o">();</span> | 
 |  | 
 | <span class="c1">//export cache metrics only</span> | 
 | <span class="n">jmxExporter</span><span class="o">.</span><span class="na">setExportFilter</span><span class="o">(</span><span class="n">mreg</span> <span class="o">-></span> <span class="n">mreg</span><span class="o">.</span><span class="na">name</span><span class="o">().</span><span class="na">startsWith</span><span class="o">(</span><span class="s">"cache."</span><span class="o">));</span> | 
 |  | 
 | <span class="n">cfg</span><span class="o">.</span><span class="na">setMetricExporterSpi</span><span class="o">(</span><span class="n">jmxExporter</span><span class="o">);</span></code></pre> | 
 | </div> | 
 | </div></code-tab><code-tab data-tab='C#/.NET'></code-tab><code-tab data-tab='C++' data-unavailable='true'><div class="listingblock"> | 
 | <div class="content"> | 
 | <pre class="rouge highlight"><code>This API is not presently available for C++. You can use XML configuration.</code></pre> | 
 | </div> | 
 | </div></code-tab></code-tabs> | 
 | </div> | 
 | <div class="sect2"> | 
 | <h3 id="log">Log</h3> | 
 | <div class="paragraph"> | 
 | <p><code>org.apache.ignite.spi.metric.log.LogExporterSpi</code> prints the metrics to the log file at regular intervals (1 min by default) at INFO level.</p> | 
 | </div> | 
 | <code-tabs><code-tab data-tab='XML'><div class="listingblock"> | 
 | <div class="content"> | 
 | <pre class="rouge highlight"><code data-lang="xml"><span class="nt"><bean</span> <span class="na">class=</span><span class="s">"org.apache.ignite.configuration.IgniteConfiguration"</span><span class="nt">></span> | 
 |     <span class="nt"><property</span> <span class="na">name=</span><span class="s">"metricExporterSpi"</span><span class="nt">></span> | 
 |         <span class="nt"><list></span> | 
 |             <span class="nt"><bean</span> <span class="na">class=</span><span class="s">"org.apache.ignite.spi.metric.log.LogExporterSpi"</span><span class="nt">/></span> | 
 |         <span class="nt"></list></span> | 
 |     <span class="nt"></property></span> | 
 | <span class="nt"></bean></span></code></pre> | 
 | </div> | 
 | </div></code-tab><code-tab data-tab='Java'><div class="paragraph"> | 
 | <p>If you use programmatic configuration, you can change the print frequency as follows:</p> | 
 | </div> | 
 | <div class="listingblock"> | 
 | <div class="content"> | 
 | <pre class="rouge highlight"><code data-lang="java"><span class="nc">IgniteConfiguration</span> <span class="n">cfg</span> <span class="o">=</span> <span class="k">new</span> <span class="nc">IgniteConfiguration</span><span class="o">();</span> | 
 |  | 
 | <span class="nc">LogExporterSpi</span> <span class="n">logExporter</span> <span class="o">=</span> <span class="k">new</span> <span class="nc">LogExporterSpi</span><span class="o">();</span> | 
 | <span class="n">logExporter</span><span class="o">.</span><span class="na">setPeriod</span><span class="o">(</span><span class="mi">600_000</span><span class="o">);</span> | 
 |  | 
 | <span class="c1">//export cache metrics only</span> | 
 | <span class="n">logExporter</span><span class="o">.</span><span class="na">setExportFilter</span><span class="o">(</span><span class="n">mreg</span> <span class="o">-></span> <span class="n">mreg</span><span class="o">.</span><span class="na">name</span><span class="o">().</span><span class="na">startsWith</span><span class="o">(</span><span class="s">"cache."</span><span class="o">));</span> | 
 |  | 
 | <span class="n">cfg</span><span class="o">.</span><span class="na">setMetricExporterSpi</span><span class="o">(</span><span class="n">logExporter</span><span class="o">);</span> | 
 |  | 
 | <span class="nc">Ignite</span> <span class="n">ignite</span> <span class="o">=</span> <span class="nc">Ignition</span><span class="o">.</span><span class="na">start</span><span class="o">(</span><span class="n">cfg</span><span class="o">);</span></code></pre> | 
 | </div> | 
 | </div></code-tab><code-tab data-tab='C#/.NET'></code-tab><code-tab data-tab='C++'></code-tab></code-tabs> | 
 | </div> | 
 | <div class="sect2"> | 
 | <h3 id="opencensus">OpenCensus</h3> | 
 | <div class="paragraph"> | 
 | <p><code>org.apache.ignite.spi.metric.opencensus.OpenCensusMetricExporterSpi</code> adds integration with the OpenCensus library.</p> | 
 | </div> | 
 | <div class="paragraph"> | 
 | <p>To use the OpenCensus exporter:</p> | 
 | </div> | 
 | <div class="olist arabic"> | 
 | <ol class="arabic"> | 
 | <li> | 
 | <p><a href="/docs/2.9.0/setup#enabling-modules">Enable the 'ignite-opencensus' module</a>.</p> | 
 | </li> | 
 | <li> | 
 | <p>Add <code>org.apache.ignite.spi.metric.opencensus.OpenCensusMetricExporterSpi</code> to the list of exporters in the node configuration.</p> | 
 | </li> | 
 | <li> | 
 | <p>Configure OpenCensus StatsCollector to export to a specific system. See <a href="https://github.com/apache/ignite/tree/master/examples/src/main/java/org/apache/ignite/examples/opencensus/OpenCensusMetricsExporterExample.java">OpenCensusMetricsExporterExample.java</a> for an example and OpenCensus documentation for additional information.</p> | 
 | </li> | 
 | </ol> | 
 | </div> | 
 | <div class="paragraph"> | 
 | <p>Configuration parameters:</p> | 
 | </div> | 
 | <div class="ulist"> | 
 | <ul> | 
 | <li> | 
 | <p><code>filter</code> - predicate that filters metrics.</p> | 
 | </li> | 
 | <li> | 
 | <p><code>period</code> - export period.</p> | 
 | </li> | 
 | <li> | 
 | <p><code>sendInstanceName</code> - if enabled, a tag with the Ignite instance name is added to each metric.</p> | 
 | </li> | 
 | <li> | 
 | <p><code>sendNodeId</code> - if enabled, a tag with the Ignite node id is added to each metric.</p> | 
 | </li> | 
 | <li> | 
 | <p><code>sendConsistentId</code> - if enabled, a tag with the Ignite node consistent id is added to each metric.</p> | 
 | </li> | 
 | </ul> | 
 | </div> | 
 | </div> | 
 | </div> | 
 | </div> | 
 | <div class="sect1"> | 
 | <h2 id="histograms">Histograms</h2> | 
 | <div class="sectionbody"> | 
 | <div class="paragraph"> | 
 | <p>The metrics that represent histograms are available in the JMX exporter only. | 
 | Histogram metrics are exported as a set of values where each value corresponds to a specific bucket and is available through a separate JMX bean attribute. | 
 | The attribute names of a histogram metric have the following format:</p> | 
 | </div> | 
 | <div class="listingblock"> | 
 | <div class="content"> | 
 | <pre class="rouge highlight"><code>{metric_name}_{low_bound}_{high_bound}</code></pre> | 
 | </div> | 
 | </div> | 
 | <div class="paragraph"> | 
 | <p>where</p> | 
 | </div> | 
 | <div class="ulist"> | 
 | <ul> | 
 | <li> | 
 | <p><code>{metric_name}</code> - the name of the metric.</p> | 
 | </li> | 
 | <li> | 
 | <p><code>{low_bound}</code> - start of the bound. <code>0</code> for the first bound.</p> | 
 | </li> | 
 | <li> | 
 | <p><code>{high_bound}</code> - end of the bound. <code>inf</code> for the last bound.</p> | 
 | </li> | 
 | </ul> | 
 | </div> | 
 | <div class="paragraph"> | 
 | <p>Example of the metric names if the bounds are [10,100]:</p> | 
 | </div> | 
 | <div class="ulist"> | 
 | <ul> | 
 | <li> | 
 | <p><code>histogram_0_10</code> - less than 10.</p> | 
 | </li> | 
 | <li> | 
 | <p><code>histogram_10_100</code> - between 10 and 100.</p> | 
 | </li> | 
 | <li> | 
 | <p><code>histogram_100_inf</code> - more than 100.</p> | 
 | </li> | 
 | </ul> | 
 | </div> | 
 | </div> | 
 | </div> | 
 |         <div class="copyright"> | 
 |  © 2020 The Apache Software Foundation.<br/> | 
 | Apache, Apache Ignite, the Apache feather and the Apache Ignite logo are either registered trademarks or trademarks of The Apache Software Foundation.  | 
 |  | 
 | </div> | 
 |  | 
 |     </article> | 
 |     <nav class="right-nav" data-swiftype-index='false'> | 
 |     <ul class="sectlevel1"> | 
 | <li><a href="#overview">Overview</a></li> | 
 | <li><a href="#metric-registers">Metric Registers</a></li> | 
 | <li><a href="#metric-exporters">Metric Exporters</a> | 
 | <ul class="sectlevel2"> | 
 | <li><a href="#jmx">JMX</a></li> | 
 | <li><a href="#sql-view">SQL View</a></li> | 
 | <li><a href="#log">Log</a></li> | 
 | <li><a href="#opencensus">OpenCensus</a></li> | 
 | </ul> | 
 | </li> | 
 | <li><a href="#histograms">Histograms</a></li> | 
 | </ul> | 
 |            | 
 |        | 
 | <footer> | 
 | </footer> | 
 |  | 
 | </nav> | 
 |      | 
 | </section> | 
 | <script type='module' src='/assets/js/code-copy-to-clipboard.js' async crossorigin></script> | 
 |  | 
 |     <script> | 
 |     // inits deep anchors -- needs to be done here because of https://www.bryanbraun.com/anchorjs/#dont-run-it-too-late  | 
 |     anchors.add('.page-docs h1, .page-docs h2, .page-docs h3:not(.discrete), .page-docs h4, .page-docs h5'); | 
 |     anchors.options = { | 
 |         placement: 'right', | 
 |         visible: 'always' | 
 |     }; | 
 |     </script> | 
 |     <!-- load google fonts async --> | 
 |     <script type="text/javascript"> | 
 |     WebFontConfig = { | 
 |       google: { families: [ 'Open+Sans:300,400,600,700&display=swap' ] } | 
 |     }; | 
 |     (function() { | 
 |       var wf = document.createElement('script'); | 
 |       wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; | 
 |       wf.type = 'text/javascript'; | 
 |       wf.async = 'true'; | 
 |       var s = document.getElementsByTagName('script')[0]; | 
 |       s.parentNode.insertBefore(wf, s); | 
 |     })(); </script> | 
 |     <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> | 
 |     <script> | 
 |       docsearch({ | 
 |         // Your apiKey and indexName will be given to you once | 
 |         // we create your config | 
 |         apiKey: '3eee686c0ebe39eff3baeb18c56fa5f8',  | 
 |         indexName: 'apache_ignite', | 
 |         // Replace inputSelector with a CSS selector | 
 |         // matching your search input | 
 |         inputSelector: '#search-input', | 
 |         // algoliaOptions: { 'facetFilters': ["version:$VERSION"] }, | 
 |  | 
 |         // Set debug to true to inspect the dropdown | 
 |         debug: false, | 
 |       }); | 
 |     </script> | 
 | <script type='module' src='/assets/js/index.js?1598947897' async crossorigin></script> | 
 | <script type='module' src='/assets/js/versioning.js?1598947897' async crossorigin></script> | 
 | </body> | 
 |  | 
 | </html> |