` | Optional. Accepts remote connections on the given port. |
+| `-Dcom.sun.management.jmxremote.authenticate=false` | Optional. Turns off password authentication of JMX connections. |
+
+Then set the `hazelcast.jmx` property to `true`. The default is `false`.
+
+
+
+
+```xml
+
+ ...
+
+ true
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ properties:
+ hazelcast.jmx: true
+```
+
+
+
+
+```java
+config.setProperty("hazelcast.jmx", "true");
+```
+
+
+
+
+```xml
+
+ true
+
+```
+
+
+
+
+```shell
+-Dhazelcast.jmx=true
+```
+
+
+
+
+## MBean names
+
+Each Hazelcast MBean has an object name in the `com.hazelcast` domain. The object name has the following keys:
+
+| Key | Value |
+| --- | --- |
+| `instance` | The name of the Hazelcast instance |
+| `type` | The type of the MBean, such as `IMap` or `HazelcastInstance.Node` |
+| `name` | The name of the data structure or service |
+
+For example, the following object name identifies the MBean of the map `trial` on the instance `_hzInstance_1_dev`:
+
+```java
+ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
+```
+
+If a value contains any of the characters `:`, `"`, `,`, `=`, `*`, or `?`, or a line break, Hazelcast quotes it with `ObjectName.quote()`. For example, the MBean of a map named `orders:eu` has the object name `com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name="orders:eu"`.
+
+## Connect to the JMX agent
+
+To connect to a member, use a JMX client such as JConsole or VisualVM with the VisualVM-MBeans plugin. You can also connect from your own Java code.
+
+To connect from Java code, first create a `JMXServiceURL` with the host of the member and the port that you set in `com.sun.management.jmxremote.port`:
+
+```java
+int port = 1099;
+String hostname = InetAddress.getLocalHost().getHostName();
+JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://" + hostname + ":" + port + "/jndi/rmi://" + hostname + ":" + port + "/jmxrmi");
+```
+
+Then connect to the URL, and get an `MBeanServerConnection` from the connection:
+
+```java
+JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
+MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
+```
+
+Use the `MBeanServerConnection` to read attributes and call operations. The following example reads the name of a map and the number of its entries that the member owns:
+
+```java
+ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
+System.out.println("Total entries on map " + mbsc.getAttribute(mapMBeanName, "name") + " : "
+ + mbsc.getAttribute(mapMBeanName, "localOwnedEntryCount"));
+```
+
+## MBeans of a member
+
+The following sections list the MBeans that a member registers. Each section lists the attributes and operations of one MBean. Operation names end with parentheses. Attributes whose names start with `local` describe only the member that you connect to, not the whole cluster. For the metrics behind many of these attributes, see [List of Hazelcast metrics](../../reference/list-of-metrics.mdx).
+
+### Instance (`HazelcastInstance`)
+
+The `HazelcastInstance` MBean describes the member and its cluster. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the instance |
+| `version` | Hazelcast version |
+| `build` | Hazelcast build |
+| `config` | Configuration of the member, as a string |
+| `configSource` | Source of the configuration |
+| `clusterName` | Name of the cluster |
+| `port` | Network port |
+| `clusterTime` | Cluster-wide time |
+| `memberCount` | Number of members in the cluster |
+| `Members` | List of members |
+| `running` | Whether the member is running |
+| `shutdown()` | Shuts down the member |
+
+### Node (`HazelcastInstance.Node`)
+
+The `HazelcastInstance.Node` MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `address` | Address of the member |
+| `masterAddress` | Address of the master member of the cluster |
+
+### Partition service (`HazelcastInstance.PartitionServiceMBean`)
+
+The `HazelcastInstance.PartitionServiceMBean` MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `partitionCount` | Number of partitions |
+| `activePartitionCount` | Number of active partitions |
+| `isClusterSafe` | Whether the cluster is in a safe state |
+| `isLocalMemberSafe` | Whether the member is safe to shut down |
+
+### Logging service (`HazelcastInstance.LoggingService`)
+
+The `HazelcastInstance.LoggingService` MBean has the following attribute and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `level` | Log level that is set on the member |
+| `setLevel(level)` | Sets the log level of the member |
+| `resetLevel()` | Resets the log level of the member |
+
+### License (`HazelcastInstance.LicenseInfo`)
+
+The `HazelcastInstance.LicenseInfo` MBean holds the details of the member's license. For its attributes, see [Get license details with JMX API](../../install-and-upgrade/enterprise-edition/enterprise-licenses.mdx#jmx).
+
+### Internal executors (`HazelcastInstance.ManagedExecutorService`)
+
+A member registers one `HazelcastInstance.ManagedExecutorService` MBean for each of the following internal executors. The `name` key of the object name is the name of the executor:
+- `hz:system`
+- `hz:async`
+- `hz:scheduled`
+- `hz:client`
+- `hz:client-query`
+- `hz:client-blocking-tasks`
+- `hz:query`
+- `hz:io`
+- `hz:offloadable`
+- `hz:vector-query` , if vector collections are enabled
+
+Each executor MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the executor |
+| `queueSize` | Number of tasks in the work queue |
+| `poolSize` | Number of threads in the pool |
+| `maximumPoolSize` | Maximum number of threads in the pool |
+| `remainingQueueCapacity` | Remaining capacity of the work queue |
+| `isShutdown` | Whether the executor is shut down |
+| `isTerminated` | Whether the executor is terminated |
+| `completedTaskCount` | Number of tasks that the executor has completed |
+
+### WAN publisher (`WanPublisher`)
+
+A member registers one `WanPublisher` MBean for each WAN replication publisher. The `name` key of the object name is the name of the WAN replication and the ID of the publisher, separated by a period. The MBean has the following attribute:
+
+| Attribute | Description |
+| --- | --- |
+| `state` | State of the publisher: `REPLICATING`, `PAUSED`, or `STOPPED` |
+
+### Map (`IMap`)
+
+A member registers an `IMap` MBean for each map. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the map |
+| `size` | Number of entries in the map |
+| `config` | Configuration of the map |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localOwnedEntryMemoryCost` | Memory cost of the owned entries, in bytes |
+| `localBackupEntryCount` | Number of backup entries that the member holds |
+| `localBackupEntryMemoryCost` | Memory cost of the backup entries, in bytes |
+| `localBackupCount` | Number of backups of each entry |
+| `localCreationTime` | Time the map was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localLockedEntryCount` | Number of owned keys that are locked |
+| `localDirtyEntryCount` | Number of owned entries that are updated but not yet written to the map store |
+| `localPutOperationCount` | Number of put operations |
+| `localSetOperationCount` | Number of set operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localValuesOperationCount` | Number of `values()` calls |
+| `localEntrySetOperationCount` | Number of `entrySet()` calls |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalSetLatency` | Total latency of set operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxSetLatency` | Maximum latency of a set operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `localHeapCost` | Heap cost of the map, including its Near Cache |
+| `clear()` | Removes all entries from the map |
+
+To get the average latency of an operation type, divide its total latency by its operation count.
+
+### `MultiMap` (`MultiMap`)
+
+A member registers a `MultiMap` MBean for each `MultiMap`. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the `MultiMap` |
+| `size` | Number of entries in the `MultiMap` |
+| `config` | Configuration of the `MultiMap` |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localOwnedEntryMemoryCost` | Memory cost of the owned entries, in bytes |
+| `localBackupEntryCount` | Number of backup entries that the member holds |
+| `localBackupEntryMemoryCost` | Memory cost of the backup entries, in bytes |
+| `localBackupCount` | Number of backups of each entry |
+| `localCreationTime` | Time the `MultiMap` was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localLockedEntryCount` | Number of owned keys that are locked |
+| `localDirtyEntryCount` | Number of owned entries that are dirty |
+| `localPutOperationCount` | Number of put operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `clear()` | Removes all entries from the `MultiMap` |
+
+### Replicated map (`ReplicatedMap`)
+
+A member registers a `ReplicatedMap` MBean for each replicated map. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the replicated map |
+| `size` | Number of entries in the replicated map |
+| `config` | Configuration of the replicated map |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localCreationTime` | Time the replicated map was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localPutOperationCount` | Number of put operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localValuesOperationCount` | Number of `values()` calls |
+| `localEntrySetOperationCount` | Number of `entrySet()` calls |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `clear()` | Removes all entries from the replicated map |
+
+### Queue (`IQueue`)
+
+A member registers an `IQueue` MBean for each queue. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the queue |
+| `config` | Configuration of the queue |
+| `partitionKey` | Partition key of the queue |
+| `localOwnedItemCount` | Number of items that the member owns |
+| `localBackupItemCount` | Number of backup items that the member holds |
+| `localMinAge` | Minimum age of the items |
+| `localMaxAge` | Maximum age of the items |
+| `localAverageAge` | Average age of the items |
+| `localOfferOperationCount` | Number of offer, put, and add operations |
+| `localRejectedOfferOperationCount` | Number of rejected offers |
+| `localPollOperationCount` | Number of poll, take, and remove operations |
+| `localEmptyPollOperationCount` | Number of poll operations that returned `null` |
+| `localOtherOperationsCount` | Number of other operations |
+| `localEventOperationCount` | Number of event operations |
+| `clear()` | Removes all items from the queue |
+
+### List (`IList`)
+
+A member registers an `IList` MBean for each list. It has the following attribute and operation:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the list |
+| `clear()` | Removes all items from the list |
+
+### Set (`ISet`)
+
+A member registers an `ISet` MBean for each set. It has the following attributes and operation:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the set |
+| `partitionKey` | Partition key of the set |
+| `clear()` | Removes all items from the set |
+
+### Topic (`ITopic`)
+
+A member registers an `ITopic` MBean for each topic. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the topic |
+| `config` | Configuration of the topic |
+| `localCreationTime` | Time the topic was created on the member |
+| `localPublishOperationCount` | Number of messages published on the member |
+| `localReceiveOperationCount` | Number of messages received on the member |
+
+### Reliable topic (`ReliableTopic`)
+
+A member registers a `ReliableTopic` MBean for each reliable topic. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the reliable topic |
+| `config` | Configuration of the reliable topic |
+| `localCreationTime` | Time the reliable topic was created on the member |
+| `localPublishOperationCount` | Number of messages published on the member |
+| `localReceiveOperationCount` | Number of messages received on the member |
+
+### Executor service (`IExecutorService`)
+
+A member registers an `IExecutorService` MBean for each executor service. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the executor service |
+| `localCreationTime` | Time the executor service was created on the member |
+| `localPendingTaskCount` | Number of pending tasks |
+| `localStartedTaskCount` | Number of started tasks |
+| `localCompletedTaskCount` | Number of completed tasks |
+| `localCancelledTaskCount` | Number of cancelled tasks |
+| `localTotalStartLatency` | Total start latency of the started tasks |
+| `localTotalExecutionLatency` | Total execution time of the completed tasks |
diff --git a/hazelcast/operate-and-manage/monitoring/overview.mdx b/hazelcast/operate-and-manage/monitoring/overview.mdx
new file mode 100644
index 00000000..de7407ce
--- /dev/null
+++ b/hazelcast/operate-and-manage/monitoring/overview.mdx
@@ -0,0 +1,82 @@
+---
+title: "Overview"
+sidebar_position: 1
+slug: /maintain-cluster/monitoring
+---
+
+Hazelcast provides the following ways to monitor a cluster:
+
+| Page | What it provides |
+| --- | --- |
+| [Metrics](./metrics.mdx) | Runtime statistics about members and clients, such as the number of entries in a map, the used heap, and the load average |
+| [Health check and monitoring](./health-check-and-monitoring.mdx) | An HTTP endpoint that reports the state of a member, and a health monitor that writes resource use to the member log |
+| [Diagnostics](./diagnostics.mdx) | A dedicated log file with detailed information for troubleshooting |
+| [Monitoring with JMX](./monitoring-with-jmx.mdx) | MBeans that any JMX client can read |
+| [Instance tracking](./instance-tracking.mdx) | A file that records each instance that starts on a machine |
+| [Management Center](../securing-a-cluster/management-center.mdx) | A tool for monitoring and managing a cluster, which can also export metrics to other tools |
+
+Follow these practices when you run a cluster:
+- Review the log entries of the health monitor and the Hazelcast logs regularly for failure messages. Investigate and record each incident.
+- Set up alerts for long garbage collection pauses and for network problems that make a member unreachable. The failure detectors set how long the cluster tolerates these problems before it removes the member. For the settings, see [Failure Detector Configuration](../fault-tolerance/detecting-failures/failure-detector-configuration.mdx).
+- Use `jstat`, keep verbose GC logging turned on, and monitor GC behavior with a log scraping tool such as Splunk. Raise an alarm on back-to-back full GCs, and on heap occupancy above 90% after a full GC.
+- Make sure that each member can reach every other member through the network and their ports. Make sure that the clients can reach every member as well.
+- Start the members before the clients. This is not required, but clients that start first can time out or report that they cannot find a Hazelcast member.
+- Turn on a system monitoring tool, such as [`nmon`](http://nmon.sourceforge.net/pmwiki.php).
+- To add a member to a running cluster, start it with a configuration similar to that of the other members. You might also need to add the IP address of the new member to the configuration. You do not need a maintenance window to add members to a running cluster.
+
+ - When a member joins or leaves the cluster, the clients can pause briefly while the members rebalance the data. This is expected.
+ - You do not need to change anything on the clients when you add members to a running cluster. In the default `ALL_MEMBERS` routing mode, the clients connect to a new member after it joins the cluster.
+ - The members rebalance the primary and backup data automatically when a member joins or leaves the cluster, including when a member is forced to leave. In the default `ACTIVE` cluster state, you do not need to do anything.
+ - You can promote lite members to data members with the [Cluster API](../maintaining-a-cluster/lite-members.mdx#promoting-lite-members-to-data-members) or with Management Center.
+ - If you set `hazelcast.initial.min.cluster.size`, for example to 4, and start members one by one in an empty cluster, the members initialize the partition table when the cluster reaches that size. They do this even though the cluster has no data. In a cluster of more than 100 members, each member that joins after that causes partition assignment work that is not needed.
+- Check that the backup count is adequate for your SLAs.
+- If you use distributed computing features, such as the executor service or entry processors, keep the members up to date. Apply each change to your client application logic, or to your implementation of these features, to the members as well. Unless you use , which requires , restart all the members after you deploy the new code. Use the usual redeployment process: shut down the members, add the new application JARs to the classpath of the members, and start the members.
+
+## Alerting
+
+Hazelcast writes banners, warnings, and exception messages to the console of your application. For example, the following banner warns that a license is about to expire:
+
+```none
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+THIS HAZELCAST LICENSE ID AbCdE*********FgHiJ WILL EXPIRE IN 29 DAYS.
+Your Hazelcast cluster will stop working on the next re-start after
+expiry.
+
+Please contact your Hazelcast Account Executive or
+email sales@hazelcast.com.
+Phone: +1 (650) 521-5453
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+```
+
+The following warning reports an outdated API on the classpath:
+
+```none
+An outdated version of JCache API was located in the classpath, please use newer versions of
+JCache API rather than 1.0.0-PFD or 0.x versions.
+```
+
+The following exception message reports an SQL query that refers to a mapping that does not exist:
+
+```none
+com.hazelcast.sql.HazelcastSqlException: From line 1, column 15 to line 1, column 23: Object 'mapBak1HD' not found, did you forget to CREATE MAPPING?
+```
+
+You can also export metrics from Management Center to Prometheus, and filter them there to create alerts. Hazelcast logging is another, indirect source of alerts. For more information, see [Configuring logging](../logging.mdx).
+
+For the actions to take on each alert, see [Actions and remedies for alerts](../../troubleshoot/remedies-for-alerts.mdx).
+
+## Integrate with third-party tools
+
+ collects metrics from all the members of a cluster. To send these metrics to a third-party tool, integrate the tool with Management Center instead of with each member. You then do not need to connect to each member, handle members that scale or restart, or combine the metrics of several members.
+
+### Prometheus
+
+Management Center can expose the metrics that it collects from the members to [Prometheus](https://prometheus.io/). To turn on this feature, set the `hazelcast.mc.prometheusExporter.enabled` system property of Management Center to `true`. For details, see .
+
+### AppDynamics
+
+To integrate [Management Center](../securing-a-cluster/management-center.mdx) with AppDynamics, use the interface of Management Center, and attach the AppDynamics Java agent to Management Center. For details, see .
+
+### New Relic
+
+To integrate [Management Center](../securing-a-cluster/management-center.mdx) with New Relic, use the interface of Management Center. Attach the New Relic Java agent to Management Center, and provide an extension file that describes which metrics Management Center sends to New Relic. For details, see .
diff --git a/hazelcast/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx b/hazelcast/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx
index 09f3e1ab..85cc33fc 100644
--- a/hazelcast/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx
+++ b/hazelcast/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx
@@ -37,4 +37,4 @@ In addition to the above, we recommend the following hardening recommendations f
- Hazelcast uses Java serialization for some objects transferred over the network. To avoid deserialization of objects from untrusted sources, Hazelcast offers some protection mechanisms; we recommend enabling [mutual TLS authentication](./tls/tls-ssl.mdx#mutual-authentication) and disabling [multicast join](../partition-groups-and-networking/network-configuration.mdx#multicast-element) configuration. We recommend using Java serialization filter configuration for whitelisting the set of trusted classes or packages which are allowed for deserialization. Configure these restrictions on both members and clients. The configuration does not have to be the same on each. Bear in mind that a class blocked on a given member or client cannot be used there.
- Hazelcast can use zero-configuration Compact serialization for eligible classes that have no explicit serializer. We recommend restricting the classes allowed to use zero-config Compact serialization by defining an allowlist of only the classes your application needs, rather than relying on the default behavior, and configuring this on both members and clients. See [Restricting Classes for Zero-Config Compact Serialization](../../develop-and-build/serialization/compact-serialization/overview.mdx#zero-config-filter). If you do not want to use zero-config Compact serialization, disable it by disabling the defaults and configuring an empty allowlist.
- Hazelcast uses Java reflection during SQL execution when the object format is set to `java`. We recommend using [Java reflection filter configuration](../../develop-and-build/sql/sql-reflection-configuration.mdx#disallowing-reflection-of-untrusted-java-classes) to whitelist the set of trusted classes or packages that are allowed to create through reflection.
-- You can disable script executions on the Hazelcast members. Scripts executed from Management center have access to system resources (files, etc.) with privileges of user running Hazelcast. We recommend that scripting be [disabled](../maintaining-a-cluster/monitoring.mdx#toggle-scripting-support) on members.
+- You can disable script executions on the Hazelcast members. Scripts executed from Management center have access to system resources (files, etc.) with privileges of user running Hazelcast. We recommend that scripting be [disabled](./management-center.mdx#toggle-scripting-support) on members.
diff --git a/hazelcast/operate-and-manage/securing-a-cluster/management-center.mdx b/hazelcast/operate-and-manage/securing-a-cluster/management-center.mdx
new file mode 100644
index 00000000..98f1a1fe
--- /dev/null
+++ b/hazelcast/operate-and-manage/securing-a-cluster/management-center.mdx
@@ -0,0 +1,156 @@
+---
+title: "Management Center"
+sidebar_position: 9
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast is a tool for monitoring and managing a cluster. In Management Center, you can monitor the state of your clusters, browse your data structures, update map configurations, and take thread dumps from members. With its scripting and console modules, you can also run scripts, such as JavaScript or Groovy, and commands on your members. A script runs only if the classpath of the member contains a scripting engine for the language of the script.
+
+For more information, including the clustered JMX and clustered REST APIs of Management Center, see the .
+
+Management Center is a client of the cluster. You therefore control the following features of Management Center in the member configuration:
+- Scripting
+- The console
+- Access to data
+- The IP addresses that Management Center can connect from
+
+## Enable scripting {/* #managing-scripting-support */}
+
+
+
+Management Center can run scripts that automate interactions with the cluster. Scripting is disabled by default, because a scripting engine gives code access to the files and other resources of the members. The code runs with the permissions of the user that runs the member.
+
+:::important
+
+Scripting gives full, unrestricted access to the cluster. The permissions of individual Management Center users do **not** limit it. Enable scripting with caution, especially in production. If you need fine-grained access control, leave scripting disabled. For details, see in the Management Center documentation.
+
+:::
+
+To enable scripting, set `scripting-enabled` to `true` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ scripting-enabled: true
+```
+
+
+
+
+Hazelcast supports scripting through the API that [Java Specification Request (JSR) 223](https://jcp.org/en/jsr/detail?id=223) defines.
+
+## Enable the console {/* #managing-console-support */}
+
+Management Center can run client operations from its user interface, with a built-in Hazelcast Command-Line Client (CLC). The console is useful for testing and development. It is disabled by default.
+
+:::important
+
+The console gives full access to the cluster through CLC. The permissions of individual Management Center users do **not** limit it. Enable the console with caution, especially in production. If you need fine-grained access control, leave the console disabled.
+
+:::
+
+To enable the console, set `console-enabled` to `true` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ console-enabled: true
+```
+
+
+
+
+For more information, see in the Management Center documentation.
+
+## Disable access to data {/* #managing-data-access */}
+
+In its SQL Browser and Map Browser, Management Center can show the contents of data structures, such as map entries. If your cluster stores sensitive data, such as financial or personal information, you can stop Management Center from reading it. Access to data is enabled by default. Management Center reads data only if every member allows it.
+
+To disable access to data, set `data-access-enabled` to `false` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ data-access-enabled: false
+```
+
+
+
+
+## Limit source addresses
+
+By default, any Management Center instance that can authenticate can connect to the cluster. To accept connections only from trusted Management Center instances, list their IP addresses in `trusted-interfaces`. The addresses can contain wildcards (`*`) and ranges (`-`).
+
+The following example accepts connections only from Management Center instances with an address that starts with `192.168.1.`:
+
+
+
+
+```xml
+
+ ...
+
+
+ 192.168.1.*
+
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ trusted-interfaces:
+ - 192.168.1.*
+```
+
+
+
diff --git a/hazelcast/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx b/hazelcast/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx
index 8e7e82e8..ce4590cf 100644
--- a/hazelcast/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx
+++ b/hazelcast/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx
@@ -421,7 +421,7 @@ The average entries per leaf number above assumes perfect distribution of the en
### WAN Synchronization Statistics
-Both Full and Delta WAN Synchronization processes write statistics into the [diagnostics](../maintaining-a-cluster/monitoring.mdx#diagnostics) subsystem and send them to Hazelcast Management Center. Using these statistics you can measure the efficiency of your configuration.
+Both Full and Delta WAN Synchronization processes write statistics into the [diagnostics](../monitoring/diagnostics.mdx) subsystem and send them to Hazelcast Management Center. Using these statistics you can measure the efficiency of your configuration.
Full WAN Synchronization reports the following:
@@ -464,7 +464,7 @@ Merkle synchronization statistics:
Maximum records per Merkle tree node: 7
```
-See the [Diagnostics section](../maintaining-a-cluster/monitoring.mdx#diagnostics) to learn how to enable diagnostics and locate its log file to see the above statistics.
+See the [Diagnostics section](../monitoring/diagnostics.mdx) to learn how to enable diagnostics and locate its log file to see the above statistics.
## Dynamically Adding WAN Publishers
diff --git a/hazelcast/reference/faq.mdx b/hazelcast/reference/faq.mdx
index 7ff005ae..9ae4a846 100644
--- a/hazelcast/reference/faq.mdx
+++ b/hazelcast/reference/faq.mdx
@@ -210,9 +210,9 @@ Yes. But note that Hazelcast's main design focus is multi-member clusters to be
is what you use to monitor and manage the members running Hazelcast. In addition to monitoring the overall state of a cluster, you can analyze and browse data structures in detail, you can update map configurations and you can take thread dumps from members.
-You can also use Hazelcast's HTTP based health check implementation and health monitoring utility. See the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). There is also a [diagnostics tool](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics) where you can see detailed logs enhanced with diagnostic plugins.
+You can also use Hazelcast's HTTP based health check implementation and health monitoring utility. See the [Health Check and Monitoring section](../operate-and-manage/monitoring/health-check-and-monitoring.mdx). There is also a [diagnostics tool](../operate-and-manage/monitoring/diagnostics.mdx) where you can see detailed logs enhanced with diagnostic plugins.
-Moreover, JMX monitoring is also provided. See the [Monitoring with JMX section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) for details.
+Moreover, JMX monitoring is also provided. See the [Monitoring with JMX section](../operate-and-manage/monitoring/monitoring-with-jmx.mdx) for details.
## How can I see debug level logs?
diff --git a/hazelcast/reference/list-of-metrics.mdx b/hazelcast/reference/list-of-metrics.mdx
index c3a6f7dd..6bb4e568 100644
--- a/hazelcast/reference/list-of-metrics.mdx
+++ b/hazelcast/reference/list-of-metrics.mdx
@@ -153,7 +153,7 @@ Details on whether the user canceled the job. Potential values:
- 1 - canceled by the user
- 0 - means the job is either running, completed successfully, or failed due to an error other than user cancellation
-Exposed via [Job API](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#via-job-api) only.
+Exposed via [Job API](../operate-and-manage/monitoring/metrics.mdx#job-api) only.
diff --git a/hazelcast/reference/system-properties.mdx b/hazelcast/reference/system-properties.mdx
index b5bad581..94be2b94 100644
--- a/hazelcast/reference/system-properties.mdx
+++ b/hazelcast/reference/system-properties.mdx
@@ -168,7 +168,7 @@ When you want to reconfigure a system property, you need to [restart](../operate
| `hazelcast.config.instance.tracking.file` |
|
string |
-The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking) |
+The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/monitoring/instance-tracking.mdx) |
| `hazelcast.connect.all.wait.seconds` |
@@ -204,7 +204,7 @@ Output directory of the diagnostic log files.
:::note
-For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics).
+For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-and-manage/monitoring/diagnostics.mdx).
:::
@@ -388,7 +388,7 @@ For detailed information about the diagnostic tool, along with this and the foll
`hazelcast.health.monitoring.delay.seconds` |
20 |
int |
-Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). |
+Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/monitoring/health-check-and-monitoring.mdx). |
| `hazelcast.health.monitoring.level` |
@@ -568,7 +568,7 @@ This property should only be used as a last resort. Hazelcast uses the XXE prote
`hazelcast.jmx` |
false |
bool |
-Enable [JMX](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent. |
+Enable [JMX](../operate-and-manage/monitoring/monitoring-with-jmx.mdx) agent. |
| `hazelcast.jet.custom.lib.dir` |
@@ -818,7 +818,7 @@ Setting this value too low may cause members to be evicted from the cluster when
`hazelcast.metrics.collection.frequency` |
5 |
int |
-Frequency, in seconds, of the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Frequency, in seconds, of the [metrics](../operate-and-manage/monitoring/metrics.mdx) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.datastructures.enabled` |
@@ -836,25 +836,25 @@ Setting this value too low may cause members to be evicted from the cluster when
`hazelcast.metrics.enabled` |
true |
bool |
-Enables the [metrics collection](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables the [metrics collection](../operate-and-manage/monitoring/metrics.mdx) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.mc.enabled` |
true |
bool |
-Enables buffering the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables buffering the collected [metrics](../operate-and-manage/monitoring/metrics.mdx) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.mc.retention` |
5 |
int |
-Duration, in seconds, that the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Duration, in seconds, that the [metrics](../operate-and-manage/monitoring/metrics.mdx) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.jmx.enabled` |
true |
bool |
-Enables exposing the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables exposing the collected [metrics](../operate-and-manage/monitoring/metrics.mdx) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.multicast.group` |
diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/logging.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/logging.mdx
index b8f34fee..1ed1a636 100644
--- a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/logging.mdx
+++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/logging.mdx
@@ -245,7 +245,7 @@ This feature is supported for the default (JDK/JUL), Log4j, and Log4j2 framework
You can use either of the following ways to dynamically change the level of your cluster's logs:
-- Using JMX API: The logging service exposes its JMX MBean as `LoggingServiceMBean`. You can retrieve, set, and reset the level. See the [Monitoring with JMX section](./maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx).
+- Using JMX API: The logging service exposes its JMX MBean as `LoggingServiceMBean`. You can retrieve, set, and reset the level. See the [Monitoring with JMX section](./monitoring/monitoring-with-jmx.mdx).
- Using REST API: You can use the `/hazelcast/rest/log-level` REST endpoint to retrieve (`GET`), set (`POST`), and reset (`DELETE`) the level. See the [REST Endpoint Groups section](./maintaining-a-cluster/rest-api.mdx#using-the-rest-endpoint-groups).
## Logging for Client and Embedded Mode
diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx
deleted file mode 100644
index 4d5a39ae..00000000
--- a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx
+++ /dev/null
@@ -1,2223 +0,0 @@
----
-title: "Monitoring"
-sidebar_position: 2
-slug: /maintain-cluster/monitoring
----
-
-import Tabs from "@theme/Tabs";
-import TabItem from "@theme/TabItem";
-import CodeBlock from "@theme/CodeBlock";
-import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../examples/management/ExampleLocalMapStats.java?tag=lms";
-import Ex_management_ExampleLocalIndexStats_java_tag_lis from "../../examples/management/ExampleLocalIndexStats.java?tag=lis";
-import Ex_management_ExampleNearCacheStats_java_tag_ncs from "../../examples/management/ExampleNearCacheStats.java?tag=ncs";
-import Ex_management_ExampleMultiMapStats_java_tag_mms from "../../examples/management/ExampleMultiMapStats.java?tag=mms";
-import Ex_management_ExampleQueueStats_java_tag_qs from "../../examples/management/ExampleQueueStats.java?tag=qs";
-import Ex_management_ExampleTopicStats_java_tag_ts from "../../examples/management/ExampleTopicStats.java?tag=ts";
-import Ex_management_ExampleExecutorStats_java_tag_es from "../../examples/management/ExampleExecutorStats.java?tag=es";
-
-
-
-Review Hazelcast Health Monitor logs regularly to understand the system runtime stability. Monitor Hazelcast logs and scan for failure messages regularly. Any incidences should be investigated and documented so as to understand your network better and find ways to provision, configure, and manage your network more efficiently.
-
-Hazelcast provides multi-level tolerance configurations in a cluster:
-
-1. Garbage collection (GC) tolerance: When a member fails to respond to health check probes on the existing socket connection but is actually responding to health probes sent on a new socket, it can be presumed to be stuck either in a long GC or in another long-running task. Adequate tolerance levels configured here may allow the member to come back from its stuck state within permissible SLAs.
-2. Network tolerance: When a member is temporarily unreachable by any means, temporary network communication errors may cause members to become unresponsive. In such a scenario, adequate tolerance levels configured here allow the member to return to healthy operation within permissible SLAs.
-
-You should establish tolerance levels for garbage collection and network connectivity and then set monitors to raise alerts when those tolerance thresholds are crossed. Customers with a Hazelcast subscription can use the extensive monitoring capabilities of the Management Center to set monitors and alerts.
-
-In addition to the Management Center, we recommend that you use `jstat` and keep verbose GC logging turned on and use a log scraping tool like Splunk or similar to monitor GC behavior. Back-to-back full GCs and anything above 90% heap occupancy after a full GC should be cause for alarm. Hazelcast dumps a set of information into the console of each instance that may further be used to create alerts.
-
-## Basic steps for monitoring and auditing
-
-- Make sure that all members are reachable by every other member in the cluster and are also accessible by the clients, for example through their ports and network.
-- Start Hazelcast member instances first. While not mandatory, this is a best practice to avoid clients timing out or complaining that no Hazelcast member is found, which can happen if the clients are started before the members.
-- Enable or start a system monitor tool, such as [nmon](http://nmon.sourceforge.net/pmwiki.php).
-- To add more members to an already running cluster, start a member with a similar configuration to the other members with the possible addition of the IP address of the new member. A maintenance window is not required to add more members to an already running Hazelcast cluster.
-
- - When a member is added to or removed from a Hazelcast cluster, the clients may see a little pause time, but this is normal. This is essentially the time required by Hazelcast members to rebalance the data upon the arrival or departure of a member.
- - There is no need to change anything on the clients when adding more members to the running cluster. When smart routing is enabled, which is the default, the clients update themselves automatically to connect to the new member once it has successfully joined the cluster.
- - Rebalancing of data (primary plus backup) on arrival or departure (forced or unforced) of a member is an automated process. In the default `ACTIVE` cluster state, no manual intervention is required.
- - You can promote your lite members to become data members. To do this, either use the [Cluster API](./lite-members.mdx#promoting-lite-members-to-data-member) or Management Center.
- - Setting `hazelcast.initial.min.cluster.size` to 4 and starting members one by one (empty cluster, no operation) can result in unexpected cluster partitioning behavior: after reaching `hazelcast.initial.min.cluster.size`, partition table arrangement is initialized even though there is no data. When used in large clusters (\>100), this adds an unnecessary overhead of partition assignment on each member addition.
-- Check that you have configured an adequate backup count based on your SLAs.
-- When using distributed computing features, such as executor service or entry processors, any change in the client application logic or in the implementation of these must also be applied to the members. All the members must be restarted after the new code is deployed using the typical cluster re-deployment process: first shutdown the members, then deploy the new application JARs in the members' classpath, and start the members.
-
-## Management Center
-
-Hazelcast Management Center enables you to monitor and manage your cluster members running Hazelcast. In addition to monitoring the overall state of your clusters, you can also analyze and browse your data structures in detail, update map configurations, and take thread dumps from members. You can run scripts, such as JavaScript or Groovy, and commands on your members with its scripting and console modules. A script runs only if the member classpath contains a scripting engine for its language.
-
-See the for more information and find details about its clustered JMX and clustered REST APIs.
-
-Because Management Center is a client that connects to the cluster, you can control the following aspects of Management Center in the member configuration file:
-
-- [Scripting support](#managing-scripting-support)
-- [Console support](#managing-console-support)
-- [Source IP addresses](#limiting-source-addresses)
-
-### Managing Scripting Support
-
-
-
-Management Center allows you to execute scripts that can automate interactions with the cluster.
-
-By default, scripting is disabled for security. Scripting engines give code access to the underlying system on the members (files and other resources) and run with the same permissions as the current user. You can enable scripting in the member configuration file:
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- scripting-enabled: true
-```
-
-
-
-
-Hazelcast uses the [JSR 223](https://jcp.org/en/jsr/detail?id=223) API to support scripting.
-
-### Managing Console Support
-
-Management Center allows you to execute commands from a built-in console in the user interface. This console is useful for testing and development purposes. You can enable the console in the member configuration file:
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- console-enabled: true
-```
-
-
-
-
-### Managing Data Access
-
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) through SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file:
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- data-access-enabled: false
-```
-
-
-
-
-### Limiting Source Addresses
-
-By default, any instance of Management Center can connect to a cluster as long as it can be authenticated. To restrict access only to trusted instances of Management Center, you can define the trusted IP addresses in the `trusted-interfaces` configuration setting. This setting supports wildcards (`*`) and ranges (`-`).
-
-
-
-
-```xml
-
- ...
-
-
- 192.168.1.*
-
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- trusted-interfaces:
- - 192.168.1.*
-```
-
-
-
-
-## Instance Tracking
-
-Instance tracking is a feature which, when enabled, writes a file on the instance startup at the configured location. The file contains metadata about the instance, such as version, product name, and process ID. This file can then later be used by other programs to detect the kinds of Hazelcast instances that have been running on a particular machine by inspecting the file contents. This feature supports both and members and clients, and is disabled by default. Failing to write the file only generates a warning, and the instance is allowed to start.
-
-The name and content of the file are configurable and may contain placeholders. The placeholders used for instance tracking have a prefix so that they can be distinguished from the other ones like XML placeholders. We use the same style as the `EncryptionReplacer` by adding a "namespace" to the placeholder prefix; for example, `$HZ_INSTANCE_TRACKING{start_timestamp}` (the namespace here being `HZ_INSTANCE_TRACKING`).
-
-In addition to the above, the Hazelcast instance overwrites any existing file in the configured location. To prevent this, you can configure the file location using the placeholders in the same way they can be used when defining the file contents. For example, if the filename is configured as `Hazelcast-$HZ_INSTANCE_TRACKING{pid}-$HZ_INSTANCE_TRACKING{start_timestamp}.process`, it contains the process ID and the creation time, making it unique every time the instance is started.
-
-The created file is not deleted on member shutdown. As such, it leaves a trace of instances started on a particular machine. If the instance cannot write the tracking file, it logs a warning and continues to start.
-
-:::note[Auditing the Instance Tracking File]
-
-When you enable the instance tracking feature and its file is created on a member startup, the full path of the file with its name is set into a system property of the JVM running the Hazelcast member, i.e., `hazelcast.config.instance.tracking.file`.
-
-You can audit that all your running Hazelcast members in your environment have the instance tracking filename set correctly. For this, you can use the [jcmd](https://docs.oracle.com/en/java/javase/13/docs/specs/man/jcmd.html) utility, as shown below.
-
-```shell
-jcmd VM.system_properties | grep hazelcast.config.instance.tracking.file
-```
-
-PID here is the process ID of your JVM on which Hazelcast member runs. It gives output similar to the following:
-
-```shell
-hazelcast.config.instance.tracking.file=/tmp/Hazelcast.process
-```
-
-See below for the example content of an instance tracking file.
-
-:::
-
-### Configuring Instance Tracking {/* #instance-tracking-configuration */}
-
-Here is an example of programmatic member-side Java configuration:
-
-```java
-Config config = new Config();
-config.getInstanceTrackingConfig()
- .setEnabled(true)
- .setFileName("/tmp/hz-tracking.txt")
- .setFormatPattern("$HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}");
-```
-
-The equivalent declarative configuration is as follows:
-
-
-
-
-```xml
-
-
-
- /tmp/hz-tracking.txt
- $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
-
-
-
-```
-
-
-
-
-```yaml
-hazelcast:
- instance-tracking:
- enabled: true
- file-name: /tmp/hz-tracking.txt
- format-pattern: $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
-```
-
-
-
-
-You can use this configuration to enable the instance tracking feature, specify the filename and the pattern for the file contents. By default, the feature is disabled, the filename is `Hazelcast.process` in the OS temporary directory as returned by `System.getProperty("java.io.tmpdir")` and the file contents are JSON-formatted key-value pairs of all available metadata.
-
-The client configuration is analogous and only differs in the name of the outer configuration block or configuration instance containing the instance tracking configuration.
-
-Here is an example when running a client instance:
-
-```json
-{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"client", "start_timestamp":1595851430741, "licensed":0}
-```
-
-Here is an example when running a member instance in the "server" mode:
-
-```json
-{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"server", "start_timestamp":1595851430741, "licensed":1}
-```
-
-And here is an example when running a member instance in the "embedded" mode:
-
-```json
-{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"embedded", "start_timestamp":1595851430741, "licensed":1}
-```
-
-You can specify a custom format by using a predefined set of available metadata keys an example of which is shown below:
-
-```java
-String format = "mode: $HZ_INSTANCE_TRACKING{mode}\n"
- + "product: $HZ_INSTANCE_TRACKING{product}\n"
- + "licensed: $HZ_INSTANCE_TRACKING{licensed}\n"
- + "missing: $HZ_INSTANCE_TRACKING{missing}\n"
- + "broken: $HZ_INSTANCE_TRACKING{broken ";
-```
-
-This should produce a file with the following content:
-
-```properties
-mode: embedded
-product: Hazelcast
-licensed: 0
-missing: $HZ_INSTANCE_TRACKING{missing}
-broken: $HZ_INSTANCE_TRACKING{broken
-```
-
-As you can see, once we encounter a broken placeholder, all subsequent placeholders are ignored. On the other hand, missing placeholders are skipped and subsequent placeholders are resolved.
-
-The valid metadata placeholders and their possible values are as follows:
-
-- `product`: Instance product name, e.g., "Hazelcast" or "Hazelcast Enterprise".
-- `version`: Instance version.
-- `mode`: Instance mode, e.g., "server", "embedded" or "client"
-- `start_timestamp`: the timestamp of when the instance was started as the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.
-- `licensed`: Specifies whether the instance is using a license or not. The value `0` signifies that there is no license set and the value `1` signifies that a license is in use.
-- `pid`: Attempts to get the process ID value. The algorithm does not guarantee to get the process ID on all JVMs and operating systems so please test before use. In case we are unable to get the PID, the value is `-1`.
-
-The possible values for the `product` placeholder: `Hazelcast`, `Hazelcast Enterprise`, `Hazelcast Client`, `Hazelcast Client Enterprise`.
-
-The possible values for the `mode` placeholder:
-
-- `server`: This value is used when the instance was started using the `hz-start` or `hz-start.bat` scripts.
-- `client`: This instance is a Hazelcast client instance.
-- `embedded`: This instance is embedded in another Java program.
-
-## Metrics
-
-Hazelcast exposes various metrics to facilitate monitoring of the cluster state. They are `` key-value pairs of data that capture the runtime information about the members and clients in a Hazelcast cluster. Such a metric can be the number of entries stored in a particular `IMap` on a given member, JVM metrics like used heap, OS metrics like load average, and so on.
-
-The metrics system is responsible for collecting these metrics and making them available for the [consumers](#exposing-metrics) of the metrics. There are a few hundred metrics collected during every metrics collection cycle by default, but the number of metrics grows as more features and data structures are used. This is because every data structure provides its own metrics. For example, if there are two `IMap`s used in a cluster, both `IMap`s produce their metrics on every member.
-
-Metrics have associated **tags** which describe which object the metric applies to. For example, the tags for job metrics typically indicate the specific DAG vertex and processor the metric belongs to.
-
-Each metric instance provided belongs to a particular Hazelcast cluster member. Different cluster members can have their own versions of the same metric with different values.
-
-The metric collection runs in regular intervals on each member, but note that the metric collection on different cluster members happens at different moments in time. So if you try to correlate metrics from different members, they can be from different moments of time.
-
-### Hazelcast Metrics
-
-There are a wide range of metrics and statistics provided by Hazelcast:
-
-- cluster-wide metrics
-- statistics of distributed data structures (see [member statistics](#member-statistics))
-- executor statistics (see [executor statistics](#executor-statistics))
-- partition related statistics (state, migration, replication)
-- garbage collection statistics
-- memory statistics for the JVM which current Hazelcast member belongs to (total physical/free OS memory, max/committed/used/free heap memory and max/committed/used/free native memory)
-- network traffic related statistics (traffic and queue sizes)
-- class loading related statistics
-- thread count information (current, peak and daemon thread counts)
-- job-specific metrics
-
-See the full list of Hazelcast metrics in [List of Metrics appendix](../../reference/list-of-metrics.mdx).
-
-### User-defined Metrics
-
-User-defined metrics are actually a subset of [job metrics](../../reference/list-of-metrics.mdx#job-metrics). What distinguishes them from regular job-specific metrics is exactly what their name implies: they are not built-in, but defined when processing pipelines are written.
-
-Since user-defined metrics are also job metrics, they have all the tags job metrics have. They also have an extra tag, called `user`, which is set to `true`.
-
-:::note
-
-Because of their extra tag, user-defined metrics cannot overwrite a built-in metric, even if they have the exact same name.
-
-:::
-
-For example, to monitor your filtering step, you can write code like this:
-
-```java
-p.readFrom(source)
- .filter(l -> {
- boolean pass = l % 2 == 0;
- if (!pass) {
- Metrics.metric("dropped").increment();
- }
- Metrics.metric("total").increment();
- return pass;
- })
- .writeTo(sink);
-```
-
-User-defined metrics can be used anywhere in pipeline definitions where custom code can be added. This means (just to name the most important ones): filtering, mapping and flat-mapping functions, various constituent functions of aggregations (accumulate, create, combine, deduct, export, and finish), key extraction function when grouping, in [custom batch sources](../../develop-solutions/building-data-pipelines/ingesting-data-from-sources/custom-batch-source.mdx), [custom stream sources](../../develop-solutions/building-data-pipelines/ingesting-data-from-sources/custom-stream-source.mdx), [custom sinks](../../develop-solutions/building-data-pipelines/sending-results-to-sinks/custom-sink.mdx), processors, and so on.
-
-### Exposing Metrics
-
-The following are the tools and interfaces to expose the metrics to the outside world:
-
-- Management Center
-- JMX
-- Diagnostics (see [here](#diagnostics))
-- Prometheus
-- Job API
-
-#### Management Center {/* #management-center-2 */}
-
-Management Center receives the metrics used for building its view about the Hazelcast cluster from the metrics system. The members collect their metrics with the frequency defined with `collection-frequency-seconds`, which is by default once in every 5 seconds.
-
-The member saves the collected metrics into a blob stored in an in-memory buffer. The blob then is retained for the time configured in the `retention-seconds` under the `management-center` configuration block. This is also 5 seconds by default, which means there is at most one blob stored by default. Management Center periodically reads the metrics from this buffer. A blob stays in the buffer until a newer blob replaces it.
-
-As mentioned earlier, the client metrics are also stored in these blobs on the member side with timestamps assigned to them on the client side.
-
-See the [Management Center documentation](/management-center/latest/deploy-manage/historical-metrics) for more information .
-
-#### Over JMX
-
-Hazelcast exposes all its metrics using the JVM's standard JMX interface. You can use tools such as **Java Mission Control** or **JConsole** to display them.
-
-The Hazelcast metrics are exposed under `com.hazelcast/Metrics/$INSTANCE_NAME` where `$INSTANCE_NAME` is the name of the member or client instance to which the JMX client is connected.
-
-And the Jet engine related beans are stored under `com.hazelcast.jet/Metrics//` node and the various tags they have form further sub-nodes in the resulting tree structure.
-
-#### Prometheus
-
-Prometheus is a popular monitoring system and time series database. Setting up monitoring via Prometheus consists of two steps. First step is exposing an HTTP endpoint with metrics. The second step is setting up Prometheus server, which pulls the metrics in a specified interval.
-
-The Prometheus javaagent is already part of the Hazelcast distribution and just needs to be enabled. Enable the agent and expose all metrics via HTTP endpoint by setting an environment variable `PROMETHEUS_PORT`, you can change the port to any available port:
-
-```bash
-PROMETHEUS_PORT=8080 bin/hz-start
-```
-
-You should see following line printed to the logs:
-
-```text
-Prometheus enabled on port 8080
-```
-
-The metrics are available on `http://localhost:8080`.
-
-For a guide on how to set up Prometheus server go to the [Prometheus website](https://prometheus.io/docs/prometheus/latest/getting_started).
-
-#### Via Job API
-
-The `Job` class has a method which returns a instance. It contains the latest known metric values for the job.
-
-This functionality has been developed primarily to give access to metrics of finished jobs, but can in fact be used for jobs in any state.
-
-For details on how to use and filter the metric values consult the . A simple example for computing the number of data items emitted by a certain vertex (here called `vertexA`), excluding items emitted to the snapshot, looks like this:
-
-```java
-Predicate vertexOfInterest =
- MeasurementPredicates.tagValueEquals(MetricTags.VERTEX, "vertexA");
-Predicate notSnapshotEdge =
- MeasurementPredicates.tagValueEquals(MetricTags.ORDINAL, "snapshot").negate();
-
-Collection measurements = jobMetrics
- .filter(vertexOfInterest.and(notSnapshotEdge))
- .get(MetricNames.EMITTED_COUNT);
-
-long totalCount = measurements.stream().mapToLong(Measurement::value).sum();
-```
-
-### Configuration
-
-The metrics collection is enabled by default. You can configure the metrics system declaratively or programmatically. The following is an example declarative configuration with the default values, on the member side:
-
-
-
-
-```xml
-
-
- 5
-
-
- 5
-
-```
-
-
-
-
-```yaml
-metrics:
- enabled: true
- management-center:
- enabled: true
- retention-seconds: 5
- jmx:
- enabled: true
- collection-frequency-seconds: 5
-```
-
-
-
-
-Note that all the metrics configuration values can be overridden with system properties. The properties are listed below:
-
-- `hazelcast.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
-- `hazelcast.metrics.mc.enabled`: Enables buffering the collected metrics for Management Center if set to `true`, disables it otherwise.
-- `hazelcast.metrics.mc.retention`: Duration, in seconds, for which the metrics are retained for Management Center.
-- `hazelcast.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
-- `hazelcast.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
-- `hazelcast.metrics.debug.enabled`: Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this property has no element in the `metrics` configuration. It is meant to be enabled only if diagnostics is enabled, because only the diagnostics feature consumes the debug metrics.
-
-The client configuration is similar. It lacks the Management Center configuration block (`management-center` configuration element), as shown below. This is because the clients are not connected to Management Center and the client metrics are sent to Management Center through a member to which the client is connected.
-
-
-
-
-```xml
-
-
- 5
-
-```
-
-
-
-
-```yaml
-metrics:
- enabled: true
- jmx:
- enabled: true
- collection-frequency-seconds: 5
-```
-
-
-
-
-Similarly to the member configuration, the client metrics configuration can be overridden with the following system properties:
-
-- `hazelcast.client.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
-- `hazelcast.client.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
-- `hazelcast.client.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
-- `hazelcast.client.metrics.debug.enabled`: Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this property has no element in the `metrics` configuration. It is meant to be enabled only if diagnostics is enabled, because only the diagnostics feature consumes the debug metrics.
-
-### Version Compatibility
-
-Note that the metric names may change between MINOR versions but not between PATCH versions.
-
-### Notes on the Performance
-
-The metrics system is designed with care to make the least possible impact on the performance of the cluster. Since the metrics collection takes place periodically with a few seconds frequency, the main focus is keeping allocation rates and memory footprint at minimum. Therefore, the blobs that store the metrics for Management Center are stored in the memory in a compressed format. The measurements, that use multiple `IMap`s to scale up the number of metrics, show that one blob occupies only a few KBs and it grows above 10 KB only if there are more than 1000 `IMap`s.
-
-The allocation rate of a metric collection cycle is also low. With both Management Center and JMX consumers enabled, the allocation rate with 100 `IMap`s is below 256 KB per cycle, and it grows above 1 MB with 1000 `IMap`s. This means that metrics collection does not increase the frequency of the garbage collection (GC) noticeably.
-
-While the metrics collection is considered GC friendly, it should be noted that the blobs are not recycled: configuring the retention time should be done with taking the frequency of the GC into account to prevent the blobs from getting promoted into the tenured region of the heap that in the end contributes to major GCs after time.
-
-## Member Statistics
-
-You can get various statistics from your distributed data structures via the Statistics API. Since the data structures are distributed in the cluster, the Statistics API provides statistics for the local portion (1/Number of Members in the Cluster) of data on each member.
-
-### Map Statistics
-
-To get local map statistics, use the `getLocalMapStats()` method from the `IMap` interface. This method returns a `LocalMapStats` object that holds local map statistics.
-
-Below is an example code where the `getLocalMapStats()` method and the `getOwnedEntryCount()` method get the number of entries owned by this member.
-
-{Ex_management_ExampleLocalMapStats_java_tag_lms}
-
-:::note
-
-The `getOwnedEntryMemoryCost()` method is also supported for NATIVE in-memory format.
-
-:::
-
-The following are some of the metrics that you can access via the `LocalMapStats` object:
-
-- Number of entries owned by the member (`getOwnedEntryCount()`).
-- Number of backup entries held by the member (`getBackupEntryCount()`).
-- Number of backups per entry (`getBackupCount()`).
-- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`).
-- Creation time of the map on the member (`getCreationTime()`).
-- Number of hits (reads) of the locally owned entries (`getHits()`).
-- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`).
-- Number of queries executed on the map (`getQueryCount()` and `getIndexedQueryCount()`) (it may be imprecise for queries involving partition predicates (`PartitionPredicate`) on the off-heap storage).
-
-See the to see all the metrics.
-
-### Map Index Statistics
-
-To access map index statistics, if you are using indexes to speed up map queries, use the `getIndexStats()` method of the `LocalMapStats` interface returned by `IMap.getLocalMapStats()`.
-
-Below is an example where the `getIndexStats()` method is used to examine an average selectivity of index hits:
-
-{Ex_management_ExampleLocalIndexStats_java_tag_lis}
-
-The following are some of the metrics that you can obtain via the `LocalIndexStats` interface:
-
-- Number of queries and hits into an index (`getQueryCount()` and `getHitCount()`): Number of hits and queries may differ since a single query may hit the same index more than once.
-- Average index hit latency measured in nanoseconds (`getAverageHitLatency()`)
-- Average index hit selectivity (`getAverageHitSelectivity`): Returned values are in the range from 0.0 to 1.0. Values close to 1.0 indicate a high selectivity meaning the index is efficient; values close to 0.0 indicate a low selectivity meaning the index efficiency is approaching an efficiency of a simple full scan.
-- Number of index insert, update and remove operations (`getInsertCount()`, `getUpdateCount()` and `getRemoveCount()`).
-- Total latencies of insert, update and remove operations (`getTotalInsertLatency()`, `getTotalUpdateLatency()`, `getTotalRemoveLatency()`): To compute an average latency divide the returned value by the number of operations of a corresponding type.
-- Memory cost of an index (`getMemoryCost()`): For on-heap storage, this memory cost metric value is a best-effort approximation and does not indicate a precise on-heap memory usage of an index.
-
-See the to see all the metrics.
-
-To compute an aggregated value of `getAverageHitSelectivity()` for all cluster members, you can use a simple averaging computation as shown below:
-
-```none
-(s(1) + s(2) + ... + s(n)) / n
-```
-
-In this computation, `s(i)` is an average hit selectivity on the member `i` and `n` is the total number of cluster members.
-
-A more advanced solution is to compute a weighted average as shown below:
-
-```none
-(s(1) * h(1) + s(2) * h(2) + ... + s(n) * h(n)) / (h(1) + h(2) + ... + h(n))
-```
-
-Here, `s(i)` is an average hit selectivity on the member `i`, `h(i)` is a hit count (`getHitCount()`) on the member `i` and `n` is the total number of cluster members. This more advanced solution may produce more precise results in unstable dynamic clusters where new members do not have enough statistics accumulated. The same technique may be applied to the `getAverageHitLatency()` metric.
-
-Accuracy and reliability notes:
-
-- For on-heap storage, values returned by `getAverageHitSelectivity()` may be 1% more or less than the actual selectivity. For example, if the actual selectivity is 0.9, the returned value could be between 0.89 and 0.91.
-- The values returned by `getQueryCount()` and `getHitCount()` may be imprecise for queries involving partition predicates (`PartitionPredicate`) on off-heap storage.
-- The index statistics may be imprecise after a new cluster member addition or the existing member removal until enough fresh statistics is accumulated on a new owner of an index or its partition.
-
-### Near Cache Statistics
-
-To get Near Cache statistics, use the `getNearCacheStats()` method from the `LocalMapStats` object. This method returns a `NearCacheStats` object that holds Near Cache statistics.
-
-Below is an example code where the `getNearCacheStats()` method and the `getRatio` method from `NearCacheStats` get a Near Cache hit/miss ratio.
-
-{Ex_management_ExampleNearCacheStats_java_tag_ncs}
-
-The following are some of the metrics that you can access via the `NearCacheStats` object (applies to both client and member Near Caches):
-
-- creation time of the Near Cache on the member (`getCreationTime()`)
-- number of entries owned by the member (`getOwnedEntryCount()`)
-- memory cost (number of bytes) of owned entries in the Near Cache (`getOwnedEntryMemoryCost()`)
-- number of hits (reads) of the locally owned entries (`getHits()`)
-
-See the to see all the metrics.
-
-### Multimap Statistics
-
-To get `MultiMap` statistics, use the `getLocalMultiMapStats()` method from the `MultiMap` interface. This method returns a `LocalMultiMapStats` object that holds local `MultiMap` statistics.
-
-Below is an example code where the `getLocalMultiMapStats()` method and the `getLastUpdateTime` method from `LocalMultiMapStats` get the last update time.
-
-{Ex_management_ExampleMultiMapStats_java_tag_mms}
-
-The following are some of the metrics that you can access via the `LocalMultiMapStats` object:
-
-- number of entries owned by the member (`getOwnedEntryCount()`)
-- number of backup entries held by the member (`getBackupEntryCount()`)
-- number of backups per entry (`getBackupCount()`)
-- memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
-- creation time of the multimap on the member (`getCreationTime()`)
-- number of hits (reads) of the locally owned entries (`getHits()`)
-- number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
-
-See the to see all the metrics.
-
-### Queue Statistics
-
-To get local queue statistics, use the `getLocalQueueStats()` method from the `IQueue` interface. This method returns a `LocalQueueStats` object that holds local queue statistics.
-
-Below is an example code where the `getLocalQueueStats()` method and the `getAverageAge` method from `LocalQueueStats` get the average age of items.
-
-{Ex_management_ExampleQueueStats_java_tag_qs}
-
-The following are some of the metrics that you can access via the `LocalQueueStats` object:
-
-- number of owned items in the member (`getOwnedItemCount()`)
-- number of backup items in the member (`getBackupItemCount()`)
-- minimum and maximum ages of the items in the member (`getMinAge()` and `getMaxAge()`)
-- number of offer, put and add operations (`getOfferOperationCount()`)
-
-See the to see all the metrics.
-
-### Topic Statistics
-
-To get local topic statistics, use the `getLocalTopicStats()` method from the `ITopic` interface. This method returns a `LocalTopicStats` object that holds local topic statistics.
-
-Below is an example code where the `getLocalTopicStats()` method and the `getPublishOperationCount` method from `LocalTopicStats` get the number of publish operations.
-
-{Ex_management_ExampleTopicStats_java_tag_ts}
-
-The following are the metrics that you can access via the `LocalTopicStats` object:
-
-- creation time of the topic on the member (`getCreationTime()`)
-- total number of published messages of the topic on the member (`getPublishOperationCount()`)
-- total number of received messages of the topic on the member (`getReceiveOperationCount()`)
-
-See the to see all the metrics.
-
-### Executor Statistics
-
-To get local executor statistics, use the `getLocalExecutorStats()` method from the `IExecutorService` interface. This method returns a `LocalExecutorStats` object that holds local executor statistics.
-
-Below is an example code where the `getLocalExecutorStats()` method and the `getCompletedTaskCount` method from `LocalExecutorStats` get the number of completed operations of the executor service.
-
-{Ex_management_ExampleExecutorStats_java_tag_es}
-
-The following are some of the metrics that you can access via the `LocalExecutorStats` object:
-
-- number of pending operations of the executor service (`getPendingTaskCount()`)
-- number of started operations of the executor service (`getStartedTaskCount()`)
-- number of completed operations of the executor service (`getCompletedTaskCount()`)
-
-See the to see all the metrics.
-
-## Health Check and Monitoring
-
-Hazelcast provides the following options for monitoring the health of your Hazelcast clusters:
-
-- HTTP-based health check endpoint
-- Health check script
-- Health monitoring utility
-
-### Enabling the Health Check Endpoint and Script {/* #enable-hcheck */}
-
-To use the health check endpoint and script, enable either of the following configuration options:
-
-- Using the `network` configuration element:
-
-
-
-
- ```xml
-
- ...
-
-
-
-
-
- ...
-
- ```
-
-
-
-
- ```yaml
- hazelcast:
- network:
- rest-api:
- enabled: true
- endpoint-groups:
- HEALTH_CHECK:
- enabled: true
- ```
-
-
-
-- Using the `advanced-network` configuration element:
-
-
-
-
- ```xml
-
- ...
-
-
-
-
-
-
-
- ...
-
- ```
-
-
-
-
- ```yaml
- hazelcast:
- advanced-network:
- enabled: true
- rest-server-socket-endpoint-config:
- endpoint-groups:
- HEALTH_CHECK:
- enabled: true
- ```
-
-
-
-
-### Health Check
-
-You can use Hazelcast's HTTP-based health check implementation to get basic information about the cluster and member on which it is launched.
-
-To use the HTTP-based health check:
-
-1. Enable the [health check endpoint](#enable-hcheck).
-2. Launch the health check from your preferred browser: `http://:5701/hazelcast/health`.
-
- The health check retrieves information about your cluster's health status, such as member state, cluster state, cluster size, etc. For example:
-
- ```none
- {
- "nodeState": "ACTIVE",
- "clusterState": "ACTIVE",
- "clusterSafe": false,
- "migrationQueueSize": 0,
- "clusterSize": 3
- }
- ```
-
- - `nodeState`: State of the member on which the health check is launched. See [Cluster and Member States](./cluster-member-states.mdx#member-states) to learn more about the states of cluster members.
- - `clusterState`: State of cluster that the health-checked member belongs to. See [Cluster and Member States](./cluster-member-states.mdx#cluster-states) to learn more about cluster states.
- - `clusterSafe`: Whether the queried member is safe: there are no active partition migrations, and all backups are in sync for each partition that the member owns. See [Shutting Down Members and Clusters](./shutdown.mdx#ensuring-members-and-clusters-are-in-a-safe-state) to learn how to check the safety of active clusters.
-
- :::note
-
- The `clusterSafe` indicator is useful when your cluster is in a passive state. If the cluster is in an active state, the indicator value continually changes due to the dynamic state of the cluster. Also, checking the cluster safety triggers additional operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load may impact cluster performance.
-
- :::
- - `migrationQueueSize`: A count of the remaining migration tasks while the cluster data is being repartitioned. See [Data Partitioning](../../reference/architecture/data-partitioning.mdx) to learn about Hazelcast's partitioning mechanism.
- - `clusterSize`: A count of the cluster member count.
-
-### Using the hz-healthcheck Script {/* #health-check-script */}
-
-The `hz-healthcheck` script comes with the Hazelcast package. Internally, it uses the HTTP-based health check endpoint.
-
-To run the `hz-healthcheck` script:
-
-1. Enable the [health check endpoint](#enable-hcheck).
-2. Run the `hz-healthcheck` script with parameters using the following format:
-
- ```none
- ./hz-healthcheck
- ```
-
-You can use the following parameters to perform checks and operations on your Hazelcast clusters:
-
-
-
-
-
-
-
-
-
-| Parameter |
-Default Value |
-Description |
-
-
-
-
-| `-o` or `--operation` |
-`all` |
-
-
-Health check operation. It can be `all`, `node-state`, `cluster-state`, `cluster-safe`, `migration-queue-size` and `cluster-size`.
-
-:::note
-
-The `cluster-safe` option is useful when your cluster is in a passive state. If the cluster is in an active state, the indicator value continually changes due to the dynamic state of the cluster. Also, checking the cluster safety triggers additional operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load may impact cluster performance.
-
-:::
-
- |
-
-
-| `-a` or `--address` |
-`127.0.0.1` |
-Defines the IP address of a cluster member. If you want to manage your cluster remotely, you should use this parameter to provide the IP address of a member to this script. |
-
-
-| `-p` or `--port` |
-`5701` |
-Defines on which port Hazelcast is running on the local or remote machine. |
-
-
-| `-h` or `--help` |
-*no argument expected* |
-Lists the parameter descriptions. It works only as the first parameter. |
-
-
-| `-d` or `--debug` |
-*no argument expected* |
-Prints error output. |
-
-
-| `--https` |
-*no argument expected* |
-Uses HTTPS protocol for REST calls. |
-
-
-| `--cacert` |
-*set of well-known CA certificates* |
-Defines the path of the trusted PEM-encoded certificate file. It is used to verify member certificates. |
-
-
-| `--cert` |
-None |
-Defines the path of the PEM-encoded client certificate file. Only needed when client certificate authentication is used. |
-
-
-| `--key` |
-None |
-Defines the path of the PEM-encoded client private key file. Only needed when client certificate authentication is used. |
-
-
-| `--insecure` |
-*no argument expected* |
-Disables member certificate verification. |
-
-
-
-
-**Example 1: Checking the state of members in a healthy cluster:**
-
-If the member is deployed under the address `127.0.0.1:5701` and it is in the healthy state, the following output is expected:
-
-```none
-./hz-healthcheck -a 127.0.0.1 -p 5701 -o node-state
-ACTIVE
-```
-
-**Example 2: Checking the safety of a non-existent cluster:**
-
-If the cluster has no members running under the address `127.0.0.1:5701`, the following output is expected:
-
-```none
-./hz-healthcheck -a 127.0.0.1 -p 5701 -o cluster-safe
-Error while checking health of hazelcast cluster on ip 127.0.0.1 on port 5701.
-Please check that cluster is running and that health check is enabled in REST API configuration.
-```
-
-### Health Monitor
-
-The health monitor periodically prints logs in your console to provide information about your member's state. By default, it is enabled when you start your cluster.
-
-You can set the interval of health monitoring using the `hazelcast.health.monitoring.delay.seconds` system property. Its default value is 20 seconds.
-
-The system property `hazelcast.health.monitoring.level` is used to configure the monitoring's log level. If it is set to OFF, the monitoring is disabled. If it is set to NOISY, monitoring logs are always printed for the defined intervals. When it is SILENT, which is the default value, monitoring logs are printed only when the values exceed some predefined thresholds. These thresholds are related to memory and CPU percentages, and can be configured using the `hazelcast.health.monitoring.threshold.memory.percentage` and `hazelcast.health.monitoring.threshold.cpu.percentage` system properties, whose default values are both 70. Monitoring logs are also printed when pending invocations exceed 70% or a count of 1000.
-
-The following is an example monitoring output
-
-```none vars
-Sep 08, 2017 5:02:28 PM com.hazelcast.internal.diagnostics.HealthMonitor
-
-INFO: [192.168.2.44]:5701 [host-name] [{full-version}] processors=4, physical.memory.total=16.0G, physical.memory.free=5.5G, swap.space.total=0, swap.space.free=0, heap.memory.used=102.4M,
-
-heap.memory.free=249.1M, heap.memory.total=351.5M, heap.memory.max=3.6G, heap.memory.used/total=29.14%, heap.memory.used/max=2.81%, minor.gc.count=4, minor.gc.time=68ms, major.gc.count=1,
-
-major.gc.time=41ms, load.process=0.44%, load.system=1.00%, load.systemAverage=3.15, thread.count=97, thread.peakCount=98, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0,
-
-executor.q.client.size=0, executor.q.client.query.size=0, executor.q.client.blocking.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.size=0,
-
-executor.q.priorityOperation.size=0, operations.completed.count=226, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0,
-
-operations.running.count=0, operations.pending.invocations.percentage=0.00%, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=1,
-
-connection.active.count=2, client.connection.count=1, connection.count=1
-```
-
-:::note
-
-See the [Configuring with System Properties section](../configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to set system properties.
-
-:::
-
-### Using Health Check on F5 BIG-IP LTM
-
-The F5® BIG-IP® Local Traffic Manager™ (LTM) can be used as a load balancer for Hazelcast cluster members. This section describes how you can configure a health monitor to check the Hazelcast member states.
-
-#### Monitor Types
-
-Following types of monitors can be used to track Hazelcast cluster members:
-
-- HTTP Monitor: A custom HTTP monitor enables you to send a command to Hazelcast's Health Check API using HTTP requests. This is a good choice if SSL/TLS is not enabled in your cluster.
-- HTTPS Monitor: A custom HTTPS monitor enables you to verify the health of Hazelcast cluster members by sending a command to Hazelcast's Health Check API using Secure Socket Layer (SSL) security. This is a good choice if SSL/TLS is enabled in your cluster.
-- `TCP_HALF_OPEN` monitor: A `TCP_HALF_OPEN` monitor is a basic monitor that only checks that the TCP port used by Hazelcast is open and responding to connection requests. It does not interact with the Hazelcast Health Check API. The `TCP_HALF_OPEN` monitor can be used with or without SSL/TLS.
-
-#### Configuration {/* #configuration-2 */}
-
-After signing in to the BIG-IP LTM User Interface, follow F5's [^instructions](https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-monitors-reference-11-6-0/3.html#unique_859105660) to create a new monitor. Next, apply the following configuration according to your monitor type.
-
-##### HTTP/HTTPS Monitors
-
-:::note
-
-You must enable the Hazelcast health check for HTTP/HTTPS monitors to run. Enable the endpoint by using the `advanced-network` or the `network` configuration element. See the [Health Check and Monitoring section](#health-check-and-monitoring).
-
-:::
-
-**Using a GET request:**
-
-- Set the "Send String" as follows:
-
- ```none
- GET /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
- ```
-- Set the "Receive String" as follows:
-
- ```none
- {"nodeState":"ACTIVE","clusterState":"ACTIVE","clusterSafe":true,"migrationQueueSize":0,"clusterSize":([^\s]+)}
- ```
-
-The BIG-IP LTM monitors accept regular expressions in these strings allowing you to configure them as needed. The example provided above remains green even if the cluster size changes.
-
-**Using a HEAD request:**
-
-- Set the "Send String" as follows:
-
- ```none
- HEAD /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
- ```
-- Set the "Receive String" as follows:
-
- ```none
- 200 OK
- ```
-
-As you can see, the HEAD request only checks for a `200 OK` response. A Hazelcast cluster member sends this status code whenever its REST endpoint handles the request. The status code does not depend on the member state or the cluster state. This provides a basic health check. For increased flexibility, we recommend using the GET request API.
-
-##### `TCP_HALF_OPEN` Monitors
-
-- Set the "Type" as `TCP Half Open`.
-- Optionally, set the "Alias Service Port" as the port of Hazelcast cluster member if you want to specify the port in the monitor
-
-## Diagnostics
-
-Hazelcast offers an extended set of diagnostics plugins for both Hazelcast members and clients. A dedicated log file is used to write the diagnostics content, and a rolling file approach is used to prevent taking up too much disk space.
-
-### Enabling Diagnostics Logging
-
-To enable diagnostics logging, you should specify the following properties on the member side:
-
-
-
-
-```xml
-
- ...
-
- true
- 30
- 30
- 30
- 60
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.enabled: true
- hazelcast.diagnostics.invocation.sample.period.seconds: 30
- hazelcast.diagnostics.pending.invocations.period.seconds: 30
- hazelcast.diagnostics.slowoperations.period.seconds: 30
- hazelcast.diagnostics.storeLatency.period.seconds: 60
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.enabled", "true" )
- .setProperty( "hazelcast.diagnostics.invocation.sample.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.pending.invocations.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.slowoperations.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.storeLatency.period.seconds", "60" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.enabled=true
- -Dhazelcast.diagnostics.invocation.sample.period.seconds=30
- -Dhazelcast.diagnostics.pending.invocations.period.seconds=30
- -Dhazelcast.diagnostics.slowoperations.period.seconds=30
- -Dhazelcast.diagnostics.storeLatency.period.seconds=60
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.enabled=true -Dhazelcast.diagnostics.invocation.sample.period.seconds=30 -Dhazelcast.diagnostics.pending.invocations.period.seconds=30 -Dhazelcast.diagnostics.slowoperations.period.seconds=30 -Dhazelcast.diagnostics.storeLatency.period.seconds=60"
-```
-
-
-
-
-On the Java client side, it is enough to set the following properties:
-
-- `hazelcast.diagnostics.enabled=true`
-
-### Diagnostics Log File
-
-You can use the following property to specify the location of the diagnostics log file:
-
-
-
-
-```xml
-
- ...
-
- /your/log/directory
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.directory: /your/log/directory
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.directory", "/your/log/directory" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.directory=/your/log/directory
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.directory=/your/log/directory"
-```
-
-
-
-
-The name of the log file has the following format:
-
-```none
-diagnostics-_--.log
-```
-
-You can set a custom string prefix for the name of log file using the following property.
-
-
-
-
-```xml
-
- ...
-
- foobar
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.filename.prefix: foobar
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.filename.prefix", "foobar" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.filename.prefix=foobar
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.filename.prefix=foobar"
-```
-
-
-
-
-The content format of the diagnostics log file is depicted below:
-
-```none
- BuildInfo[
- ]
- SystemProperties[
- ]
- ConfigProperties[
- ]
- Metric[=]
- Metric[=]
- SlowOperations[
- ]
- HazelcastInstance[
- ]
-...
-...
-...
-```
-
-A rolling file approach is used to prevent creating too much data. By default 10 files of 50 MB each are allowed to exist. You can set the size of each file and number of files using the following properties.
-
-
-
-
-```xml
-
- ...
-
- 100
- 5
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.max.rolled.file.size.mb: 100
- hazelcast.diagnostics.max.rolled.file.count: 5
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.max.rolled.file.size.mb", "100" )
- .setProperty( "hazelcast.diagnostics.max.rolled.file.count", "5" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.max.rolled.file.size.mb=100
- -Dhazelcast.diagnostics.max.rolled.file.count=5
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.max.rolled.file.size.mb=100 -Dhazelcast.diagnostics.max.rolled.file.count=5"
-```
-
-
-
-
-### Diagnostics Output Options
-
-You can use the following property to specify the output type of diagnostics.
-
-
-
-
-```xml
-
- ...
-
- STDOUT
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.stdout: STDOUT
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.stdout", "STDOUT" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.stdout=STDOUT
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.stdout=STDOUT"
-```
-
-
-
-
-Available types:
-
-- `FILE`: Outputs the diagnostics to a [set of files](#diagnostics-log-file) managed by Hazelcast. This is the default type.
-- `STDOUT`: Outputs the diagnostics to the standard output.
-- `LOGGER`: Outputs the diagnostics to the Hazelcast logger; by this way you can use the [logging configuration](../logging.mdx) to forward the diagnostics to any output supported by the logging framework and apply additional configurations. You can see an example in the next section below.
-
- :::note
-
- Using the logging framework introduces a slight overhead in comparison to using other output types but allows for greater flexibility.
-
- :::
-
-### Diagnostics using Logging Frameworks
-
-Hazelcast does not enforce any logging framework. You can always use your logging framework to configure the diagnostics. You can forward the logs to a logging framework by setting the `hazelcast.diagnostics.stdout` property to `LOGGER`:
-
-
-
-
-```xml
-
- ...
-
- LOGGER
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.stdout: LOGGER
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.stdout", "LOGGER" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.stdout=LOGGER
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.stdout=LOGGER"
-```
-
-
-
-
-Above configuration forwards the logs to the `com.hazelcast.diagnostics` logger so you can write them to a file by referencing one of the configured appenders. The following is an example for Log4j2.
-
-```xml
-
-
-
-```
-
-By configuring [`TimeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) and [`SizeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) for the appender, you can control the size and rolling behavior as you want.
-
-:::note
-
-The diagnostic logs have the `DEBUG` level by default; if you do not want to see them in the member logs while they are running in the `DEBUG` mode for the root level appender, you need to change the level to `INFO` for the `com.hazelcast.diagnostics` logger. For Log4j2, see the [configuration documentation](https://logging.apache.org/log4j/2.x/manual/configuration.html) for more details.
-
-:::
-
-### Diagnostics Plugins
-
-As it is stated in the introduction of this section and shown in the log file content above, diagnostics utility consists of plugins such as `BuildInfo`, `SystemProperties` and `HazelcastInstance`.
-
-#### `BuildInfo`
-
-It shows the detailed Hazelcast build information including the Hazelcast release number, `Git` revision number and whether you have Hazelcast Enterprise or not.
-
-#### `SystemProperties`
-
-It shows all the properties and their values in your system used by and configured for your Hazelcast installation. These are the properties starting with `java` (excluding `java.awt`), `hazelcast`, `sun` and `os`. It also includes the arguments that are used to startup the JVM.
-
-#### `ConfigProperties`
-
-It shows the Hazelcast properties and their values explicitly set by you in the declarative or programmatic configuration. It does not show properties set only on the command line with `-D`.
-
-#### Metrics {/* #diagnostics-metrics */}
-
-It shows a comprehensive log of what is happening in your Hazelcast system. See the [Metrics section](#metrics) for more information.
-
-You can configure the frequency of dumping information to the log file using the following property:
-
-- `hazelcast.diagnostics.metrics.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
-
-:::note
-
-See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
-
-:::
-
-#### `SlowOperations`
-
-It shows the slow operations and invocations, See the [`SlowOperationDetector` section](../improving-cluster-performance/best-practices.mdx) for more information.
-
-#### Invocations
-
-It shows all kinds of statistics about current and past invocations including current pending invocations, history of invocations and slow history, i.e., all samples where the invocation took more than the defined threshold. Slow history does not only include the invocations where the operations took a lot of time, but it also includes any other invocations that have been obstructed.
-
-Using the following properties, you can configure the frequency of scanning all pending invocations and the threshold that makes an invocation to be considered as slow:
-
-- `hazelcast.diagnostics.invocation.sample.period.seconds`: Set a value in seconds. Its default value is `0`, which disables the plugin.
-- `hazelcast.diagnostics.invocation.slow.threshold.seconds`: Set a value in seconds. Its default value is `5` seconds.
-
-#### `InvocationProfiler`
-
-It shows invocation latencies for each operation. See an example output below:
-
-```none
-06-05-2019 17:15:29 1557152129944 InvocationProfiler[
- com.hazelcast.map.impl.query.QueryOperation[
- count=400
- totalTime(us)=56,000
- avg(us)=140
- max(us)=3,000
- latency-distribution[
- 64..127us=346
- 512..1023us=53
- 2048..4095us=1]]
- com.hazelcast.map.impl.operation.GetOperation[
- count=100
- totalTime(us)=19,000
- avg(us)=190
- max(us)=1,000
- latency-distribution[
- 64..127us=81
- 512..1023us=19]]]
-```
-
-You can control the frequency of scanning all invocations using the following system property:
-
-- `hazelcast.diagnostics.invocation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
-
-You can increase this period if you would like to decrease the logging noise.
-
-#### `OperationProfiler`
-
-It measures the time an operation runs on an operation thread; if the operation is a blocking one or being offloaded, only the time on the operation thread is measured. See an example output below:
-
-```none
-06-05-2021 14:53:48 1595332428248 OperationsProfiler[
- com.hazelcast.map.impl.operation.GetOperation[
- count=502,501
- totalTime(us)=1,690,645
- avg(us)=3
- max(us)=462
- latency-distribution[
- 1..2us=875
- 2..4us=359,876
- 4..8us=131,775
- 8..16us=8,720
- 16..32us=887
- 32..64us=178
- 64..128us=122
- 128..256us=62
- 256..512us=6]]
-```
-
-You can control the frequency of scanning all operations using the following system property:
-
-- `hazelcast.diagnostics.operation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
-
-#### `HazelcastInstance`
-
-It shows the basic state of your Hazelcast cluster including the count and addresses of current members and the address of oldest cluster member. It is useful to get a fast impression of the cluster without needing to analyze a lot of data.
-
-You can configure the frequency at which the cluster information is dumped to the log file using the following property:
-
-- `hazelcast.diagnostics.memberinfo.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
-
-#### `EventQueue`
-
-It checks the event queues in the data structures and samples the event types if the queue size is above a certain threshold. It is useful to figure out why the event queue is running full.
-
-- `hazelcast.diagnostics.event.queue.period.seconds`: Interval, in seconds, between the runs in which this plugin gathers information and writes it to the diagnostics log file. When set to `0` (its default value), it is disabled.
-- `hazelcast.diagnostics.event.queue.threshold`: Minimum number of events in the queue before it is being sampled. Its default value is `1000`.
-- `hazelcast.diagnostics.event.queue.samples`: Number of samples to take from the event queue. Increasing the number of samples gives more accuracy of the content, but it has a negative performance effect. Its default value is `100`.
-
-An example output for a Hazelcast map is as follows:
-
-```none
-17-04-2019 17:36:37 EventQueues[
- worker=1[
- eventCount=441
- sampleCount=100
- samples[
- IMap 'myMap' ADDED sampleCount=51 51.000%
- IMap 'myMap' REMOVED sampleCount=49 49.000%]]
-```
-
-#### `SystemLog`
-
-It shows the activities in your cluster including when a connection/member is added or removed and if there is a change in the lifecycle of the cluster. It also includes the reasons for connection closings.
-
-You can enable or disable the system log diagnostics plugin, and configure whether it shows information about partition migrations using the following properties:
-
-- `hazelcast.diagnostics.systemlog.enabled`: Its default value is `true`.
-- `hazelcast.diagnostics.systemlog.partitions`: Its default value is `false`. If you enable this, you may get a lot of log entries if you have many partitions.
-
-#### `StoreLatency`
-
-It shows statistics including the count of methods for each store (`load`, `loadAll`, `loadAllKeys`, etc.), average and maximum latencies for each store method calls and latency distributions for each store. The following is an example output snippet as part of the diagnostics log file for Hazelcast `MapStore`:
-
-```none
-17-9-2019 13:12:34 MapStoreLatency[
- map[
- loadAllKeys[
- count=1
- totalTime(us)=8
- avg(us)=8
- max(us)=8
- latency-distribution[
- 0..99us=1]]
- load[
- count=100
- totalTime(us)=4,632,190
- avg(us)=46,321
- max(us)=99,178
- latency-distribution[
- 0..99us=1
- 1600..3199us=3
- 3200..6399us=3
- 6400..12799us=7
- 12800..25599us=13
- 25600..51199us=32
- 51200..102399us=41]]]]
-```
-
-According to your store usage, a similar output can be seen for Hazelcast JCache, `Queue`, and `Ringbuffer` data structures with persistent data stores.
-
-You can control the `StoreLatency` plugin using the following properties:
-
-- `hazelcast.diagnostics.storeLatency.period.seconds`: The frequency this plugin is writing the collected information to the disk. By default it is disabled. A sensible production value would be `60` seconds.
-- `hazelcast.diagnostics.storeLatency.reset.period.seconds`: The period of resetting the statistics. If, for example, it is set as 300 (5 minutes), all the statistics are cleared for every 5 minutes. By default it is 0, meaning that statistics are not reset.
-
-#### `OperationHeartbeats`
-
-It shows the deviation between member/member operation heartbeats. Each member, regardless if there is an operation running on behalf of that member, sends an operation heartbeat to every other member. It contains a listing of all `callId`s of the running operations from a given member. This plugin also works fine between `members/lite-members`.
-
-Because this operation heartbeat is sent periodically; by default 1/4 of the operation call timeout of 60 seconds, we would expect an operation heartbeat to be received every 15 seconds. Operation heartbeats are high priority packets (so they overtake regular packets) and are processed by an isolated thread in the invocation monitor. If there is any deviation in the frequency of receiving these packets, it may be due to the problems such as network latencies.
-
-The following shows an example of the output where an operation heartbeat has not been received for 37 seconds:
-
-```none
-20-07-2017 11:12:55 OperationHeartbeat[
- member[10.212.1.119]:5701[
- deviation(%)=146.6666717529297
- noHeartbeat(ms)=37,000
- lastHeartbeat(ms)=1,500,538,338,603
- lastHeartbeat(date-time)=20-07-2017 11:12:18
- now(ms)=1,500,538,375,603
- now(date-time)=20-07-2017 11:12:55]]
-```
-
-The `OperationHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
-
-You can control the `OperationHeartbeats` plugin using the following properties:
-
-- `hazelcast.diagnostics.operation-heartbeat.seconds`: The frequency this plugin is writing the collected information to the disk. It is configured to be 10 seconds by default. 0 disables the plugin.
-- `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is 33. For example, with a default 60 call timeout and operation heartbeat interval being 15 seconds, the maximum deviation with a deviation-percentage of 33, is 5 seconds. So there is no problem if a packet is arrived after 19 seconds, but if it arrives after 21 seconds, then the plugin renders.
-
-#### `MemberHeartbeats`
-
-This plugin looks a lot like the `OperationHeartbeats` plugin, but instead of relying on operation heartbeats to determine the deviation, it relies on member/member cluster heartbeats. Every member sends a heartbeat to other members periodically (by default every 5 seconds).
-
-Just like the `OperationHeartbeats`, the `MemberHeartbeats` plugin can be used to detect if there are networking problems long before they actually lead to problems such as split-brain syndromes.
-
-The following shows an example of the output where no member/member heartbeat has been received for 11 seconds:
-
-```none
-20-07-2017 19:32:22 MemberHeartbeats[
- member[10.212.1.119]:5701[
- deviation(%)=120.0
- noHeartbeat(ms)=11,000
- lastHeartbeat(ms)=1,500,568,331,645
- lastHeartbeat(date-time)=20-07-2017 19:32:11
- now(ms)=1,500,568,342,645
- now(date-time)=20-07-2017 19:32:22]]
-```
-
-The `MemberHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
-
-You can control the `MemberHeartbeats` plugin using the following properties:
-
-- `hazelcast.diagnostics.member-heartbeat.period.seconds`: The frequency this plugin is writing the collected information to the disk. It is configured to be 10 seconds by default. 0 disables the plugin.
-- `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is 100. For example, if the interval of member/member heartbeats is 5 seconds, a 100% deviation is fine with heartbeats arriving up to 5 seconds after they are expected. So a heartbeat arriving after 9 seconds is not rendered, but a heartbeat received after 11 seconds is rendered.
-
-#### `OperationThreadSamples`
-
-This plugin samples the operation threads and checks the running operations/tasks. Hazelcast has the [slow operation detector](../improving-cluster-performance/best-practices.mdx) which is useful for slow operations. But it may not be efficient for high volumes of not too slow operations. Using the `OperationThreadSamples` plugin it is more clear to see which operations are actually running.
-
-You can control the `OperationThreadSamples` plugin using the following properties:
-
-- `hazelcast.diagnostics.operationthreadsamples.period.seconds`: The frequency this plugin is writing the collected information to the disk. An efficient value for production would be 30, 60, or more seconds. 0, which is the default value, disables the plugin.
-- `hazelcast.diagnostics.operationthreadsamples.sampler.period.millis`: The period in milliseconds between taking samples. The lower the value, the higher the overhead but also the higher the precision. Its default value is 100 ms.
-- `hazelcast.diagnostics.operationthreadsamples.includeName`: Specifies whether the data structures' name pointed to by the operation (if available) should be included in the name of the samples. Its default value is false.
-
-The following shows an example of the output when the property `hazelcast.diagnostics.operationthreadsamples.includeName` is false:
-
-```none
-28-08-2019 07:40:07 1535442007330 OperationThreadSamples[
- Partition[
- com.hazelcast.map.impl.operation.MapSizeOperation=304623 85.6927%
- com.hazelcast.map.impl.operation.PutOperation=33061 9.300304%
- com.hazelcast.map.impl.operation.GetOperation=17799 5.0069904%]
- Generic[
- com.hazelcast.internal.nio.Packet=1767 27.361412%
- com.hazelcast.internal.cluster.impl.operations.JoinRequestOp=821 12.712914%
- com.hazelcast.spi.impl.operationservice.impl.operations.PartitionIteratingOperation=278 4.3047385%
- com.hazelcast.internal.cluster.impl.operations.HeartbeatOp=93 1.4400743%
- com.hazelcast.internal.cluster.impl.operations.OnJoinOp=89 1.3781357%
- com.hazelcast.internal.cluster.impl.operations.WhoisMasterOp=75 1.1613503%]]
-```
-
-As can be seen above, the `MapSizeOperations` run on the operation threads most of the time.
-
-#### `WAN`
-
-
-
-The WAN diagnostics plugin provides information about the WAN replication.
-
-It is disabled by default and can be configured using the following property:
-
-- `hazelcast.diagnostics.wan.period.seconds`: The frequency this plugin is writing the collected information to the disk. 0 disables the plugin.
-
-The following shows an example of the output for a member with the WAN replication configuration `london` and the publisher `tokyo`:
-
-```none
-01-01-2026 12:00:00 1767268800000 WAN[
- syncCount=0
- updateCount=0
- removeCount=0
- syncState[
- status=READY
- activeWanConfigName=null
- activePublisherName=null]
- london[
- tokyo[
- outboundQueueSize=0
- totalPublishedEventCount=1,000
- totalPublishLatency=2,010
- connected=true
- state=REPLICATING
- mapSentEvents-orders[
- updateCount=1,000
- removeCount=0
- syncCount=0
- droppedCount=0]
- updateCount=1,000
- removeCount=0
- syncCount=0
- droppedCount=0]]]
-```
-
-## Monitoring with JMX
-
-You can monitor your Hazelcast members via the JMX protocol.
-
-To achieve this, first add the following system properties to enable the [JMX agent](http://download.oracle.com/javase/1.5.0/docs/guide/management/agent.html):
-
-- `-Dcom.sun.management.jmxremote`
-- `-Dcom.sun.management.jmxremote.port=` (to specify JMX port, the default is `1099`) (**optional**)
-- `-Dcom.sun.management.jmxremote.authenticate=false` (to disable JMX auth) (**optional**)
-
-Then enable JMX by setting the `hazelcast.jmx` property to `true` using the following configuration:
-
-
-
-
-```xml
-
- ...
-
- true
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- properties:
- hazelcast.jmx: true
-```
-
-
-
-
-```java
-config.setProperty("hazelcast.jmx", "true");
-```
-
-
-
-
-```xml
-
- true
-
-```
-
-
-
-
-```shell
--Dhazelcast.jmx=true
-```
-
-
-
-
-### MBean Naming for Hazelcast Data Structures
-
-Hazelcast set the naming convention for MBeans as follows:
-
-```java
-final ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
-```
-
-The MBeans name consists of the Hazelcast instance name, the type of the data structure and that data structure's name. In the above example, `_hzInstance_1_dev` is the instance name, we connect to an `IMap` with the name `trial`.
-
-### Connecting to JMX Agent
-
-One of the ways you can connect to JMX agent is using JConsole, jvisualvm (with MBean plugin) or another JMX compliant monitoring tool.
-
-The other way to connect is to use a custom JMX client.
-
-First, you need to specify the URL where the Hazelcast JMX service is running. See the following code snippet:
-
-```java
-// Parameters for connecting to the JMX Service
-int port = 1099;
-String hostname = InetAddress.getLocalHost().getHostName();
-JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://" + hostname + ":" + port + "/jndi/rmi://" + hostname + ":" + port + "/jmxrmi");
-```
-
-The `port` in the above example should be the one that you define while setting the JMX remote port number (if different than the default port `1099`).
-
-Then use the URL you acquired to connect to the JMX service and get the `JMXConnector` object. Using this object, get the `MBeanServerConnection` object. The `MBeanServerConnection` object enables you to use the MBean methods. See the example code below.
-
-```java
-// Connect to the JMX Service
-JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
-MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
-```
-
-Once you get the `MBeanServerConnection` object, you can call the getter methods of MBeans as follows:
-
-```java
-System.out.println("\nTotal entries on map " + mbsc.getAttribute(mapMBeanName, "name") + " : "
- + mbsc.getAttribute(mapMBeanName, "localOwnedEntryCount"));
-```
-
-### JMX API Per Member
-
-Hazelcast members expose various management beans which include statistics about distributed data structures and the states of Hazelcast member internals.
-
-The attributes whose names start with `local` are local to the member and do not reflect cluster-wide values.
-
-:::note
-
-See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
-
-:::
-
-You can find the JMX API definition below with descriptions and the API methods in parenthesis.
-
-**Atomic Long (`IAtomicLong`)**
-
-- Name ( `name` )
-- Current Value ( `currentValue` )
-- Set Value ( `set(v)` )
-- Add value and Get ( `addAndGet(v)` )
-- Compare and Set ( `compareAndSet(e,v)` )
-- Decrement and Get ( `decrementAndGet()` )
-- Get and Add ( `getAndAdd(v)` )
-- Get and Increment ( `getAndIncrement()` )
-- Get and Set ( `getAndSet(v)` )
-- Increment and Get ( `incrementAndGet()` )
-- Partition key ( `partitionKey` )
-
-**Atomic Reference ( `IAtomicReference` )**
-
-- Name ( `name` )
-- Partition key ( `partitionKey`)
-
-**Countdown Latch ( `ICountDownLatch` )**
-
-- Name ( `name` )
-- Current count ( `count`)
-- Countdown ( `countDown()` )
-- Partition key ( `partitionKey`)
-
-**Executor Service ( `IExecutorService` )**
-
-- Local pending operation count ( `localPendingTaskCount` )
-- Local started operation count ( `localStartedTaskCount` )
-- Local completed operation count ( `localCompletedTaskCount` )
-- Local cancelled operation count ( `localCancelledTaskCount` )
-- Local total start latency ( `localTotalStartLatency` )
-- Local total execution latency ( `localTotalExecutionLatency` )
-
-**List ( `IList` )**
-
-- Name ( `name` )
-- Clear list ( `clear` )
-
-**Map ( `IMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Config ( `config` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Owned entry memory cost ( `localOwnedEntryMemoryCost` )
-- Backup entry count ( `localBackupEntryCount` )
-- Backup entry cost ( `localBackupEntryMemoryCost` )
-- Backup count ( `localBackupCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Locked entry count ( `localLockedEntryCount` )
-- Dirty entry count ( `localDirtyEntryCount` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Heap Cost ( `localHeapCost` )
-- Clear ( `clear()` )
-
-**`MultiMap` ( `MultiMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Owned entry memory cost ( `localOwnedEntryMemoryCost` )
-- Backup entry count ( `localBackupEntryCount` )
-- Backup entry cost ( `localBackupEntryMemoryCost` )
-- Backup count ( `localBackupCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Locked entry count ( `localLockedEntryCount` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Clear ( `clear()` )
-
-**Replicated Map ( `ReplicatedMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Config ( `config` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Clear ( `clear()` )
-
-**Queue ( `IQueue` )**
-
-- Name ( `name` )
-- Config ( `config` )
-- Partition key ( `partitionKey` )
-- Owned item count ( `localOwnedItemCount` )
-- Backup item count ( `localBackupItemCount` )
-- Minimum age ( `localMinAge` )
-- Maximum age ( `localMaxAge` )
-- Average age ( `localAverageAge` )
-- Offer operation count ( `localOfferOperationCount` )
-- Rejected offer operation count ( `localRejectedOfferOperationCount` )
-- Poll operation count ( `localPollOperationCount` )
-- Empty poll operation count ( `localEmptyPollOperationCount` )
-- Other operation count ( `localOtherOperationsCount` )
-- Event operation count ( `localEventOperationCount` )
-- Clear ( `clear()` )
-
-**Semaphore ( `ISemaphore` )**
-
-- Name ( `name` )
-- Available permits ( `available` )
-- Partition key ( `partitionKey` )
-- Drain ( `drain()`)
-- Shrink available permits by given number ( `reduce(v)` )
-- Release given number of permits ( `release(v)` )
-
-**Set ( `ISet` )**
-
-- Name ( `name` )
-- Partition key ( `partitionKey` )
-- Clear ( `clear()` )
-
-**Topic ( `ITopic` )**
-
-- Name ( `name` )
-- Config ( `config` )
-- Creation time ( `localCreationTime` )
-- Publish operation count ( `localPublishOperationCount` )
-- Receive operation count ( `localReceiveOperationCount` )
-
-**Hazelcast Instance ( `HazelcastInstance` )**
-
-- Name ( `name` )
-- Version ( `version` )
-- Build ( `build` )
-- Configuration ( `config` )
-- Configuration source ( `configSource` )
-- Cluster name ( `clusterName` )
-- Network Port ( `port` )
-- Cluster-wide Time ( `clusterTime` )
-- Size of the cluster ( `memberCount` )
-- List of members ( `Members` )
-- Running state ( `running` )
-- Shutdown the member ( `shutdown()` )
-- **Node ( `HazelcastInstance.Node` )**
-
- - Address ( `address` )
- - Master address ( `masterAddress` )
-- **Partition Service ( `HazelcastInstance.PartitionServiceMBean` )**
-
- - Partition count ( `partitionCount` )
- - Active partition count ( `activePartitionCount` )
- - Cluster Safe State ( `isClusterSafe` )
- - `LocalMember` Safe State ( `isLocalMemberSafe` )
-- **System Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Async Executor (`HazelcastInstance.ManagedExecutorService`)**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Scheduled Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Client Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Query Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **I/O Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-
-## Alerting
-
-Hazelcast alerts you through various channels as listed below.
-
-- Banners, warnings and exception messages on your application console.
-
- Example license warning banner:
-
- ```none
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- THIS HAZELCAST LICENSE ID CUSTOM_TEST_KEY WILL EXPIRE IN 29 DAYS.
- Your Hazelcast cluster will stop working on the next re-start after
- expiry.
-
- Please contact your Hazelcast Account Executive or
- email sales@hazelcast.com.
- Phone: +1 (650) 521-5453
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- ```
-
- Example outdated API warning:
-
- ```none
- An outdated version of JCache API was located in the classpath, please use newer versions of
- JCache API rather than 1.0.0-PFD or 0.x versions.
- ```
-
- Example exception message:
-
- ```none
- com.hazelcast.sql.HazelcastSqlException: From line 1, column 15 to line 1, column 23: Object 'mapBak1HD' not found, did you forget to CREATE MAPPING?
- ```
-- Prometheus: You can use this 3rd party tool to filter alert metrics. See the [Prometheus section](#prometheus-2) for details.
-
-Besides the above channels, you can also benefit from Hazelcast logging mechanism as an indirect way of getting alerts. See the [Logging section](../logging.mdx) for details.
-
-To learn the possible actions on the alerts, see the [Actions and Remedies for Alerts section](../../develop-solutions/troubleshooting/remedies-for-alerts.mdx).
-
-## Integrating with 3rd Party Tools
-
-### Prometheus {/* #prometheus-2 */}
-
-Hazelcast Management Center can expose the metrics collected from cluster members to [Prometheus](https://prometheus.io/). This feature can be turned on by setting the `hazelcast.mc.prometheusExporter.enabled` system property to `true`.
-
-Prometheus can be configured to scrape Management Center in `prometheus.yml` as follows:
-
-```yaml
-scrape_configs:
- - job_name: 'HZ MC'
- # scheme defaults to 'http'.
- static_configs:
- - targets: ['localhost:8080'] # replace this address with the network address of Hazelcast Management Center
-```
-
-After starting Prometheus with this configuration, all metrics will be exported to Prometheus with the `hz_` prefix. The metrics are also available via the [member JMX API](#jmx-api-per-member). With the default configuration, Management Center exports all metrics reported by the cluster members. Since it can be overly verbose for some use cases, the metrics can be filtered with the `hazelcast.mc.prometheusExporter.filter.metrics.included` or the `hazelcast.mc.prometheusExporter.filter.metrics.excluded` system properties, both being comma-separated lists of metric names.
-
-Example of starting Management Center with specifying the metrics exported to Prometheus:
-
-```bash vars
-java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
- -Dhazelcast.mc.prometheusExporter.filter.metrics.included=hz_topic_totalReceivedMessages,hz_map_totalPutLatency \
- -jar hazelcast-management-center-{full-version}.jar
-```
-
-Example of starting Management Center with specifying the metrics to be excluded from the Prometheus export:
-
-```bash vars
-java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
- -Dhazelcast.mc.prometheusExporter.filter.metrics.excluded=hz_os_systemLoadAverage,hz_memory_freeHeap \
- -jar hazelcast-management-center-{full-version}.jar
-```
-
-By default, Prometheus connects via the same IP and port as the Management Center web interface. It is possible to override the port number using the `-Dhazelcast.mc.prometheusExporter.port` system property. Let's say you have started Management Center as shown below:
-
-```bash vars
-java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
- -Dhazelcast.mc.prometheusExporter.port=2222 \
- -jar hazelcast-management-center-{full-version}.jar
-```
-
-Then, the Prometheus endpoint will be available at `http://localhost:2222/metrics`, which should be reflected by the Prometheus configuration as below:
-
-```yaml
-scrape_configs:
- - job_name: 'HZ MC'
- static_configs:
- - targets: ['localhost:2222']
-```
-
-:::note
-
-If you want to visualize the Prometheus metrics using Grafana, then you can start with [this dashboard](https://grafana.com/grafana/dashboards/13183).
-
-:::
-
-### AppDynamics
-
-You can use the interface to integrate the [Hazelcast Management Center](#management-center) with **AppDynamics**. To perform this integration, attach the AppDynamics Java agent to the Management Center.
-
-For agent installation, see the [Install the App Agent for Java](http://docs.appdynamics.com/display/PRO14S/Install%2Bthe%2BApp%2BAgent%2Bfor%2BJava) page.
-
-For monitoring on AppDynamics, see the [Using AppDynamics for JMX Monitoring](http://docs.appdynamics.com/display/PRO14S/Monitor%2BJMX%2BMBeans#MonitorJMXMBeans-UsingAppDynamicsforJMXMonitoring) page.
-
-After installing AppDynamics agent, you can start the Management Center as shown below:
-
-```bash vars
-java -javaagent:/path/to/javaagent.jar \
- -Dhazelcast.mc.jmx.enabled=true \
- -Dhazelcast.mc.jmx.port=9999 -jar hazelcast-management-center-{full-version}.jar
-```
-
-When the Management Center starts, you should see the logs below:
-
-```none
-Started AppDynamics Java Agent Successfully.
-Hazelcast Management Center starting on port 8080 at path : /
-```
-
-### New Relic
-
-You can use the interface to integrate the [Hazelcast Management Center](#management-center) with New Relic. To perform this integration, attach the New Relic Java agent and provide an extension file that describes which metrics are sent to New Relic.
-
-See [Custom JMX instrumentation by YAML](http://docs.newrelic.com/docs/java/custom-jmx-instrumentation-by-yml) on the New Relic webpage.
-
-The following is an example Map monitoring `.yml` file for New Relic:
-
-```plain
-name: Clustered JMX
-version: 1.0
-enabled: true
-
-jmx:
-- object_name: ManagementCenter[clustername]:type=Maps,name=mapname
- metrics:
- - attributes: PutOperationCount, GetOperationCount, RemoveOperationCount, Hits, BackupEntryCount, OwnedEntryCount, LastAccessTime, LastUpdateTime
- - type: simple
-- object_name: ManagementCenter[clustername]:type=Members,name="member address in double quotes"
- metrics:
- - attributes: OwnedPartitionCount
- - type: simple
-```
-
-Put the `.yml` file in the `extensions` directory in your New Relic installation. If an `extensions` directory does not exist there, create one.
-
-After you set your extension, attach the New Relic Java agent and start the Management Center as shown below.
-
-```bash vars
-java -javaagent:/path/to/newrelic.jar -Dhazelcast.mc.jmx.enabled=true\
- -Dhazelcast.mc.jmx.port=9999 -jar hazelcast-management-center-{full-version}.jar
-```
-
-If your logging level is set to `FINER`, you should see the log listing in the file `newrelic_agent.log`, which is located in the `logs` directory in your New Relic installation. The following is an example log listing:
-
-```none
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINE:
- JMX Service : querying MBeans (1)
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- JMX Service : MBeans query ManagementCenter[dev]:type=Members,
- name="192.168.2.79:5701", matches 1
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric OwnedPartitionCount : 68
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- JMX Service : MBeans query ManagementCenter[dev]:type=Maps,name=orders,
- matches 1
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric Hits : 46,593
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric BackupEntryCount : 1,100
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric OwnedEntryCount : 1,100
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric RemoveOperationCount : 0
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric PutOperationCount : 118,962
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric GetOperationCount : 0
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric LastUpdateTime : 1,401,962,426,811
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric LastAccessTime : 1,401,962,426,811
-```
-
-Then you can navigate to your New Relic account and create custom dashboards. See [Get Started with Dashboards](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards/).
-
-While you are creating the dashboard, you should see the metrics that you are sending to New Relic from the Management Center in the **Metrics** section under the JMX directory.
diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/_category_.json b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/_category_.json
new file mode 100644
index 00000000..62ec188b
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/_category_.json
@@ -0,0 +1,5 @@
+{
+ "label": "Monitoring",
+ "position": 5.5,
+ "link": null
+}
diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/diagnostics.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/diagnostics.mdx
new file mode 100644
index 00000000..49c783cb
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/diagnostics.mdx
@@ -0,0 +1,911 @@
+---
+title: "Diagnostics"
+sidebar_position: 4
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast diagnostic logging helps you troubleshoot and monitor a cluster.
+
+Members and clients both provide a set of diagnostics plugins. Hazelcast writes the diagnostics to a dedicated log file.
+
+## Enable diagnostic logging
+
+To enable diagnostic logging, set the following properties on the members:
+
+
+
+
+```xml
+
+ ...
+
+ true
+ 30
+ 30
+ 30
+ 60
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.enabled: true
+ hazelcast.diagnostics.invocation.sample.period.seconds: 30
+ hazelcast.diagnostics.pending.invocations.period.seconds: 30
+ hazelcast.diagnostics.slowoperations.period.seconds: 30
+ hazelcast.diagnostics.storeLatency.period.seconds: 60
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.enabled", "true" )
+ .setProperty( "hazelcast.diagnostics.invocation.sample.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.pending.invocations.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.slowoperations.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.storeLatency.period.seconds", "60" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.enabled=true
+ -Dhazelcast.diagnostics.invocation.sample.period.seconds=30
+ -Dhazelcast.diagnostics.pending.invocations.period.seconds=30
+ -Dhazelcast.diagnostics.slowoperations.period.seconds=30
+ -Dhazelcast.diagnostics.storeLatency.period.seconds=60
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.enabled=true -Dhazelcast.diagnostics.invocation.sample.period.seconds=30 -Dhazelcast.diagnostics.pending.invocations.period.seconds=30 -Dhazelcast.diagnostics.slowoperations.period.seconds=30 -Dhazelcast.diagnostics.storeLatency.period.seconds=60"
+```
+
+
+
+
+On a Java client, set the following property:
+- `hazelcast.diagnostics.enabled=true`
+
+## Configure the diagnostics log file
+
+To set the directory of the diagnostics log file, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ /your/log/directory
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.directory: /your/log/directory
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.directory", "/your/log/directory" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.directory=/your/log/directory
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.directory=/your/log/directory"
+```
+
+
+
+
+The name of the log file has the following format:
+
+```none
+diagnostics-_--.log
+```
+
+To add a custom prefix to the name of the log file, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ foobar
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.filename.prefix: foobar
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.filename.prefix", "foobar" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.filename.prefix=foobar
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.filename.prefix=foobar"
+```
+
+
+
+
+Each entry in the diagnostics log file starts with the date, the time, and the epoch time in milliseconds, followed by the name of the entry. To leave out the epoch time, set the `hazelcast.diagnostics.include.epoch` property to `false`. The content of the entry follows in square brackets. Some plugins write an empty entry when they have nothing to report. For example, when there are no slow operations, the `SlowOperations` plugin writes `SlowOperations[]`.
+
+The following example shows the first entries in a diagnostics log file for a member that is starting. It leaves out the content of the `SystemProperties` and `ConfigProperties` entries, and all but three of the 394 `Metric` entries:
+
+```none
+19-11-2026 16:39:47 1795106387185 BuildInfo[
+ Build=20240717
+ BuildNumber=20240717
+ Revision=
+ Version=5.3.8
+ SerialVersion=1
+ Enterprise=false]
+19-11-2026 16:39:47 1795106387185 SystemProperties[
+ java.version=26.0.2.1]
+19-11-2026 16:39:47 1795106387185 ConfigProperties[
+ hazelcast.diagnostics.enabled=true]
+19-11-2026 16:39:47 1795106387185 OverloadedConnections[]
+19-11-2026 16:39:47 1795106387185 EventQueues[]
+19-11-2026 16:39:47 1795106387185 PendingInvocations[
+ count=0
+ invocations[]]
+19-11-2026 16:39:47 1795106387185 Metric[[metric=classloading.totalLoadedClassesCount]=7073]
+19-11-2026 16:39:47 1795106387185 Metric[[metric=os.systemLoadAverage]=3.9267578125]
+19-11-2026 16:39:47 1795106387185 Metric[[unit=bytes,metric=memory.usedHeap]=54949680]
+19-11-2026 16:39:47 1795106387211 SlowOperations[]
+19-11-2026 16:39:47 1795106387211 Invocations[
+ Pending[]
+ History[]
+ SlowHistory[]]
+19-11-2026 16:39:47 1795106387211 InvocationProfiler[]
+19-11-2026 16:39:47 1795106387211 OperationsProfiler[]
+19-11-2026 16:39:47 1795106387211 HazelcastInstance[
+ thisAddress=[127.0.0.1]:5701
+ isRunning=true
+ isLite=false
+ joined=false
+ nodeState=ACTIVE
+ clusterId=null
+ clusterSize=1
+ isMaster=false
+ masterAddress=null
+ Members[
+ [127.0.0.1]:5701]]
+19-11-2026 16:39:47 1795106387211 ClusterVersionChanged[
+ 5.3]
+19-11-2026 16:39:47 1795106387211 Lifecycle[
+ STARTING]
+```
+
+To limit the disk space that the diagnostics log files use, Hazelcast starts a new file when the current file reaches a maximum size. By default, it keeps up to 10 files of 50 MB each. To set the size of each file and the number of files, use the following properties:
+
+
+
+
+```xml
+
+ ...
+
+ 100
+ 5
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.max.rolled.file.size.mb: 100
+ hazelcast.diagnostics.max.rolled.file.count: 5
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.max.rolled.file.size.mb", "100" )
+ .setProperty( "hazelcast.diagnostics.max.rolled.file.count", "5" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.max.rolled.file.size.mb=100
+ -Dhazelcast.diagnostics.max.rolled.file.count=5
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.max.rolled.file.size.mb=100 -Dhazelcast.diagnostics.max.rolled.file.count=5"
+```
+
+
+
+
+## Set the output type
+
+To set the output type of diagnostics, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ STDOUT
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.stdout: STDOUT
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.stdout", "STDOUT" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.stdout=STDOUT
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.stdout=STDOUT"
+```
+
+
+
+
+The property accepts the following types:
+- `FILE` outputs to a [set of files](#configure-the-diagnostics-log-file) managed by Hazelcast. This is the default type.
+- `STDOUT` outputs to the standard output.
+- `LOGGER`outputs to the Hazelcast logger. You can then forward the diagnostics to any output that the logging framework supports.
+
+ :::note
+
+ The `LOGGER` type uses more CPU and memory than the other output types, because each diagnostics write passes through the logging framework. It also gives you more flexibility.
+
+ :::
+
+### Send diagnostics to a logging framework
+
+Hazelcast does not require a specific logging framework. To forward the diagnostics to your logging framework, set the `hazelcast.diagnostics.stdout` property to `LOGGER`:
+
+
+
+
+```xml
+
+ ...
+
+ LOGGER
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.stdout: LOGGER
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.stdout", "LOGGER" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.stdout=LOGGER
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.stdout=LOGGER"
+```
+
+
+
+
+This configuration forwards the logs to the `com.hazelcast.diagnostics` logger. To write them to a file, reference one of your configured appenders from that logger. The following example does this for Log4j2:
+
+```xml
+
+
+
+```
+
+To control the file size and rolling behavior, configure [`TimeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) and [`SizeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) for the appender.
+
+:::note
+
+The diagnostic logs have the `DEBUG` level by default. If the root appender uses the `DEBUG` level and you do not want the diagnostic logs in the member logs, set the level of the `com.hazelcast.diagnostics` logger to `INFO`. For Log4j2, see the [configuration documentation](https://logging.apache.org/log4j/2.x/manual/configuration.html).
+
+:::
+
+## Diagnostics plugins
+
+Each diagnostics plugin collects information and writes it to the diagnostics output. The plugins run in two ways:
+- The `BuildInfo`, `SystemProperties`, and `ConfigProperties` plugins do not run at an interval. With the `FILE` output type, their entries appear at the start of each diagnostics log file, including each new file that Hazelcast starts when a file reaches its maximum size. With the `STDOUT` and `LOGGER` output types, their entries appear once each time diagnostics start.
+- Every other plugin runs repeatedly while it is enabled. The section for each plugin lists the properties that enable and configure it. For most plugins, a property sets the interval, and a value of `0` disables the plugin.
+
+You set the plugin properties in the same way as the other diagnostics properties.
+
+Most plugins write entries with the same name as the plugin. The following table lists every plugin, the name of its entries in the diagnostics output, whether it is enabled by default, and where it runs:
+
+| Plugin | Entry name | Enabled by default | Runs on |
+|---|---|---|---|
+| `BuildInfo` | `BuildInfo` | Yes | Members and clients |
+| `SystemProperties` | `SystemProperties` | Yes | Members and clients |
+| `ConfigProperties` | `ConfigProperties` | Yes | Members and clients |
+| `Metrics` | `Metric`, one entry for each metric | Yes | Members and clients |
+| `SlowOperations` | `SlowOperations` | Yes | Members |
+| `Invocations` | `Invocations` | No | Members |
+| `PendingInvocations` | `PendingInvocations` | No | Members |
+| `InvocationProfiler` | `InvocationProfiler` | Yes | Members |
+| `OperationProfiler` | `OperationsProfiler` | Yes | Members |
+| `HazelcastInstance` | `HazelcastInstance` | Yes | Members |
+| `EventQueue` | `EventQueues` | No | Members and clients |
+| `SystemLog` | `Lifecycle`, `MemberAdded`, `MemberRemoved`, `ConnectionAdded`, `ConnectionRemoved`, `ClusterVersionChanged`, `MigrationState`, `MigrationCompleted`, and `MigrationFailed` | Yes | Members and clients |
+| `StoreLatency` | `MapStoreLatency`, `QueueStoreLatency`, `RingbufferStoreLatency`, `CacheStoreLatency`, `CacheLoaderLatency`, and, in , `WanBatchSenderLatency` | No | Members |
+| `OperationHeartbeats` | `OperationHeartbeat` | Yes | Members |
+| `MemberHeartbeats` | `MemberHeartbeats` | Yes | Members |
+| `OperationThreadSamples` | `OperationThreadSamples` | No | Members |
+| `OverloadedConnections` | `OverloadedConnections` | No | Members |
+| `NetworkingImbalance` | `NetworkingImbalance` | No | Members and clients |
+| `WAN` | `WAN` | No | Members |
+
+### `BuildInfo`
+
+The `BuildInfo` plugin shows Hazelcast build information, including the release number, the Git revision number, and whether you have Hazelcast . The following example shows its output:
+
+```none
+19-11-2026 16:39:47 1795106387185 BuildInfo[
+ Build=20240717
+ BuildNumber=20240717
+ Revision=
+ Version=5.3.8
+ SerialVersion=1
+ Enterprise=false]
+```
+
+### `SystemProperties`
+
+The `SystemProperties` plugin shows the system properties that are used by and configured for your Hazelcast installation, with their values. These are the properties whose names start with `java` (except `java.awt`), `hazelcast`, `sun`, and `os`. The plugin also shows the arguments used to start the JVM. The following example shows part of its output:
+
+```none
+19-11-2026 16:39:47 1795106387185 SystemProperties[
+ java.runtime.name=OpenJDK Runtime Environment
+ java.version=26.0.2.1
+ java.vm.args=--add-modules=ALL-DEFAULT
+ java.vm.name=OpenJDK 64-Bit Server VM
+ os.arch=aarch64
+ os.name=Mac OS X
+ sun.arch.data.model=64]
+```
+
+### `ConfigProperties`
+
+The `ConfigProperties` plugin shows the Hazelcast properties that you set explicitly in the declarative or programmatic configuration, with their values. It does not show properties set only on the command line with `-D`. The following example shows part of its output:
+
+```none
+19-11-2026 16:39:47 1795106387185 ConfigProperties[
+ hazelcast.diagnostics.enabled=true
+ hazelcast.diagnostics.invocation.sample.period.seconds=2
+ hazelcast.diagnostics.metrics.period.seconds=5
+ hazelcast.slow.operation.detector.threshold.millis=500]
+```
+
+### `Metrics` {/* #diagnostics-metrics */}
+
+The Metrics plugin writes a comprehensive log of what is happening in your Hazelcast system. See [Metrics](./metrics.mdx) for more information.
+
+To set how often the plugin writes to the log file, use the following property:
+- `hazelcast.diagnostics.metrics.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+The plugin writes one `Metric` entry for each metric. The entry shows the tags of the metric, such as the name of the data structure and the unit, followed by the value. The following example shows some of these entries:
+
+```none
+19-11-2026 16:39:57 1795106397190 Metric[[unit=bytes,metric=memory.usedHeap]=110903072]
+19-11-2026 16:39:57 1795106397190 Metric[[unit=count,metric=operation.queueSize]=3]
+19-11-2026 16:39:57 1795106397190 Metric[[unit=count,metric=partitions.localPartitionCount]=135]
+19-11-2026 16:39:57 1795106397190 Metric[[name=orders,unit=ms,metric=map.totalGetLatency]=1383]
+19-11-2026 16:39:57 1795106397190 Metric[[name=orders,unit=ms,metric=map.totalPutLatency]=298]
+```
+
+:::note
+
+See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
+
+:::
+
+### `SlowOperations`
+
+The `SlowOperations` plugin shows slow operations and invocations. See the [`SlowOperationDetector` section](../improving-cluster-performance/best-practices.mdx) for more information.
+
+The plugin runs only when the slow operation detector is enabled. To set how often the plugin writes to the log file, use the following property:
+- `hazelcast.diagnostics.slowoperations.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+For each type of slow operation, the plugin shows the number of slow invocations, the stack trace of the operation, and details of each slow invocation. The following example shows part of its output, for a slow entry processor:
+
+```none
+19-11-2026 16:39:56 1795106396257 SlowOperations[
+ com.hazelcast.map.impl.operation.EntryOperation[
+ invocations=1
+ stackTrace[
+com.example.OrderProcessor.process(OrderProcessor.java:53)
+ com.hazelcast.map.impl.operation.EntryOperator.process(EntryOperator.java:381)
+ com.hazelcast.map.impl.operation.EntryOperation.call(EntryOperation.java:242)
+ com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:502)
+ com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:202)]
+ slowInvocations[
+ startedAt=1,795,106,394,275
+ started(date-time)=19-11-2026 16:39:54
+ duration(ms)=1,005
+ operationDetails=com.hazelcast.map.impl.operation.EntryOperation{serviceName='hz:impl:mapService', identityHash=1850692035, partitionId=11, replicaIndex=0, callId=2006, invocationTime=1795106394100 (2026-11-19 16:39:54.100), waitTimeout=-1, callTimeout=60000, tenantControl=com.hazelcast.spi.impl.tenantcontrol.NoopTenantControl@0, name=orders}]]]
+```
+
+### `Invocations`
+
+The Invocations plugin shows statistics about current and past invocations, including pending invocations, the history of invocations, and the slow history. The slow history holds every sample where an invocation took longer than the threshold. It includes the invocations whose operations took a long time, and any other invocations that were obstructed.
+
+To set how often the plugin scans all pending invocations, and the threshold above which an invocation counts as slow, use the following properties:
+- `hazelcast.diagnostics.invocation.sample.period.seconds`: Set a value in seconds. Its default value is `0`, which disables the plugin.
+- `hazelcast.diagnostics.invocation.slow.threshold.seconds`: Set a value in seconds. Its default value is `5` seconds.
+
+The following example shows its output, with a threshold of one second:
+
+```none
+19-11-2026 16:39:57 1795106397192 Invocations[
+ Pending[]
+ History[
+ PartitionIteratingOperation(com.hazelcast.map.impl.operation.SizeOperationFactory) samples=1
+ com.hazelcast.map.impl.operation.EntryOperation samples=1
+ com.hazelcast.map.impl.operation.GetOperation samples=1]
+ SlowHistory[
+ com.hazelcast.map.impl.operation.EntryOperation samples=1]]
+```
+
+### `PendingInvocations`
+
+The `PendingInvocations` plugin shows the number of pending invocations on the member, and the number of pending invocations for each type of operation.
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.pending.invocations.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.pending.invocations.threshold`: Minimum number of pending invocations of a type of operation before the plugin shows that type. Its default value is `1`.
+
+The following example shows its output:
+
+```none
+19-11-2026 16:39:55 1795106395187 PendingInvocations[
+ count=2
+ invocations[
+ com.hazelcast.map.impl.operation.EntryOperation=1
+ com.hazelcast.map.impl.operation.GetOperation=1]]
+```
+
+### `InvocationProfiler`
+
+The `InvocationProfiler` plugin shows invocation latencies for each operation. The following example shows its output:
+
+```none
+06-05-2019 17:15:29 1557152129944 InvocationProfiler[
+ com.hazelcast.map.impl.query.QueryOperation[
+ count=400
+ totalTime(us)=56,000
+ avg(us)=140
+ max(us)=3,000
+ latency-distribution[
+ 64..127us=346
+ 512..1023us=53
+ 2048..4095us=1]]
+ com.hazelcast.map.impl.operation.GetOperation[
+ count=100
+ totalTime(us)=19,000
+ avg(us)=190
+ max(us)=1,000
+ latency-distribution[
+ 64..127us=81
+ 512..1023us=19]]]
+```
+
+To set how often the plugin scans all invocations, use the following system property:
+- `hazelcast.diagnostics.invocation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
+
+To reduce the number of log entries, increase this period.
+
+### `OperationProfiler`
+
+The `OperationProfiler` plugin measures how long each operation runs on an operation thread. For a blocking or offloaded operation, it measures only the time on the operation thread. The following example shows its output:
+
+```none
+06-05-2021 14:53:48 1595332428248 OperationsProfiler[
+ com.hazelcast.map.impl.operation.GetOperation[
+ count=502,501
+ totalTime(us)=1,690,645
+ avg(us)=3
+ max(us)=462
+ latency-distribution[
+ 1..2us=875
+ 2..4us=359,876
+ 4..8us=131,775
+ 8..16us=8,720
+ 16..32us=887
+ 32..64us=178
+ 64..128us=122
+ 128..256us=62
+ 256..512us=6]]
+```
+
+To set how often the plugin scans all operations, use the following system property:
+- `hazelcast.diagnostics.operation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
+
+### `HazelcastInstance`
+
+The `HazelcastInstance` plugin shows the basic state of your cluster, including the number and addresses of the current members and the address of the oldest member. Use it to see the state of the cluster without analyzing a lot of data.
+
+To set how often the plugin writes the cluster information to the log file, use the following property:
+- `hazelcast.diagnostics.memberinfo.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+The following example shows its output:
+
+```none
+19-11-2026 16:39:57 1795106397192 HazelcastInstance[
+ thisAddress=[127.0.0.1]:5701
+ isRunning=true
+ isLite=false
+ joined=true
+ nodeState=ACTIVE
+ clusterId=ebc1fae1-9027-46f6-ac77-db5b78c171ac
+ clusterSize=2
+ isMaster=true
+ masterAddress=[127.0.0.1]:5701
+ Members[
+ [127.0.0.1]:5701
+ [127.0.0.1]:5702]]
+```
+
+### `EventQueue`
+
+The `EventQueue` plugin checks the event queues of data structures, and samples the event types when a queue holds more events than a threshold. Use it to find out why an event queue is filling up.
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.event.queue.period.seconds`: Interval, in seconds, between the runs in which this plugin gathers information and writes it to the diagnostics log file. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.event.queue.threshold`: Minimum number of events in the queue before the plugin samples it. Its default value is `1000`.
+- `hazelcast.diagnostics.event.queue.samples`: Number of samples to take from the event queue. More samples give a more accurate result, but reduce performance. Its default value is `100`.
+
+The following example shows the output for a map:
+
+```none
+17-04-2019 17:36:37 EventQueues[
+ worker=1[
+ eventCount=441
+ sampleCount=100
+ samples[
+ IMap 'myMap' ADDED sampleCount=51 51.000%
+ IMap 'myMap' REMOVED sampleCount=49 49.000%]]
+```
+
+### `SystemLog`
+
+The `SystemLog` plugin shows the activity in your cluster, such as connections and members being added or removed, and changes in the lifecycle of the cluster. It also shows why connections were closed.
+
+To enable or disable the plugin, and to set whether it shows information about partition migrations, use the following properties:
+- `hazelcast.diagnostics.systemlog.enabled`: Whether the plugin is enabled. Its default value is `true`.
+- `hazelcast.diagnostics.systemlog.partitions`: Whether the plugin shows information about partition migrations. Its default value is `false`. If you enable it on a cluster with many partitions, the plugin can write a large number of log entries.
+
+The plugin does not write entries named `SystemLog`. Each event has its own entry name, such as `MemberAdded` or `ConnectionRemoved`. The following example shows the entries for a member that joins the cluster and then leaves it:
+
+```none
+19-11-2026 16:39:54 1795106394191 MemberAdded[
+ member=[127.0.0.1]:5702
+ Members[
+ [127.0.0.1]:5701:this:master
+ [127.0.0.1]:5702]]
+19-11-2026 16:40:23 1795106423187 ConnectionRemoved[
+ Connection[id=1, /127.0.0.1:5701->/127.0.0.1:61237, qualifier=null, endpoint=[127.0.0.1]:5702, remoteUuid=8d1c0a13-62cf-425a-a6c1-114c89cf739e, alive=false, connectionType=MEMBER, planeIndex=0]
+ type=MEMBER
+ isAlive=false
+ closeReason=Connection closed by the other side
+ CloseCause[
+ java.io.EOFException: Remote socket closed!
+ com.hazelcast.internal.networking.nio.NioInboundPipeline.process(NioInboundPipeline.java:118)]]
+19-11-2026 16:40:23 1795106423188 MemberRemoved[
+ member=[127.0.0.1]:5702
+ Members[
+ [127.0.0.1]:5701:this:master]]
+```
+
+### `StoreLatency`
+
+The `StoreLatency` plugin shows statistics for each store. The statistics include the call count, the average and maximum latency, and the latency distribution of each store method, such as `load`, `loadAll`, and `loadAllKeys`.
+
+The following example shows the output in the diagnostics log file for a `MapStore`:
+
+```none
+17-9-2019 13:12:34 MapStoreLatency[
+ map[
+ loadAllKeys[
+ count=1
+ totalTime(us)=8
+ avg(us)=8
+ max(us)=8
+ latency-distribution[
+ 0..99us=1]]
+ load[
+ count=100
+ totalTime(us)=4,632,190
+ avg(us)=46,321
+ max(us)=99,178
+ latency-distribution[
+ 0..99us=1
+ 1600..3199us=3
+ 3200..6399us=3
+ 6400..12799us=7
+ 12800..25599us=13
+ 25600..51199us=32
+ 51200..102399us=41]]]]
+```
+
+The plugin writes one entry for each type of store, such as `MapStoreLatency` for map stores and loaders. It writes similar entries for JCache, `Queue`, and `Ringbuffer` data structures that use persistent data stores, such as `QueueStoreLatency` for queue stores.
+
+To configure the `StoreLatency` plugin, use the following properties:
+- `hazelcast.diagnostics.storeLatency.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The plugin is disabled by default. A sensible production value is `60` seconds.
+- `hazelcast.diagnostics.storeLatency.reset.period.seconds`: Interval, in seconds, at which the plugin resets the statistics. For example, with a value of `300`, the plugin clears all statistics every 5 minutes. Its default value is `0`, which means the plugin does not reset the statistics.
+
+### `OperationHeartbeats`
+
+The `OperationHeartbeats` plugin shows the deviation in operation heartbeats between members. Each member sends an operation heartbeat to every other member, whether or not an operation is running on behalf of that member. The heartbeat contains a list of the `callId` values of all running operations from a given member. This plugin also works between members and lite members.
+
+Members send operation heartbeats at an interval of a quarter of the operation call timeout. With the default call timeout of 60 seconds, a member expects an operation heartbeat every 15 seconds. Operation heartbeats are high-priority packets, which overtake regular packets. A separate thread in the invocation monitor processes them. If the interval between these packets deviates, the cause can be a problem such as network latency.
+
+The following example shows the output when a member has not received an operation heartbeat for 37 seconds:
+
+```none
+20-07-2017 11:12:55 OperationHeartbeat[
+ member[10.212.1.119]:5701[
+ deviation(%)=146.6666717529297
+ noHeartbeat(ms)=37,000
+ lastHeartbeat(ms)=1,500,538,338,603
+ lastHeartbeat(date-time)=20-07-2017 11:12:18
+ now(ms)=1,500,538,375,603
+ now(date-time)=20-07-2017 11:12:55]]
+```
+
+The `OperationHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
+
+To configure the `OperationHeartbeats` plugin, use the following properties:
+- `hazelcast.diagnostics.operation-heartbeat.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. Its default value is `10`. A value of `0` disables the plugin.
+- `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is `33`. For example, with the default call timeout of 60 seconds, the operation heartbeat interval is 15 seconds. A deviation percentage of 33 allows a maximum deviation of 5 seconds. A packet that arrives after 19 seconds is within the limit. If a packet arrives after 21 seconds, the plugin writes to the diagnostics file.
+
+### `MemberHeartbeats`
+
+The `MemberHeartbeats` plugin is similar to the `OperationHeartbeats` plugin, but it measures the deviation in cluster heartbeats between members instead of operation heartbeats. Every member sends a heartbeat to the other members every 5 seconds by default.
+
+Like the `OperationHeartbeats` plugin, the `MemberHeartbeats` plugin can detect networking problems long before they lead to problems such as split-brain syndrome.
+
+The following example shows the output when a member has not received a heartbeat from another member for 11 seconds:
+
+```none
+20-07-2017 19:32:22 MemberHeartbeats[
+ member[10.212.1.119]:5701[
+ deviation(%)=120.0
+ noHeartbeat(ms)=11,000
+ lastHeartbeat(ms)=1,500,568,331,645
+ lastHeartbeat(date-time)=20-07-2017 19:32:11
+ now(ms)=1,500,568,342,645
+ now(date-time)=20-07-2017 19:32:22]]
+```
+
+The `MemberHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
+
+To configure the `MemberHeartbeats` plugin, use the following properties:
+- `hazelcast.diagnostics.member-heartbeat.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. Its default value is `10`. A value of `0` disables the plugin.
+- `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is `100`. For example, if members send heartbeats every 5 seconds, a 100% deviation allows heartbeats to arrive up to 5 seconds after they are expected. The plugin does not write a heartbeat that arrives after 9 seconds, but writes one that arrives after 11 seconds.
+
+### `OperationThreadSamples`
+
+The `OperationThreadSamples` plugin samples the operation threads and checks the running operations and tasks. The Hazelcast [slow operation detector](../improving-cluster-performance/best-practices.mdx) is useful for slow operations, but it can be inefficient for a high volume of operations that are only slightly slow. The `OperationThreadSamples` plugin shows more clearly which operations are running.
+
+To configure the `OperationThreadSamples` plugin, use the following properties:
+- `hazelcast.diagnostics.operationthreadsamples.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. An efficient value for production is 30 seconds or more. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.operationthreadsamples.sampler.period.millis`: Interval, in milliseconds, between samples. A lower value increases both the overhead and the precision. Its default value is `100`.
+- `hazelcast.diagnostics.operationthreadsamples.includeName`: Whether to include the name of the data structure that the operation targets, if available, in the name of each sample. Its default value is `false`.
+
+The following example shows the output when the `hazelcast.diagnostics.operationthreadsamples.includeName` property is `false`:
+
+```none
+28-08-2019 07:40:07 1535442007330 OperationThreadSamples[
+ Partition[
+ com.hazelcast.map.impl.operation.MapSizeOperation=304623 85.6927%
+ com.hazelcast.map.impl.operation.PutOperation=33061 9.300304%
+ com.hazelcast.map.impl.operation.GetOperation=17799 5.0069904%]
+ Generic[
+ com.hazelcast.internal.nio.Packet=1767 27.361412%
+ com.hazelcast.internal.cluster.impl.operations.JoinRequestOp=821 12.712914%
+ com.hazelcast.spi.impl.operationservice.impl.operations.PartitionIteratingOperation=278 4.3047385%
+ com.hazelcast.internal.cluster.impl.operations.HeartbeatOp=93 1.4400743%
+ com.hazelcast.internal.cluster.impl.operations.OnJoinOp=89 1.3781357%
+ com.hazelcast.internal.cluster.impl.operations.WhoisMasterOp=75 1.1613503%]]
+```
+
+In this example, `MapSizeOperation` operations run on the operation threads most of the time.
+
+### `OverloadedConnections`
+
+The `OverloadedConnections` plugin checks the outgoing packet queue of each connection on the member. When a queue holds more packets than a threshold, the plugin samples the packets and shows the types of operation in them. Use it to find out what fills a connection when pending packets use a large amount of memory.
+
+:::warning
+
+To sample a packet, the plugin deserializes it, which has a high overhead. Use this plugin only for debugging, not in production.
+
+:::
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.overloaded.connections.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.overloaded.connections.threshold`: Minimum number of packets in the queue of a connection before the plugin samples it. Its default value is `10000`.
+- `hazelcast.diagnostics.overloaded.connections.samples`: Number of packets to sample from each overloaded connection. Its default value is `1000`.
+
+For each overloaded connection, the plugin shows the number of packets in the queue, as `packetCount` for regular packets or `urgentPacketCount` for priority packets. The following example shows its output with a threshold of `1`:
+
+```none
+19-11-2026 15:19:12 1795101552046 OverloadedConnections[
+ Connection[id=1, /127.0.0.1:59711->/127.0.0.1:5702, qualifier=null, endpoint=[127.0.0.1]:5702, remoteUuid=12af9f38-a99b-46b8-8b16-76b488a2d0aa, alive=true, connectionType=MEMBER, planeIndex=0][
+ urgentPacketCount=4
+ sampleCount=4
+ samples[
+ com.hazelcast.internal.partition.operation.MigrationRequestOperation sampleCount=4 100.000%]]]
+```
+
+### `NetworkingImbalance`
+
+The `NetworkingImbalance` plugin shows how the network load is spread across the input and output threads of a member or client. For each thread, it shows the number of frames, priority frames, bytes, events, handled events, and tasks. It also shows each value as a percentage of the total for all input or all output threads.
+
+To configure the plugin, use the following property:
+- `hazelcast.diagnostics.networking-imbalance.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+
+The following example shows part of its output:
+
+```none
+19-11-2026 16:39:57 1795106397192 NetworkingImbalance[
+ InputThreads[
+ hz.example.IO.thread-in-1[
+ frames-percentage=100.00 %
+ frames=1,750
+ priority-frames-percentage=100.00 %
+ priority-frames=15
+ bytes-percentage=100.00 %
+ bytes=997,085
+ events-percentage=100.00 %
+ events=1,898
+ handle-count-percentage=100.00 %
+ handle-count=1,454
+ tasks-percentage=100.00 %
+ tasks=9]]]
+```
+
+### `WAN`
+
+
+
+The `WAN` diagnostics plugin shows information about WAN replication.
+
+The plugin is disabled by default. To configure it, use the following property:
+- `hazelcast.diagnostics.wan.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. A value of `0` disables the plugin.
+
+The following shows an example of the output for a member with the WAN replication configuration `london` and the publisher `tokyo`:
+
+```none
+01-01-2026 12:00:00 1767268800000 WAN[
+ syncCount=0
+ updateCount=0
+ removeCount=0
+ syncState[
+ status=READY
+ activeWanConfigName=null
+ activePublisherName=null]
+ london[
+ tokyo[
+ outboundQueueSize=0
+ totalPublishedEventCount=1,000
+ totalPublishLatency=2,010
+ connected=true
+ state=REPLICATING
+ mapSentEvents-orders[
+ updateCount=1,000
+ removeCount=0
+ syncCount=0
+ droppedCount=0]
+ updateCount=1,000
+ removeCount=0
+ syncCount=0
+ droppedCount=0]]]
+```
diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/health-check-and-monitoring.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/health-check-and-monitoring.mdx
new file mode 100644
index 00000000..090d577e
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/health-check-and-monitoring.mdx
@@ -0,0 +1,248 @@
+---
+title: "Health check and monitoring"
+sidebar_position: 3
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast provides the following tools to check the health and status of a cluster:
+- The HTTP-based health check endpoint returns the state of a member and its cluster when another system requests it. For example, a load balancer can use it to send traffic only to active members.
+- The `hz-healthcheck` script calls the health check endpoint from the command line. Use it in your own scripts, for example to check that the cluster is safe before you shut down a member.
+- The health monitor utility writes the resource use of a member, such as memory, CPU, and garbage collection, to the member log. It is enabled by default. Use its log entries to find out why a member slowed down or failed.
+
+## Enable the health check endpoint
+
+The `hz-healthcheck` script also uses the health check endpoint. To enable the endpoint, use either of the following configuration elements:
+- The `network` configuration element:
+
+
+
+
+ ```xml
+
+ ...
+
+
+
+
+
+ ...
+
+ ```
+
+
+
+
+ ```yaml
+ hazelcast:
+ network:
+ rest-api:
+ enabled: true
+ endpoint-groups:
+ HEALTH_CHECK:
+ enabled: true
+ ```
+
+
+
+- The `advanced-network` configuration element:
+
+
+
+
+ ```xml
+
+ ...
+
+
+
+
+
+
+
+ ...
+
+ ```
+
+
+
+
+ ```yaml
+ hazelcast:
+ advanced-network:
+ enabled: true
+ rest-server-socket-endpoint-config:
+ endpoint-groups:
+ HEALTH_CHECK:
+ enabled: true
+ ```
+
+
+
+
+## Perform an HTTP-based health check
+
+The HTTP-based health check returns basic information about a member and its cluster. To use it, enable the health check endpoint, and then open `http://:5701/hazelcast/health` in a browser.
+
+The response shows the health status of the member and its cluster, such as the member state, the cluster state, and the cluster size. For example:
+
+```json
+{
+ "nodeState": "ACTIVE",
+ "clusterState": "ACTIVE",
+ "clusterSafe": false,
+ "migrationQueueSize": 0,
+ "clusterSize": 3
+}
+```
+
+The response has the following fields:
+- `nodeState`: State of the member that you query. See [Cluster and Member States](../maintaining-a-cluster/cluster-member-states.mdx#member-states) to learn more about the states of cluster members.
+- `clusterState`: State of the cluster that the member belongs to. See [Cluster and Member States](../maintaining-a-cluster/cluster-member-states.mdx#cluster-states) to learn more about cluster states.
+- `clusterSafe`: Whether the queried member is safe: there are no active partition migrations, and all backups are in sync for each partition that the member owns. See [Shutting Down Members and Clusters](../maintaining-a-cluster/shutdown.mdx#ensuring-members-and-clusters-are-in-a-safe-state) to learn how to check the safety of active clusters.
+
+ :::note
+
+ The `clusterSafe` indicator is useful when your cluster is in a passive state. If the cluster is in an active state, the value changes continually because the state of the cluster changes. Checking the cluster safety also triggers extra operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load can affect cluster performance.
+
+ :::
+- `migrationQueueSize`: Number of remaining migration tasks while the cluster data is being repartitioned. See [Data Partitioning](../../reference/architecture/data-partitioning.mdx) to learn about Hazelcast's partitioning mechanism.
+- `clusterSize`: Number of members in the cluster.
+
+## Use the `hz-healthcheck` script {/* #health-check-script */}
+
+The Hazelcast package includes the `hz-healthcheck` script. The script calls the HTTP-based health check endpoint.
+
+To run the script, enable the health check endpoint, and then run the script with the parameters that you need:
+
+```bash
+./hz-healthcheck
+```
+
+The script accepts the following parameters:
+
+| Parameter | Default value | Description |
+|---|---|---|
+| `-o` or `--operation` | `all` | Health check operation. It can be `all`, `node-state`, `cluster-state`, `cluster-safe`, `migration-queue-size`, or `cluster-size`.
The `cluster-safe` operation is useful when your cluster is in a passive state. If the cluster is in an active state, the value changes continually because the state of the cluster changes. Checking the cluster safety also triggers extra operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load can affect cluster performance. |
+| `-a` or `--address` | `127.0.0.1` | IP address of the member to query. To check a remote cluster, set it to the IP address of one of its members. |
+| `-p` or `--port` | `5701` | Port of the member on the local or remote machine. |
+| `-h` or `--help` | No argument | Lists the parameter descriptions. It works only as the first parameter. |
+| `-d` or `--debug` | No argument | Prints error output. |
+| `--https` | No argument | Uses HTTPS for REST calls. |
+| `--cacert` | Set of well-known CA certificates | Path of the trusted PEM-encoded certificate file. The script uses it to verify member certificates. |
+| `--cert` | None | Path of the PEM-encoded client certificate file. Required only for client certificate authentication. |
+| `--key` | None | Path of the PEM-encoded client private key file. Required only for client certificate authentication. |
+| `--insecure` | No argument | Disables member certificate verification. |
+
+The following example checks the state of a healthy member at the address `127.0.0.1:5701`:
+
+```none
+./hz-healthcheck -a 127.0.0.1 -p 5701 -o node-state
+ACTIVE
+```
+
+The following example checks the safety of a cluster that has no member at the address `127.0.0.1:5701`. The script prints an error:
+
+```none
+./hz-healthcheck -a 127.0.0.1 -p 5701 -o cluster-safe
+Error while checking health of hazelcast cluster on ip 127.0.0.1 on port 5701.
+Please check that cluster is running and that health check is enabled in REST API configuration.
+```
+
+## Use the health monitor utility
+
+The health monitor regularly prints log entries with information about the state of the member. It is enabled by default.
+
+To set the interval between log entries, use the `hazelcast.health.monitoring.delay.seconds` system property. Its default value is 20 seconds.
+
+To set the level of the health monitor, use the `hazelcast.health.monitoring.level` system property. It accepts the following values:
+- `OFF`: Disables the health monitor.
+- `NOISY`: Prints log entries at every interval.
+- `SILENT`: Prints log entries only when a value exceeds a threshold. This is the default value.
+
+In the `SILENT` level, the health monitor prints log entries when one of the following values exceeds its threshold:
+- Memory percentage, set with the `hazelcast.health.monitoring.threshold.memory.percentage` system property. Its default value is `70`.
+- CPU percentage, set with the `hazelcast.health.monitoring.threshold.cpu.percentage` system property. Its default value is `70`.
+- Pending invocations, when they exceed 70% or a count of 1000.
+
+The following example shows the output of the health monitor:
+
+```none vars
+Sep 08, 2017 5:02:28 PM com.hazelcast.internal.diagnostics.HealthMonitor
+
+INFO: [192.168.2.44]:5701 [host-name] [{full-version}] processors=4, physical.memory.total=16.0G, physical.memory.free=5.5G, swap.space.total=0, swap.space.free=0, heap.memory.used=102.4M,
+
+heap.memory.free=249.1M, heap.memory.total=351.5M, heap.memory.max=3.6G, heap.memory.used/total=29.14%, heap.memory.used/max=2.81%, minor.gc.count=4, minor.gc.time=68ms, major.gc.count=1,
+
+major.gc.time=41ms, load.process=0.44%, load.system=1.00%, load.systemAverage=3.15, thread.count=97, thread.peakCount=98, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0,
+
+executor.q.client.size=0, executor.q.client.query.size=0, executor.q.client.blocking.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.size=0,
+
+executor.q.priorityOperation.size=0, operations.completed.count=226, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0,
+
+operations.running.count=0, operations.pending.invocations.percentage=0.00%, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=1,
+
+connection.active.count=2, client.connection.count=1, connection.count=1
+```
+
+:::note
+
+See [Configuring with System Properties](../configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to set system properties.
+
+:::
+
+## Use health check on F5 BIG-IP LTM
+
+You can use the F5® BIG-IP® Local Traffic Manager™ (LTM) as a load balancer for Hazelcast members. To check the state of each member, configure an LTM monitor.
+
+
+You can use the following types of LTM monitor to track Hazelcast members:
+- HTTP monitor: Sends a request to the Hazelcast health check endpoint over HTTP. Use it when SSL/TLS is not enabled in your cluster.
+- HTTPS monitor: Sends a request to the Hazelcast health check endpoint over HTTPS. Use it when SSL/TLS is enabled in your cluster.
+- `TCP_HALF_OPEN` monitor: Checks only that the TCP port that Hazelcast uses is open and accepts connections. It does not call the health check endpoint. You can use it with or without SSL/TLS.
+
+
+Sign in to the BIG-IP LTM user interface, and create a monitor as described in the [F5 documentation on LTM monitors](https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-monitors-reference-11-6-0/3.html#unique_859105660). Then apply the configuration for your monitor type.
+
+### HTTP/HTTPS monitors
+
+:::note
+
+HTTP and HTTPS Local Traffic Manager monitors need the Hazelcast health check endpoint. Enable it with the `advanced-network` or the `network` configuration element.
+
+:::
+
+To use a GET request, set the following fields:
+- Set **Send String** to the following:
+
+ ```none
+ GET /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
+ ```
+- Set **Receive String** to the following:
+
+ ```none
+ {"nodeState":"ACTIVE","clusterState":"ACTIVE","clusterSafe":true,"migrationQueueSize":0,"clusterSize":([^\s]+)}
+ ```
+
+LTM monitors accept regular expressions in these strings. The **Receive String** in this example matches any cluster size. The monitor therefore stays green when the cluster size changes.
+
+To use a HEAD request, set the following fields:
+- Set **Send String** to the following:
+
+ ```none
+ HEAD /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
+ ```
+- Set **Receive String** to the following:
+
+ ```none
+ 200 OK
+ ```
+
+A HEAD request checks only for a `200 OK` response. A member sends this status code whenever its REST endpoint handles the request. The status code does not depend on the member state or the cluster state. A HEAD request therefore checks only that the endpoint responds. For a check that also covers the member state and the cluster state, we recommend a GET request.
+
+### `TCP_HALF_OPEN` monitors
+
+To use a `TCP_HALF_OPEN` monitor, set the following fields:
+- **Type**: `TCP Half Open`
+- **Alias Service Port**: Optional. The port of the Hazelcast member, if you want to set the port in the monitor
diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/instance-tracking.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/instance-tracking.mdx
new file mode 100644
index 00000000..df258872
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/instance-tracking.mdx
@@ -0,0 +1,136 @@
+---
+title: "Instance tracking"
+sidebar_position: 6
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Instance tracking writes a file of metadata about a Hazelcast instance when the instance starts. The metadata includes the product name, the version, and the process ID. Other programs can read these files to find out which Hazelcast instances have run on a machine. Members and clients of both and support instance tracking. It is disabled by default.
+
+The instance does not delete the file when it shuts down. The file therefore remains on the machine as a record that the instance ran. If the instance cannot write the file, it logs a warning and starts anyway.
+
+## Configure instance tracking {/* #instance-tracking-configuration */}
+
+You configure instance tracking in the member configuration. The following example enables instance tracking, sets the path of the file, and sets a pattern for its contents:
+
+```java
+Config config = new Config();
+config.getInstanceTrackingConfig()
+ .setEnabled(true)
+ .setFileName("/tmp/hz-tracking.txt")
+ .setFormatPattern("$HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}");
+```
+
+The equivalent declarative configuration is as follows:
+
+
+
+
+```xml
+
+
+ /tmp/hz-tracking.txt
+ $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
+
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ instance-tracking:
+ enabled: true
+ file-name: /tmp/hz-tracking.txt
+ format-pattern: $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
+```
+
+
+
+
+Instance tracking has the following settings:
+
+| Setting | Description | Default |
+| --- | --- | --- |
+| `enabled` | Whether the instance writes a tracking file | `false` |
+| `file-name` | The path of the tracking file | `Hazelcast.process` in the directory that the `java.io.tmpdir` system property names |
+| `format-pattern` | The pattern for the contents of the file | All the metadata as JSON |
+
+To configure instance tracking for a client, add the same settings to the client configuration.
+
+An instance overwrites any existing file at the configured path. To give each instance its own file, add placeholders to the filename. For example, the filename `Hazelcast-$HZ_INSTANCE_TRACKING{pid}-$HZ_INSTANCE_TRACKING{start_timestamp}.process` contains the process ID and the start time. The filename is therefore different each time an instance starts.
+
+## Use placeholders
+
+The filename and the format pattern can contain placeholders in the form `$HZ_INSTANCE_TRACKING{}`. The `HZ_INSTANCE_TRACKING` prefix distinguishes them from other placeholders in the configuration. When the instance writes the file, it replaces each placeholder with its value.
+
+The following placeholders are available:
+
+| Placeholder | Value |
+| --- | --- |
+| `product` | The product name: `Hazelcast`, `Hazelcast Enterprise`, `Hazelcast Client`, or `Hazelcast Client Enterprise` |
+| `version` | The Hazelcast version of the instance |
+| `mode` | `server` for a member started with the `hz-start` or `hz-start.bat` script, `embedded` for a member embedded in another Java program, or `client` for a client |
+| `start_timestamp` | The time the instance started, in milliseconds since the Unix epoch |
+| `licensed` | `1` if the instance uses a license, or `0` if it does not |
+| `pid` | The process ID of the instance, or `-1` if the instance cannot get it. Some JVMs and operating systems do not provide the process ID. |
+
+If a placeholder name is not in this table, the instance writes the placeholder unchanged and continues with the next one. If a placeholder has no closing brace, the instance writes the rest of the pattern unchanged, including any placeholders that follow.
+
+For example, the following format pattern contains a placeholder name that does not exist and a placeholder with no closing brace:
+
+```java
+String format = "mode: $HZ_INSTANCE_TRACKING{mode}\n"
+ + "product: $HZ_INSTANCE_TRACKING{product}\n"
+ + "licensed: $HZ_INSTANCE_TRACKING{licensed}\n"
+ + "missing: $HZ_INSTANCE_TRACKING{missing}\n"
+ + "broken: $HZ_INSTANCE_TRACKING{broken ";
+```
+
+An embedded member with no license writes the following file:
+
+```properties
+mode: embedded
+product: Hazelcast
+licensed: 0
+missing: $HZ_INSTANCE_TRACKING{missing}
+broken: $HZ_INSTANCE_TRACKING{broken
+```
+
+## Read the default file contents
+
+If you do not set a format pattern, the file contains every placeholder and its value as JSON.
+
+A client writes a file such as the following:
+
+```json
+{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"client", "start_timestamp":1595851430741, "licensed":0}
+```
+
+A member started with the `hz-start` script writes a file such as the following:
+
+```json
+{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"server", "start_timestamp":1595851430741, "licensed":1}
+```
+
+A member embedded in another Java program writes a file such as the following:
+
+```json
+{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"embedded", "start_timestamp":1595851430741, "licensed":1}
+```
+
+## Find the tracking file of a running instance
+
+When an instance writes its tracking file, it sets the `hazelcast.config.instance.tracking.file` system property of its JVM to the full path of the file. To check that each running instance writes its file to the right path, read this property with the [`jcmd`](https://docs.oracle.com/en/java/javase/13/docs/specs/man/jcmd.html) utility. Replace `` with the process ID of the JVM:
+
+```shell
+jcmd VM.system_properties | grep hazelcast.config.instance.tracking.file
+```
+
+The output is similar to the following:
+
+```shell
+hazelcast.config.instance.tracking.file=/tmp/Hazelcast.process
+```
diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/metrics.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/metrics.mdx
new file mode 100644
index 00000000..b759d922
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/metrics.mdx
@@ -0,0 +1,389 @@
+---
+title: "Metrics"
+sidebar_position: 2
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+import CodeBlock from "@theme/CodeBlock";
+import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../examples/management/ExampleLocalMapStats.java?tag=lms";
+import Ex_management_ExampleLocalIndexStats_java_tag_lis from "../../examples/management/ExampleLocalIndexStats.java?tag=lis";
+import Ex_management_ExampleNearCacheStats_java_tag_ncs from "../../examples/management/ExampleNearCacheStats.java?tag=ncs";
+import Ex_management_ExampleMultiMapStats_java_tag_mms from "../../examples/management/ExampleMultiMapStats.java?tag=mms";
+import Ex_management_ExampleQueueStats_java_tag_qs from "../../examples/management/ExampleQueueStats.java?tag=qs";
+import Ex_management_ExampleTopicStats_java_tag_ts from "../../examples/management/ExampleTopicStats.java?tag=ts";
+import Ex_management_ExampleExecutorStats_java_tag_es from "../../examples/management/ExampleExecutorStats.java?tag=es";
+import Ex_management_MetricsConfiguration_java_tag_member from "../../examples/management/MetricsConfiguration.java?tag=member";
+import Ex_management_MetricsConfiguration_java_tag_client from "../../examples/management/MetricsConfiguration.java?tag=client";
+
+Hazelcast exposes various metrics to facilitate monitoring of the cluster state. They are `` key-value pairs of data that capture the runtime information about the members and clients in a Hazelcast cluster. Such a metric can be the number of entries stored in a particular `IMap` on a given member, JVM metrics like used heap, OS metrics like load average, and so on.
+
+The metrics system is responsible for collecting these metrics and making them available for the [consumers](#exposing-metrics) of the metrics. There are a few hundred metrics collected during every metrics collection cycle by default, and this number grows as more features and data structures are used. This is because every data structure provides its own metrics. For example, if there are two `IMap`s used in a cluster, both `IMap`s produce their metrics on every member.
+
+Metrics have associated tags which describe which object the metric applies to. For example, the tags for job metrics typically indicate the specific DAG vertex and processor the metric belongs to.
+
+Each metric instance provided belongs to a particular Hazelcast cluster member. Different cluster members can have their own versions of the same metric with different values.
+
+The metric collection runs in regular intervals on each member, but note that the metric collection on different cluster members happens at different moments in time. So if you try to correlate metrics from different members, they can be from different moments of time.
+
+## Hazelcast metrics
+
+There is a wide range of metrics and statistics provided by Hazelcast:
+- Cluster-wide metrics
+- Statistics of distributed data structures
+- Executor statistics
+- Partition-related statistics (state, migration, replication)
+- Garbage collection statistics
+- Memory statistics for the JVM that the current Hazelcast member belongs to, for example total physical/free OS memory, max/committed/used/free heap memory, or max/committed/used/free native memory
+- Network traffic-related statistics (traffic and queue sizes)
+- Class loading-related statistics
+- Thread count information (current, peak and daemon thread counts)
+- Job-specific metrics
+
+See the full list of Hazelcast metrics in [List of Hazelcast Metrics](../../reference/list-of-metrics.mdx).
+
+:::note
+
+Metric names can change between minor versions, but not between patch versions. For the compatibility guarantees of each Hazelcast component, see [Supported Versions and Compatibilities](../../upgrade/versioning-compatibility.mdx#compatibility-guarantees).
+
+:::
+
+### User-defined metrics
+
+User-defined metrics are actually a subset of [job metrics](../../reference/list-of-metrics.mdx#job-metrics). What distinguishes them from regular job-specific metrics is exactly what their name implies: they are not built-in, but defined when processing pipelines are written.
+
+Since user-defined metrics are also job metrics, they have all the tags job metrics have. They also have an extra tag, called `user`, which is set to `true`.
+
+:::note
+
+Because of their extra tag, user-defined metrics cannot overwrite a built-in metric, even if they have the exact same name.
+
+:::
+
+For example, to monitor your filtering step, you can write code like this:
+
+```java
+p.readFrom(source)
+ .filter(l -> {
+ boolean pass = l % 2 == 0;
+ if (!pass) {
+ Metrics.metric("dropped").increment();
+ }
+ Metrics.metric("total").increment();
+ return pass;
+ })
+ .writeTo(sink);
+```
+
+User-defined metrics can be used anywhere in pipeline definitions where custom code can be added. The most important places are filtering, mapping, and flat-mapping functions, various constituent functions of aggregations (accumulate, create, combine, deduct, export, and finish), and the key extraction function when grouping. They can also be used in [custom batch sources](../../develop-solutions/building-data-pipelines/ingesting-data-from-sources/custom-batch-source.mdx), [custom stream sources](../../develop-solutions/building-data-pipelines/ingesting-data-from-sources/custom-stream-source.mdx), [custom sinks](../../develop-solutions/building-data-pipelines/sending-results-to-sinks/custom-sink.mdx), processors, and so on.
+
+## Exposing metrics
+
+Use these tools and interfaces to expose the metrics to the outside world:
+-
+- JMX
+- [Diagnostics](./diagnostics.mdx)
+- Prometheus
+- Job API
+
+### Management Center
+
+Management Center receives the metrics used for building its view about the Hazelcast cluster from the metrics system. The members collect their metrics with the frequency defined with `collection-frequency-seconds`, which is by default once in every 5 seconds.
+
+The member saves the collected metrics into a blob stored in an in-memory buffer. The blob then is retained for the time configured in the `retention-seconds` under the `management-center` configuration block. This is also 5 seconds by default, which means there is at most one blob stored by default. Management Center periodically reads the metrics from this buffer. A blob stays in the buffer until a newer blob replaces it.
+
+The client metrics are also stored in these blobs on the member side with timestamps assigned to them on the client side.
+
+See the for more information.
+
+### JMX
+
+Hazelcast exposes all its metrics using the JVM's standard JMX interface. You can use tools such as Java Mission Control or JConsole to display them.
+
+To connect a JMX client to a member, see [Monitoring with JMX](./monitoring-with-jmx.mdx). That page also describes a separate set of MBeans for data structures and internal services, which you enable with the `hazelcast.jmx` property. The metrics do not need that property. The `jmx` element of the `metrics` configuration controls them, and it is enabled by default.
+
+The Hazelcast metrics are exposed under `com.hazelcast/Metrics/$INSTANCE_NAME` where `$INSTANCE_NAME` is the name of the member or client instance to which the JMX client is connected.
+
+[Jet engine](../../develop-solutions/building-data-pipelines/overview.mdx#what-is-the-jet-engine)-related beans are stored under `com.hazelcast.jet/Metrics//` node, and the various tags they have form further sub-nodes in the resulting tree structure.
+
+### Prometheus
+
+[Prometheus](https://prometheus.io/docs/prometheus/latest/getting_started) is a monitoring system and time series database. Setting up monitoring via Prometheus consists of two steps. The first step is exposing an HTTP endpoint with metrics. The second step is setting up Prometheus server, which pulls the metrics in a specified interval.
+
+The Prometheus Java agent is already part of the Hazelcast distribution. Enable the agent and expose all metrics via HTTP endpoint by setting an environment variable `PROMETHEUS_PORT`. You can change the port to any available port:
+
+```bash
+PROMETHEUS_PORT=8080 bin/hz-start
+```
+
+You should see the following line printed to the logs:
+
+```text
+Prometheus enabled on port 8080
+```
+
+The metrics are available on `http://localhost:8080`.
+
+
+### Job API
+
+The `Job` class has a method which returns a instance. It contains the latest known metric values for the job.
+
+This functionality has been developed primarily to give access to metrics of finished jobs, but can in fact be used for jobs in any state. For details on how to use and filter the metric values consult the .
+
+A simple example for computing the number of data items emitted by a certain vertex, `vertexA`, excluding items emitted to the snapshot, looks like this:
+
+```java
+Predicate vertexOfInterest =
+ MeasurementPredicates.tagValueEquals(MetricTags.VERTEX, "vertexA");
+Predicate notSnapshotEdge =
+ MeasurementPredicates.tagValueEquals(MetricTags.ORDINAL, "snapshot").negate();
+
+Collection measurements = jobMetrics
+ .filter(vertexOfInterest.and(notSnapshotEdge))
+ .get(MetricNames.EMITTED_COUNT);
+
+long totalCount = measurements.stream().mapToLong(Measurement::value).sum();
+```
+
+## Configuration
+
+Metrics collection is enabled by default. You can configure the metrics system declaratively, in the XML or YAML [configuration file](../configuration/static-configuration/configuring-declaratively.mdx), or programmatically, with the [Java API](../configuration/static-configuration/configuring-programmatically.mdx). The following example shows the member configuration with the default values:
+
+
+
+
+```xml
+
+
+ 5
+
+
+ 5
+
+```
+
+
+
+
+```yaml
+metrics:
+ enabled: true
+ management-center:
+ enabled: true
+ retention-seconds: 5
+ jmx:
+ enabled: true
+ collection-frequency-seconds: 5
+```
+
+
+
+
+{Ex_management_MetricsConfiguration_java_tag_member}
+
+
+
+
+You can override each setting in the `metrics` configuration with a [Hazelcast property](../../reference/system-properties.mdx). Set the property in the `properties` section of the member configuration, or as a JVM system property, such as `-Dhazelcast.metrics.enabled=false`. If you set both, the member uses the value from the `properties` section. The member logs each override when it starts. The following properties override the `metrics` configuration:
+- `hazelcast.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
+- `hazelcast.metrics.mc.enabled`: Enables buffering the collected metrics for Management Center if set to `true`, disables it otherwise.
+- `hazelcast.metrics.mc.retention`: Duration, in seconds, for which the metrics are retained for Management Center.
+- `hazelcast.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
+- `hazelcast.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
+
+The `hazelcast.metrics.debug.enabled` property has no element in the `metrics` configuration. If it is `true`, the member collects debug metrics. Enable it only if [diagnostics](./diagnostics.mdx) is enabled, because only the diagnostics feature consumes the debug metrics.
+
+The client configuration is similar. It lacks the Management Center configuration block (`management-center` configuration element), as shown below. This is because the clients are not connected to Management Center and the client metrics are sent to Management Center through a member to which the client is connected.
+
+
+
+
+```xml
+
+
+ 5
+
+```
+
+
+
+
+```yaml
+metrics:
+ enabled: true
+ jmx:
+ enabled: true
+ collection-frequency-seconds: 5
+```
+
+
+
+
+{Ex_management_MetricsConfiguration_java_tag_client}
+
+
+
+
+You can override the client `metrics` configuration in the same way, with the following properties:
+- `hazelcast.client.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
+- `hazelcast.client.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
+- `hazelcast.client.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
+
+The `hazelcast.client.metrics.debug.enabled` property has no element in the `metrics` configuration. If it is `true`, the client collects debug metrics. Enable it only if [diagnostics](./diagnostics.mdx) is enabled, because only the diagnostics feature consumes the debug metrics.
+
+## Performance
+
+The metrics system is designed to make the least possible impact on the performance of the cluster. Since the metrics collection takes place periodically with a few seconds frequency, the main focus is keeping allocation rates and memory footprint at minimum. Therefore, the blobs that store the metrics for Management Center are stored in the memory in a compressed format. The measurements that use multiple `IMap`s to scale up the number of metrics show that one blob occupies only a few kilobytes. It grows above 10 KB only if there are more than 1000 `IMap`s.
+
+The allocation rate of a metric collection cycle is also low. With both Management Center and JMX consumers enabled, the allocation rate with 100 `IMap`s is below 256 KB per cycle, and it grows above 1 MB with 1000 `IMap`s. This means that metrics collection does not increase the frequency of the garbage collection (GC) noticeably.
+
+While the metrics collection is considered GC friendly, the blobs are not recycled. Take the frequency of the GC into account when you configure the retention time. This prevents the blobs from getting promoted into the tenured region of the heap, where they contribute to major GCs over time.
+
+
+## Member statistics
+
+You can get various statistics from your distributed data structures with the `getLocalStats()` method of each data structure, such as `IMap.getLocalMapStats()`. These methods return statistics from the member that you call them on, not from the whole cluster.
+
+Entry statistics, such as the owned entry count, cover the data in the [partitions](../../reference/architecture/data-partitioning.mdx) that the member owns. Backup statistics cover the backups that the member holds. For maps, operation statistics, such as put counts and latencies, cover the calls that go through the member, whichever member owns the data. These calls come from the member's own code or from clients connected to it.
+
+Each data structure has a `statistics-enabled` configuration setting, which is `true` by default. If you set it to `false`, the member leaves the data structure out of the statistics that it reports to the metrics system and . The effect on the local statistics that the API returns depends on the data structure:
+
+| Data structure | Effect on local statistics |
+| --- | --- |
+| `IMap` | The member does not record operation counts, latencies, or index statistics. Entry counts and memory costs are still available. |
+| `MultiMap` | The member does not record operation counts or latencies, except for `putAll()` calls, transactional puts, and received events. Entry counts are still available. |
+| Queue | None. The member still records all queue statistics. |
+| Topic and reliable topic | None. The member still records publish and receive counts. |
+| Executor service | The member does not record any statistics. The `getLocalExecutorStats()` method returns zero values. |
+
+### Map statistics
+
+To get local map statistics, use the `getLocalMapStats()` method from the `IMap` interface. This method returns a `LocalMapStats` object that holds local map statistics.
+
+This example code shows how `getLocalMapStats()` and `getOwnedEntryCount()` can get the number of entries owned by this member:
+
+{Ex_management_ExampleLocalMapStats_java_tag_lms}
+
+
+For more details on map statistics, see [Reading Map Metrics](../../develop-solutions/distributed-data-structures/map/reading-map-metrics.mdx).
+
+### Map index statistics
+
+To access map index statistics, if you are using indexes to speed up map queries, use the `getIndexStats()` method of the `LocalMapStats` interface returned by `IMap.getLocalMapStats()`.
+
+Below is an example where the `getIndexStats()` method is used to examine an average selectivity of index hits:
+
+{Ex_management_ExampleLocalIndexStats_java_tag_lis}
+
+The following are some of the metrics that you can obtain via the `LocalIndexStats` interface:
+- Number of queries and hits into an index (`getQueryCount()` and `getHitCount()`). The number of hits and queries may differ since a single query may hit the same index more than once.
+- Average index hit latency measured in nanoseconds (`getAverageHitLatency()`).
+- Average index hit selectivity (`getAverageHitSelectivity`). Returned values are in the range from 0.0 to 1.0. Values close to 1.0 indicate a high selectivity meaning the index is efficient; values close to 0.0 indicate a low selectivity meaning the index efficiency is approaching an efficiency of a simple full scan.
+- Number of index insert, update and remove operations (`getInsertCount()`, `getUpdateCount()` and `getRemoveCount()`).
+- Total latencies of insert, update and remove operations (`getTotalInsertLatency()`, `getTotalUpdateLatency()`, `getTotalRemoveLatency()`). To compute an average latency, divide the returned value by the number of operations of a corresponding type.
+- Memory cost of an index (`getMemoryCost()`). For on-heap storage, this memory cost metric value is a best-effort approximation and does not indicate a precise on-heap memory usage of an index.
+
+See the to see all the metrics.
+
+To compute an aggregated value of `getAverageHitSelectivity()` for all cluster members, you can use a simple averaging computation as shown below:
+
+```none
+(s(1) + s(2) + ... + s(n)) / n
+```
+
+In this computation, `s(i)` is an average hit selectivity on the member `i` and `n` is the total number of cluster members.
+
+A more advanced solution is to compute a weighted average as shown below:
+
+```none
+(s(1) * h(1) + s(2) * h(2) + ... + s(n) * h(n)) / (h(1) + h(2) + ... + h(n))
+```
+
+Here, `s(i)` is an average hit selectivity on the member `i`, `h(i)` is a hit count (`getHitCount()`) on the member `i` and `n` is the total number of cluster members. This more advanced solution may produce more precise results in unstable dynamic clusters where new members do not have enough statistics accumulated. The same technique may be applied to the `getAverageHitLatency()` metric.
+
+Note the following about accuracy and reliability:
+- For on-heap storage, values returned by `getAverageHitSelectivity()` may be 1% more or less than the actual selectivity. For example, if the actual selectivity is 0.9, the returned value could be between 0.89 and 0.91.
+- The values returned by `getQueryCount()` and `getHitCount()` may be imprecise for queries involving partition predicates (`PartitionPredicate`) on off-heap storage.
+- The index statistics may be imprecise after a new cluster member addition or the existing member removal. They stay imprecise until enough fresh statistics are accumulated on a new owner of an index or its partition.
+
+### Near Cache statistics
+
+To get Near Cache statistics, use the `getNearCacheStats()` method from the `LocalMapStats` object. This method returns a `NearCacheStats` object that holds Near Cache statistics.
+
+Below is an example where the `getNearCacheStats()` method and the `getRatio()` method from `NearCacheStats` get a Near Cache hit/miss ratio.
+
+{Ex_management_ExampleNearCacheStats_java_tag_ncs}
+
+The following are some of the metrics that you can access via the `NearCacheStats` object (applies to both client and member Near Caches):
+- Creation time of the Near Cache on the member (`getCreationTime()`)
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Memory cost (number of bytes) of owned entries in the Near Cache (`getOwnedEntryMemoryCost()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+
+See the to see all the metrics.
+
+### `MultiMap` statistics
+
+To get `MultiMap` statistics, use the `getLocalMultiMapStats()` method from the `MultiMap` interface. This method returns a `LocalMultiMapStats` object that holds local `MultiMap` statistics.
+
+Below is an example where the `getLocalMultiMapStats()` method and the `getLastUpdateTime()` method from `LocalMultiMapStats` get the last update time.
+
+{Ex_management_ExampleMultiMapStats_java_tag_mms}
+
+The following are some of the metrics that you can access via the `LocalMultiMapStats` object:
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Number of backup entries held by the member (`getBackupEntryCount()`)
+- Number of backups per entry (`getBackupCount()`)
+- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
+- Creation time of the `MultiMap` on the member (`getCreationTime()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
+
+See the to see all the metrics.
+
+### Queue statistics
+
+To get local queue statistics, use the `getLocalQueueStats()` method from the `IQueue` interface. This method returns a `LocalQueueStats` object that holds local queue statistics.
+
+Below is an example where the `getLocalQueueStats()` method and the `getAverageAge()` method from `LocalQueueStats` get the average age of items.
+
+{Ex_management_ExampleQueueStats_java_tag_qs}
+
+The following are some of the metrics that you can access via the `LocalQueueStats` object:
+- Number of owned items in the member (`getOwnedItemCount()`)
+- Number of backup items in the member (`getBackupItemCount()`)
+- Minimum and maximum ages of the items in the member (`getMinAge()` and `getMaxAge()`)
+- Number of offer, put and add operations (`getOfferOperationCount()`)
+
+See the to see all the metrics.
+
+### Topic statistics
+
+To get local topic statistics, use the `getLocalTopicStats()` method from the `ITopic` interface. This method returns a `LocalTopicStats` object that holds local topic statistics.
+
+Below is an example where the `getLocalTopicStats()` method and the `getPublishOperationCount()` method from `LocalTopicStats` get the number of publish operations.
+
+{Ex_management_ExampleTopicStats_java_tag_ts}
+
+The following are the metrics that you can access via the `LocalTopicStats` object:
+- Creation time of the topic on the member (`getCreationTime()`)
+- Total number of published messages of the topic on the member (`getPublishOperationCount()`)
+- Total number of received messages of the topic on the member (`getReceiveOperationCount()`)
+
+See the to see all the metrics.
+
+### Executor statistics
+
+To get local executor statistics, use the `getLocalExecutorStats()` method from the `IExecutorService` interface. This method returns a `LocalExecutorStats` object that holds local executor statistics.
+
+Below is an example where the `getLocalExecutorStats()` method and the `getCompletedTaskCount()` method from `LocalExecutorStats` get the number of completed operations of the executor service.
+
+{Ex_management_ExampleExecutorStats_java_tag_es}
+
+The following are some of the metrics that you can access via the `LocalExecutorStats` object:
+- Number of pending operations of the executor service (`getPendingTaskCount()`)
+- Number of started operations of the executor service (`getStartedTaskCount()`)
+- Number of completed operations of the executor service (`getCompletedTaskCount()`)
+
+See the to see all the metrics.
diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/monitoring-with-jmx.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/monitoring-with-jmx.mdx
new file mode 100644
index 00000000..38f7867e
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/monitoring-with-jmx.mdx
@@ -0,0 +1,391 @@
+---
+title: "Monitoring with JMX"
+sidebar_position: 5
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+You can monitor Hazelcast members with JMX. When you enable JMX, each member registers MBeans for its distributed data structures and its internal services. Any JMX client, such as JConsole, can read the attributes of these MBeans and call their operations.
+
+Hazelcast also exposes its [metrics](./metrics.mdx#jmx) over JMX. The metrics MBeans do not need the `hazelcast.jmx` property. The `jmx` element of the `metrics` configuration controls them, and it is enabled by default.
+
+## Enable JMX
+
+To monitor a member with JMX, enable the JMX agent of the member's JVM, and then enable JMX in Hazelcast.
+
+Start the JVM with the following system properties to enable the [JMX agent](https://docs.oracle.com/en/java/javase/17/management/monitoring-and-management-using-jmx-technology.html):
+
+| System property | Effect |
+| --- | --- |
+| `-Dcom.sun.management.jmxremote` | Enables the JMX agent |
+| `-Dcom.sun.management.jmxremote.port=` | Optional. Accepts remote connections on the given port. |
+| `-Dcom.sun.management.jmxremote.authenticate=false` | Optional. Turns off password authentication of JMX connections. |
+
+Then set the `hazelcast.jmx` property to `true`. The default is `false`.
+
+
+
+
+```xml
+
+ ...
+
+ true
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ properties:
+ hazelcast.jmx: true
+```
+
+
+
+
+```java
+config.setProperty("hazelcast.jmx", "true");
+```
+
+
+
+
+```xml
+
+ true
+
+```
+
+
+
+
+```shell
+-Dhazelcast.jmx=true
+```
+
+
+
+
+## MBean names
+
+Each Hazelcast MBean has an object name in the `com.hazelcast` domain. The object name has the following keys:
+
+| Key | Value |
+| --- | --- |
+| `instance` | The name of the Hazelcast instance |
+| `type` | The type of the MBean, such as `IMap` or `HazelcastInstance.Node` |
+| `name` | The name of the data structure or service |
+
+For example, the following object name identifies the MBean of the map `trial` on the instance `_hzInstance_1_dev`:
+
+```java
+ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
+```
+
+If a value contains any of the characters `:`, `"`, `,`, `=`, `*`, or `?`, or a line break, Hazelcast quotes it with `ObjectName.quote()`. For example, the MBean of a map named `orders:eu` has the object name `com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name="orders:eu"`.
+
+## Connect to the JMX agent
+
+To connect to a member, use a JMX client such as JConsole or VisualVM with the VisualVM-MBeans plugin. You can also connect from your own Java code.
+
+To connect from Java code, first create a `JMXServiceURL` with the host of the member and the port that you set in `com.sun.management.jmxremote.port`:
+
+```java
+int port = 1099;
+String hostname = InetAddress.getLocalHost().getHostName();
+JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://" + hostname + ":" + port + "/jndi/rmi://" + hostname + ":" + port + "/jmxrmi");
+```
+
+Then connect to the URL, and get an `MBeanServerConnection` from the connection:
+
+```java
+JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
+MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
+```
+
+Use the `MBeanServerConnection` to read attributes and call operations. The following example reads the name of a map and the number of its entries that the member owns:
+
+```java
+ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
+System.out.println("Total entries on map " + mbsc.getAttribute(mapMBeanName, "name") + " : "
+ + mbsc.getAttribute(mapMBeanName, "localOwnedEntryCount"));
+```
+
+## MBeans of a member
+
+The following sections list the MBeans that a member registers. Each section lists the attributes and operations of one MBean. Operation names end with parentheses. Attributes whose names start with `local` describe only the member that you connect to, not the whole cluster. For the metrics behind many of these attributes, see [List of Hazelcast metrics](../../reference/list-of-metrics.mdx).
+
+### Instance (`HazelcastInstance`)
+
+The `HazelcastInstance` MBean describes the member and its cluster. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the instance |
+| `version` | Hazelcast version |
+| `build` | Hazelcast build |
+| `config` | Configuration of the member, as a string |
+| `configSource` | Source of the configuration |
+| `clusterName` | Name of the cluster |
+| `port` | Network port |
+| `clusterTime` | Cluster-wide time |
+| `memberCount` | Number of members in the cluster |
+| `Members` | List of members |
+| `running` | Whether the member is running |
+| `shutdown()` | Shuts down the member |
+
+### Node (`HazelcastInstance.Node`)
+
+The `HazelcastInstance.Node` MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `address` | Address of the member |
+| `masterAddress` | Address of the master member of the cluster |
+
+### Partition service (`HazelcastInstance.PartitionServiceMBean`)
+
+The `HazelcastInstance.PartitionServiceMBean` MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `partitionCount` | Number of partitions |
+| `activePartitionCount` | Number of active partitions |
+| `isClusterSafe` | Whether the cluster is in a safe state |
+| `isLocalMemberSafe` | Whether the member is safe to shut down |
+
+### Logging service (`HazelcastInstance.LoggingService`)
+
+The `HazelcastInstance.LoggingService` MBean has the following attribute and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `level` | Log level that is set on the member |
+| `setLevel(level)` | Sets the log level of the member |
+| `resetLevel()` | Resets the log level of the member |
+
+### License (`HazelcastInstance.LicenseInfo`)
+
+The `HazelcastInstance.LicenseInfo` MBean holds the details of the member's license. For its attributes, see [Getting license details with the JMX API](../enterprise-licenses.mdx#jmx).
+
+### Internal executors (`HazelcastInstance.ManagedExecutorService`)
+
+A member registers one `HazelcastInstance.ManagedExecutorService` MBean for each of the following internal executors. The `name` key of the object name is the name of the executor:
+- `hz:system`
+- `hz:async`
+- `hz:scheduled`
+- `hz:client`
+- `hz:client-query`
+- `hz:client-blocking-tasks`
+- `hz:query`
+- `hz:io`
+- `hz:offloadable`
+
+Each executor MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the executor |
+| `queueSize` | Number of tasks in the work queue |
+| `poolSize` | Number of threads in the pool |
+| `maximumPoolSize` | Maximum number of threads in the pool |
+| `remainingQueueCapacity` | Remaining capacity of the work queue |
+| `isShutdown` | Whether the executor is shut down |
+| `isTerminated` | Whether the executor is terminated |
+| `completedTaskCount` | Number of tasks that the executor has completed |
+
+### WAN publisher (`WanPublisher`)
+
+A member registers one `WanPublisher` MBean for each WAN replication publisher. The `name` key of the object name is the name of the WAN replication and the ID of the publisher, separated by a period. The MBean has the following attribute:
+
+| Attribute | Description |
+| --- | --- |
+| `state` | State of the publisher: `REPLICATING`, `PAUSED`, or `STOPPED` |
+
+### Map (`IMap`)
+
+A member registers an `IMap` MBean for each map. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the map |
+| `size` | Number of entries in the map |
+| `config` | Configuration of the map |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localOwnedEntryMemoryCost` | Memory cost of the owned entries, in bytes |
+| `localBackupEntryCount` | Number of backup entries that the member holds |
+| `localBackupEntryMemoryCost` | Memory cost of the backup entries, in bytes |
+| `localBackupCount` | Number of backups of each entry |
+| `localCreationTime` | Time the map was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localLockedEntryCount` | Number of owned keys that are locked |
+| `localDirtyEntryCount` | Number of owned entries that are updated but not yet written to the map store |
+| `localPutOperationCount` | Number of put operations |
+| `localSetOperationCount` | Number of set operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalSetLatency` | Total latency of set operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxSetLatency` | Maximum latency of a set operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `localHeapCost` | Heap cost of the map, including its Near Cache |
+| `clear()` | Removes all entries from the map |
+
+To get the average latency of an operation type, divide its total latency by its operation count.
+
+### `MultiMap` (`MultiMap`)
+
+A member registers a `MultiMap` MBean for each `MultiMap`. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the `MultiMap` |
+| `size` | Number of entries in the `MultiMap` |
+| `config` | Configuration of the `MultiMap` |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localOwnedEntryMemoryCost` | Memory cost of the owned entries, in bytes |
+| `localBackupEntryCount` | Number of backup entries that the member holds |
+| `localBackupEntryMemoryCost` | Memory cost of the backup entries, in bytes |
+| `localBackupCount` | Number of backups of each entry |
+| `localCreationTime` | Time the `MultiMap` was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localLockedEntryCount` | Number of owned keys that are locked |
+| `localDirtyEntryCount` | Number of owned entries that are dirty |
+| `localPutOperationCount` | Number of put operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `clear()` | Removes all entries from the `MultiMap` |
+
+### Replicated map (`ReplicatedMap`)
+
+A member registers a `ReplicatedMap` MBean for each replicated map. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the replicated map |
+| `size` | Number of entries in the replicated map |
+| `config` | Configuration of the replicated map |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localCreationTime` | Time the replicated map was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localPutOperationCount` | Number of put operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `clear()` | Removes all entries from the replicated map |
+
+### Queue (`IQueue`)
+
+A member registers an `IQueue` MBean for each queue. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the queue |
+| `config` | Configuration of the queue |
+| `partitionKey` | Partition key of the queue |
+| `localOwnedItemCount` | Number of items that the member owns |
+| `localBackupItemCount` | Number of backup items that the member holds |
+| `localMinAge` | Minimum age of the items |
+| `localMaxAge` | Maximum age of the items |
+| `localAverageAge` | Average age of the items |
+| `localOfferOperationCount` | Number of offer, put, and add operations |
+| `localRejectedOfferOperationCount` | Number of rejected offers |
+| `localPollOperationCount` | Number of poll, take, and remove operations |
+| `localEmptyPollOperationCount` | Number of poll operations that returned `null` |
+| `localOtherOperationsCount` | Number of other operations |
+| `localEventOperationCount` | Number of event operations |
+| `clear()` | Removes all items from the queue |
+
+### List (`IList`)
+
+A member registers an `IList` MBean for each list. It has the following attribute and operation:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the list |
+| `clear()` | Removes all items from the list |
+
+### Set (`ISet`)
+
+A member registers an `ISet` MBean for each set. It has the following attributes and operation:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the set |
+| `partitionKey` | Partition key of the set |
+| `clear()` | Removes all items from the set |
+
+### Topic (`ITopic`)
+
+A member registers an `ITopic` MBean for each topic. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the topic |
+| `config` | Configuration of the topic |
+| `localCreationTime` | Time the topic was created on the member |
+| `localPublishOperationCount` | Number of messages published on the member |
+| `localReceiveOperationCount` | Number of messages received on the member |
+
+### Reliable topic (`ReliableTopic`)
+
+A member registers a `ReliableTopic` MBean for each reliable topic. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the reliable topic |
+| `config` | Configuration of the reliable topic |
+| `localCreationTime` | Time the reliable topic was created on the member |
+| `localPublishOperationCount` | Number of messages published on the member |
+| `localReceiveOperationCount` | Number of messages received on the member |
+
+### Executor service (`IExecutorService`)
+
+A member registers an `IExecutorService` MBean for each executor service. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the executor service |
+| `localCreationTime` | Time the executor service was created on the member |
+| `localPendingTaskCount` | Number of pending tasks |
+| `localStartedTaskCount` | Number of started tasks |
+| `localCompletedTaskCount` | Number of completed tasks |
+| `localCancelledTaskCount` | Number of cancelled tasks |
+| `localTotalStartLatency` | Total start latency of the started tasks |
+| `localTotalExecutionLatency` | Total execution time of the completed tasks |
diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/overview.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/overview.mdx
new file mode 100644
index 00000000..950f7d72
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/monitoring/overview.mdx
@@ -0,0 +1,214 @@
+---
+title: "Overview"
+sidebar_position: 1
+slug: /maintain-cluster/monitoring
+---
+
+Hazelcast provides the following ways to monitor a cluster:
+
+| Page | What it provides |
+| --- | --- |
+| [Metrics](./metrics.mdx) | Runtime statistics about members and clients, such as the number of entries in a map, the used heap, and the load average |
+| [Health check and monitoring](./health-check-and-monitoring.mdx) | An HTTP endpoint that reports the state of a member, and a health monitor that writes resource use to the member log |
+| [Diagnostics](./diagnostics.mdx) | A dedicated log file with detailed information for troubleshooting |
+| [Monitoring with JMX](./monitoring-with-jmx.mdx) | MBeans that any JMX client can read |
+| [Instance tracking](./instance-tracking.mdx) | A file that records each instance that starts on a machine |
+| [Management Center](../securing-a-cluster/management-center.mdx) | A tool for monitoring and managing a cluster, which can also export metrics to other tools |
+
+Follow these practices when you run a cluster:
+- Review the log entries of the health monitor and the Hazelcast logs regularly for failure messages. Investigate and record each incident.
+- Set up alerts for long garbage collection pauses and for network problems that make a member unreachable. The failure detectors set how long the cluster tolerates these problems before it removes the member. For the settings, see [Failure Detector Configuration](../configuring-for-fault-tolerance/detecting-failures/failure-detector-configuration.mdx).
+- Use `jstat`, keep verbose GC logging turned on, and monitor GC behavior with a log scraping tool such as Splunk. Raise an alarm on back-to-back full GCs, and on heap occupancy above 90% after a full GC.
+- Make sure that each member can reach every other member through the network and their ports. Make sure that the clients can reach every member as well.
+- Start the members before the clients. This is not required, but clients that start first can time out or report that they cannot find a Hazelcast member.
+- Turn on a system monitoring tool, such as [`nmon`](http://nmon.sourceforge.net/pmwiki.php).
+- To add a member to a running cluster, start it with a configuration similar to that of the other members. You might also need to add the IP address of the new member to the configuration. You do not need a maintenance window to add members to a running cluster.
+
+ - When a member joins or leaves the cluster, the clients can pause briefly while the members rebalance the data. This is expected.
+ - You do not need to change anything on the clients when you add members to a running cluster. When smart routing is enabled, which is the default, the clients connect to a new member after it joins the cluster.
+ - The members rebalance the primary and backup data automatically when a member joins or leaves the cluster, including when a member is forced to leave. In the default `ACTIVE` cluster state, you do not need to do anything.
+ - You can promote lite members to data members with the [Cluster API](../maintaining-a-cluster/lite-members.mdx#promoting-lite-members-to-data-member) or with Management Center.
+ - If you set `hazelcast.initial.min.cluster.size`, for example to 4, and start members one by one in an empty cluster, the members initialize the partition table when the cluster reaches that size. They do this even though the cluster has no data. In a cluster of more than 100 members, each member that joins after that causes partition assignment work that is not needed.
+- Check that the backup count is adequate for your SLAs.
+- If you use distributed computing features, such as the executor service or entry processors, keep the members up to date. Apply each change to your client application logic, or to your implementation of these features, to the members as well. Restart all the members after you deploy the new code. Use the usual redeployment process: shut down the members, add the new application JARs to the classpath of the members, and start the members.
+
+## Alerting
+
+Hazelcast writes banners, warnings, and exception messages to the console of your application. For example, the following banner warns that a license is about to expire:
+
+```none
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+THIS HAZELCAST LICENSE ID CUSTOM_TEST_KEY WILL EXPIRE IN 29 DAYS.
+Your Hazelcast cluster will stop working on the next re-start after
+expiry.
+
+Please contact your Hazelcast Account Executive or
+email sales@hazelcast.com.
+Phone: +1 (650) 521-5453
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+```
+
+The following warning reports an outdated API on the classpath:
+
+```none
+An outdated version of JCache API was located in the classpath, please use newer versions of
+JCache API rather than 1.0.0-PFD or 0.x versions.
+```
+
+The following exception message reports an SQL query that refers to a mapping that does not exist:
+
+```none
+com.hazelcast.sql.HazelcastSqlException: From line 1, column 15 to line 1, column 23: Object 'mapBak1HD' not found, did you forget to CREATE MAPPING?
+```
+
+You can also export metrics from Management Center to Prometheus, and filter them there to create alerts. Hazelcast logging is another, indirect source of alerts. For more information, see [Configuring logging](../logging.mdx).
+
+For the actions to take on each alert, see [Actions and remedies for alerts](../../develop-solutions/troubleshooting/remedies-for-alerts.mdx).
+
+## Integrating with 3rd party tools
+
+### Prometheus {/* #prometheus-2 */}
+
+Hazelcast Management Center can expose the metrics collected from cluster members to [Prometheus](https://prometheus.io/). This feature can be turned on by setting the `hazelcast.mc.prometheusExporter.enabled` system property to `true`.
+
+Prometheus can be configured to scrape Management Center in `prometheus.yml` as follows:
+
+```yaml
+scrape_configs:
+ - job_name: 'HZ MC'
+ # scheme defaults to 'http'.
+ static_configs:
+ - targets: ['localhost:8080'] # replace this address with the network address of Hazelcast Management Center
+```
+
+After starting Prometheus with this configuration, all metrics will be exported to Prometheus with the `hz_` prefix. The metrics are also available via the [member JMX API](./monitoring-with-jmx.mdx#mbeans-of-a-member). With the default configuration, Management Center exports all metrics reported by the cluster members. Since it can be overly verbose for some use cases, the metrics can be filtered with the `hazelcast.mc.prometheusExporter.filter.metrics.included` or the `hazelcast.mc.prometheusExporter.filter.metrics.excluded` system properties, both being comma-separated lists of metric names.
+
+Example of starting Management Center with specifying the metrics exported to Prometheus:
+
+```bash vars
+java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
+ -Dhazelcast.mc.prometheusExporter.filter.metrics.included=hz_topic_totalReceivedMessages,hz_map_totalPutLatency \
+ -jar hazelcast-management-center-{full-version}.jar
+```
+
+Example of starting Management Center with specifying the metrics to be excluded from the Prometheus export:
+
+```bash vars
+java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
+ -Dhazelcast.mc.prometheusExporter.filter.metrics.excluded=hz_os_systemLoadAverage,hz_memory_freeHeap \
+ -jar hazelcast-management-center-{full-version}.jar
+```
+
+By default, Prometheus connects via the same IP and port as the Management Center web interface. It is possible to override the port number using the `-Dhazelcast.mc.prometheusExporter.port` system property. Let's say you have started Management Center as shown below:
+
+```bash vars
+java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
+ -Dhazelcast.mc.prometheusExporter.port=2222 \
+ -jar hazelcast-management-center-{full-version}.jar
+```
+
+Then, the Prometheus endpoint will be available at `http://localhost:2222/metrics`, which should be reflected by the Prometheus configuration as below:
+
+```yaml
+scrape_configs:
+ - job_name: 'HZ MC'
+ static_configs:
+ - targets: ['localhost:2222']
+```
+
+:::note
+
+If you want to visualize the Prometheus metrics using Grafana, then you can start with [this dashboard](https://grafana.com/grafana/dashboards/13183).
+
+:::
+
+### AppDynamics
+
+You can use the interface to integrate the [Hazelcast Management Center](../securing-a-cluster/management-center.mdx) with **AppDynamics**. To perform this integration, attach the AppDynamics Java agent to the Management Center.
+
+For agent installation, see the [Install the App Agent for Java](http://docs.appdynamics.com/display/PRO14S/Install%2Bthe%2BApp%2BAgent%2Bfor%2BJava) page.
+
+For monitoring on AppDynamics, see the [Using AppDynamics for JMX Monitoring](http://docs.appdynamics.com/display/PRO14S/Monitor%2BJMX%2BMBeans#MonitorJMXMBeans-UsingAppDynamicsforJMXMonitoring) page.
+
+After installing AppDynamics agent, you can start the Management Center as shown below:
+
+```bash vars
+java -javaagent:/path/to/javaagent.jar \
+ -Dhazelcast.mc.jmx.enabled=true \
+ -Dhazelcast.mc.jmx.port=9999 -jar hazelcast-management-center-{full-version}.jar
+```
+
+When the Management Center starts, you should see the logs below:
+
+```none
+Started AppDynamics Java Agent Successfully.
+Hazelcast Management Center starting on port 8080 at path : /
+```
+
+### New Relic
+
+You can use the interface to integrate the [Hazelcast Management Center](../securing-a-cluster/management-center.mdx) with New Relic. To perform this integration, attach the New Relic Java agent and provide an extension file that describes which metrics are sent to New Relic.
+
+See [Custom JMX instrumentation by YAML](http://docs.newrelic.com/docs/java/custom-jmx-instrumentation-by-yml) on the New Relic webpage.
+
+The following is an example Map monitoring `.yml` file for New Relic:
+
+```plain
+name: Clustered JMX
+version: 1.0
+enabled: true
+
+jmx:
+- object_name: ManagementCenter[clustername]:type=Maps,name=mapname
+ metrics:
+ - attributes: PutOperationCount, GetOperationCount, RemoveOperationCount, Hits, BackupEntryCount, OwnedEntryCount, LastAccessTime, LastUpdateTime
+ - type: simple
+- object_name: ManagementCenter[clustername]:type=Members,name="member address in double quotes"
+ metrics:
+ - attributes: OwnedPartitionCount
+ - type: simple
+```
+
+Put the `.yml` file in the `extensions` directory in your New Relic installation. If an `extensions` directory does not exist there, create one.
+
+After you set your extension, attach the New Relic Java agent and start the Management Center as shown below.
+
+```bash vars
+java -javaagent:/path/to/newrelic.jar -Dhazelcast.mc.jmx.enabled=true\
+ -Dhazelcast.mc.jmx.port=9999 -jar hazelcast-management-center-{full-version}.jar
+```
+
+If your logging level is set to `FINER`, you should see the log listing in the file `newrelic_agent.log`, which is located in the `logs` directory in your New Relic installation. The following is an example log listing:
+
+```none
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINE:
+ JMX Service : querying MBeans (1)
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ JMX Service : MBeans query ManagementCenter[dev]:type=Members,
+ name="192.168.2.79:5701", matches 1
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric OwnedPartitionCount : 68
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ JMX Service : MBeans query ManagementCenter[dev]:type=Maps,name=orders,
+ matches 1
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric Hits : 46,593
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric BackupEntryCount : 1,100
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric OwnedEntryCount : 1,100
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric RemoveOperationCount : 0
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric PutOperationCount : 118,962
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric GetOperationCount : 0
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric LastUpdateTime : 1,401,962,426,811
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric LastAccessTime : 1,401,962,426,811
+```
+
+Then you can navigate to your New Relic account and create custom dashboards. See [Get Started with Dashboards](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards/).
+
+While you are creating the dashboard, you should see the metrics that you are sending to New Relic from the Management Center in the **Metrics** section under the JMX directory.
diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/hardening-recommendations.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/hardening-recommendations.mdx
index 539c8d11..392209d9 100644
--- a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/hardening-recommendations.mdx
+++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/hardening-recommendations.mdx
@@ -35,4 +35,4 @@ In addition to the above, we recommend the following hardening recommendations f
- You can use a custom trust store by setting the trust store path in the TLS/SSL configuration, which then avoids using the default trust store.
- We recommend that [mutual TLS authentication](./tls-ssl/tls-ssl.mdx#mutual-authentication) be enabled on a Hazelcast production cluster.
- Hazelcast uses Java serialization for some objects transferred over the network. To avoid deserialization of objects from untrusted sources, Hazelcast offers some protection mechanisms; we recommend enabling [mutual TLS authentication](./tls-ssl/tls-ssl.mdx#mutual-authentication) and disabling [multicast join](../partition-groups-and-networking/network-configuration.mdx#multicast-element) configuration. We recommend using Java serialization filter configuration for whitelisting the set of trusted classes or packages which are allowed for deserialization.
-- You can disable script executions on the Hazelcast members. Scripts executed from Management center have access to system resources (files, etc.) with privileges of user running Hazelcast. We recommend that scripting be [disabled](../maintaining-a-cluster/monitoring.mdx#toggle-scripting-support) on members.
+- You can disable script executions on the Hazelcast members. Scripts executed from Management center have access to system resources (files, etc.) with privileges of user running Hazelcast. We recommend that scripting be [disabled](./management-center.mdx#toggle-scripting-support) on members.
diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/management-center.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/management-center.mdx
new file mode 100644
index 00000000..dcc23c93
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/management-center.mdx
@@ -0,0 +1,142 @@
+---
+title: "Management Center"
+sidebar_position: 12
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast is a tool for monitoring and managing a cluster. In Management Center, you can monitor the state of your clusters, browse your data structures, update map configurations, and take thread dumps from members. With its scripting and console modules, you can also run scripts, such as JavaScript or Groovy, and commands on your members. A script runs only if the classpath of the member contains a scripting engine for the language of the script.
+
+For more information, including the clustered JMX and clustered REST APIs of Management Center, see the .
+
+Management Center is a client of the cluster. You therefore control the following features of Management Center in the member configuration:
+- Scripting
+- The console
+- Access to data
+- The IP addresses that Management Center can connect from
+
+## Enable scripting {/* #managing-scripting-support */}
+
+
+
+Management Center can run scripts that automate interactions with the cluster. Scripting is disabled by default, because a scripting engine gives code access to the files and other resources of the members. The code runs with the permissions of the user that runs the member.
+
+To enable scripting, set `scripting-enabled` to `true` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ scripting-enabled: true
+```
+
+
+
+
+Hazelcast supports scripting through the API that [Java Specification Request (JSR) 223](https://jcp.org/en/jsr/detail?id=223) defines.
+
+## Enable the console {/* #managing-console-support */}
+
+Management Center can run commands from a built-in console in its user interface. The console is useful for testing and development. It is disabled by default.
+
+To enable the console, set `console-enabled` to `true` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ console-enabled: true
+```
+
+
+
+
+## Disable access to data {/* #managing-data-access */}
+
+In its SQL Browser and Map Browser, Management Center can show the contents of data structures, such as map entries. If your cluster stores sensitive data, such as financial or personal information, you can stop Management Center from reading it. Access to data is enabled by default. Management Center reads data only if every member allows it.
+
+To disable access to data, set `data-access-enabled` to `false` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ data-access-enabled: false
+```
+
+
+
+
+## Limit source addresses
+
+By default, any Management Center instance that can authenticate can connect to the cluster. To accept connections only from trusted Management Center instances, list their IP addresses in `trusted-interfaces`. The addresses can contain wildcards (`*`) and ranges (`-`).
+
+The following example accepts connections only from Management Center instances with an address that starts with `192.168.1.`:
+
+
+
+
+```xml
+
+ ...
+
+
+ 192.168.1.*
+
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ trusted-interfaces:
+ - 192.168.1.*
+```
+
+
+
diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/synchronizing-data-across-clusters/advanced-features.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/synchronizing-data-across-clusters/advanced-features.mdx
index 9f544252..8ae30832 100644
--- a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/synchronizing-data-across-clusters/advanced-features.mdx
+++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/synchronizing-data-across-clusters/advanced-features.mdx
@@ -409,7 +409,7 @@ The average entries per leaf number above assumes perfect distribution of the en
### WAN Synchronization Statistics
-Both Full and Delta WAN Synchronization processes write statistics into the [diagnostics](../maintaining-a-cluster/monitoring.mdx#diagnostics) subsystem and send them to Hazelcast Management Center. Using these statistics you can measure the efficiency of your configuration.
+Both Full and Delta WAN Synchronization processes write statistics into the [diagnostics](../monitoring/diagnostics.mdx) subsystem and send them to Hazelcast Management Center. Using these statistics you can measure the efficiency of your configuration.
Full WAN Synchronization reports the following:
@@ -452,7 +452,7 @@ Merkle synchronization statistics:
Maximum records per Merkle tree node: 7
```
-See the [Diagnostics section](../maintaining-a-cluster/monitoring.mdx#diagnostics) to learn how to enable diagnostics and locate its log file to see the above statistics.
+See the [Diagnostics section](../monitoring/diagnostics.mdx) to learn how to enable diagnostics and locate its log file to see the above statistics.
## Dynamically Adding WAN Publishers
diff --git a/hazelcast_versioned_docs/version-5.3/deploy-clusters/installation/editions.mdx b/hazelcast_versioned_docs/version-5.3/deploy-clusters/installation/editions.mdx
index 26e22701..0c2bc1fc 100644
--- a/hazelcast_versioned_docs/version-5.3/deploy-clusters/installation/editions.mdx
+++ b/hazelcast_versioned_docs/version-5.3/deploy-clusters/installation/editions.mdx
@@ -23,8 +23,8 @@ The Enterprise edition offers the following features, which are not available in
- [WAN Replication](../../configure-and-manage-clusters/synchronizing-data-across-clusters/wan.mdx)
- [Configuring CP Subsystem](../../configure-and-manage-clusters/cp-subsystem/configuration.mdx)
- [Deploying in Openshift container platform](../kubernetes/deploying-in-kubernetes.mdx)
-- [Clustered REST](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#management-center)
-- [Clustered JMX](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#management-center)
+- [Clustered REST](../../configure-and-manage-clusters/securing-a-cluster/management-center.mdx)
+- [Clustered JMX](../../configure-and-manage-clusters/securing-a-cluster/management-center.mdx)
- [Rolling upgrades](../../configure-and-manage-clusters/maintaining-a-cluster/rolling-upgrades.mdx)
- [High-Density Memory Store](../../configure-and-manage-clusters/improving-cluster-performance/high-density-memory.mdx)
- [Persisting Data on Disk](../../configure-and-manage-clusters/configuring-for-fault-tolerance/persistence/persistence.mdx)
diff --git a/hazelcast_versioned_docs/version-5.3/deploy-clusters/installation/install-enterprise.mdx b/hazelcast_versioned_docs/version-5.3/deploy-clusters/installation/install-enterprise.mdx
index b3fc1901..3c3ed549 100644
--- a/hazelcast_versioned_docs/version-5.3/deploy-clusters/installation/install-enterprise.mdx
+++ b/hazelcast_versioned_docs/version-5.3/deploy-clusters/installation/install-enterprise.mdx
@@ -281,8 +281,8 @@ Get started with the Hazelcast Enterprise features with a series of [tutorials](
- [WAN Replication](../../configure-and-manage-clusters/synchronizing-data-across-clusters/wan.mdx)
- [Configuring CP Subsystem](../../configure-and-manage-clusters/cp-subsystem/configuration.mdx)
- [Deploying in Openshift container platform](../kubernetes/deploying-in-kubernetes.mdx)
-- [Clustered REST](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#management-center)
-- [Clustered JMX](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#management-center)
+- [Clustered REST](../../configure-and-manage-clusters/securing-a-cluster/management-center.mdx)
+- [Clustered JMX](../../configure-and-manage-clusters/securing-a-cluster/management-center.mdx)
- [Rolling upgrades](../../configure-and-manage-clusters/maintaining-a-cluster/rolling-upgrades.mdx)
- [High-Density Memory Store](../../configure-and-manage-clusters/improving-cluster-performance/high-density-memory.mdx)
- [Persisting Data on Disk](../../configure-and-manage-clusters/configuring-for-fault-tolerance/persistence/persistence.mdx)
diff --git a/hazelcast_versioned_docs/version-5.3/develop-solutions/building-data-pipelines/job-monitoring.mdx b/hazelcast_versioned_docs/version-5.3/develop-solutions/building-data-pipelines/job-monitoring.mdx
index 5f59842c..d60a5f74 100644
--- a/hazelcast_versioned_docs/version-5.3/develop-solutions/building-data-pipelines/job-monitoring.mdx
+++ b/hazelcast_versioned_docs/version-5.3/develop-solutions/building-data-pipelines/job-monitoring.mdx
@@ -70,14 +70,14 @@ A job with `FAILED` status may have been canceled by a user. To monitor for canc
You can see the job-specific metrics using the following methods:
-- [Job API](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#via-job-api) via the `getMetrics()` method:
+- [Job API](../../configure-and-manage-clusters/monitoring/metrics.mdx#job-api) via the `getMetrics()` method:
```java
JobMetrics metrics = job.getMetrics();
```
With this method, you can see the metrics for all running jobs, and finished jobs for which the `storeMetricsAfterJobCompletion` option is enabled. See the below table for this option's description.
-- [JMX](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#over-jmx)/[Prometheus](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#prometheus): With these methods, the `userCanceled` metric is not available, and you can see the metrics only for running jobs.
+- [JMX](../../configure-and-manage-clusters/monitoring/metrics.mdx#jmx)/[Prometheus](../../configure-and-manage-clusters/monitoring/metrics.mdx#prometheus): With these methods, the `userCanceled` metric is not available, and you can see the metrics only for running jobs.
See [Job-Specific Metrics](../../reference/list-of-metrics.mdx#job-metrics) to learn which metrics are available for jobs.
diff --git a/hazelcast_versioned_docs/version-5.3/develop-solutions/connecting-to-a-cluster/java.mdx b/hazelcast_versioned_docs/version-5.3/develop-solutions/connecting-to-a-cluster/java.mdx
index 421ca3ee..ac805f4e 100644
--- a/hazelcast_versioned_docs/version-5.3/develop-solutions/connecting-to-a-cluster/java.mdx
+++ b/hazelcast_versioned_docs/version-5.3/develop-solutions/connecting-to-a-cluster/java.mdx
@@ -1854,10 +1854,10 @@ The table below lists the client configuration properties with their description
| `hazelcast.client.io.output.thread.count` | -1 | int | Controls the number of I/O output threads. Defaults to -1, i.e., the system decides. If the client is a smart client, it defaults to 3, otherwise it defaults to 1. |
| `hazelcast.client.io.write.through` | true | bool | Optimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments. |
| `hazelcast.client.max.concurrent.invocations` | Integer.MAX\_VALUE | int | Maximum allowed number of concurrent invocations. You can apply a constraint on the number of concurrent invocations in order to prevent the system from overloading. If the maximum number of concurrent invocations is exceeded and a new invocation comes in, Hazelcast throws `HazelcastOverloadException`. |
-| `hazelcast.client.metrics.collection.frequency` | 5 | int | Frequency, in seconds, of the [metrics](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration). |
+| `hazelcast.client.metrics.collection.frequency` | 5 | int | Frequency, in seconds, of the [metrics](../../configure-and-manage-clusters/monitoring/metrics.mdx) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../../configure-and-manage-clusters/monitoring/metrics.mdx#configuration). |
| `hazelcast.client.metrics.debug.enabled` | false | bool | Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this is meant to be enabled only if diagnostics is enabled, since currently only diagnostics consumes the debug metrics. |
-| `hazelcast.client.metrics.enabled` | true | bool | Enables the [metrics collection](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration). When it is `true` you can monitor metrics of the clients that are connected to your Hazelcast cluster, using Hazelcast Management Center. See for more information. |
-| `hazelcast.client.metrics.jmx.enabled` | true | bool | Enables exposing the collected [metrics](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration). |
+| `hazelcast.client.metrics.enabled` | true | bool | Enables the [metrics collection](../../configure-and-manage-clusters/monitoring/metrics.mdx) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../configure-and-manage-clusters/monitoring/metrics.mdx#configuration). When it is `true` you can monitor metrics of the clients that are connected to your Hazelcast cluster, using Hazelcast Management Center. See for more information. |
+| `hazelcast.client.metrics.jmx.enabled` | true | bool | Enables exposing the collected [metrics](../../configure-and-manage-clusters/monitoring/metrics.mdx) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../configure-and-manage-clusters/monitoring/metrics.mdx#configuration). |
| `hazelcast.client.operation.backup.timeout.millis` | 5000 | int | If an operation has sync backups, this property specifies how long the invocation will wait for acks from the backup replicas. If acks are not received from some backups, there will not be any rollback on other successful replicas. |
| `hazelcast.client.operation.fail.on.indeterminate.state` | false | bool | When this configuration is enabled, if an operation has sync backups and acks are not received from backup replicas in time, or the member which owns primary replica of the target partition leaves the cluster, then the invocation fails with `IndeterminateOperationStateException`. However, even if the invocation fails, there will not be any rollback on other successful replicas. |
| `hazelcast.client.response.thread.count` | 2 | int | Number of the response threads. By default, there are two response threads; this gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the I/O threads. Under certain conditions this can give a higher throughput, but setting to 0 should be regarded as an experimental feature. If set to 0, the IO\_OUTPUT\_THREAD\_COUNT is really going to matter because the inbound thread will have more work to do. By default when TLS is not enabled, there is just one inbound thread. |
diff --git a/hazelcast_versioned_docs/version-5.3/develop-solutions/distributed-data-structures/map/reading-map-metrics.mdx b/hazelcast_versioned_docs/version-5.3/develop-solutions/distributed-data-structures/map/reading-map-metrics.mdx
index 4a58c8d8..5aba302e 100644
--- a/hazelcast_versioned_docs/version-5.3/develop-solutions/distributed-data-structures/map/reading-map-metrics.mdx
+++ b/hazelcast_versioned_docs/version-5.3/develop-solutions/distributed-data-structures/map/reading-map-metrics.mdx
@@ -6,18 +6,16 @@ slug: /data-structures/reading-map-metrics
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
+import CodeBlock from "@theme/CodeBlock";
+import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../../examples/management/ExampleLocalMapStats.java?tag=lms";
By default, you can read metrics for a given map, such as the primary and backup entry count, last update time, and locked entry count on each member of your cluster. You can access these statistics for the entire map, for the map entries on a specific cluster member, or specific map entries.
## Getting Statistics about All Map Entries {/* #accessing-entry-statistics */}
-To get statistics for all map entries that are owned by a member, use the `getLocalMapStats()` method of the Java member API ([embedded mode](../../../deploy-clusters/installation/choosing-a-deployment-option.mdx)). This method returns data only if the `statistics-enabled` element is set to `true`, which is the default.
+To get statistics for all map entries that are owned by a member, use the `getLocalMapStats()` method of the Java member API ([embedded mode](../../../deploy-clusters/installation/choosing-a-deployment-option.mdx)).
-:::note
-
-If you disable map statistics, statistics will not be available via the API, or in .
-
-:::
+The `statistics-enabled` element of the map is `true` by default. If you set it to `false`, the member does not record operation statistics for the map, such as operation counts, latencies, and index statistics. The member also then leaves the map out of the statistics that it reports to the [metrics system](../../../configure-and-manage-clusters/monitoring/metrics.mdx) and . The `getLocalMapStats()` method still returns the entry counts and memory costs of the map.
@@ -45,11 +43,27 @@ hazelcast:
-```java
-LocalMapStats mapStatistics = myMap.getLocalMapStats();
-System.out.println( "Number of entries owned by this member = "
- + mapStatistics.getOwnedEntryCount() );
-```
+Below is example code where `getLocalMapStats()` and `getOwnedEntryCount()` get the number of entries owned by this member:
+
+{Ex_management_ExampleLocalMapStats_java_tag_lms}
+
+:::note
+
+The `getOwnedEntryMemoryCost()` method is also supported for the `NATIVE` in-memory format.
+
+:::
+
+The following are some of the metrics that you can access via the `LocalMapStats` object:
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Number of backup entries held by the member (`getBackupEntryCount()`)
+- Number of backups per entry (`getBackupCount()`)
+- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
+- Creation time of the map on the member (`getCreationTime()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
+- Number of queries executed on the map (`getQueryCount()` and `getIndexedQueryCount()`) (it may be imprecise for queries involving partition predicates (`PartitionPredicate`) on the off-heap storage)
+
+See the to see all the metrics.
:::note
@@ -59,7 +73,7 @@ If you need cluster-wide map statistics, you can get the local map statistics fr
## Getting Statistics about a Specific Map Entry
-To get statistics for a specific map entry, you can use the `getEntryView(key)` method of one of the following available client libraries. To use this method, the map must have its `per-entry-stats-enabled` element set to `true`.
+To get statistics for a specific map entry, you can use the `getEntryView(key)` method of one of the following available client libraries. To use this method, the map must have its `per-entry-stats-enabled` element set to `true`. The default is `false`.
This method returns the following statistics:
diff --git a/hazelcast_versioned_docs/version-5.3/develop-solutions/integrating-with-spring/configuration.mdx b/hazelcast_versioned_docs/version-5.3/develop-solutions/integrating-with-spring/configuration.mdx
index 63223ede..5927a001 100644
--- a/hazelcast_versioned_docs/version-5.3/develop-solutions/integrating-with-spring/configuration.mdx
+++ b/hazelcast_versioned_docs/version-5.3/develop-solutions/integrating-with-spring/configuration.mdx
@@ -188,7 +188,7 @@ While configuring Hazelcast within the Spring context, you can also pass values
If you use security to connect the Hazelcast client with Spring Boot to a cluster and want to see the health of that cluster, you must enable the permissions for transactions. For further information, see the following topics:
- [Using client security](../../configure-and-manage-clusters/securing-a-cluster/native-client-security.mdx#authenticating-clients)
- - [Enabling health check for a cluster](../../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring)
+ - [Enabling health check for a cluster](../../configure-and-manage-clusters/monitoring/health-check-and-monitoring.mdx)
- [Configuring transaction permissions on the members](../../configure-and-manage-clusters/securing-a-cluster/native-client-security.mdx#transaction-permission)
:::
diff --git a/hazelcast_versioned_docs/version-5.3/examples/management/MetricsConfiguration.java b/hazelcast_versioned_docs/version-5.3/examples/management/MetricsConfiguration.java
new file mode 100644
index 00000000..baf6993d
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.3/examples/management/MetricsConfiguration.java
@@ -0,0 +1,28 @@
+import com.hazelcast.client.config.ClientConfig;
+import com.hazelcast.config.Config;
+
+public class MetricsConfiguration {
+
+ public static void main(String[] args) {
+ //tag::member[]
+ Config config = new Config();
+ config.getMetricsConfig()
+ .setEnabled(true)
+ .setCollectionFrequencySeconds(5);
+ config.getMetricsConfig().getManagementCenterConfig()
+ .setEnabled(true)
+ .setRetentionSeconds(5);
+ config.getMetricsConfig().getJmxConfig()
+ .setEnabled(true);
+ //end::member[]
+
+ //tag::client[]
+ ClientConfig clientConfig = new ClientConfig();
+ clientConfig.getMetricsConfig()
+ .setEnabled(true)
+ .setCollectionFrequencySeconds(5);
+ clientConfig.getMetricsConfig().getJmxConfig()
+ .setEnabled(true);
+ //end::client[]
+ }
+}
diff --git a/hazelcast_versioned_docs/version-5.3/reference/faq.mdx b/hazelcast_versioned_docs/version-5.3/reference/faq.mdx
index 1e267460..530e3b51 100644
--- a/hazelcast_versioned_docs/version-5.3/reference/faq.mdx
+++ b/hazelcast_versioned_docs/version-5.3/reference/faq.mdx
@@ -229,9 +229,9 @@ Yes. But please note that Hazelcast's main design focus is multi-member clusters
is what you use to monitor and manage the members running Hazelcast. In addition to monitoring the overall state of a cluster, you can analyze and browse data structures in detail, you can update map configurations and you can take thread dumps from members.
-You can also use Hazelcast's HTTP based health check implementation and health monitoring utility. See the [Health Check and Monitoring section](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). There is also a [diagnostics tool](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#diagnostics) where you can see detailed logs enhanced with diagnostic plugins.
+You can also use Hazelcast's HTTP based health check implementation and health monitoring utility. See the [Health Check and Monitoring section](../configure-and-manage-clusters/monitoring/health-check-and-monitoring.mdx). There is also a [diagnostics tool](../configure-and-manage-clusters/monitoring/diagnostics.mdx) where you can see detailed logs enhanced with diagnostic plugins.
-Moreover, JMX monitoring is also provided. See the [Monitoring with JMX section](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) for details.
+Moreover, JMX monitoring is also provided. See the [Monitoring with JMX section](../configure-and-manage-clusters/monitoring/monitoring-with-jmx.mdx) for details.
diff --git a/hazelcast_versioned_docs/version-5.3/reference/list-of-metrics.mdx b/hazelcast_versioned_docs/version-5.3/reference/list-of-metrics.mdx
index 7a457b4a..c72e7807 100644
--- a/hazelcast_versioned_docs/version-5.3/reference/list-of-metrics.mdx
+++ b/hazelcast_versioned_docs/version-5.3/reference/list-of-metrics.mdx
@@ -140,7 +140,7 @@ Information regarding the job's status. Potential values:
\* 1 - canceled by the user \* 0 - means the job is either running, completed successfully, or failed due to an error other than user cancellation
-Exposed via [Job API](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#via-job-api) only.
+Exposed via [Job API](../configure-and-manage-clusters/monitoring/metrics.mdx#job-api) only.
snapshotBytes |
diff --git a/hazelcast_versioned_docs/version-5.3/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.3/reference/system-properties.mdx
index 4c471c31..07d9083f 100644
--- a/hazelcast_versioned_docs/version-5.3/reference/system-properties.mdx
+++ b/hazelcast_versioned_docs/version-5.3/reference/system-properties.mdx
@@ -150,7 +150,7 @@ When you want to reconfigure a system property, you need to restart the members
`hazelcast.config.instance.tracking.file` |
|
string |
-The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#instance-tracking) |
+The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../configure-and-manage-clusters/monitoring/instance-tracking.mdx) |
| `hazelcast.connect.all.wait.seconds` |
@@ -186,7 +186,7 @@ Output directory of the diagnostic log files.
:::note
-For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#diagnostics).
+For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../configure-and-manage-clusters/monitoring/diagnostics.mdx).
:::
@@ -370,7 +370,7 @@ For detailed information about the diagnostic tool, along with this and the foll
`hazelcast.health.monitoring.delay.seconds` |
20 |
int |
-Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). |
+Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../configure-and-manage-clusters/monitoring/health-check-and-monitoring.mdx). |
| `hazelcast.health.monitoring.level` |
@@ -538,7 +538,7 @@ This property should only be used as a last resort. Hazelcast uses the XXE prote
`hazelcast.jmx` |
false |
bool |
-Enable [JMX](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent. |
+Enable [JMX](../configure-and-manage-clusters/monitoring/monitoring-with-jmx.mdx) agent. |
| `hazelcast.jet.custom.lib.dir` |
@@ -776,7 +776,7 @@ Setting this value too low may cause members to be evicted from the cluster when
`hazelcast.metrics.collection.frequency` |
5 |
int |
-Frequency, in seconds, of the [metrics](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration). |
+Frequency, in seconds, of the [metrics](../configure-and-manage-clusters/monitoring/metrics.mdx) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.datastructures.enabled` |
@@ -794,25 +794,25 @@ Setting this value too low may cause members to be evicted from the cluster when
`hazelcast.metrics.enabled` |
true |
bool |
-Enables the [metrics collection](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables the [metrics collection](../configure-and-manage-clusters/monitoring/metrics.mdx) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.mc.enabled` |
true |
bool |
-Enables buffering the collected [metrics](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables buffering the collected [metrics](../configure-and-manage-clusters/monitoring/metrics.mdx) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.mc.retention` |
5 |
int |
-Duration, in seconds, that the [metrics](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration). |
+Duration, in seconds, that the [metrics](../configure-and-manage-clusters/monitoring/metrics.mdx) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.jmx.enabled` |
true |
bool |
-Enables exposing the collected [metrics](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables exposing the collected [metrics](../configure-and-manage-clusters/monitoring/metrics.mdx) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/monitoring/metrics.mdx#configuration). |
| `hazelcast.multicast.group` |
diff --git a/hazelcast_versioned_docs/version-5.3/release-notes/5-3-1.mdx b/hazelcast_versioned_docs/version-5.3/release-notes/5-3-1.mdx
index e07dfa35..7c33d572 100644
--- a/hazelcast_versioned_docs/version-5.3/release-notes/5-3-1.mdx
+++ b/hazelcast_versioned_docs/version-5.3/release-notes/5-3-1.mdx
@@ -13,4 +13,4 @@ slug: /release-notes/5-3-1
- Fixed an issue where submitting a job was failing when it is done using Hazelcast Command-Line Client (CLC). [\#24704](https://github.com/hazelcast/hazelcast/pull/24704)
- Fixed an issue where the REST calls were failing for Hazelcast clusters with TLS v1.3 configured, and deployed on Kubernetes. [\#24623](https://github.com/hazelcast/hazelcast/pull/24623)
-- Fixed various issues in [Health Monitor](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#health-monitor) including incorrect metric names. [\#24636](https://github.com/hazelcast/hazelcast/pull/24636)
+- Fixed various issues in [Health Monitor](../configure-and-manage-clusters/monitoring/health-check-and-monitoring.mdx#use-the-health-monitor-utility) including incorrect metric names. [\#24636](https://github.com/hazelcast/hazelcast/pull/24636)
diff --git a/hazelcast_versioned_docs/version-5.3/upgrade/upgrading-from-imdg-3.mdx b/hazelcast_versioned_docs/version-5.3/upgrade/upgrading-from-imdg-3.mdx
index fdab8b4a..59302cd8 100644
--- a/hazelcast_versioned_docs/version-5.3/upgrade/upgrading-from-imdg-3.mdx
+++ b/hazelcast_versioned_docs/version-5.3/upgrade/upgrading-from-imdg-3.mdx
@@ -1871,7 +1871,7 @@ The following deprecated cluster properties were removed:
- `hazelcast.memcache.enabled`
- `hazelcast.http.healthcheck.enabled`
-Please see [Using the REST Endpoint Groups](../configure-and-manage-clusters/maintaining-a-cluster/rest-api.mdx#using-the-rest-endpoint-groups) on how to configure Hazelcast instance to expose REST endpoints. Please see [Health Check and Monitoring](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring) on how to enable the health check. Please see [Memcache Client](../develop-solutions/connecting-to-a-cluster/memcache.mdx) on how to enable memcache client request listener service.
+Please see [Using the REST Endpoint Groups](../configure-and-manage-clusters/maintaining-a-cluster/rest-api.mdx#using-the-rest-endpoint-groups) on how to configure Hazelcast instance to expose REST endpoints. Please see [Health Check and Monitoring](../configure-and-manage-clusters/monitoring/health-check-and-monitoring.mdx) on how to enable the health check. Please see [Memcache Client](../develop-solutions/connecting-to-a-cluster/memcache.mdx) on how to enable memcache client request listener service.
## Removal of Deprecations in `LoginModuleConfig`
@@ -2108,10 +2108,10 @@ The output of the following endpoints has been changed to JSON:
## Changes in the Diagnostics Configuration
-By introducing the [metrics system](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) in Hazelcast IMDG 4.0 and afterwards, the metrics collected by [Diagnostics](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#diagnostics) and the metrics system is shared. This has come with the following changes of the system properties that configure diagnostics:
+By introducing the [metrics system](../configure-and-manage-clusters/monitoring/metrics.mdx) in Hazelcast IMDG 4.0 and afterwards, the metrics collected by [Diagnostics](../configure-and-manage-clusters/monitoring/diagnostics.mdx) and the metrics system is shared. This has come with the following changes of the system properties that configure diagnostics:
- `hazelcast.diagnostics.metric.level` is not available anymore. Collecting debug metrics can be enabled by setting the `hazelcast.metrics.debug.enabled` or `hazelcast.client.metrics.debug.enabled` system properties to `true` for the members and clients respectively.
-- `hazelcast.diagnostics.metric.distributed.datastructures` is not anymore available since the data structure metrics are required for the other [metric consumers](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#exposing-metrics). Therefore, they are collected by default and no need for enabling it for the diagnostics.
+- `hazelcast.diagnostics.metric.distributed.datastructures` is not anymore available since the data structure metrics are required for the other [metric consumers](../configure-and-manage-clusters/monitoring/metrics.mdx#exposing-metrics). Therefore, they are collected by default and no need for enabling it for the diagnostics.
## Changes in the Management Center Configuration
diff --git a/hazelcast_versioned_docs/version-5.4/clients-apis/java.mdx b/hazelcast_versioned_docs/version-5.4/clients-apis/java.mdx
index 7ebe385f..e090b8db 100644
--- a/hazelcast_versioned_docs/version-5.4/clients-apis/java.mdx
+++ b/hazelcast_versioned_docs/version-5.4/clients-apis/java.mdx
@@ -1839,10 +1839,10 @@ The table below lists the client configuration properties with their description
| `hazelcast.client.io.output.thread.count` | -1 | int | Controls the number of I/O output threads. Defaults to -1, i.e., the system decides. If the client is a smart client, it defaults to 3, otherwise it defaults to 1. |
| `hazelcast.client.io.write.through` | true | bool | Optimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments. |
| `hazelcast.client.max.concurrent.invocations` | Integer.MAX\_VALUE | int | Maximum allowed number of concurrent invocations. You can apply a constraint on the number of concurrent invocations in order to prevent the system from overloading. If the maximum number of concurrent invocations is exceeded and a new invocation comes in, Hazelcast throws `HazelcastOverloadException`. |
-| `hazelcast.client.metrics.collection.frequency` | 5 | int | Frequency, in seconds, of the [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+| `hazelcast.client.metrics.collection.frequency` | 5 | int | Frequency, in seconds, of the [metrics](../operate-manage/monitoring/metrics.mdx) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.client.metrics.debug.enabled` | false | bool | Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this is meant to be enabled only if diagnostics is enabled, since currently only diagnostics consumes the debug metrics. |
-| `hazelcast.client.metrics.enabled` | true | bool | Enables the [metrics collection](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration). When it is `true` you can monitor metrics of the clients that are connected to your Hazelcast cluster, using Hazelcast Management Center. See for more information. |
-| `hazelcast.client.metrics.jmx.enabled` | true | bool | Enables exposing the collected [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+| `hazelcast.client.metrics.enabled` | true | bool | Enables the [metrics collection](../operate-manage/monitoring/metrics.mdx) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/monitoring/metrics.mdx#configuration). When it is `true` you can monitor metrics of the clients that are connected to your Hazelcast cluster, using Hazelcast Management Center. See for more information. |
+| `hazelcast.client.metrics.jmx.enabled` | true | bool | Enables exposing the collected [metrics](../operate-manage/monitoring/metrics.mdx) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.client.operation.backup.timeout.millis` | 5000 | int | If an operation has sync backups, this property specifies how long the invocation will wait for acks from the backup replicas. If acks are not received from some backups, there will not be any rollback on other successful replicas. |
| `hazelcast.client.operation.fail.on.indeterminate.state` | false | bool | When this configuration is enabled, if an operation has sync backups and acks are not received from backup replicas in time, or the member which owns primary replica of the target partition leaves the cluster, then the invocation fails with `IndeterminateOperationStateException`. However, even if the invocation fails, there will not be any rollback on other successful replicas. |
| `hazelcast.client.response.thread.count` | 2 | int | Number of the response threads. By default, there are two response threads; this gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the I/O threads. Under certain conditions this can give a higher throughput, but setting to 0 should be regarded as an experimental feature. If set to 0, the IO\_OUTPUT\_THREAD\_COUNT is really going to matter because the inbound thread will have more work to do. By default when TLS is not enabled, there is just one inbound thread. |
diff --git a/hazelcast_versioned_docs/version-5.4/develop-build/building-data-pipelines/job-monitoring.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/building-data-pipelines/job-monitoring.mdx
index 0e235bb1..220064fc 100644
--- a/hazelcast_versioned_docs/version-5.4/develop-build/building-data-pipelines/job-monitoring.mdx
+++ b/hazelcast_versioned_docs/version-5.4/develop-build/building-data-pipelines/job-monitoring.mdx
@@ -70,14 +70,14 @@ A job with `FAILED` status may have been canceled by a user. To monitor for canc
You can see the job-specific metrics using the following methods:
-- [Job API](../../operate-manage/maintaining-a-cluster/monitoring.mdx#via-job-api) via the `getMetrics()` method:
+- [Job API](../../operate-manage/monitoring/metrics.mdx#job-api) via the `getMetrics()` method:
```java
JobMetrics metrics = job.getMetrics();
```
With this method, you can see the metrics for all running jobs, and finished jobs for which the `storeMetricsAfterJobCompletion` option is enabled. See the below table for this option's description.
-- [JMX](../../operate-manage/maintaining-a-cluster/monitoring.mdx#over-jmx)/[Prometheus](../../operate-manage/maintaining-a-cluster/monitoring.mdx#prometheus): With these methods, the `userCanceled` metric is not available, and you can see the metrics only for running jobs.
+- [JMX](../../operate-manage/monitoring/metrics.mdx#jmx)/[Prometheus](../../operate-manage/monitoring/metrics.mdx#prometheus): With these methods, the `userCanceled` metric is not available, and you can see the metrics only for running jobs.
See [Job-Specific Metrics](../../reference/list-of-metrics.mdx#job-metrics) to learn which metrics are available for jobs.
diff --git a/hazelcast_versioned_docs/version-5.4/develop-build/distributed-data-structures/map/reading-map-metrics.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/distributed-data-structures/map/reading-map-metrics.mdx
index ad99ad1e..f15ec62b 100644
--- a/hazelcast_versioned_docs/version-5.4/develop-build/distributed-data-structures/map/reading-map-metrics.mdx
+++ b/hazelcast_versioned_docs/version-5.4/develop-build/distributed-data-structures/map/reading-map-metrics.mdx
@@ -6,18 +6,16 @@ slug: /data-structures/reading-map-metrics
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
+import CodeBlock from "@theme/CodeBlock";
+import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../../examples/management/ExampleLocalMapStats.java?tag=lms";
By default, you can read metrics for a given map, such as the primary and backup entry count, last update time, and locked entry count on each member of your cluster. You can access these statistics for the entire map, for the map entries on a specific cluster member, or specific map entries.
## Getting Statistics about All Map Entries {/* #accessing-entry-statistics */}
-To get statistics for all map entries that are owned by a member, use the `getLocalMapStats()` method of the Java member API ([embedded mode](../../../install-and-upgrade/overview/choosing-a-deployment-option.mdx)). This method returns data only if the `statistics-enabled` element is set to `true`, which is the default.
+To get statistics for all map entries that are owned by a member, use the `getLocalMapStats()` method of the Java member API ([embedded mode](../../../install-and-upgrade/overview/choosing-a-deployment-option.mdx)).
-:::note
-
-If you disable map statistics, statistics will not be available via the API, or in .
-
-:::
+The `statistics-enabled` element of the map is `true` by default. If you set it to `false`, the member does not record operation statistics for the map, such as operation counts, latencies, and index statistics. The member also then leaves the map out of the statistics that it reports to the [metrics system](../../../operate-manage/monitoring/metrics.mdx) and . The `getLocalMapStats()` method still returns the entry counts and memory costs of the map.
@@ -45,11 +43,27 @@ hazelcast:
-```java
-LocalMapStats mapStatistics = myMap.getLocalMapStats();
-System.out.println( "Number of entries owned by this member = "
- + mapStatistics.getOwnedEntryCount() );
-```
+Below is example code where `getLocalMapStats()` and `getOwnedEntryCount()` get the number of entries owned by this member:
+
+{Ex_management_ExampleLocalMapStats_java_tag_lms}
+
+:::note
+
+The `getOwnedEntryMemoryCost()` method is also supported for the `NATIVE` in-memory format.
+
+:::
+
+The following are some of the metrics that you can access via the `LocalMapStats` object:
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Number of backup entries held by the member (`getBackupEntryCount()`)
+- Number of backups per entry (`getBackupCount()`)
+- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
+- Creation time of the map on the member (`getCreationTime()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
+- Number of queries executed on the map (`getQueryCount()` and `getIndexedQueryCount()`) (it may be imprecise for queries involving partition predicates (`PartitionPredicate`) on the off-heap storage)
+
+See the to see all the metrics.
:::note
@@ -59,7 +73,7 @@ If you need cluster-wide map statistics, you can get the local map statistics fr
## Getting Statistics about a Specific Map Entry
-To get statistics for a specific map entry, you can use the `getEntryView(key)` method of one of the following available client libraries. To use this method, the map must have its `per-entry-stats-enabled` element set to `true`.
+To get statistics for a specific map entry, you can use the `getEntryView(key)` method of one of the following available client libraries. To use this method, the map must have its `per-entry-stats-enabled` element set to `true`. The default is `false`.
This method returns the following statistics:
diff --git a/hazelcast_versioned_docs/version-5.4/examples/management/MetricsConfiguration.java b/hazelcast_versioned_docs/version-5.4/examples/management/MetricsConfiguration.java
new file mode 100644
index 00000000..baf6993d
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.4/examples/management/MetricsConfiguration.java
@@ -0,0 +1,28 @@
+import com.hazelcast.client.config.ClientConfig;
+import com.hazelcast.config.Config;
+
+public class MetricsConfiguration {
+
+ public static void main(String[] args) {
+ //tag::member[]
+ Config config = new Config();
+ config.getMetricsConfig()
+ .setEnabled(true)
+ .setCollectionFrequencySeconds(5);
+ config.getMetricsConfig().getManagementCenterConfig()
+ .setEnabled(true)
+ .setRetentionSeconds(5);
+ config.getMetricsConfig().getJmxConfig()
+ .setEnabled(true);
+ //end::member[]
+
+ //tag::client[]
+ ClientConfig clientConfig = new ClientConfig();
+ clientConfig.getMetricsConfig()
+ .setEnabled(true)
+ .setCollectionFrequencySeconds(5);
+ clientConfig.getMetricsConfig().getJmxConfig()
+ .setEnabled(true);
+ //end::client[]
+ }
+}
diff --git a/hazelcast_versioned_docs/version-5.4/get-started/editions.mdx b/hazelcast_versioned_docs/version-5.4/get-started/editions.mdx
index 3031923b..5751eb87 100644
--- a/hazelcast_versioned_docs/version-5.4/get-started/editions.mdx
+++ b/hazelcast_versioned_docs/version-5.4/get-started/editions.mdx
@@ -23,8 +23,8 @@ The offers the following features, w
- [WAN Replication](../operate-manage/synchronizing-data-across-clusters/wan.mdx)
- [Configuring CP Subsystem](../operate-manage/cp-subsystem/configuration.mdx)
- [Deploying in Openshift container platform](../develop-build/kubernetes/deploying-in-kubernetes.mdx)
-- [Clustered REST](../operate-manage/maintaining-a-cluster/monitoring.mdx#management-center)
-- [Clustered JMX](../operate-manage/maintaining-a-cluster/monitoring.mdx#management-center)
+- [Clustered REST](../operate-manage/securing-a-cluster/management-center.mdx)
+- [Clustered JMX](../operate-manage/securing-a-cluster/management-center.mdx)
- [Rolling upgrades](../install-and-upgrade/upgrade/rolling-upgrades/overview.mdx)
- [High-Density Memory Store](../operate-manage/configuring-for-fault-tolerance/high-density-memory.mdx)
- [Persisting Data on Disk](../operate-manage/configuring-for-fault-tolerance/persistence/persistence.mdx)
diff --git a/hazelcast_versioned_docs/version-5.4/install-and-upgrade/enterprise-edition/install-enterprise.mdx b/hazelcast_versioned_docs/version-5.4/install-and-upgrade/enterprise-edition/install-enterprise.mdx
index 1861070b..d2a976ab 100644
--- a/hazelcast_versioned_docs/version-5.4/install-and-upgrade/enterprise-edition/install-enterprise.mdx
+++ b/hazelcast_versioned_docs/version-5.4/install-and-upgrade/enterprise-edition/install-enterprise.mdx
@@ -291,8 +291,8 @@ Get started with the Hazelcast featu
- [WAN Replication](../../operate-manage/synchronizing-data-across-clusters/wan.mdx)
- [Configuring CP Subsystem](../../operate-manage/cp-subsystem/configuration.mdx)
- [Deploying in Openshift container platform](../../develop-build/kubernetes/deploying-in-kubernetes.mdx)
-- [Clustered REST](../../operate-manage/maintaining-a-cluster/monitoring.mdx#management-center)
-- [Clustered JMX](../../operate-manage/maintaining-a-cluster/monitoring.mdx#management-center)
+- [Clustered REST](../../operate-manage/securing-a-cluster/management-center.mdx)
+- [Clustered JMX](../../operate-manage/securing-a-cluster/management-center.mdx)
- [Rolling upgrades](../upgrade/rolling-upgrades/overview.mdx)
- [High-Density Memory Store](../../operate-manage/configuring-for-fault-tolerance/high-density-memory.mdx)
- [Persisting Data on Disk](../../operate-manage/configuring-for-fault-tolerance/persistence/persistence.mdx)
diff --git a/hazelcast_versioned_docs/version-5.4/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx b/hazelcast_versioned_docs/version-5.4/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx
index ff04e992..e9b1229e 100644
--- a/hazelcast_versioned_docs/version-5.4/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx
+++ b/hazelcast_versioned_docs/version-5.4/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx
@@ -1876,7 +1876,7 @@ The following deprecated cluster properties were removed:
- `hazelcast.memcache.enabled`
- `hazelcast.http.healthcheck.enabled`
-Please see [Using the REST Endpoint Groups](../../clients-apis/enterprise-rest-api/rest-api.mdx#using-the-rest-endpoint-groups) on how to configure Hazelcast instance to expose REST endpoints. Please see [Health Check and Monitoring](../../operate-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring) on how to enable the health check. Please see [Memcache Client](../../clients-apis/memcache.mdx) on how to enable memcache client request listener service.
+Please see [Using the REST Endpoint Groups](../../clients-apis/enterprise-rest-api/rest-api.mdx#using-the-rest-endpoint-groups) on how to configure Hazelcast instance to expose REST endpoints. Please see [Health Check and Monitoring](../../operate-manage/monitoring/health-check-and-monitoring.mdx) on how to enable the health check. Please see [Memcache Client](../../clients-apis/memcache.mdx) on how to enable memcache client request listener service.
## Removal of Deprecations in `LoginModuleConfig`
@@ -2113,10 +2113,10 @@ The output of the following endpoints has been changed to JSON:
## Changes in the Diagnostics Configuration
-By introducing the [metrics system](../../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) in Hazelcast IMDG 4.0 and afterwards, the metrics collected by [Diagnostics](../../operate-manage/maintaining-a-cluster/monitoring.mdx#diagnostics) and the metrics system is shared. This has come with the following changes of the system properties that configure diagnostics:
+By introducing the [metrics system](../../operate-manage/monitoring/metrics.mdx) in Hazelcast IMDG 4.0 and afterwards, the metrics collected by [Diagnostics](../../operate-manage/monitoring/diagnostics.mdx) and the metrics system is shared. This has come with the following changes of the system properties that configure diagnostics:
- `hazelcast.diagnostics.metric.level` is not available anymore. Collecting debug metrics can be enabled by setting the `hazelcast.metrics.debug.enabled` or `hazelcast.client.metrics.debug.enabled` system properties to `true` for the members and clients respectively.
-- `hazelcast.diagnostics.metric.distributed.datastructures` is not anymore available since the data structure metrics are required for the other [metric consumers](../../operate-manage/maintaining-a-cluster/monitoring.mdx#exposing-metrics). Therefore, they are collected by default and no need for enabling it for the diagnostics.
+- `hazelcast.diagnostics.metric.distributed.datastructures` is not anymore available since the data structure metrics are required for the other [metric consumers](../../operate-manage/monitoring/metrics.mdx#exposing-metrics). Therefore, they are collected by default and no need for enabling it for the diagnostics.
## Changes in the Management Center Configuration
diff --git a/hazelcast_versioned_docs/version-5.4/integrate/integrate-with-spring/configuration.mdx b/hazelcast_versioned_docs/version-5.4/integrate/integrate-with-spring/configuration.mdx
index 8a49096c..299f0e1f 100644
--- a/hazelcast_versioned_docs/version-5.4/integrate/integrate-with-spring/configuration.mdx
+++ b/hazelcast_versioned_docs/version-5.4/integrate/integrate-with-spring/configuration.mdx
@@ -188,7 +188,7 @@ While configuring Hazelcast within the Spring context, you can also pass values
If you use security to connect the Hazelcast client with Spring Boot to a cluster and want to see the health of that cluster, you must enable the permissions for transactions. For further information, see the following topics:
- [Using client security](../../operate-manage/securing-a-cluster/native-client-security.mdx#authenticating-clients)
- - [Enabling health check for a cluster](../../operate-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring)
+ - [Enabling health check for a cluster](../../operate-manage/monitoring/health-check-and-monitoring.mdx)
- [Configuring transaction permissions on the members](../../operate-manage/securing-a-cluster/native-client-security.mdx#transaction-permission)
:::
diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/logging.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/logging.mdx
index d719a0e7..b554b9b1 100644
--- a/hazelcast_versioned_docs/version-5.4/operate-manage/logging.mdx
+++ b/hazelcast_versioned_docs/version-5.4/operate-manage/logging.mdx
@@ -245,7 +245,7 @@ This feature is supported for the default (JDK/JUL), Log4j, and Log4j2 framework
You can use either of the following ways to dynamically change the level of your cluster's logs:
-- Using JMX API: The logging service exposes its JMX MBean as `LoggingServiceMBean`. You can retrieve, set, and reset the level. See the [Monitoring with JMX section](./maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx).
+- Using JMX API: The logging service exposes its JMX MBean as `LoggingServiceMBean`. You can retrieve, set, and reset the level. See the [Monitoring with JMX section](./monitoring/monitoring-with-jmx.mdx).
- Using REST API: You can use the `/hazelcast/rest/log-level` REST endpoint to retrieve (`GET`), set (`POST`), and reset (`DELETE`) the level. See the [REST Endpoint Groups section](../clients-apis/enterprise-rest-api/rest-api.mdx#using-the-rest-endpoint-groups).
:::caution[Deprecation Notice for the REST API]
diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/maintaining-a-cluster/cluster-utilities.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/maintaining-a-cluster/cluster-utilities.mdx
index f5d87e81..54ef7225 100644
--- a/hazelcast_versioned_docs/version-5.4/operate-manage/maintaining-a-cluster/cluster-utilities.mdx
+++ b/hazelcast_versioned_docs/version-5.4/operate-manage/maintaining-a-cluster/cluster-utilities.mdx
@@ -21,7 +21,7 @@ These utilities are included in the `bin` directory in your Hazelcast package an
| `hz-cli`, `hz-cli.bat` | Manages jobs and snapshots on a running cluster. Also used to launch the Hazelcast console and SQL shell. |
| `hz-cluster-admin` | Performs cluster lifecycle operations, such as force starts and upgrades. |
| `hz-cluster-cp-admin` | Manages the CP Subsystem. See [Managing and Monitoring the CP Subsystem](../cp-subsystem/management.mdx). |
-| `hz-healthcheck` | Retrieves cluster state from the HTTP health check endpoint. See [Using the health check script](./monitoring.mdx#health-check-script). |
+| `hz-healthcheck` | Retrieves cluster state from the HTTP health check endpoint. See [Using the health check script](../monitoring/health-check-and-monitoring.mdx#health-check-script). |
| `hz-start`, `hz-start.bat` | Starts a Hazelcast member with the default settings. Where possible, use `hz start` instead. |
| `hz-stop`, `hz-stop.bat` | Stops all running Hazelcast members on the local device. `hz-stop` sends `SIGTERM`, and by default the member terminates without a graceful shutdown. To shut down gracefully, set the `hazelcast.shutdownhook.policy` property to `GRACEFUL`. `hz-stop.bat` always stops the member without a graceful shutdown. |
| `common.bat`, `common.sh` | Shared code called by other scripts. You should not run this directly. |
diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/maintaining-a-cluster/monitoring.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/maintaining-a-cluster/monitoring.mdx
deleted file mode 100644
index 0d9b8915..00000000
--- a/hazelcast_versioned_docs/version-5.4/operate-manage/maintaining-a-cluster/monitoring.mdx
+++ /dev/null
@@ -1,2237 +0,0 @@
----
-title: "Monitoring"
-sidebar_position: 2
-slug: /maintain-cluster/monitoring
----
-
-import Tabs from "@theme/Tabs";
-import TabItem from "@theme/TabItem";
-import CodeBlock from "@theme/CodeBlock";
-import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../examples/management/ExampleLocalMapStats.java?tag=lms";
-import Ex_management_ExampleLocalIndexStats_java_tag_lis from "../../examples/management/ExampleLocalIndexStats.java?tag=lis";
-import Ex_management_ExampleNearCacheStats_java_tag_ncs from "../../examples/management/ExampleNearCacheStats.java?tag=ncs";
-import Ex_management_ExampleMultiMapStats_java_tag_mms from "../../examples/management/ExampleMultiMapStats.java?tag=mms";
-import Ex_management_ExampleQueueStats_java_tag_qs from "../../examples/management/ExampleQueueStats.java?tag=qs";
-import Ex_management_ExampleTopicStats_java_tag_ts from "../../examples/management/ExampleTopicStats.java?tag=ts";
-import Ex_management_ExampleExecutorStats_java_tag_es from "../../examples/management/ExampleExecutorStats.java?tag=es";
-
-
-
-Review Hazelcast Health Monitor logs regularly to understand the system runtime stability. Monitor Hazelcast logs and scan for failure messages regularly. Any incidences should be investigated and documented so as to understand your network better and find ways to provision, configure, and manage your network more efficiently.
-
-Hazelcast provides multi-level tolerance configurations in a cluster:
-
-1. Garbage collection (GC) tolerance: When a member fails to respond to health check probes on the existing socket connection but is actually responding to health probes sent on a new socket, it can be presumed to be stuck either in a long GC or in another long-running task. Adequate tolerance levels configured here may allow the member to come back from its stuck state within permissible SLAs.
-2. Network tolerance: When a member is temporarily unreachable by any means, temporary network communication errors may cause members to become unresponsive. In such a scenario, adequate tolerance levels configured here allow the member to return to healthy operation within permissible SLAs.
-
-You should establish tolerance levels for garbage collection and network connectivity and then set monitors to raise alerts when those tolerance thresholds are crossed. Customers with a Hazelcast subscription can use the extensive monitoring capabilities of the Management Center to set monitors and alerts.
-
-In addition to the Management Center, we recommend that you use `jstat` and keep verbose GC logging turned on and use a log scraping tool like Splunk or similar to monitor GC behavior. Back-to-back full GCs and anything above 90% heap occupancy after a full GC should be cause for alarm. Hazelcast dumps a set of information into the console of each instance that may further be used to create alerts.
-
-## Basic steps for monitoring and auditing
-
-- Make sure that all members are reachable by every other member in the cluster and are also accessible by the clients, for example through their ports and network.
-- Start Hazelcast member instances first. While not mandatory, this is a best practice to avoid clients timing out or complaining that no Hazelcast member is found, which can happen if the clients are started before the members.
-- Enable or start a system monitor tool, such as [nmon](http://nmon.sourceforge.net/pmwiki.php).
-- To add more members to an already running cluster, start a member with a similar configuration to the other members with the possible addition of the IP address of the new member. A maintenance window is not required to add more members to an already running Hazelcast cluster.
-
- - When a member is added to or removed from a Hazelcast cluster, the clients may see a little pause time, but this is normal. This is essentially the time required by Hazelcast members to rebalance the data upon the arrival or departure of a member.
- - There is no need to change anything on the clients when adding more members to the running cluster. In the default smart client mode, the clients update themselves automatically to connect to the new member once it has successfully joined the cluster.
- - Rebalancing of data (primary plus backup) on arrival or departure (forced or unforced) of a member is an automated process. In the default `ACTIVE` cluster state, no manual intervention is required.
- - You can promote your lite members to become data members. To do this, either use the [Cluster API](./lite-members.mdx#promoting-lite-members-to-data-members) or Management Center.
- - Setting `hazelcast.initial.min.cluster.size` to 4 and starting members one by one (empty cluster, no operation) can result in unexpected cluster partitioning behavior: after reaching `hazelcast.initial.min.cluster.size`, partition table arrangement is initialized even though there is no data. When used in large clusters (\>100), this adds an unnecessary overhead of partition assignment on each member addition.
-- Check that you have configured an adequate backup count based on your SLAs.
-- When using distributed computing features, such as executor service or entry processors, any change in the client application logic or in the implementation of these must also be applied to the members. If you do not use , which requires , you must restart all the members after you deploy the new code. Use the typical cluster re-deployment process: first shut down the members, then deploy the new application JARs in the members' classpath, and start the members.
-
-## Management Center
-
-Hazelcast Management Center enables you to monitor and manage your cluster members running Hazelcast. In addition to monitoring the overall state of your clusters, you can also analyze and browse your data structures in detail, update map configurations, and take thread dumps from members. You can run scripts, such as JavaScript or Groovy, and commands on your members with its scripting and console modules. A script runs only if the member classpath contains a scripting engine for its language.
-
-See the for more information and find details about its clustered JMX and clustered REST APIs.
-
-Because Management Center is a client that connects to the cluster, you can control the following aspects of Management Center in the member configuration file:
-
-- [Scripting support](#managing-scripting-support)
-- [Console support](#managing-console-support)
-- [Source IP addresses](#limiting-source-addresses)
-
-### Managing Scripting Support
-
-
-
-Management Center allows you to execute scripts that can automate interactions with the cluster.
-
-By default, scripting is disabled for security. Scripting engines give code access to the underlying system on the members (files and other resources) and run with the same permissions as the current user. You can enable scripting in the member configuration file:
-
-:::important
-
-When scripting is enabled, it grants full, unrestricted access to the cluster and is **not** limited by the permissions assigned to individual Management Center users. Enable it with caution, especially in production, and consider leaving it disabled if granular access control is critical. See the for details.
-
-:::
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- scripting-enabled: true
-```
-
-
-
-
-Hazelcast uses the [JSR 223](https://jcp.org/en/jsr/detail?id=223) API to support scripting.
-
-### Managing Console Support
-
-Management Center allows you to execute client operations using built-in Hazelcast Command-Line Client (CLC) in the user interface. This console is useful for testing and development purposes. You can enable the console in the member configuration file:
-
-:::important
-
-When the console is enabled, it grants full access to the cluster through the Command-Line Client and is **not** limited by the permissions assigned to individual Management Center users. Enable it with caution, especially in production, and consider leaving it disabled if granular access control is critical.
-
-:::
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- console-enabled: true
-```
-
-
-
-
-See the [Management Center documentation](/management-center/latest/tools/console) for more information.
-
-### Managing Data Access
-
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) through SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file:
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- data-access-enabled: false
-```
-
-
-
-
-### Limiting Source Addresses
-
-By default, any instance of Management Center can connect to a cluster as long as it can be authenticated. To restrict access only to trusted instances of Management Center, you can define the trusted IP addresses in the `trusted-interfaces` configuration setting. This setting supports wildcards (`*`) and ranges (`-`).
-
-
-
-
-```xml
-
- ...
-
-
- 192.168.1.*
-
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- trusted-interfaces:
- - 192.168.1.*
-```
-
-
-
-
-## Instance Tracking
-
-Instance tracking is a feature which, when enabled, writes a file on the instance startup at the configured location. The file contains metadata about the instance, such as version, product name, and process ID. This file can then later be used by other programs to detect the kinds of Hazelcast instances that have been running on a particular machine by inspecting the file contents. This feature supports both and members and clients, and is disabled by default. Failing to write the file only generates a warning, and the instance is allowed to start.
-
-The name and content of the file are configurable and may contain placeholders. The placeholders used for instance tracking have a prefix so that they can be distinguished from the other ones like XML placeholders. We use the same style as the `EncryptionReplacer` by adding a "namespace" to the placeholder prefix; for example, `$HZ_INSTANCE_TRACKING{start_timestamp}` (the namespace here being `HZ_INSTANCE_TRACKING`).
-
-In addition to the above, the Hazelcast instance overwrites any existing file in the configured location. To prevent this, you can configure the file location using the placeholders in the same way they can be used when defining the file contents. For example, if the filename is configured as `Hazelcast-$HZ_INSTANCE_TRACKING{pid}-$HZ_INSTANCE_TRACKING{start_timestamp}.process`, it contains the process ID and the creation time, making it unique every time the instance is started.
-
-The created file is not deleted on member shutdown. As such, it leaves a trace of instances started on a particular machine. If the instance cannot write the tracking file, it logs a warning and continues to start.
-
-:::note[Auditing the Instance Tracking File]
-
-When you enable the instance tracking feature and its file is created on a member startup, the full path of the file with its name is set into a system property of the JVM running the Hazelcast member, i.e., `hazelcast.config.instance.tracking.file`.
-
-You can audit that all your running Hazelcast members in your environment have the instance tracking filename set correctly. For this, you can use the [jcmd](https://docs.oracle.com/en/java/javase/13/docs/specs/man/jcmd.html) utility, as shown below.
-
-```shell
-jcmd VM.system_properties | grep hazelcast.config.instance.tracking.file
-```
-
-PID here is the process ID of your JVM on which Hazelcast member runs. It gives output similar to the following:
-
-```shell
-hazelcast.config.instance.tracking.file=/tmp/Hazelcast.process
-```
-
-See below for the example content of an instance tracking file.
-
-:::
-
-### Configuring Instance Tracking {/* #instance-tracking-configuration */}
-
-Here is an example of programmatic member-side Java configuration:
-
-```java
-Config config = new Config();
-config.getInstanceTrackingConfig()
- .setEnabled(true)
- .setFileName("/tmp/hz-tracking.txt")
- .setFormatPattern("$HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}");
-```
-
-The equivalent declarative configuration is as follows:
-
-
-
-
-```xml
-
-
-
- /tmp/hz-tracking.txt
- $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
-
-
-
-```
-
-
-
-
-```yaml
-hazelcast:
- instance-tracking:
- enabled: true
- file-name: /tmp/hz-tracking.txt
- format-pattern: $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
-```
-
-
-
-
-You can use this configuration to enable the instance tracking feature, specify the filename and the pattern for the file contents. By default, the feature is disabled, the filename is `Hazelcast.process` in the OS temporary directory as returned by `System.getProperty("java.io.tmpdir")` and the file contents are JSON-formatted key-value pairs of all available metadata.
-
-The client configuration is analogous and only differs in the name of the outer configuration block or configuration instance containing the instance tracking configuration.
-
-Here is an example when running a client instance:
-
-```json
-{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"client", "start_timestamp":1595851430741, "licensed":0}
-```
-
-Here is an example when running a member instance in the "server" mode:
-
-```json
-{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"server", "start_timestamp":1595851430741, "licensed":1}
-```
-
-And here is an example when running a member instance in the "embedded" mode:
-
-```json
-{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"embedded", "start_timestamp":1595851430741, "licensed":1}
-```
-
-You can specify a custom format by using a predefined set of available metadata keys an example of which is shown below:
-
-```java
-String format = "mode: $HZ_INSTANCE_TRACKING{mode}\n"
- + "product: $HZ_INSTANCE_TRACKING\{product}\n"
- + "licensed: $HZ_INSTANCE_TRACKING{licensed}\n"
- + "missing: $HZ_INSTANCE_TRACKING{missing}\n"
- + "broken: $HZ_INSTANCE_TRACKING{broken ";
-```
-
-This should produce a file with the following content:
-
-```properties
-mode: embedded
-product: Hazelcast
-licensed: 0
-missing: $HZ_INSTANCE_TRACKING{missing}
-broken: $HZ_INSTANCE_TRACKING{broken
-```
-
-As you can see, once we encounter a broken placeholder, all subsequent placeholders are ignored. On the other hand, missing placeholders are skipped and subsequent placeholders are resolved.
-
-The valid metadata placeholders and their possible values are as follows:
-
-- `product`: Instance product name, e.g., "Hazelcast" or "Hazelcast Enterprise".
-- `version`: Instance version.
-- `mode`: Instance mode, e.g., "server", "embedded" or "client"
-- `start_timestamp`: the timestamp of when the instance was started as the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.
-- `licensed`: Specifies whether the instance is using a license or not. The value `0` signifies that there is no license set and the value `1` signifies that a license is in use.
-- `pid`: Process ID of the instance.
-
-The possible values for the `product` placeholder: `Hazelcast`, `Hazelcast Enterprise`, `Hazelcast Client`, `Hazelcast Client Enterprise`.
-
-The possible values for the `mode` placeholder:
-
-- `server`: This value is used when the instance was started using the `hz-start` or `hz-start.bat` scripts.
-- `client`: This instance is a Hazelcast client instance.
-- `embedded`: This instance is embedded in another Java program.
-
-## Metrics
-
-Hazelcast exposes various metrics to facilitate monitoring of the cluster state. They are `` key-value pairs of data that capture the runtime information about the members and clients in a Hazelcast cluster. Such a metric can be the number of entries stored in a particular `IMap` on a given member, JVM metrics like used heap, OS metrics like load average, and so on.
-
-The metrics system is responsible for collecting these metrics and making them available for the [consumers](#exposing-metrics) of the metrics. There are a few hundred metrics collected during every metrics collection cycle by default, but the number of metrics grows as more features and data structures are used. This is because every data structure provides its own metrics. For example, if there are two `IMap`s used in a cluster, both `IMap`s produce their metrics on every member.
-
-Metrics have associated **tags** which describe which object the metric applies to. For example, the tags for job metrics typically indicate the specific DAG vertex and processor the metric belongs to.
-
-Each metric instance provided belongs to a particular Hazelcast cluster member. Different cluster members can have their own versions of the same metric with different values.
-
-The metric collection runs in regular intervals on each member, but note that the metric collection on different cluster members happens at different moments in time. So if you try to correlate metrics from different members, they can be from different moments of time.
-
-### Hazelcast Metrics
-
-There are a wide range of metrics and statistics provided by Hazelcast:
-
-- cluster-wide metrics
-- statistics of distributed data structures (see [member statistics](#member-statistics))
-- executor statistics (see [executor statistics](#executor-statistics))
-- partition related statistics (state, migration, replication)
-- garbage collection statistics
-- memory statistics for the JVM which current Hazelcast member belongs to (total physical/free OS memory, max/committed/used/free heap memory and max/committed/used/free native memory)
-- network traffic related statistics (traffic and queue sizes)
-- class loading related statistics
-- thread count information (current, peak and daemon thread counts)
-- job-specific metrics
-
-See the full list of Hazelcast metrics in [List of Metrics appendix](../../reference/list-of-metrics.mdx).
-
-### User-defined Metrics
-
-User-defined metrics are actually a subset of [job metrics](../../reference/list-of-metrics.mdx#job-metrics). What distinguishes them from regular job-specific metrics is exactly what their name implies: they are not built-in, but defined when processing pipelines are written.
-
-Since user-defined metrics are also job metrics, they have all the tags job metrics have. They also have an extra tag, called `user`, which is set to `true`.
-
-:::note
-
-Because of their extra tag, user-defined metrics cannot overwrite a built-in metric, even if they have the exact same name.
-
-:::
-
-For example, to monitor your filtering step, you can write code like this:
-
-```java
-p.readFrom(source)
- .filter(l -> {
- boolean pass = l % 2 == 0;
- if (!pass) {
- Metrics.metric("dropped").increment();
- }
- Metrics.metric("total").increment();
- return pass;
- })
- .writeTo(sink);
-```
-
-User-defined metrics can be used anywhere in pipeline definitions where custom code can be added. This means (just to name the most important ones): filtering, mapping and flat-mapping functions, various constituent functions of aggregations (accumulate, create, combine, deduct, export, and finish), key extraction function when grouping, in [custom batch sources](../../develop-build/building-data-pipelines/ingesting-data-from-sources/custom-batch-source.mdx), [custom stream sources](../../develop-build/building-data-pipelines/ingesting-data-from-sources/custom-stream-source.mdx), [custom sinks](../../develop-build/building-data-pipelines/sending-results-to-sinks/custom-sink.mdx), processors, and so on.
-
-### Exposing Metrics
-
-The following are the tools and interfaces to expose the metrics to the outside world:
-
-- Management Center
-- JMX
-- Diagnostics (see [here](#diagnostics))
-- Prometheus
-- Job API
-
-#### Management Center {/* #management-center-2 */}
-
-Management Center receives the metrics used for building its view about the Hazelcast cluster from the metrics system. The members collect their metrics with the frequency defined with `collection-frequency-seconds`, which is by default once in every 5 seconds.
-
-The member saves the collected metrics into a blob stored in an in-memory buffer. The blob then is retained for the time configured in the `retention-seconds` under the `management-center` configuration block. This is also 5 seconds by default, which means there is at most one blob stored by default. Management Center periodically reads the metrics from this buffer. A blob stays in the buffer until a newer blob replaces it.
-
-As mentioned earlier, the client metrics are also stored in these blobs on the member side with timestamps assigned to them on the client side.
-
-See the [Management Center documentation](/management-center/latest/deploy-manage/historical-metrics) for more information .
-
-#### Over JMX
-
-Hazelcast exposes all its metrics using the JVM's standard JMX interface. You can use tools such as **Java Mission Control** or **JConsole** to display them.
-
-The Hazelcast metrics are exposed under `com.hazelcast/Metrics/$INSTANCE_NAME` where `$INSTANCE_NAME` is the name of the member or client instance to which the JMX client is connected.
-
-And the Jet engine related beans are stored under `com.hazelcast.jet/Metrics//` node and the various tags they have form further sub-nodes in the resulting tree structure.
-
-#### Prometheus
-
-Prometheus is a popular monitoring system and time series database. Setting up monitoring via Prometheus consists of two steps. First step is exposing an HTTP endpoint with metrics. The second step is setting up Prometheus server, which pulls the metrics in a specified interval.
-
-The Prometheus javaagent is already part of the Hazelcast distribution and just needs to be enabled. Enable the agent and expose all metrics via HTTP endpoint by setting an environment variable `PROMETHEUS_PORT`, you can change the port to any available port:
-
-```bash
-PROMETHEUS_PORT=8080 bin/hz-start
-```
-
-You should see following line printed to the logs:
-
-```text
-Prometheus enabled on port 8080
-```
-
-The metrics are available on `http://localhost:8080`.
-
-For a guide on how to set up Prometheus server go to the [Prometheus website](https://prometheus.io/docs/prometheus/latest/getting_started).
-
-#### Via Job API
-
-The `Job` class has a method which returns a instance. It contains the latest known metric values for the job.
-
-This functionality has been developed primarily to give access to metrics of finished jobs, but can in fact be used for jobs in any state.
-
-For details on how to use and filter the metric values consult the . A simple example for computing the number of data items emitted by a certain vertex (here called `vertexA`), excluding items emitted to the snapshot, looks like this:
-
-```java
-Predicate vertexOfInterest =
- MeasurementPredicates.tagValueEquals(MetricTags.VERTEX, "vertexA");
-Predicate notSnapshotEdge =
- MeasurementPredicates.tagValueEquals(MetricTags.ORDINAL, "snapshot").negate();
-
-Collection measurements = jobMetrics
- .filter(vertexOfInterest.and(notSnapshotEdge))
- .get(MetricNames.EMITTED_COUNT);
-
-long totalCount = measurements.stream().mapToLong(Measurement::value).sum();
-```
-
-### Configuration
-
-The metrics collection is enabled by default. You can configure the metrics system declaratively or programmatically. The following is an example declarative configuration with the default values, on the member side:
-
-
-
-
-```xml
-
-
- 5
-
-
- 5
-
-```
-
-
-
-
-```yaml
-metrics:
- enabled: true
- management-center:
- enabled: true
- retention-seconds: 5
- jmx:
- enabled: true
- collection-frequency-seconds: 5
-```
-
-
-
-
-Note that all the metrics configuration values can be overridden with system properties. The properties are listed below:
-
-- `hazelcast.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
-- `hazelcast.metrics.mc.enabled`: Enables buffering the collected metrics for Management Center if set to `true`, disables it otherwise.
-- `hazelcast.metrics.mc.retention`: Duration, in seconds, for which the metrics are retained for Management Center.
-- `hazelcast.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
-- `hazelcast.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
-- `hazelcast.metrics.debug.enabled`: Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this property has no element in the `metrics` configuration. It is meant to be enabled only if diagnostics is enabled, because only the diagnostics feature consumes the debug metrics.
-
-The client configuration is similar. It lacks the Management Center configuration block (`management-center` configuration element), as shown below. This is because the clients are not connected to Management Center and the client metrics are sent to Management Center through a member to which the client is connected.
-
-
-
-
-```xml
-
-
- 5
-
-```
-
-
-
-
-```yaml
-metrics:
- enabled: true
- jmx:
- enabled: true
- collection-frequency-seconds: 5
-```
-
-
-
-
-Similarly to the member configuration, the client metrics configuration can be overridden with the following system properties:
-
-- `hazelcast.client.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
-- `hazelcast.client.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
-- `hazelcast.client.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
-- `hazelcast.client.metrics.debug.enabled`: Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this property has no element in the `metrics` configuration. It is meant to be enabled only if diagnostics is enabled, because only the diagnostics feature consumes the debug metrics.
-
-### Version Compatibility
-
-Note that the metric names may change between MINOR versions but not between PATCH versions.
-
-### Notes on the Performance
-
-The metrics system is designed with care to make the least possible impact on the performance of the cluster. Since the metrics collection takes place periodically with a few seconds frequency, the main focus is keeping allocation rates and memory footprint at minimum. Therefore, the blobs that store the metrics for Management Center are stored in the memory in a compressed format. The measurements, that use multiple `IMap`s to scale up the number of metrics, show that one blob occupies only a few KBs and it grows above 10 KB only if there are more than 1000 `IMap`s.
-
-The allocation rate of a metric collection cycle is also low. With both Management Center and JMX consumers enabled, the allocation rate with 100 `IMap`s is below 256 KB per cycle, and it grows above 1 MB with 1000 `IMap`s. This means that metrics collection does not increase the frequency of the garbage collection (GC) noticeably.
-
-While the metrics collection is considered GC friendly, it should be noted that the blobs are not recycled: configuring the retention time should be done with taking the frequency of the GC into account to prevent the blobs from getting promoted into the tenured region of the heap that in the end contributes to major GCs after time.
-
-## Member Statistics
-
-You can get various statistics from your distributed data structures via the Statistics API. Since the data structures are distributed in the cluster, the Statistics API provides statistics for the local portion (1/Number of Members in the Cluster) of data on each member.
-
-### Map Statistics
-
-To get local map statistics, use the `getLocalMapStats()` method from the `IMap` interface. This method returns a `LocalMapStats` object that holds local map statistics.
-
-Below is an example code where the `getLocalMapStats()` method and the `getOwnedEntryCount()` method get the number of entries owned by this member.
-
-{Ex_management_ExampleLocalMapStats_java_tag_lms}
-
-:::note
-
-The `getOwnedEntryMemoryCost()` method is also supported for NATIVE in-memory format.
-
-:::
-
-The following are some of the metrics that you can access via the `LocalMapStats` object:
-
-- Number of entries owned by the member (`getOwnedEntryCount()`).
-- Number of backup entries held by the member (`getBackupEntryCount()`).
-- Number of backups per entry (`getBackupCount()`).
-- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`).
-- Creation time of the map on the member (`getCreationTime()`).
-- Number of hits (reads) of the locally owned entries (`getHits()`).
-- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`).
-- Number of queries executed on the map (`getQueryCount()` and `getIndexedQueryCount()`) (it may be imprecise for queries involving partition predicates (`PartitionPredicate`) on the off-heap storage).
-
-See the to see all the metrics.
-
-### Map Index Statistics
-
-To access map index statistics, if you are using indexes to speed up map queries, use the `getIndexStats()` method of the `LocalMapStats` interface returned by `IMap.getLocalMapStats()`.
-
-Below is an example where the `getIndexStats()` method is used to examine an average selectivity of index hits:
-
-{Ex_management_ExampleLocalIndexStats_java_tag_lis}
-
-The following are some of the metrics that you can obtain via the `LocalIndexStats` interface:
-
-- Number of queries and hits into an index (`getQueryCount()` and `getHitCount()`): Number of hits and queries may differ since a single query may hit the same index more than once.
-- Average index hit latency measured in nanoseconds (`getAverageHitLatency()`)
-- Average index hit selectivity (`getAverageHitSelectivity`): Returned values are in the range from 0.0 to 1.0. Values close to 1.0 indicate a high selectivity meaning the index is efficient; values close to 0.0 indicate a low selectivity meaning the index efficiency is approaching an efficiency of a simple full scan.
-- Number of index insert, update and remove operations (`getInsertCount()`, `getUpdateCount()` and `getRemoveCount()`).
-- Total latencies of insert, update and remove operations (`getTotalInsertLatency()`, `getTotalUpdateLatency()`, `getTotalRemoveLatency()`): To compute an average latency divide the returned value by the number of operations of a corresponding type.
-- Memory cost of an index (`getMemoryCost()`): For on-heap storage, this memory cost metric value is a best-effort approximation and does not indicate a precise on-heap memory usage of an index.
-
-See the to see all the metrics.
-
-To compute an aggregated value of `getAverageHitSelectivity()` for all cluster members, you can use a simple averaging computation as shown below:
-
-```none
-(s(1) + s(2) + ... + s(n)) / n
-```
-
-In this computation, `s(i)` is an average hit selectivity on the member `i` and `n` is the total number of cluster members.
-
-A more advanced solution is to compute a weighted average as shown below:
-
-```none
-(s(1) * h(1) + s(2) * h(2) + ... + s(n) * h(n)) / (h(1) + h(2) + ... + h(n))
-```
-
-Here, `s(i)` is an average hit selectivity on the member `i`, `h(i)` is a hit count (`getHitCount()`) on the member `i` and `n` is the total number of cluster members. This more advanced solution may produce more precise results in unstable dynamic clusters where new members do not have enough statistics accumulated. The same technique may be applied to the `getAverageHitLatency()` metric.
-
-Accuracy and reliability notes:
-
-- For on-heap storage, values returned by `getAverageHitSelectivity()` may be 1% more or less than the actual selectivity. For example, if the actual selectivity is 0.9, the returned value could be between 0.89 and 0.91.
-- The values returned by `getQueryCount()` and `getHitCount()` may be imprecise for queries involving partition predicates (`PartitionPredicate`) on off-heap storage.
-- The index statistics may be imprecise after a new cluster member addition or the existing member removal until enough fresh statistics is accumulated on a new owner of an index or its partition.
-
-### Near Cache Statistics
-
-To get Near Cache statistics, use the `getNearCacheStats()` method from the `LocalMapStats` object. This method returns a `NearCacheStats` object that holds Near Cache statistics.
-
-Below is an example code where the `getNearCacheStats()` method and the `getRatio` method from `NearCacheStats` get a Near Cache hit/miss ratio.
-
-{Ex_management_ExampleNearCacheStats_java_tag_ncs}
-
-The following are some of the metrics that you can access via the `NearCacheStats` object (applies to both client and member Near Caches):
-
-- creation time of the Near Cache on the member (`getCreationTime()`)
-- number of entries owned by the member (`getOwnedEntryCount()`)
-- memory cost (number of bytes) of owned entries in the Near Cache (`getOwnedEntryMemoryCost()`)
-- number of hits (reads) of the locally owned entries (`getHits()`)
-
-See the to see all the metrics.
-
-### `MultiMap` Statistics
-
-To get `MultiMap` statistics, use the `getLocalMultiMapStats()` method from the `MultiMap` interface. This method returns a `LocalMultiMapStats` object that holds local `MultiMap` statistics.
-
-Below is an example code where the `getLocalMultiMapStats()` method and the `getLastUpdateTime` method from `LocalMultiMapStats` get the last update time.
-
-{Ex_management_ExampleMultiMapStats_java_tag_mms}
-
-The following are some of the metrics that you can access via the `LocalMultiMapStats` object:
-
-- number of entries owned by the member (`getOwnedEntryCount()`)
-- number of backup entries held by the member (`getBackupEntryCount()`)
-- number of backups per entry (`getBackupCount()`)
-- memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
-- creation time of the multimap on the member (`getCreationTime()`)
-- number of hits (reads) of the locally owned entries (`getHits()`)
-- number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
-
-See the to see all the metrics.
-
-### Queue Statistics
-
-To get local queue statistics, use the `getLocalQueueStats()` method from the `IQueue` interface. This method returns a `LocalQueueStats` object that holds local queue statistics.
-
-Below is an example code where the `getLocalQueueStats()` method and the `getAverageAge` method from `LocalQueueStats` get the average age of items.
-
-{Ex_management_ExampleQueueStats_java_tag_qs}
-
-The following are some of the metrics that you can access via the `LocalQueueStats` object:
-
-- number of owned items in the member (`getOwnedItemCount()`)
-- number of backup items in the member (`getBackupItemCount()`)
-- minimum and maximum ages of the items in the member (`getMinAge()` and `getMaxAge()`)
-- number of offer, put and add operations (`getOfferOperationCount()`)
-
-See the to see all the metrics.
-
-### Topic Statistics
-
-To get local topic statistics, use the `getLocalTopicStats()` method from the `ITopic` interface. This method returns a `LocalTopicStats` object that holds local topic statistics.
-
-Below is an example code where the `getLocalTopicStats()` method and the `getPublishOperationCount` method from `LocalTopicStats` get the number of publish operations.
-
-{Ex_management_ExampleTopicStats_java_tag_ts}
-
-The following are the metrics that you can access via the `LocalTopicStats` object:
-
-- creation time of the topic on the member (`getCreationTime()`)
-- total number of published messages of the topic on the member (`getPublishOperationCount()`)
-- total number of received messages of the topic on the member (`getReceiveOperationCount()`)
-
-See the to see all the metrics.
-
-### Executor Statistics
-
-To get local executor statistics, use the `getLocalExecutorStats()` method from the `IExecutorService` interface. This method returns a `LocalExecutorStats` object that holds local executor statistics.
-
-Below is an example code where the `getLocalExecutorStats()` method and the `getCompletedTaskCount` method from `LocalExecutorStats` get the number of completed operations of the executor service.
-
-{Ex_management_ExampleExecutorStats_java_tag_es}
-
-The following are some of the metrics that you can access via the `LocalExecutorStats` object:
-
-- number of pending operations of the executor service (`getPendingTaskCount()`)
-- number of started operations of the executor service (`getStartedTaskCount()`)
-- number of completed operations of the executor service (`getCompletedTaskCount()`)
-
-See the to see all the metrics.
-
-## Health Check and Monitoring
-
-Hazelcast provides the following options for monitoring the health of your Hazelcast clusters:
-
-- HTTP-based health check endpoint
-- Health check script
-- Health monitoring utility
-
-### Enabling the Health Check Endpoint and Script {/* #enable-hcheck */}
-
-To use the health check endpoint and script, enable either of the following configuration options:
-
-- Using the `network` configuration element:
-
-
-
-
- ```xml
-
- ...
-
-
-
-
-
- ...
-
- ```
-
-
-
-
- ```yaml
- hazelcast:
- network:
- rest-api:
- enabled: true
- endpoint-groups:
- HEALTH_CHECK:
- enabled: true
- ```
-
-
-
-- Using the `advanced-network` configuration element:
-
-
-
-
- ```xml
-
- ...
-
-
-
-
-
-
-
- ...
-
- ```
-
-
-
-
- ```yaml
- hazelcast:
- advanced-network:
- enabled: true
- rest-server-socket-endpoint-config:
- endpoint-groups:
- HEALTH_CHECK:
- enabled: true
- ```
-
-
-
-
-### Health Check
-
-You can use Hazelcast's HTTP-based health check implementation to get basic information about the cluster and member on which it is launched.
-
-To use the HTTP-based health check:
-
-1. Enable the [health check endpoint](#enable-hcheck).
-2. Launch the health check from your preferred browser: `http://:5701/hazelcast/health`.
-
- The health check retrieves information about your cluster's health status, such as member state, cluster state, cluster size, etc. For example:
-
- ```none
- {
- "nodeState": "ACTIVE",
- "clusterState": "ACTIVE",
- "clusterSafe": false,
- "migrationQueueSize": 0,
- "clusterSize": 3
- }
- ```
-
- - `nodeState`: State of the member on which the health check is launched. See [Cluster and Member States](./cluster-member-states.mdx#member-states) to learn more about the states of cluster members.
- - `clusterState`: State of cluster that the health-checked member belongs to. See [Cluster and Member States](./cluster-member-states.mdx#cluster-states) to learn more about cluster states.
- - `clusterSafe`: Whether the queried member is safe: there are no active partition migrations, and all backups are in sync for each partition that the member owns. See [Shutting Down Members and Clusters](./shutdown.mdx#ensuring-members-and-clusters-are-in-a-safe-state) to learn how to check the safety of active clusters.
-
- :::note
-
- The `clusterSafe` indicator is useful when your cluster is in a passive state. If the cluster is in an active state, the indicator value continually changes due to the dynamic state of the cluster. Also, checking the cluster safety triggers additional operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load may impact cluster performance.
-
- :::
- - `migrationQueueSize`: A count of the remaining migration tasks while the cluster data is being repartitioned. See [Data Partitioning](../../develop-build/architecture/data-partitioning.mdx) to learn about Hazelcast's partitioning mechanism.
- - `clusterSize`: A count of the cluster member count.
-
-### Using the hz-healthcheck Script {/* #health-check-script */}
-
-The `hz-healthcheck` script comes with the Hazelcast package. Internally, it uses the HTTP-based health check endpoint.
-
-To run the `hz-healthcheck` script:
-
-1. Enable the [health check endpoint](#enable-hcheck).
-2. Run the `hz-healthcheck` script with parameters using the following format:
-
- ```none
- ./hz-healthcheck
- ```
-
-You can use the following parameters to perform checks and operations on your Hazelcast clusters:
-
-
-
-
-
-
-
-
-
-| Parameter |
-Default Value |
-Description |
-
-
-
-
-| `-o` or `--operation` |
-`all` |
-
-
-Health check operation. It can be `all`, `node-state`, `cluster-state`, `cluster-safe`, `migration-queue-size` and `cluster-size`.
-
-:::note
-
-The `cluster-safe` option is useful when your cluster is in a passive state. If the cluster is in an active state, the indicator value continually changes due to the dynamic state of the cluster. Also, checking the cluster safety triggers additional operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load may impact cluster performance.
-
-:::
-
- |
-
-
-| `-a` or `--address` |
-`127.0.0.1` |
-Defines the IP address of a cluster member. If you want to manage your cluster remotely, you should use this parameter to provide the IP address of a member to this script. |
-
-
-| `-p` or `--port` |
-`5701` |
-Defines on which port Hazelcast is running on the local or remote machine. |
-
-
-| `-h` or `--help` |
-*no argument expected* |
-Lists the parameter descriptions. It works only as the first parameter. |
-
-
-| `-d` or `--debug` |
-*no argument expected* |
-Prints error output. |
-
-
-| `--https` |
-*no argument expected* |
-Uses HTTPS protocol for REST calls. |
-
-
-| `--cacert` |
-*set of well-known CA certificates* |
-Defines the path of the trusted PEM-encoded certificate file. It is used to verify member certificates. |
-
-
-| `--cert` |
-None |
-Defines the path of the PEM-encoded client certificate file. Only needed when client certificate authentication is used. |
-
-
-| `--key` |
-None |
-Defines the path of the PEM-encoded client private key file. Only needed when client certificate authentication is used. |
-
-
-| `--insecure` |
-*no argument expected* |
-Disables member certificate verification. |
-
-
-
-
-**Example 1: Checking the state of members in a healthy cluster:**
-
-If the member is deployed under the address `127.0.0.1:5701` and it is in the healthy state, the following output is expected:
-
-```none
-./hz-healthcheck -a 127.0.0.1 -p 5701 -o node-state
-ACTIVE
-```
-
-**Example 2: Checking the safety of a non-existent cluster:**
-
-If the cluster has no members running under the address `127.0.0.1:5701`, the following output is expected:
-
-```none
-./hz-healthcheck -a 127.0.0.1 -p 5701 -o cluster-safe
-Error while checking health of hazelcast cluster on ip 127.0.0.1 on port 5701.
-Please check that cluster is running and that health check is enabled in REST API configuration.
-```
-
-### Health Monitor
-
-The health monitor periodically prints logs in your console to provide information about your member's state. By default, it is enabled when you start your cluster.
-
-You can set the interval of health monitoring using the `hazelcast.health.monitoring.delay.seconds` system property. Its default value is 20 seconds.
-
-The system property `hazelcast.health.monitoring.level` is used to configure the monitoring's log level. If it is set to OFF, the monitoring is disabled. If it is set to NOISY, monitoring logs are always printed for the defined intervals. When it is SILENT, which is the default value, monitoring logs are printed only when the values exceed some predefined thresholds. These thresholds are related to memory and CPU percentages, and can be configured using the `hazelcast.health.monitoring.threshold.memory.percentage` and `hazelcast.health.monitoring.threshold.cpu.percentage` system properties, whose default values are both 70. Monitoring logs are also printed when pending invocations exceed 70% or a count of 1000.
-
-The following is an example monitoring output
-
-```none vars
-Sep 08, 2017 5:02:28 PM com.hazelcast.internal.diagnostics.HealthMonitor
-
-INFO: [192.168.2.44]:5701 [host-name] [{full-version}] processors=4, physical.memory.total=16.0G, physical.memory.free=5.5G, swap.space.total=0, swap.space.free=0, heap.memory.used=102.4M,
-
-heap.memory.free=249.1M, heap.memory.total=351.5M, heap.memory.max=3.6G, heap.memory.used/total=29.14%, heap.memory.used/max=2.81%, minor.gc.count=4, minor.gc.time=68ms, major.gc.count=1,
-
-major.gc.time=41ms, load.process=0.44%, load.system=1.00%, load.systemAverage=3.15, thread.count=97, thread.peakCount=98, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0,
-
-executor.q.client.size=0, executor.q.client.query.size=0, executor.q.client.blocking.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.size=0,
-
-executor.q.priorityOperation.size=0, operations.completed.count=226, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0,
-
-operations.running.count=0, operations.pending.invocations.percentage=0.00%, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=1,
-
-connection.active.count=2, client.connection.count=1, connection.count=1
-```
-
-:::note
-
-See the [Configuring with System Properties section](../configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to set system properties.
-
-:::
-
-### Using Health Check on F5 BIG-IP LTM
-
-The F5® BIG-IP® Local Traffic Manager™ (LTM) can be used as a load balancer for Hazelcast cluster members. This section describes how you can configure a health monitor to check the Hazelcast member states.
-
-#### Monitor Types
-
-Following types of monitors can be used to track Hazelcast cluster members:
-
-- HTTP Monitor: A custom HTTP monitor enables you to send a command to Hazelcast's Health Check API using HTTP requests. This is a good choice if SSL/TLS is not enabled in your cluster.
-- HTTPS Monitor: A custom HTTPS monitor enables you to verify the health of Hazelcast cluster members by sending a command to Hazelcast's Health Check API using Secure Socket Layer (SSL) security. This is a good choice if SSL/TLS is enabled in your cluster.
-- `TCP_HALF_OPEN` monitor: A `TCP_HALF_OPEN` monitor is a basic monitor that only checks that the TCP port used by Hazelcast is open and responding to connection requests. It does not interact with the Hazelcast Health Check API. The `TCP_HALF_OPEN` monitor can be used with or without SSL/TLS.
-
-#### Configuration {/* #configuration-2 */}
-
-After signing in to the BIG-IP LTM User Interface, follow F5's [^instructions](https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-monitors-reference-11-6-0/3.html#unique_859105660) to create a new monitor. Next, apply the following configuration according to your monitor type.
-
-##### HTTP/HTTPS Monitors
-
-:::note
-
-You must enable the Hazelcast health check for HTTP/HTTPS monitors to run. Enable the endpoint by using the `advanced-network` or the `network` configuration element. See the [Health Check and Monitoring section](#health-check-and-monitoring).
-
-:::
-
-**Using a GET request:**
-
-- Set the "Send String" as follows:
-
- ```none
- GET /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
- ```
-- Set the "Receive String" as follows:
-
- ```none
- {"nodeState":"ACTIVE","clusterState":"ACTIVE","clusterSafe":true,"migrationQueueSize":0,"clusterSize":([^\s]+)}
- ```
-
-The BIG-IP LTM monitors accept regular expressions in these strings allowing you to configure them as needed. The example provided above remains green even if the cluster size changes.
-
-**Using a HEAD request:**
-
-- Set the "Send String" as follows:
-
- ```none
- HEAD /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
- ```
-- Set the "Receive String" as follows:
-
- ```none
- 200 OK
- ```
-
-As you can see, the HEAD request only checks for a `200 OK` response. A Hazelcast cluster member sends this status code whenever its REST endpoint handles the request. The status code does not depend on the member state or the cluster state. This provides a basic health check. For increased flexibility, we recommend using the GET request API.
-
-##### `TCP_HALF_OPEN` Monitors
-
-- Set the "Type" as `TCP Half Open`.
-- Optionally, set the "Alias Service Port" as the port of Hazelcast cluster member if you want to specify the port in the monitor
-
-## Diagnostics
-
-Hazelcast offers an extended set of diagnostics plugins for both Hazelcast members and clients. A dedicated log file is used to write the diagnostics content, and a rolling file approach is used to prevent taking up too much disk space.
-
-### Enabling Diagnostics Logging
-
-To enable diagnostics logging, you should specify the following properties on the member side:
-
-
-
-
-```xml
-
- ...
-
- true
- 30
- 30
- 30
- 60
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.enabled: true
- hazelcast.diagnostics.invocation.sample.period.seconds: 30
- hazelcast.diagnostics.pending.invocations.period.seconds: 30
- hazelcast.diagnostics.slowoperations.period.seconds: 30
- hazelcast.diagnostics.storeLatency.period.seconds: 60
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.enabled", "true" )
- .setProperty( "hazelcast.diagnostics.invocation.sample.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.pending.invocations.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.slowoperations.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.storeLatency.period.seconds", "60" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.enabled=true
- -Dhazelcast.diagnostics.invocation.sample.period.seconds=30
- -Dhazelcast.diagnostics.pending.invocations.period.seconds=30
- -Dhazelcast.diagnostics.slowoperations.period.seconds=30
- -Dhazelcast.diagnostics.storeLatency.period.seconds=60
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.enabled=true -Dhazelcast.diagnostics.invocation.sample.period.seconds=30 -Dhazelcast.diagnostics.pending.invocations.period.seconds=30 -Dhazelcast.diagnostics.slowoperations.period.seconds=30 -Dhazelcast.diagnostics.storeLatency.period.seconds=60"
-```
-
-
-
-
-On the Java client side, it is enough to set the following properties:
-
-- `hazelcast.diagnostics.enabled=true`
-
-### Diagnostics Log File
-
-You can use the following property to specify the location of the diagnostics log file:
-
-
-
-
-```xml
-
- ...
-
- /your/log/directory
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.directory: /your/log/directory
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.directory", "/your/log/directory" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.directory=/your/log/directory
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.directory=/your/log/directory"
-```
-
-
-
-
-The name of the log file has the following format:
-
-```none
-diagnostics-_--.log
-```
-
-You can set a custom string prefix for the name of log file using the following property.
-
-
-
-
-```xml
-
- ...
-
- foobar
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.filename.prefix: foobar
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.filename.prefix", "foobar" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.filename.prefix=foobar
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.filename.prefix=foobar"
-```
-
-
-
-
-The content format of the diagnostics log file is depicted below:
-
-```none
- BuildInfo[
- ]
- SystemProperties[
- ]
- ConfigProperties[
- ]
- Metric[=]
- Metric[=]
- SlowOperations[
- ]
- HazelcastInstance[
- ]
-...
-...
-...
-```
-
-A rolling file approach is used to prevent creating too much data. By default 10 files of 50 MB each are allowed to exist. You can set the size of each file and number of files using the following properties.
-
-
-
-
-```xml
-
- ...
-
- 100
- 5
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.max.rolled.file.size.mb: 100
- hazelcast.diagnostics.max.rolled.file.count: 5
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.max.rolled.file.size.mb", "100" )
- .setProperty( "hazelcast.diagnostics.max.rolled.file.count", "5" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.max.rolled.file.size.mb=100
- -Dhazelcast.diagnostics.max.rolled.file.count=5
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.max.rolled.file.size.mb=100 -Dhazelcast.diagnostics.max.rolled.file.count=5"
-```
-
-
-
-
-### Diagnostics Output Options
-
-You can use the following property to specify the output type of diagnostics.
-
-
-
-
-```xml
-
- ...
-
- STDOUT
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.stdout: STDOUT
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.stdout", "STDOUT" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.stdout=STDOUT
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.stdout=STDOUT"
-```
-
-
-
-
-Available types:
-
-- `FILE`: Outputs the diagnostics to a [set of files](#diagnostics-log-file) managed by Hazelcast. This is the default type.
-- `STDOUT`: Outputs the diagnostics to the standard output.
-- `LOGGER`: Outputs the diagnostics to the Hazelcast logger; by this way you can use the [logging configuration](../logging.mdx) to forward the diagnostics to any output supported by the logging framework and apply additional configurations. You can see an example in the next section below.
-
- :::note
-
- Using the logging framework introduces a slight overhead in comparison to using other output types but allows for greater flexibility.
-
- :::
-
-### Diagnostics using Logging Frameworks
-
-Hazelcast does not enforce any logging framework. You can always use your logging framework to configure the diagnostics. You can forward the logs to a logging framework by setting the `hazelcast.diagnostics.stdout` property to `LOGGER`:
-
-
-
-
-```xml
-
- ...
-
- LOGGER
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.stdout: LOGGER
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.stdout", "LOGGER" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.stdout=LOGGER
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.stdout=LOGGER"
-```
-
-
-
-
-Above configuration forwards the logs to the `com.hazelcast.diagnostics` logger so you can write them to a file by referencing one of the configured appenders. The following is an example for Log4j2.
-
-```xml
-
-
-
-```
-
-By configuring [`TimeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) and [`SizeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) for the appender, you can control the size and rolling behavior as you want.
-
-:::note
-
-The diagnostic logs have the `DEBUG` level by default; if you do not want to see them in the member logs while they are running in the `DEBUG` mode for the root level appender, you need to change the level to `INFO` for the `com.hazelcast.diagnostics` logger. For Log4j2, see the [configuration documentation](https://logging.apache.org/log4j/2.x/manual/configuration.html) for more details.
-
-:::
-
-### Diagnostics Plugins
-
-As it is stated in the introduction of this section and shown in the log file content above, diagnostics utility consists of plugins such as `BuildInfo`, `SystemProperties` and `HazelcastInstance`.
-
-#### `BuildInfo`
-
-It shows the detailed Hazelcast build information including the Hazelcast release number, `Git` revision number and whether you have Hazelcast Enterprise or not.
-
-#### `SystemProperties`
-
-It shows all the properties and their values in your system used by and configured for your Hazelcast installation. These are the properties starting with `java` (excluding `java.awt`), `hazelcast`, `sun` and `os`. It also includes the arguments that are used to startup the JVM.
-
-#### `ConfigProperties`
-
-It shows the Hazelcast properties and their values explicitly set by you in the declarative or programmatic configuration. It does not show properties set only on the command line with `-D`.
-
-#### Metrics {/* #diagnostics-metrics */}
-
-It shows a comprehensive log of what is happening in your Hazelcast system. See the [Metrics section](#metrics) for more information.
-
-You can configure the frequency of dumping information to the log file using the following property:
-
-- `hazelcast.diagnostics.metrics.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
-
-:::note
-
-See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
-
-:::
-
-#### `SlowOperations`
-
-It shows the slow operations and invocations, See the [`SlowOperationDetector` section](../../develop-build/best-practices/overview.mdx) for more information.
-
-#### Invocations
-
-It shows all kinds of statistics about current and past invocations including current pending invocations, history of invocations and slow history, i.e., all samples where the invocation took more than the defined threshold. Slow history does not only include the invocations where the operations took a lot of time, but it also includes any other invocations that have been obstructed.
-
-Using the following properties, you can configure the frequency of scanning all pending invocations and the threshold that makes an invocation to be considered as slow:
-
-- `hazelcast.diagnostics.invocation.sample.period.seconds`: Set a value in seconds. Its default value is `0`, which disables the plugin.
-- `hazelcast.diagnostics.invocation.slow.threshold.seconds`: Set a value in seconds. Its default value is `5` seconds.
-
-#### `InvocationProfiler`
-
-It shows invocation latencies for each operation. See an example output below:
-
-```none
-06-05-2019 17:15:29 1557152129944 InvocationProfiler[
- com.hazelcast.map.impl.query.QueryOperation[
- count=400
- totalTime(us)=56,000
- avg(us)=140
- max(us)=3,000
- latency-distribution[
- 64..127us=346
- 512..1023us=53
- 2048..4095us=1]]
- com.hazelcast.map.impl.operation.GetOperation[
- count=100
- totalTime(us)=19,000
- avg(us)=190
- max(us)=1,000
- latency-distribution[
- 64..127us=81
- 512..1023us=19]]]
-```
-
-You can control the frequency of scanning all invocations using the following system property:
-
-- `hazelcast.diagnostics.invocation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
-
-You can increase this period if you would like to decrease the logging noise.
-
-#### `OperationProfiler`
-
-It measures the time an operation runs on an operation thread; if the operation is a blocking one or being offloaded, only the time on the operation thread is measured. See an example output below:
-
-```none
-06-05-2021 14:53:48 1595332428248 OperationsProfiler[
- com.hazelcast.map.impl.operation.GetOperation[
- count=502,501
- totalTime(us)=1,690,645
- avg(us)=3
- max(us)=462
- latency-distribution[
- 1..2us=875
- 2..4us=359,876
- 4..8us=131,775
- 8..16us=8,720
- 16..32us=887
- 32..64us=178
- 64..128us=122
- 128..256us=62
- 256..512us=6]]
-```
-
-You can control the frequency of scanning all operations using the following system property:
-
-- `hazelcast.diagnostics.operation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
-
-#### `HazelcastInstance`
-
-It shows the basic state of your Hazelcast cluster including the count and addresses of current members and the address of oldest cluster member. It is useful to get a fast impression of the cluster without needing to analyze a lot of data.
-
-You can configure the frequency at which the cluster information is dumped to the log file using the following property:
-
-- `hazelcast.diagnostics.memberinfo.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
-
-#### `EventQueue`
-
-It checks the event queues in the data structures and samples the event types if the queue size is above a certain threshold. It is useful to figure out why the event queue is running full.
-
-- `hazelcast.diagnostics.event.queue.period.seconds`: Interval, in seconds, between the runs in which this plugin gathers information and writes it to the diagnostics log file. When set to `0` (its default value), it is disabled.
-- `hazelcast.diagnostics.event.queue.threshold`: Minimum number of events in the queue before it is being sampled. Its default value is `1000`.
-- `hazelcast.diagnostics.event.queue.samples`: Number of samples to take from the event queue. Increasing the number of samples gives more accuracy of the content, but it has a negative performance effect. Its default value is `100`.
-
-An example output for a Hazelcast map is as follows:
-
-```none
-17-04-2019 17:36:37 EventQueues[
- worker=1[
- eventCount=441
- sampleCount=100
- samples[
- IMap 'myMap' ADDED sampleCount=51 51.000%
- IMap 'myMap' REMOVED sampleCount=49 49.000%]]
-```
-
-#### `SystemLog`
-
-It shows the activities in your cluster including when a connection/member is added or removed and if there is a change in the lifecycle of the cluster. It also includes the reasons for connection closings.
-
-You can enable or disable the system log diagnostics plugin, and configure whether it shows information about partition migrations using the following properties:
-
-- `hazelcast.diagnostics.systemlog.enabled`: Its default value is `true`.
-- `hazelcast.diagnostics.systemlog.partitions`: Its default value is `false`. If you enable this, you may get a lot of log entries if you have many partitions.
-
-#### `StoreLatency`
-
-It shows statistics including the count of methods for each store (`load`, `loadAll`, `loadAllKeys`, etc.), average and maximum latencies for each store method calls and latency distributions for each store. The following is an example output snippet as part of the diagnostics log file for Hazelcast `MapStore`:
-
-```none
-17-9-2019 13:12:34 MapStoreLatency[
- map[
- loadAllKeys[
- count=1
- totalTime(us)=8
- avg(us)=8
- max(us)=8
- latency-distribution[
- 0..99us=1]]
- load[
- count=100
- totalTime(us)=4,632,190
- avg(us)=46,321
- max(us)=99,178
- latency-distribution[
- 0..99us=1
- 1600..3199us=3
- 3200..6399us=3
- 6400..12799us=7
- 12800..25599us=13
- 25600..51199us=32
- 51200..102399us=41]]]]
-```
-
-According to your store usage, a similar output can be seen for Hazelcast JCache, `Queue`, and `Ringbuffer` data structures with persistent data stores.
-
-You can control the `StoreLatency` plugin using the following properties:
-
-- `hazelcast.diagnostics.storeLatency.period.seconds`: The frequency this plugin is writing the collected information to the disk. By default it is disabled. A sensible production value would be `60` seconds.
-- `hazelcast.diagnostics.storeLatency.reset.period.seconds`: The period of resetting the statistics. If, for example, it is set as 300 (5 minutes), all the statistics are cleared for every 5 minutes. By default it is 0, meaning that statistics are not reset.
-
-#### `OperationHeartbeats`
-
-It shows the deviation between member/member operation heartbeats. Each member, regardless if there is an operation running on behalf of that member, sends an operation heartbeat to every other member. It contains a listing of all `callId`s of the running operations from a given member. This plugin also works fine between `members/lite-members`.
-
-Because this operation heartbeat is sent periodically; by default 1/4 of the operation call timeout of 60 seconds, we would expect an operation heartbeat to be received every 15 seconds. Operation heartbeats are high priority packets (so they overtake regular packets) and are processed by an isolated thread in the invocation monitor. If there is any deviation in the frequency of receiving these packets, it may be due to the problems such as network latencies.
-
-The following shows an example of the output where an operation heartbeat has not been received for 37 seconds:
-
-```none
-20-07-2017 11:12:55 OperationHeartbeat[
- member[10.212.1.119]:5701[
- deviation(%)=146.6666717529297
- noHeartbeat(ms)=37,000
- lastHeartbeat(ms)=1,500,538,338,603
- lastHeartbeat(date-time)=20-07-2017 11:12:18
- now(ms)=1,500,538,375,603
- now(date-time)=20-07-2017 11:12:55]]
-```
-
-The `OperationHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
-
-You can control the `OperationHeartbeats` plugin using the following properties:
-
-- `hazelcast.diagnostics.operation-heartbeat.seconds`: The frequency this plugin is writing the collected information to the disk. It is configured to be 10 seconds by default. 0 disables the plugin.
-- `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is 33. For example, with a default 60 call timeout and operation heartbeat interval being 15 seconds, the maximum deviation with a deviation-percentage of 33, is 5 seconds. So there is no problem if a packet is arrived after 19 seconds, but if it arrives after 21 seconds, then the plugin renders.
-
-#### `MemberHeartbeats`
-
-This plugin looks a lot like the `OperationHeartbeats` plugin, but instead of relying on operation heartbeats to determine the deviation, it relies on member/member cluster heartbeats. Every member sends a heartbeat to other members periodically (by default every 5 seconds).
-
-Just like the `OperationHeartbeats`, the `MemberHeartbeats` plugin can be used to detect if there are networking problems long before they actually lead to problems such as split-brain syndromes.
-
-The following shows an example of the output where no member/member heartbeat has been received for 11 seconds:
-
-```none
-20-07-2017 19:32:22 MemberHeartbeats[
- member[10.212.1.119]:5701[
- deviation(%)=120.0
- noHeartbeat(ms)=11,000
- lastHeartbeat(ms)=1,500,568,331,645
- lastHeartbeat(date-time)=20-07-2017 19:32:11
- now(ms)=1,500,568,342,645
- now(date-time)=20-07-2017 19:32:22]]
-```
-
-The `MemberHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
-
-You can control the `MemberHeartbeats` plugin using the following properties:
-
-- `hazelcast.diagnostics.member-heartbeat.period.seconds`: The frequency this plugin is writing the collected information to the disk. It is configured to be 10 seconds by default. 0 disables the plugin.
-- `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is 100. For example, if the interval of member/member heartbeats is 5 seconds, a 100% deviation is fine with heartbeats arriving up to 5 seconds after they are expected. So a heartbeat arriving after 9 seconds is not rendered, but a heartbeat received after 11 seconds is rendered.
-
-#### `OperationThreadSamples`
-
-This plugin samples the operation threads and checks the running operations/tasks. Hazelcast has the [slow operation detector](../../develop-build/best-practices/overview.mdx) which is useful for slow operations. But it may not be efficient for high volumes of not too slow operations. Using the `OperationThreadSamples` plugin it is more clear to see which operations are actually running.
-
-You can control the `OperationThreadSamples` plugin using the following properties:
-
-- `hazelcast.diagnostics.operationthreadsamples.period.seconds`: The frequency this plugin is writing the collected information to the disk. An efficient value for production would be 30, 60, or more seconds. 0, which is the default value, disables the plugin.
-- `hazelcast.diagnostics.operationthreadsamples.sampler.period.millis`: The period in milliseconds between taking samples. The lower the value, the higher the overhead but also the higher the precision. Its default value is 100 ms.
-- `hazelcast.diagnostics.operationthreadsamples.includeName`: Specifies whether the data structures' name pointed to by the operation (if available) should be included in the name of the samples. Its default value is false.
-
-The following shows an example of the output when the property `hazelcast.diagnostics.operationthreadsamples.includeName` is false:
-
-```none
-28-08-2019 07:40:07 1535442007330 OperationThreadSamples[
- Partition[
- com.hazelcast.map.impl.operation.MapSizeOperation=304623 85.6927%
- com.hazelcast.map.impl.operation.PutOperation=33061 9.300304%
- com.hazelcast.map.impl.operation.GetOperation=17799 5.0069904%]
- Generic[
- com.hazelcast.internal.nio.Packet=1767 27.361412%
- com.hazelcast.internal.cluster.impl.operations.JoinRequestOp=821 12.712914%
- com.hazelcast.spi.impl.operationservice.impl.operations.PartitionIteratingOperation=278 4.3047385%
- com.hazelcast.internal.cluster.impl.operations.HeartbeatOp=93 1.4400743%
- com.hazelcast.internal.cluster.impl.operations.OnJoinOp=89 1.3781357%
- com.hazelcast.internal.cluster.impl.operations.WhoisMasterOp=75 1.1613503%]]
-```
-
-As can be seen above, the `MapSizeOperations` run on the operation threads most of the time.
-
-#### `WAN`
-
-
-
-The WAN diagnostics plugin provides information about the WAN replication.
-
-It is disabled by default and can be configured using the following property:
-
-- `hazelcast.diagnostics.wan.period.seconds`: The frequency this plugin is writing the collected information to the disk. 0 disables the plugin.
-
-The following shows an example of the output for a member with the WAN replication configuration `london` and the publisher `tokyo`:
-
-```none
-01-01-2026 12:00:00 1767268800000 WAN[
- syncCount=0
- updateCount=0
- removeCount=0
- syncState[
- status=READY
- activeWanConfigName=null
- activePublisherName=null]
- london[
- tokyo[
- outboundQueueSize=0
- totalPublishedEventCount=1,000
- totalPublishLatency=2,010
- connected=true
- state=REPLICATING
- mapSentEvents-orders[
- updateCount=1,000
- removeCount=0
- syncCount=0
- droppedCount=0]
- updateCount=1,000
- removeCount=0
- syncCount=0
- droppedCount=0]]]
-```
-
-## Monitoring with JMX
-
-You can monitor your Hazelcast members via the JMX protocol.
-
-To achieve this, first add the following system properties to enable the [JMX agent](http://download.oracle.com/javase/1.5.0/docs/guide/management/agent.html):
-
-- `-Dcom.sun.management.jmxremote`
-- `-Dcom.sun.management.jmxremote.port=` (to specify JMX port, the default is `1099`) (**optional**)
-- `-Dcom.sun.management.jmxremote.authenticate=false` (to disable JMX auth) (**optional**)
-
-Then enable JMX by setting the `hazelcast.jmx` property to `true` using the following configuration:
-
-
-
-
-```xml
-
- ...
-
- true
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- properties:
- hazelcast.jmx: true
-```
-
-
-
-
-```java
-config.setProperty("hazelcast.jmx", "true");
-```
-
-
-
-
-```xml
-
- true
-
-```
-
-
-
-
-```shell
--Dhazelcast.jmx=true
-```
-
-
-
-
-### MBean Naming for Hazelcast Data Structures
-
-Hazelcast set the naming convention for MBeans as follows:
-
-```java
-final ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
-```
-
-The MBeans name consists of the Hazelcast instance name, the type of the data structure and that data structure's name. In the above example, `_hzInstance_1_dev` is the instance name, we connect to an `IMap` with the name `trial`.
-
-### Connecting to JMX Agent
-
-One of the ways you can connect to JMX agent is using JConsole, jvisualvm (with MBean plugin) or another JMX compliant monitoring tool.
-
-The other way to connect is to use a custom JMX client.
-
-First, you need to specify the URL where the Hazelcast JMX service is running. See the following code snippet:
-
-```java
-// Parameters for connecting to the JMX Service
-int port = 1099;
-String hostname = InetAddress.getLocalHost().getHostName();
-JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://" + hostname + ":" + port + "/jndi/rmi://" + hostname + ":" + port + "/jmxrmi");
-```
-
-The `port` in the above example should be the one that you define while setting the JMX remote port number (if different than the default port `1099`).
-
-Then use the URL you acquired to connect to the JMX service and get the `JMXConnector` object. Using this object, get the `MBeanServerConnection` object. The `MBeanServerConnection` object enables you to use the MBean methods. See the example code below.
-
-```java
-// Connect to the JMX Service
-JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
-MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
-```
-
-Once you get the `MBeanServerConnection` object, you can call the getter methods of MBeans as follows:
-
-```java
-System.out.println("\nTotal entries on map " + mbsc.getAttribute(mapMBeanName, "name") + " : "
- + mbsc.getAttribute(mapMBeanName, "localOwnedEntryCount"));
-```
-
-### JMX API Per Member
-
-Hazelcast members expose various management beans which include statistics about distributed data structures and the states of Hazelcast member internals.
-
-The attributes whose names start with `local` are local to the member and do not reflect cluster-wide values.
-
-:::note
-
-See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
-
-:::
-
-You can find the JMX API definition below with descriptions and the API methods in parenthesis.
-
-**Atomic Long (`IAtomicLong`)**
-
-- Name ( `name` )
-- Current Value ( `currentValue` )
-- Set Value ( `set(v)` )
-- Add value and Get ( `addAndGet(v)` )
-- Compare and Set ( `compareAndSet(e,v)` )
-- Decrement and Get ( `decrementAndGet()` )
-- Get and Add ( `getAndAdd(v)` )
-- Get and Increment ( `getAndIncrement()` )
-- Get and Set ( `getAndSet(v)` )
-- Increment and Get ( `incrementAndGet()` )
-- Partition key ( `partitionKey` )
-
-**Atomic Reference ( `IAtomicReference` )**
-
-- Name ( `name` )
-- Partition key ( `partitionKey`)
-
-**Countdown Latch ( `ICountDownLatch` )**
-
-- Name ( `name` )
-- Current count ( `count`)
-- Countdown ( `countDown()` )
-- Partition key ( `partitionKey`)
-
-**Executor Service ( `IExecutorService` )**
-
-- Local pending operation count ( `localPendingTaskCount` )
-- Local started operation count ( `localStartedTaskCount` )
-- Local completed operation count ( `localCompletedTaskCount` )
-- Local cancelled operation count ( `localCancelledTaskCount` )
-- Local total start latency ( `localTotalStartLatency` )
-- Local total execution latency ( `localTotalExecutionLatency` )
-
-**List ( `IList` )**
-
-- Name ( `name` )
-- Clear list ( `clear` )
-
-**Map ( `IMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Config ( `config` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Owned entry memory cost ( `localOwnedEntryMemoryCost` )
-- Backup entry count ( `localBackupEntryCount` )
-- Backup entry cost ( `localBackupEntryMemoryCost` )
-- Backup count ( `localBackupCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Locked entry count ( `localLockedEntryCount` )
-- Dirty entry count ( `localDirtyEntryCount` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Heap Cost ( `localHeapCost` )
-- Clear ( `clear()` )
-
-**`MultiMap` ( `MultiMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Owned entry memory cost ( `localOwnedEntryMemoryCost` )
-- Backup entry count ( `localBackupEntryCount` )
-- Backup entry cost ( `localBackupEntryMemoryCost` )
-- Backup count ( `localBackupCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Locked entry count ( `localLockedEntryCount` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Clear ( `clear()` )
-
-**Replicated Map ( `ReplicatedMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Config ( `config` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Clear ( `clear()` )
-
-**Queue ( `IQueue` )**
-
-- Name ( `name` )
-- Config ( `config` )
-- Partition key ( `partitionKey` )
-- Owned item count ( `localOwnedItemCount` )
-- Backup item count ( `localBackupItemCount` )
-- Minimum age ( `localMinAge` )
-- Maximum age ( `localMaxAge` )
-- Average age ( `localAverageAge` )
-- Offer operation count ( `localOfferOperationCount` )
-- Rejected offer operation count ( `localRejectedOfferOperationCount` )
-- Poll operation count ( `localPollOperationCount` )
-- Empty poll operation count ( `localEmptyPollOperationCount` )
-- Other operation count ( `localOtherOperationsCount` )
-- Event operation count ( `localEventOperationCount` )
-- Clear ( `clear()` )
-
-**Semaphore ( `ISemaphore` )**
-
-- Name ( `name` )
-- Available permits ( `available` )
-- Partition key ( `partitionKey` )
-- Drain ( `drain()`)
-- Shrink available permits by given number ( `reduce(v)` )
-- Release given number of permits ( `release(v)` )
-
-**Set ( `ISet` )**
-
-- Name ( `name` )
-- Partition key ( `partitionKey` )
-- Clear ( `clear()` )
-
-**Topic ( `ITopic` )**
-
-- Name ( `name` )
-- Config ( `config` )
-- Creation time ( `localCreationTime` )
-- Publish operation count ( `localPublishOperationCount` )
-- Receive operation count ( `localReceiveOperationCount` )
-
-**Hazelcast Instance ( `HazelcastInstance` )**
-
-- Name ( `name` )
-- Version ( `version` )
-- Build ( `build` )
-- Configuration ( `config` )
-- Configuration source ( `configSource` )
-- Cluster name ( `clusterName` )
-- Network Port ( `port` )
-- Cluster-wide Time ( `clusterTime` )
-- Size of the cluster ( `memberCount` )
-- List of members ( `Members` )
-- Running state ( `running` )
-- Shutdown the member ( `shutdown()` )
-- **Node ( `HazelcastInstance.Node` )**
-
- - Address ( `address` )
- - Master address ( `masterAddress` )
-- **Partition Service ( `HazelcastInstance.PartitionServiceMBean` )**
-
- - Partition count ( `partitionCount` )
- - Active partition count ( `activePartitionCount` )
- - Cluster Safe State ( `isClusterSafe` )
- - `LocalMember` Safe State ( `isLocalMemberSafe` )
-- **System Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Async Executor (`HazelcastInstance.ManagedExecutorService`)**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Scheduled Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Client Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Query Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **I/O Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-
-## Alerting
-
-Hazelcast alerts you through various channels as listed below.
-
-- Banners, warnings and exception messages on your application console.
-
- Example license warning banner:
-
- ```none
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- THIS HAZELCAST LICENSE ID AbCdE*********FgHiJ WILL EXPIRE IN 29 DAYS.
- Your Hazelcast cluster will stop working on the next re-start after
- expiry.
-
- Please contact your Hazelcast Account Executive or
- email sales@hazelcast.com.
- Phone: +1 (650) 521-5453
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- ```
-
- Example outdated API warning:
-
- ```none
- An outdated version of JCache API was located in the classpath, please use newer versions of
- JCache API rather than 1.0.0-PFD or 0.x versions.
- ```
-
- Example exception message:
-
- ```none
- com.hazelcast.sql.HazelcastSqlException: From line 1, column 15 to line 1, column 23: Object 'mapBak1HD' not found, did you forget to CREATE MAPPING?
- ```
-- Prometheus: You can use this 3rd party tool to filter alert metrics. See the [Prometheus section](#prometheus-2) for details.
-
-Besides the above channels, you can also benefit from Hazelcast logging mechanism as an indirect way of getting alerts. See the [Logging section](../logging.mdx) for details.
-
-To learn the possible actions on the alerts, see the [Actions and Remedies for Alerts section](../../develop-build/troubleshooting/remedies-for-alerts.mdx).
-
-## Integrating with 3rd Party Tools
-
-### Prometheus {/* #prometheus-2 */}
-
-Hazelcast Management Center can expose the metrics collected from cluster members to [Prometheus](https://prometheus.io/). This feature can be turned on by setting the `hazelcast.mc.prometheusExporter.enabled` system property to `true`.
-
-Prometheus can be configured to scrape Management Center in `prometheus.yml` as follows:
-
-```yaml
-scrape_configs:
- - job_name: 'HZ MC'
- # scheme defaults to 'http'.
- static_configs:
- - targets: ['localhost:8080'] # replace this address with the network address of Hazelcast Management Center
-```
-
-After starting Prometheus with this configuration, all metrics will be exported to Prometheus with the `hz_` prefix. The metrics are also available via the [member JMX API](#jmx-api-per-member). With the default configuration, Management Center exports all metrics reported by the cluster members. Since it can be overly verbose for some use cases, the metrics can be filtered with the `hazelcast.mc.prometheusExporter.filter.metrics.included` or the `hazelcast.mc.prometheusExporter.filter.metrics.excluded` system properties, both being comma-separated lists of metric names.
-
-Example of starting Management Center with specifying the metrics exported to Prometheus:
-
-```bash vars
-java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
- -Dhazelcast.mc.prometheusExporter.filter.metrics.included=hz_topic_totalReceivedMessages,hz_map_totalPutLatency \
- -jar hazelcast-management-center-{full-version}.jar
-```
-
-Example of starting Management Center with specifying the metrics to be excluded from the Prometheus export:
-
-```bash vars
-java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
- -Dhazelcast.mc.prometheusExporter.filter.metrics.excluded=hz_os_systemLoadAverage,hz_memory_freeHeap \
- -jar hazelcast-management-center-{full-version}.jar
-```
-
-By default, Prometheus connects via the same IP and port as the Management Center web interface. It is possible to override the port number using the `-Dhazelcast.mc.prometheusExporter.port` system property. Let's say you have started Management Center as shown below:
-
-```bash vars
-java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
- -Dhazelcast.mc.prometheusExporter.port=2222 \
- -jar hazelcast-management-center-{full-version}.jar
-```
-
-Then, the Prometheus endpoint will be available at `http://localhost:2222/metrics`, which should be reflected by the Prometheus configuration as below:
-
-```yaml
-scrape_configs:
- - job_name: 'HZ MC'
- static_configs:
- - targets: ['localhost:2222']
-```
-
-:::note
-
-If you want to visualize the Prometheus metrics using Grafana, then you can start with [this dashboard](https://grafana.com/grafana/dashboards/13183).
-
-:::
-
-### AppDynamics
-
-You can use the interface to integrate the [Hazelcast Management Center](#management-center) with **AppDynamics**. To perform this integration, attach the AppDynamics Java agent to the Management Center.
-
-For agent installation, see the [Install the App Agent for Java](http://docs.appdynamics.com/display/PRO14S/Install%2Bthe%2BApp%2BAgent%2Bfor%2BJava) page.
-
-For monitoring on AppDynamics, see the [Using AppDynamics for JMX Monitoring](http://docs.appdynamics.com/display/PRO14S/Monitor%2BJMX%2BMBeans#MonitorJMXMBeans-UsingAppDynamicsforJMXMonitoring) page.
-
-After installing AppDynamics agent, you can start the Management Center as shown below:
-
-```bash vars
-java -javaagent:/path/to/javaagent.jar \
- -Dhazelcast.mc.jmx.enabled=true \
- -Dhazelcast.mc.jmx.port=9999 -jar hazelcast-management-center-{full-version}.jar
-```
-
-When the Management Center starts, you should see the logs below:
-
-```none
-Started AppDynamics Java Agent Successfully.
-Hazelcast Management Center starting on port 8080 at path : /
-```
-
-### New Relic
-
-You can use the interface to integrate the [Hazelcast Management Center](#management-center) with New Relic. To perform this integration, attach the New Relic Java agent and provide an extension file that describes which metrics are sent to New Relic.
-
-See [Custom JMX instrumentation by YAML](http://docs.newrelic.com/docs/java/custom-jmx-instrumentation-by-yml) on the New Relic webpage.
-
-The following is an example Map monitoring `.yml` file for New Relic:
-
-```plain
-name: Clustered JMX
-version: 1.0
-enabled: true
-
-jmx:
-- object_name: ManagementCenter[clustername]:type=Maps,name=mapname
- metrics:
- - attributes: PutOperationCount, GetOperationCount, RemoveOperationCount, Hits, BackupEntryCount, OwnedEntryCount, LastAccessTime, LastUpdateTime
- - type: simple
-- object_name: ManagementCenter[clustername]:type=Members,name="member address in double quotes"
- metrics:
- - attributes: OwnedPartitionCount
- - type: simple
-```
-
-Put the `.yml` file in the `extensions` directory in your New Relic installation. If an `extensions` directory does not exist there, create one.
-
-After you set your extension, attach the New Relic Java agent and start the Management Center as shown below.
-
-```bash vars
-java -javaagent:/path/to/newrelic.jar -Dhazelcast.mc.jmx.enabled=true\
- -Dhazelcast.mc.jmx.port=9999 -jar hazelcast-management-center-{full-version}.jar
-```
-
-If your logging level is set to `FINER`, you should see the log listing in the file `newrelic_agent.log`, which is located in the `logs` directory in your New Relic installation. The following is an example log listing:
-
-```none
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINE:
- JMX Service : querying MBeans (1)
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- JMX Service : MBeans query ManagementCenter[dev]:type=Members,
- name="192.168.2.79:5701", matches 1
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric OwnedPartitionCount : 68
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- JMX Service : MBeans query ManagementCenter[dev]:type=Maps,name=orders,
- matches 1
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric Hits : 46,593
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric BackupEntryCount : 1,100
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric OwnedEntryCount : 1,100
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric RemoveOperationCount : 0
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric PutOperationCount : 118,962
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric GetOperationCount : 0
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric LastUpdateTime : 1,401,962,426,811
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric LastAccessTime : 1,401,962,426,811
-```
-
-Then you can navigate to your New Relic account and create custom dashboards. See [Get Started with Dashboards](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards/).
-
-While you are creating the dashboard, you should see the metrics that you are sending to New Relic from the Management Center in the **Metrics** section under the JMX directory.
diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/_category_.json b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/_category_.json
new file mode 100644
index 00000000..fdd243b0
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/_category_.json
@@ -0,0 +1,5 @@
+{
+ "label": "Monitoring",
+ "position": 3.5,
+ "link": null
+}
diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/diagnostics.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/diagnostics.mdx
new file mode 100644
index 00000000..a80ba030
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/diagnostics.mdx
@@ -0,0 +1,913 @@
+---
+title: "Diagnostics"
+sidebar_position: 4
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast diagnostic logging helps you troubleshoot and monitor a cluster.
+
+Members and clients both provide a set of diagnostics plugins. Hazelcast writes the diagnostics to a dedicated log file.
+
+## Enable diagnostic logging
+
+To enable diagnostic logging, set the following properties on the members:
+
+
+
+
+```xml
+
+ ...
+
+ true
+ 30
+ 30
+ 30
+ 60
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.enabled: true
+ hazelcast.diagnostics.invocation.sample.period.seconds: 30
+ hazelcast.diagnostics.pending.invocations.period.seconds: 30
+ hazelcast.diagnostics.slowoperations.period.seconds: 30
+ hazelcast.diagnostics.storeLatency.period.seconds: 60
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.enabled", "true" )
+ .setProperty( "hazelcast.diagnostics.invocation.sample.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.pending.invocations.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.slowoperations.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.storeLatency.period.seconds", "60" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.enabled=true
+ -Dhazelcast.diagnostics.invocation.sample.period.seconds=30
+ -Dhazelcast.diagnostics.pending.invocations.period.seconds=30
+ -Dhazelcast.diagnostics.slowoperations.period.seconds=30
+ -Dhazelcast.diagnostics.storeLatency.period.seconds=60
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.enabled=true -Dhazelcast.diagnostics.invocation.sample.period.seconds=30 -Dhazelcast.diagnostics.pending.invocations.period.seconds=30 -Dhazelcast.diagnostics.slowoperations.period.seconds=30 -Dhazelcast.diagnostics.storeLatency.period.seconds=60"
+```
+
+
+
+
+On a Java client, set the following property:
+- `hazelcast.diagnostics.enabled=true`
+
+## Configure the diagnostics log file
+
+To set the directory of the diagnostics log file, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ /your/log/directory
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.directory: /your/log/directory
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.directory", "/your/log/directory" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.directory=/your/log/directory
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.directory=/your/log/directory"
+```
+
+
+
+
+The name of the log file has the following format:
+
+```none
+diagnostics-_--.log
+```
+
+To add a custom prefix to the name of the log file, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ foobar
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.filename.prefix: foobar
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.filename.prefix", "foobar" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.filename.prefix=foobar
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.filename.prefix=foobar"
+```
+
+
+
+
+Each entry in the diagnostics log file starts with the date, the time, and the epoch time in milliseconds, followed by the name of the entry. To leave out the epoch time, set the `hazelcast.diagnostics.include.epoch` property to `false`. The content of the entry follows in square brackets. Some plugins write an empty entry when they have nothing to report. For example, when there are no slow operations, the `SlowOperations` plugin writes `SlowOperations[]`.
+
+The following example shows the first entries in a diagnostics log file for a member that is starting. It leaves out the content of the `SystemProperties` and `ConfigProperties` entries, and all but three of the 323 `Metric` entries:
+
+```none
+19-11-2026 16:40:26 1795106426432 BuildInfo[
+ Build=20240415
+ BuildNumber=20240415
+ Revision=
+ Version=5.4.0
+ SerialVersion=1
+ Enterprise=false]
+19-11-2026 16:40:26 1795106426432 SystemProperties[
+ java.version=26.0.2.1]
+19-11-2026 16:40:26 1795106426432 ConfigProperties[
+ hazelcast.diagnostics.enabled=true]
+19-11-2026 16:40:26 1795106426433 OverloadedConnections[]
+19-11-2026 16:40:26 1795106426433 EventQueues[]
+19-11-2026 16:40:26 1795106426433 PendingInvocations[
+ count=0
+ invocations[]]
+19-11-2026 16:40:26 1795106426433 Metric[[metric=classloading.totalLoadedClassesCount]=7588]
+19-11-2026 16:40:26 1795106426433 Metric[[metric=os.systemLoadAverage]=4.74755859375]
+19-11-2026 16:40:26 1795106426433 Metric[[unit=bytes,metric=memory.usedHeap]=78361328]
+19-11-2026 16:40:26 1795106426450 SlowOperations[]
+19-11-2026 16:40:26 1795106426450 Invocations[
+ Pending[]
+ History[]
+ SlowHistory[]]
+19-11-2026 16:40:26 1795106426450 InvocationProfiler[]
+19-11-2026 16:40:26 1795106426450 OperationsProfiler[]
+19-11-2026 16:40:26 1795106426450 HazelcastInstance[
+ thisAddress=[127.0.0.1]:5701
+ isRunning=true
+ isLite=false
+ joined=false
+ nodeState=ACTIVE
+ clusterId=null
+ clusterSize=1
+ isMaster=false
+ masterAddress=null
+ Members[
+ [127.0.0.1]:5701]]
+19-11-2026 16:40:26 1795106426451 ClusterVersionChanged[
+ 5.4]
+19-11-2026 16:40:26 1795106426451 Lifecycle[
+ STARTING]
+```
+
+To limit the disk space that the diagnostics log files use, Hazelcast starts a new file when the current file reaches a maximum size. By default, it keeps up to 10 files of 50 MB each. To set the size of each file and the number of files, use the following properties:
+
+
+
+
+```xml
+
+ ...
+
+ 100
+ 5
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.max.rolled.file.size.mb: 100
+ hazelcast.diagnostics.max.rolled.file.count: 5
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.max.rolled.file.size.mb", "100" )
+ .setProperty( "hazelcast.diagnostics.max.rolled.file.count", "5" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.max.rolled.file.size.mb=100
+ -Dhazelcast.diagnostics.max.rolled.file.count=5
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.max.rolled.file.size.mb=100 -Dhazelcast.diagnostics.max.rolled.file.count=5"
+```
+
+
+
+
+## Set the output type
+
+To set the output type of diagnostics, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ STDOUT
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.stdout: STDOUT
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.stdout", "STDOUT" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.stdout=STDOUT
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.stdout=STDOUT"
+```
+
+
+
+
+The property accepts the following types:
+- `FILE` outputs to a [set of files](#configure-the-diagnostics-log-file) managed by Hazelcast. This is the default type.
+- `STDOUT` outputs to the standard output.
+- `LOGGER`outputs to the Hazelcast logger. You can then forward the diagnostics to any output that the logging framework supports.
+
+ :::note
+
+ The `LOGGER` type uses more CPU and memory than the other output types, because each diagnostics write passes through the logging framework. It also gives you more flexibility.
+
+ :::
+
+### Send diagnostics to a logging framework
+
+Hazelcast does not require a specific logging framework. To forward the diagnostics to your logging framework, set the `hazelcast.diagnostics.stdout` property to `LOGGER`:
+
+
+
+
+```xml
+
+ ...
+
+ LOGGER
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.stdout: LOGGER
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.stdout", "LOGGER" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.stdout=LOGGER
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.stdout=LOGGER"
+```
+
+
+
+
+This configuration forwards the logs to the `com.hazelcast.diagnostics` logger. To write them to a file, reference one of your configured appenders from that logger. The following example does this for Log4j2:
+
+```xml
+
+
+
+```
+
+To control the file size and rolling behavior, configure [`TimeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) and [`SizeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) for the appender.
+
+:::note
+
+The diagnostic logs have the `DEBUG` level by default. If the root appender uses the `DEBUG` level and you do not want the diagnostic logs in the member logs, set the level of the `com.hazelcast.diagnostics` logger to `INFO`. For Log4j2, see the [configuration documentation](https://logging.apache.org/log4j/2.x/manual/configuration.html).
+
+:::
+
+## Diagnostics plugins
+
+Each diagnostics plugin collects information and writes it to the diagnostics output. The plugins run in two ways:
+- The `BuildInfo`, `SystemProperties`, and `ConfigProperties` plugins do not run at an interval. With the `FILE` output type, their entries appear at the start of each diagnostics log file, including each new file that Hazelcast starts when a file reaches its maximum size. With the `STDOUT` and `LOGGER` output types, their entries appear once each time diagnostics start.
+- Every other plugin runs repeatedly while it is enabled. The section for each plugin lists the properties that enable and configure it. For most plugins, a property sets the interval, and a value of `0` disables the plugin.
+
+You set the plugin properties in the same way as the other diagnostics properties.
+
+Most plugins write entries with the same name as the plugin. The following table lists every plugin, the name of its entries in the diagnostics output, whether it is enabled by default, and where it runs:
+
+| Plugin | Entry name | Enabled by default | Runs on |
+|---|---|---|---|
+| `BuildInfo` | `BuildInfo` | Yes | Members and clients |
+| `SystemProperties` | `SystemProperties` | Yes | Members and clients |
+| `ConfigProperties` | `ConfigProperties` | Yes | Members and clients |
+| `Metrics` | `Metric`, one entry for each metric | Yes | Members and clients |
+| `SlowOperations` | `SlowOperations` | Yes | Members |
+| `Invocations` | `Invocations` | No | Members |
+| `PendingInvocations` | `PendingInvocations` | No | Members |
+| `InvocationProfiler` | `InvocationProfiler` | Yes | Members |
+| `OperationProfiler` | `OperationsProfiler` | Yes | Members |
+| `HazelcastInstance` | `HazelcastInstance` | Yes | Members |
+| `EventQueue` | `EventQueues` | No | Members and clients |
+| `SystemLog` | `Lifecycle`, `MemberAdded`, `MemberRemoved`, `ConnectionAdded`, `ConnectionRemoved`, `ClusterVersionChanged`, `MigrationState`, `MigrationCompleted`, and `MigrationFailed` | Yes | Members and clients |
+| `StoreLatency` | `MapStoreLatency`, `QueueStoreLatency`, `RingbufferStoreLatency`, `CacheStoreLatency`, `CacheLoaderLatency`, and, in , `WanBatchSenderLatency` | No | Members |
+| `OperationHeartbeats` | `OperationHeartbeat` | Yes | Members |
+| `MemberHeartbeats` | `MemberHeartbeats` | Yes | Members |
+| `OperationThreadSamples` | `OperationThreadSamples` | No | Members |
+| `OverloadedConnections` | `OverloadedConnections` | No | Members |
+| `NetworkingImbalance` | `NetworkingImbalance` | No | Members and clients |
+| `WAN` | `WAN` | No | Members |
+
+### `BuildInfo`
+
+The `BuildInfo` plugin shows Hazelcast build information, including the release number, the Git revision number, and whether you have Hazelcast . The following example shows its output:
+
+```none
+19-11-2026 16:40:26 1795106426432 BuildInfo[
+ Build=20240415
+ BuildNumber=20240415
+ Revision=
+ Version=5.4.0
+ SerialVersion=1
+ Enterprise=false]
+```
+
+### `SystemProperties`
+
+The `SystemProperties` plugin shows the system properties that are used by and configured for your Hazelcast installation, with their values. These are the properties whose names start with `java` (except `java.awt`), `hazelcast`, `sun`, and `os`. The plugin also shows the arguments used to start the JVM. The following example shows part of its output:
+
+```none
+19-11-2026 16:40:26 1795106426432 SystemProperties[
+ java.runtime.name=OpenJDK Runtime Environment
+ java.version=26.0.2.1
+ java.vm.args=--add-modules=ALL-DEFAULT
+ java.vm.name=OpenJDK 64-Bit Server VM
+ os.arch=aarch64
+ os.name=Mac OS X
+ sun.arch.data.model=64]
+```
+
+### `ConfigProperties`
+
+The `ConfigProperties` plugin shows the Hazelcast properties that you set explicitly in the declarative or programmatic configuration, with their values. It does not show properties set only on the command line with `-D`. The following example shows part of its output:
+
+```none
+19-11-2026 16:40:26 1795106426432 ConfigProperties[
+ hazelcast.diagnostics.enabled=true
+ hazelcast.diagnostics.invocation.sample.period.seconds=2
+ hazelcast.diagnostics.metrics.period.seconds=5
+ hazelcast.slow.operation.detector.threshold.millis=500]
+```
+
+### `Metrics` {/* #diagnostics-metrics */}
+
+The Metrics plugin writes a comprehensive log of what is happening in your Hazelcast system. See [Metrics](./metrics.mdx) for more information.
+
+To set how often the plugin writes to the log file, use the following property:
+- `hazelcast.diagnostics.metrics.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+The plugin writes one `Metric` entry for each metric. The entry shows the tags of the metric, such as the name of the data structure and the unit, followed by the value. The following example shows some of these entries:
+
+```none
+19-11-2026 16:40:31 1795106431436 Metric[[unit=bytes,metric=memory.usedHeap]=46291536]
+19-11-2026 16:40:31 1795106431436 Metric[[unit=count,metric=operation.queueSize]=1]
+19-11-2026 16:40:31 1795106431436 Metric[[unit=count,metric=partitions.localPartitionCount]=135]
+19-11-2026 16:40:31 1795106431436 Metric[[name=orders,unit=ms,metric=map.totalGetLatency]=1363]
+19-11-2026 16:40:31 1795106431436 Metric[[name=orders,unit=ms,metric=map.totalPutLatency]=171]
+```
+
+:::note
+
+See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
+
+:::
+
+### `SlowOperations`
+
+The `SlowOperations` plugin shows slow operations and invocations. See the [`SlowOperationDetector` section](../../develop-build/best-practices/overview.mdx) for more information.
+
+The plugin runs only when the slow operation detector is enabled. To set how often the plugin writes to the log file, use the following property:
+- `hazelcast.diagnostics.slowoperations.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+For each type of slow operation, the plugin shows the number of slow invocations, the stack trace of the operation, and details of each slow invocation. The following example shows part of its output, for a slow entry processor:
+
+```none
+19-11-2026 16:40:30 1795106430434 SlowOperations[
+ com.hazelcast.map.impl.operation.EntryOperation[
+ invocations=1
+ stackTrace[
+ com.example.OrderProcessor.process(OrderProcessor.java:53)
+ com.hazelcast.map.impl.operation.EntryOperator.process(EntryOperator.java:403)
+ com.hazelcast.map.impl.operation.EntryOperation.call(EntryOperation.java:244)
+ com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:216)
+ com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:174)]
+ slowInvocations[
+ startedAt=1,795,106,428,427
+ started(date-time)=19-11-2026 16:40:28
+ duration(ms)=1,005
+ operationDetails=com.hazelcast.map.impl.operation.EntryOperation{serviceName='hz:impl:mapService', identityHash=929787640, partitionId=11, replicaIndex=0, callId=2009, invocationTime=1795106427955 (2026-11-19 16:40:27.955), waitTimeout=-1, callTimeout=60000, tenantControl=com.hazelcast.spi.impl.tenantcontrol.NoopTenantControl@0, name=orders}]]]
+```
+
+### `Invocations`
+
+The Invocations plugin shows statistics about current and past invocations, including pending invocations, the history of invocations, and the slow history. The slow history holds every sample where an invocation took longer than the threshold. It includes the invocations whose operations took a long time, and any other invocations that were obstructed.
+
+To set how often the plugin scans all pending invocations, and the threshold above which an invocation counts as slow, use the following properties:
+- `hazelcast.diagnostics.invocation.sample.period.seconds`: Set a value in seconds. Its default value is `0`, which disables the plugin.
+- `hazelcast.diagnostics.invocation.slow.threshold.seconds`: Set a value in seconds. Its default value is `5` seconds.
+
+The following example shows its output, with a threshold of one second:
+
+```none
+19-11-2026 16:40:34 1795106434437 Invocations[
+ Pending[]
+ History[
+ com.hazelcast.map.impl.operation.EntryOperation samples=4
+ com.hazelcast.map.impl.operation.PutOperation samples=1
+ PartitionIteratingOperation(com.hazelcast.map.impl.operation.SizeOperationFactory) samples=1
+ com.hazelcast.map.impl.operation.GetOperation samples=1]
+ SlowHistory[
+ com.hazelcast.map.impl.operation.EntryOperation samples=2
+ com.hazelcast.map.impl.operation.PutOperation samples=1]]
+```
+
+### `PendingInvocations`
+
+The `PendingInvocations` plugin shows the number of pending invocations on the member, and the number of pending invocations for each type of operation.
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.pending.invocations.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.pending.invocations.threshold`: Minimum number of pending invocations of a type of operation before the plugin shows that type. Its default value is `1`.
+
+The following example shows its output:
+
+```none
+19-11-2026 16:40:28 1795106428437 PendingInvocations[
+ count=2
+ invocations[
+ com.hazelcast.map.impl.operation.EntryOperation=1
+ com.hazelcast.map.impl.operation.GetOperation=1]]
+```
+
+### `InvocationProfiler`
+
+The `InvocationProfiler` plugin shows invocation latencies for each operation. The following example shows its output:
+
+```none
+06-05-2019 17:15:29 1557152129944 InvocationProfiler[
+ com.hazelcast.map.impl.query.QueryOperation[
+ count=400
+ totalTime(us)=56,000
+ avg(us)=140
+ max(us)=3,000
+ latency-distribution[
+ 64..127us=346
+ 512..1023us=53
+ 2048..4095us=1]]
+ com.hazelcast.map.impl.operation.GetOperation[
+ count=100
+ totalTime(us)=19,000
+ avg(us)=190
+ max(us)=1,000
+ latency-distribution[
+ 64..127us=81
+ 512..1023us=19]]]
+```
+
+To set how often the plugin scans all invocations, use the following system property:
+- `hazelcast.diagnostics.invocation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
+
+To reduce the number of log entries, increase this period.
+
+### `OperationProfiler`
+
+The `OperationProfiler` plugin measures how long each operation runs on an operation thread. For a blocking or offloaded operation, it measures only the time on the operation thread. The following example shows its output:
+
+```none
+06-05-2021 14:53:48 1595332428248 OperationsProfiler[
+ com.hazelcast.map.impl.operation.GetOperation[
+ count=502,501
+ totalTime(us)=1,690,645
+ avg(us)=3
+ max(us)=462
+ latency-distribution[
+ 1..2us=875
+ 2..4us=359,876
+ 4..8us=131,775
+ 8..16us=8,720
+ 16..32us=887
+ 32..64us=178
+ 64..128us=122
+ 128..256us=62
+ 256..512us=6]]
+```
+
+To set how often the plugin scans all operations, use the following system property:
+- `hazelcast.diagnostics.operation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
+
+### `HazelcastInstance`
+
+The `HazelcastInstance` plugin shows the basic state of your cluster, including the number and addresses of the current members and the address of the oldest member. Use it to see the state of the cluster without analyzing a lot of data.
+
+To set how often the plugin writes the cluster information to the log file, use the following property:
+- `hazelcast.diagnostics.memberinfo.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+The following example shows its output:
+
+```none
+19-11-2026 16:40:31 1795106431439 HazelcastInstance[
+ thisAddress=[127.0.0.1]:5701
+ isRunning=true
+ isLite=false
+ joined=true
+ nodeState=ACTIVE
+ clusterId=03fbcafe-c265-467f-a922-74e7737bf392
+ clusterSize=2
+ isMaster=true
+ masterAddress=[127.0.0.1]:5701
+ Members[
+ [127.0.0.1]:5701
+ [127.0.0.1]:5702]]
+```
+
+### `EventQueue`
+
+The `EventQueue` plugin checks the event queues of data structures, and samples the event types when a queue holds more events than a threshold. Use it to find out why an event queue is filling up.
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.event.queue.period.seconds`: Interval, in seconds, between the runs in which this plugin gathers information and writes it to the diagnostics log file. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.event.queue.threshold`: Minimum number of events in the queue before the plugin samples it. Its default value is `1000`.
+- `hazelcast.diagnostics.event.queue.samples`: Number of samples to take from the event queue. More samples give a more accurate result, but reduce performance. Its default value is `100`.
+
+The following example shows the output for a map:
+
+```none
+17-04-2019 17:36:37 EventQueues[
+ worker=1[
+ eventCount=441
+ sampleCount=100
+ samples[
+ IMap 'myMap' ADDED sampleCount=51 51.000%
+ IMap 'myMap' REMOVED sampleCount=49 49.000%]]
+```
+
+### `SystemLog`
+
+The `SystemLog` plugin shows the activity in your cluster, such as connections and members being added or removed, and changes in the lifecycle of the cluster. It also shows why connections were closed.
+
+To enable or disable the plugin, and to set whether it shows information about partition migrations, use the following properties:
+- `hazelcast.diagnostics.systemlog.enabled`: Whether the plugin is enabled. Its default value is `true`.
+- `hazelcast.diagnostics.systemlog.partitions`: Whether the plugin shows information about partition migrations. Its default value is `false`. If you enable it on a cluster with many partitions, the plugin can write a large number of log entries.
+
+The plugin does not write entries named `SystemLog`. Each event has its own entry name, such as `MemberAdded` or `ConnectionRemoved`. The following example shows the entries for a member that joins the cluster and then leaves it:
+
+```none
+19-11-2026 16:40:28 1795106428438 MemberAdded[
+ member=[127.0.0.1]:5702
+ Members[
+ [127.0.0.1]:5701:this:master
+ [127.0.0.1]:5702]]
+19-11-2026 16:40:56 1795106456437 ConnectionRemoved[
+ Connection[id=2, /127.0.0.1:5701->/127.0.0.1:61276, qualifier=null, endpoint=[127.0.0.1]:5702, remoteUuid=5cb298a7-70d1-47b9-b53d-1f22e2cf4e98, alive=false, connectionType=MEMBER, planeIndex=0]
+ type=MEMBER
+ isAlive=false
+ closeReason=Connection closed by the other side
+ CloseCause[
+ java.io.EOFException: Remote socket closed!
+ com.hazelcast.internal.networking.nio.NioInboundPipeline.process(NioInboundPipeline.java:118)]]
+19-11-2026 16:40:57 1795106457435 MemberRemoved[
+ member=[127.0.0.1]:5702
+ Members[
+ [127.0.0.1]:5701:this:master]]
+```
+
+### `StoreLatency`
+
+The `StoreLatency` plugin shows statistics for each store. The statistics include the call count, the average and maximum latency, and the latency distribution of each store method, such as `load`, `loadAll`, and `loadAllKeys`.
+
+The following example shows the output in the diagnostics log file for a `MapStore`:
+
+```none
+17-9-2019 13:12:34 MapStoreLatency[
+ map[
+ loadAllKeys[
+ count=1
+ totalTime(us)=8
+ avg(us)=8
+ max(us)=8
+ latency-distribution[
+ 0..99us=1]]
+ load[
+ count=100
+ totalTime(us)=4,632,190
+ avg(us)=46,321
+ max(us)=99,178
+ latency-distribution[
+ 0..99us=1
+ 1600..3199us=3
+ 3200..6399us=3
+ 6400..12799us=7
+ 12800..25599us=13
+ 25600..51199us=32
+ 51200..102399us=41]]]]
+```
+
+The plugin writes one entry for each type of store, such as `MapStoreLatency` for map stores and loaders. It writes similar entries for JCache, `Queue`, and `Ringbuffer` data structures that use persistent data stores, such as `QueueStoreLatency` for queue stores.
+
+To configure the `StoreLatency` plugin, use the following properties:
+- `hazelcast.diagnostics.storeLatency.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The plugin is disabled by default. A sensible production value is `60` seconds.
+- `hazelcast.diagnostics.storeLatency.reset.period.seconds`: Interval, in seconds, at which the plugin resets the statistics. For example, with a value of `300`, the plugin clears all statistics every 5 minutes. Its default value is `0`, which means the plugin does not reset the statistics.
+
+### `OperationHeartbeats`
+
+The `OperationHeartbeats` plugin shows the deviation in operation heartbeats between members. Each member sends an operation heartbeat to every other member, whether or not an operation is running on behalf of that member. The heartbeat contains a list of the `callId` values of all running operations from a given member. This plugin also works between members and lite members.
+
+Members send operation heartbeats at an interval of a quarter of the operation call timeout. With the default call timeout of 60 seconds, a member expects an operation heartbeat every 15 seconds. Operation heartbeats are high-priority packets, which overtake regular packets. A separate thread in the invocation monitor processes them. If the interval between these packets deviates, the cause can be a problem such as network latency.
+
+The following example shows the output when a member has not received an operation heartbeat for 37 seconds:
+
+```none
+20-07-2017 11:12:55 OperationHeartbeat[
+ member[10.212.1.119]:5701[
+ deviation(%)=146.6666717529297
+ noHeartbeat(ms)=37,000
+ lastHeartbeat(ms)=1,500,538,338,603
+ lastHeartbeat(date-time)=20-07-2017 11:12:18
+ now(ms)=1,500,538,375,603
+ now(date-time)=20-07-2017 11:12:55]]
+```
+
+The `OperationHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
+
+To configure the `OperationHeartbeats` plugin, use the following properties:
+- `hazelcast.diagnostics.operation-heartbeat.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. Its default value is `10`. A value of `0` disables the plugin.
+- `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is `33`. For example, with the default call timeout of 60 seconds, the operation heartbeat interval is 15 seconds. A deviation percentage of 33 allows a maximum deviation of 5 seconds. A packet that arrives after 19 seconds is within the limit. If a packet arrives after 21 seconds, the plugin writes to the diagnostics file.
+
+### `MemberHeartbeats`
+
+The `MemberHeartbeats` plugin is similar to the `OperationHeartbeats` plugin, but it measures the deviation in cluster heartbeats between members instead of operation heartbeats. Every member sends a heartbeat to the other members every 5 seconds by default.
+
+Like the `OperationHeartbeats` plugin, the `MemberHeartbeats` plugin can detect networking problems long before they lead to problems such as split-brain syndrome.
+
+The following example shows the output when a member has not received a heartbeat from another member for 11 seconds:
+
+```none
+20-07-2017 19:32:22 MemberHeartbeats[
+ member[10.212.1.119]:5701[
+ deviation(%)=120.0
+ noHeartbeat(ms)=11,000
+ lastHeartbeat(ms)=1,500,568,331,645
+ lastHeartbeat(date-time)=20-07-2017 19:32:11
+ now(ms)=1,500,568,342,645
+ now(date-time)=20-07-2017 19:32:22]]
+```
+
+The `MemberHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
+
+To configure the `MemberHeartbeats` plugin, use the following properties:
+- `hazelcast.diagnostics.member-heartbeat.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. Its default value is `10`. A value of `0` disables the plugin.
+- `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is `100`. For example, if members send heartbeats every 5 seconds, a 100% deviation allows heartbeats to arrive up to 5 seconds after they are expected. The plugin does not write a heartbeat that arrives after 9 seconds, but writes one that arrives after 11 seconds.
+
+### `OperationThreadSamples`
+
+The `OperationThreadSamples` plugin samples the operation threads and checks the running operations and tasks. The Hazelcast [slow operation detector](../../develop-build/best-practices/overview.mdx) is useful for slow operations, but it can be inefficient for a high volume of operations that are only slightly slow. The `OperationThreadSamples` plugin shows more clearly which operations are running.
+
+To configure the `OperationThreadSamples` plugin, use the following properties:
+- `hazelcast.diagnostics.operationthreadsamples.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. An efficient value for production is 30 seconds or more. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.operationthreadsamples.sampler.period.millis`: Interval, in milliseconds, between samples. A lower value increases both the overhead and the precision. Its default value is `100`.
+- `hazelcast.diagnostics.operationthreadsamples.includeName`: Whether to include the name of the data structure that the operation targets, if available, in the name of each sample. Its default value is `false`.
+
+The following example shows the output when the `hazelcast.diagnostics.operationthreadsamples.includeName` property is `false`:
+
+```none
+28-08-2019 07:40:07 1535442007330 OperationThreadSamples[
+ Partition[
+ com.hazelcast.map.impl.operation.MapSizeOperation=304623 85.6927%
+ com.hazelcast.map.impl.operation.PutOperation=33061 9.300304%
+ com.hazelcast.map.impl.operation.GetOperation=17799 5.0069904%]
+ Generic[
+ com.hazelcast.internal.nio.Packet=1767 27.361412%
+ com.hazelcast.internal.cluster.impl.operations.JoinRequestOp=821 12.712914%
+ com.hazelcast.spi.impl.operationservice.impl.operations.PartitionIteratingOperation=278 4.3047385%
+ com.hazelcast.internal.cluster.impl.operations.HeartbeatOp=93 1.4400743%
+ com.hazelcast.internal.cluster.impl.operations.OnJoinOp=89 1.3781357%
+ com.hazelcast.internal.cluster.impl.operations.WhoisMasterOp=75 1.1613503%]]
+```
+
+In this example, `MapSizeOperation` operations run on the operation threads most of the time.
+
+### `OverloadedConnections`
+
+The `OverloadedConnections` plugin checks the outgoing packet queue of each connection on the member. When a queue holds more packets than a threshold, the plugin samples the packets and shows the types of operation in them. Use it to find out what fills a connection when pending packets use a large amount of memory.
+
+:::warning
+
+To sample a packet, the plugin deserializes it, which has a high overhead. Use this plugin only for debugging, not in production.
+
+:::
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.overloaded.connections.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.overloaded.connections.threshold`: Minimum number of packets in the queue of a connection before the plugin samples it. Its default value is `10000`.
+- `hazelcast.diagnostics.overloaded.connections.samples`: Number of packets to sample from each overloaded connection. Its default value is `1000`.
+
+For each overloaded connection, the plugin shows the number of packets in the queue, as `packetCount` for regular packets or `urgentPacketCount` for priority packets. The following example shows its output with a threshold of `1`:
+
+```none
+19-11-2026 15:19:12 1795101552046 OverloadedConnections[
+ Connection[id=1, /127.0.0.1:59711->/127.0.0.1:5702, qualifier=null, endpoint=[127.0.0.1]:5702, remoteUuid=12af9f38-a99b-46b8-8b16-76b488a2d0aa, alive=true, connectionType=MEMBER, planeIndex=0][
+ urgentPacketCount=4
+ sampleCount=4
+ samples[
+ com.hazelcast.internal.partition.operation.MigrationRequestOperation sampleCount=4 100.000%]]]
+```
+
+### `NetworkingImbalance`
+
+The `NetworkingImbalance` plugin shows how the network load is spread across the input and output threads of a member or client. For each thread, it shows the number of frames, priority frames, bytes, events, handled events, and tasks. It also shows each value as a percentage of the total for all input or all output threads.
+
+To configure the plugin, use the following property:
+- `hazelcast.diagnostics.networking-imbalance.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+
+The following example shows part of its output:
+
+```none
+19-11-2026 16:40:36 1795106436436 NetworkingImbalance[
+ InputThreads[
+ hz.example.IO.thread-in-1[
+ frames-percentage=99.98 %
+ frames=5,272
+ priority-frames-percentage=100.00 %
+ priority-frames=14
+ bytes-percentage=99.99 %
+ bytes=2,968,588
+ events-percentage=99.95 %
+ events=3,946
+ handle-count-percentage=99.95 %
+ handle-count=3,947
+ tasks-percentage=50.00 %
+ tasks=9]]]
+```
+
+### `WAN`
+
+
+
+The `WAN` diagnostics plugin shows information about WAN replication.
+
+The plugin is disabled by default. To configure it, use the following property:
+- `hazelcast.diagnostics.wan.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. A value of `0` disables the plugin.
+
+The following shows an example of the output for a member with the WAN replication configuration `london` and the publisher `tokyo`:
+
+```none
+01-01-2026 12:00:00 1767268800000 WAN[
+ syncCount=0
+ updateCount=0
+ removeCount=0
+ syncState[
+ status=READY
+ activeWanConfigName=null
+ activePublisherName=null]
+ london[
+ tokyo[
+ outboundQueueSize=0
+ totalPublishedEventCount=1,000
+ totalPublishLatency=2,010
+ connected=true
+ state=REPLICATING
+ mapSentEvents-orders[
+ updateCount=1,000
+ removeCount=0
+ syncCount=0
+ droppedCount=0]
+ updateCount=1,000
+ removeCount=0
+ syncCount=0
+ droppedCount=0]]]
+```
diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/health-check-and-monitoring.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/health-check-and-monitoring.mdx
new file mode 100644
index 00000000..a966d859
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/health-check-and-monitoring.mdx
@@ -0,0 +1,248 @@
+---
+title: "Health check and monitoring"
+sidebar_position: 3
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast provides the following tools to check the health and status of a cluster:
+- The HTTP-based health check endpoint returns the state of a member and its cluster when another system requests it. For example, a load balancer can use it to send traffic only to active members.
+- The `hz-healthcheck` script calls the health check endpoint from the command line. Use it in your own scripts, for example to check that the cluster is safe before you shut down a member.
+- The health monitor utility writes the resource use of a member, such as memory, CPU, and garbage collection, to the member log. It is enabled by default. Use its log entries to find out why a member slowed down or failed.
+
+## Enable the health check endpoint
+
+The `hz-healthcheck` script also uses the health check endpoint. To enable the endpoint, use either of the following configuration elements:
+- The `network` configuration element:
+
+
+
+
+ ```xml
+
+ ...
+
+
+
+
+
+ ...
+
+ ```
+
+
+
+
+ ```yaml
+ hazelcast:
+ network:
+ rest-api:
+ enabled: true
+ endpoint-groups:
+ HEALTH_CHECK:
+ enabled: true
+ ```
+
+
+
+- The `advanced-network` configuration element:
+
+
+
+
+ ```xml
+
+ ...
+
+
+
+
+
+
+
+ ...
+
+ ```
+
+
+
+
+ ```yaml
+ hazelcast:
+ advanced-network:
+ enabled: true
+ rest-server-socket-endpoint-config:
+ endpoint-groups:
+ HEALTH_CHECK:
+ enabled: true
+ ```
+
+
+
+
+## Perform an HTTP-based health check
+
+The HTTP-based health check returns basic information about a member and its cluster. To use it, enable the health check endpoint, and then open `http://:5701/hazelcast/health` in a browser.
+
+The response shows the health status of the member and its cluster, such as the member state, the cluster state, and the cluster size. For example:
+
+```json
+{
+ "nodeState": "ACTIVE",
+ "clusterState": "ACTIVE",
+ "clusterSafe": false,
+ "migrationQueueSize": 0,
+ "clusterSize": 3
+}
+```
+
+The response has the following fields:
+- `nodeState`: State of the member that you query. See [Cluster and Member States](../maintaining-a-cluster/cluster-member-states.mdx#member-states) to learn more about the states of cluster members.
+- `clusterState`: State of the cluster that the member belongs to. See [Cluster and Member States](../maintaining-a-cluster/cluster-member-states.mdx#cluster-states) to learn more about cluster states.
+- `clusterSafe`: Whether the queried member is safe: there are no active partition migrations, and all backups are in sync for each partition that the member owns. See [Shutting Down Members and Clusters](../maintaining-a-cluster/shutdown.mdx#ensuring-members-and-clusters-are-in-a-safe-state) to learn how to check the safety of active clusters.
+
+ :::note
+
+ The `clusterSafe` indicator is useful when your cluster is in a passive state. If the cluster is in an active state, the value changes continually because the state of the cluster changes. Checking the cluster safety also triggers extra operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load can affect cluster performance.
+
+ :::
+- `migrationQueueSize`: Number of remaining migration tasks while the cluster data is being repartitioned. See [Data Partitioning](../../develop-build/architecture/data-partitioning.mdx) to learn about Hazelcast's partitioning mechanism.
+- `clusterSize`: Number of members in the cluster.
+
+## Use the `hz-healthcheck` script {/* #health-check-script */}
+
+The Hazelcast package includes the `hz-healthcheck` script. The script calls the HTTP-based health check endpoint.
+
+To run the script, enable the health check endpoint, and then run the script with the parameters that you need:
+
+```bash
+./hz-healthcheck
+```
+
+The script accepts the following parameters:
+
+| Parameter | Default value | Description |
+|---|---|---|
+| `-o` or `--operation` | `all` | Health check operation. It can be `all`, `node-state`, `cluster-state`, `cluster-safe`, `migration-queue-size`, or `cluster-size`.
The `cluster-safe` operation is useful when your cluster is in a passive state. If the cluster is in an active state, the value changes continually because the state of the cluster changes. Checking the cluster safety also triggers extra operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load can affect cluster performance. |
+| `-a` or `--address` | `127.0.0.1` | IP address of the member to query. To check a remote cluster, set it to the IP address of one of its members. |
+| `-p` or `--port` | `5701` | Port of the member on the local or remote machine. |
+| `-h` or `--help` | No argument | Lists the parameter descriptions. It works only as the first parameter. |
+| `-d` or `--debug` | No argument | Prints error output. |
+| `--https` | No argument | Uses HTTPS for REST calls. |
+| `--cacert` | Set of well-known CA certificates | Path of the trusted PEM-encoded certificate file. The script uses it to verify member certificates. |
+| `--cert` | None | Path of the PEM-encoded client certificate file. Required only for client certificate authentication. |
+| `--key` | None | Path of the PEM-encoded client private key file. Required only for client certificate authentication. |
+| `--insecure` | No argument | Disables member certificate verification. |
+
+The following example checks the state of a healthy member at the address `127.0.0.1:5701`:
+
+```none
+./hz-healthcheck -a 127.0.0.1 -p 5701 -o node-state
+ACTIVE
+```
+
+The following example checks the safety of a cluster that has no member at the address `127.0.0.1:5701`. The script prints an error:
+
+```none
+./hz-healthcheck -a 127.0.0.1 -p 5701 -o cluster-safe
+Error while checking health of hazelcast cluster on ip 127.0.0.1 on port 5701.
+Please check that cluster is running and that health check is enabled in REST API configuration.
+```
+
+## Use the health monitor utility
+
+The health monitor regularly prints log entries with information about the state of the member. It is enabled by default.
+
+To set the interval between log entries, use the `hazelcast.health.monitoring.delay.seconds` system property. Its default value is 20 seconds.
+
+To set the level of the health monitor, use the `hazelcast.health.monitoring.level` system property. It accepts the following values:
+- `OFF`: Disables the health monitor.
+- `NOISY`: Prints log entries at every interval.
+- `SILENT`: Prints log entries only when a value exceeds a threshold. This is the default value.
+
+In the `SILENT` level, the health monitor prints log entries when one of the following values exceeds its threshold:
+- Memory percentage, set with the `hazelcast.health.monitoring.threshold.memory.percentage` system property. Its default value is `70`.
+- CPU percentage, set with the `hazelcast.health.monitoring.threshold.cpu.percentage` system property. Its default value is `70`.
+- Pending invocations, when they exceed 70% or a count of 1000.
+
+The following example shows the output of the health monitor:
+
+```none vars
+Sep 08, 2017 5:02:28 PM com.hazelcast.internal.diagnostics.HealthMonitor
+
+INFO: [192.168.2.44]:5701 [host-name] [{full-version}] processors=4, physical.memory.total=16.0G, physical.memory.free=5.5G, swap.space.total=0, swap.space.free=0, heap.memory.used=102.4M,
+
+heap.memory.free=249.1M, heap.memory.total=351.5M, heap.memory.max=3.6G, heap.memory.used/total=29.14%, heap.memory.used/max=2.81%, minor.gc.count=4, minor.gc.time=68ms, major.gc.count=1,
+
+major.gc.time=41ms, load.process=0.44%, load.system=1.00%, load.systemAverage=3.15, thread.count=97, thread.peakCount=98, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0,
+
+executor.q.client.size=0, executor.q.client.query.size=0, executor.q.client.blocking.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.size=0,
+
+executor.q.priorityOperation.size=0, operations.completed.count=226, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0,
+
+operations.running.count=0, operations.pending.invocations.percentage=0.00%, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=1,
+
+connection.active.count=2, client.connection.count=1, connection.count=1
+```
+
+:::note
+
+See [Configuring with System Properties](../configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to set system properties.
+
+:::
+
+## Use health check on F5 BIG-IP LTM
+
+You can use the F5® BIG-IP® Local Traffic Manager™ (LTM) as a load balancer for Hazelcast members. To check the state of each member, configure an LTM monitor.
+
+
+You can use the following types of LTM monitor to track Hazelcast members:
+- HTTP monitor: Sends a request to the Hazelcast health check endpoint over HTTP. Use it when SSL/TLS is not enabled in your cluster.
+- HTTPS monitor: Sends a request to the Hazelcast health check endpoint over HTTPS. Use it when SSL/TLS is enabled in your cluster.
+- `TCP_HALF_OPEN` monitor: Checks only that the TCP port that Hazelcast uses is open and accepts connections. It does not call the health check endpoint. You can use it with or without SSL/TLS.
+
+
+Sign in to the BIG-IP LTM user interface, and create a monitor as described in the [F5 documentation on LTM monitors](https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-monitors-reference-11-6-0/3.html#unique_859105660). Then apply the configuration for your monitor type.
+
+### HTTP/HTTPS monitors
+
+:::note
+
+HTTP and HTTPS Local Traffic Manager monitors need the Hazelcast health check endpoint. Enable it with the `advanced-network` or the `network` configuration element.
+
+:::
+
+To use a GET request, set the following fields:
+- Set **Send String** to the following:
+
+ ```none
+ GET /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
+ ```
+- Set **Receive String** to the following:
+
+ ```none
+ {"nodeState":"ACTIVE","clusterState":"ACTIVE","clusterSafe":true,"migrationQueueSize":0,"clusterSize":([^\s]+)}
+ ```
+
+LTM monitors accept regular expressions in these strings. The **Receive String** in this example matches any cluster size. The monitor therefore stays green when the cluster size changes.
+
+To use a HEAD request, set the following fields:
+- Set **Send String** to the following:
+
+ ```none
+ HEAD /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
+ ```
+- Set **Receive String** to the following:
+
+ ```none
+ 200 OK
+ ```
+
+A HEAD request checks only for a `200 OK` response. A member sends this status code whenever its REST endpoint handles the request. The status code does not depend on the member state or the cluster state. A HEAD request therefore checks only that the endpoint responds. For a check that also covers the member state and the cluster state, we recommend a GET request.
+
+### `TCP_HALF_OPEN` monitors
+
+To use a `TCP_HALF_OPEN` monitor, set the following fields:
+- **Type**: `TCP Half Open`
+- **Alias Service Port**: Optional. The port of the Hazelcast member, if you want to set the port in the monitor
diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/instance-tracking.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/instance-tracking.mdx
new file mode 100644
index 00000000..4d94f970
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/instance-tracking.mdx
@@ -0,0 +1,136 @@
+---
+title: "Instance tracking"
+sidebar_position: 6
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Instance tracking writes a file of metadata about a Hazelcast instance when the instance starts. The metadata includes the product name, the version, and the process ID. Other programs can read these files to find out which Hazelcast instances have run on a machine. Members and clients of both and support instance tracking. It is disabled by default.
+
+The instance does not delete the file when it shuts down. The file therefore remains on the machine as a record that the instance ran. If the instance cannot write the file, it logs a warning and starts anyway.
+
+## Configure instance tracking {/* #instance-tracking-configuration */}
+
+You configure instance tracking in the member configuration. The following example enables instance tracking, sets the path of the file, and sets a pattern for its contents:
+
+```java
+Config config = new Config();
+config.getInstanceTrackingConfig()
+ .setEnabled(true)
+ .setFileName("/tmp/hz-tracking.txt")
+ .setFormatPattern("$HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}");
+```
+
+The equivalent declarative configuration is as follows:
+
+
+
+
+```xml
+
+
+ /tmp/hz-tracking.txt
+ $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
+
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ instance-tracking:
+ enabled: true
+ file-name: /tmp/hz-tracking.txt
+ format-pattern: $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
+```
+
+
+
+
+Instance tracking has the following settings:
+
+| Setting | Description | Default |
+| --- | --- | --- |
+| `enabled` | Whether the instance writes a tracking file | `false` |
+| `file-name` | The path of the tracking file | `Hazelcast.process` in the directory that the `java.io.tmpdir` system property names |
+| `format-pattern` | The pattern for the contents of the file | All the metadata as JSON |
+
+To configure instance tracking for a client, add the same settings to the client configuration.
+
+An instance overwrites any existing file at the configured path. To give each instance its own file, add placeholders to the filename. For example, the filename `Hazelcast-$HZ_INSTANCE_TRACKING{pid}-$HZ_INSTANCE_TRACKING{start_timestamp}.process` contains the process ID and the start time. The filename is therefore different each time an instance starts.
+
+## Use placeholders
+
+The filename and the format pattern can contain placeholders in the form `$HZ_INSTANCE_TRACKING{}`. The `HZ_INSTANCE_TRACKING` prefix distinguishes them from other placeholders in the configuration. When the instance writes the file, it replaces each placeholder with its value.
+
+The following placeholders are available:
+
+| Placeholder | Value |
+| --- | --- |
+| `product` | The product name: `Hazelcast`, `Hazelcast Enterprise`, `Hazelcast Client`, or `Hazelcast Client Enterprise` |
+| `version` | The Hazelcast version of the instance |
+| `mode` | `server` for a member started with the `hz-start` or `hz-start.bat` script, `embedded` for a member embedded in another Java program, or `client` for a client |
+| `start_timestamp` | The time the instance started, in milliseconds since the Unix epoch |
+| `licensed` | `1` if the instance uses a license, or `0` if it does not |
+| `pid` | The process ID of the instance |
+
+If a placeholder name is not in this table, the instance writes the placeholder unchanged and continues with the next one. If a placeholder has no closing brace, the instance writes the rest of the pattern unchanged, including any placeholders that follow.
+
+For example, the following format pattern contains a placeholder name that does not exist and a placeholder with no closing brace:
+
+```java
+String format = "mode: $HZ_INSTANCE_TRACKING{mode}\n"
+ + "product: $HZ_INSTANCE_TRACKING{product}\n"
+ + "licensed: $HZ_INSTANCE_TRACKING{licensed}\n"
+ + "missing: $HZ_INSTANCE_TRACKING{missing}\n"
+ + "broken: $HZ_INSTANCE_TRACKING{broken ";
+```
+
+An embedded member with no license writes the following file:
+
+```properties
+mode: embedded
+product: Hazelcast
+licensed: 0
+missing: $HZ_INSTANCE_TRACKING{missing}
+broken: $HZ_INSTANCE_TRACKING{broken
+```
+
+## Read the default file contents
+
+If you do not set a format pattern, the file contains every placeholder and its value as JSON.
+
+A client writes a file such as the following:
+
+```json
+{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"client", "start_timestamp":1595851430741, "licensed":0}
+```
+
+A member started with the `hz-start` script writes a file such as the following:
+
+```json
+{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"server", "start_timestamp":1595851430741, "licensed":1}
+```
+
+A member embedded in another Java program writes a file such as the following:
+
+```json
+{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"embedded", "start_timestamp":1595851430741, "licensed":1}
+```
+
+## Find the tracking file of a running instance
+
+When an instance writes its tracking file, it sets the `hazelcast.config.instance.tracking.file` system property of its JVM to the full path of the file. To check that each running instance writes its file to the right path, read this property with the [`jcmd`](https://docs.oracle.com/en/java/javase/13/docs/specs/man/jcmd.html) utility. Replace `` with the process ID of the JVM:
+
+```shell
+jcmd VM.system_properties | grep hazelcast.config.instance.tracking.file
+```
+
+The output is similar to the following:
+
+```shell
+hazelcast.config.instance.tracking.file=/tmp/Hazelcast.process
+```
diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/metrics.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/metrics.mdx
new file mode 100644
index 00000000..0932aaaf
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/metrics.mdx
@@ -0,0 +1,389 @@
+---
+title: "Metrics"
+sidebar_position: 2
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+import CodeBlock from "@theme/CodeBlock";
+import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../examples/management/ExampleLocalMapStats.java?tag=lms";
+import Ex_management_ExampleLocalIndexStats_java_tag_lis from "../../examples/management/ExampleLocalIndexStats.java?tag=lis";
+import Ex_management_ExampleNearCacheStats_java_tag_ncs from "../../examples/management/ExampleNearCacheStats.java?tag=ncs";
+import Ex_management_ExampleMultiMapStats_java_tag_mms from "../../examples/management/ExampleMultiMapStats.java?tag=mms";
+import Ex_management_ExampleQueueStats_java_tag_qs from "../../examples/management/ExampleQueueStats.java?tag=qs";
+import Ex_management_ExampleTopicStats_java_tag_ts from "../../examples/management/ExampleTopicStats.java?tag=ts";
+import Ex_management_ExampleExecutorStats_java_tag_es from "../../examples/management/ExampleExecutorStats.java?tag=es";
+import Ex_management_MetricsConfiguration_java_tag_member from "../../examples/management/MetricsConfiguration.java?tag=member";
+import Ex_management_MetricsConfiguration_java_tag_client from "../../examples/management/MetricsConfiguration.java?tag=client";
+
+Hazelcast exposes various metrics to facilitate monitoring of the cluster state. They are `` key-value pairs of data that capture the runtime information about the members and clients in a Hazelcast cluster. Such a metric can be the number of entries stored in a particular `IMap` on a given member, JVM metrics like used heap, OS metrics like load average, and so on.
+
+The metrics system is responsible for collecting these metrics and making them available for the [consumers](#exposing-metrics) of the metrics. There are a few hundred metrics collected during every metrics collection cycle by default, and this number grows as more features and data structures are used. This is because every data structure provides its own metrics. For example, if there are two `IMap`s used in a cluster, both `IMap`s produce their metrics on every member.
+
+Metrics have associated tags which describe which object the metric applies to. For example, the tags for job metrics typically indicate the specific DAG vertex and processor the metric belongs to.
+
+Each metric instance provided belongs to a particular Hazelcast cluster member. Different cluster members can have their own versions of the same metric with different values.
+
+The metric collection runs in regular intervals on each member, but note that the metric collection on different cluster members happens at different moments in time. So if you try to correlate metrics from different members, they can be from different moments of time.
+
+## Hazelcast metrics
+
+There is a wide range of metrics and statistics provided by Hazelcast:
+- Cluster-wide metrics
+- Statistics of distributed data structures
+- Executor statistics
+- Partition-related statistics (state, migration, replication)
+- Garbage collection statistics
+- Memory statistics for the JVM that the current Hazelcast member belongs to, for example total physical/free OS memory, max/committed/used/free heap memory, or max/committed/used/free native memory
+- Network traffic-related statistics (traffic and queue sizes)
+- Class loading-related statistics
+- Thread count information (current, peak and daemon thread counts)
+- Job-specific metrics
+
+See the full list of Hazelcast metrics in [List of Hazelcast Metrics](../../reference/list-of-metrics.mdx).
+
+:::note
+
+Metric names can change between minor versions, but not between patch versions. For the compatibility guarantees of each Hazelcast component, see [Supported Versions and Compatibilities](../../install-and-upgrade/overview/versioning-compatibility.mdx#compatibility-guarantees).
+
+:::
+
+### User-defined metrics
+
+User-defined metrics are actually a subset of [job metrics](../../reference/list-of-metrics.mdx#job-metrics). What distinguishes them from regular job-specific metrics is exactly what their name implies: they are not built-in, but defined when processing pipelines are written.
+
+Since user-defined metrics are also job metrics, they have all the tags job metrics have. They also have an extra tag, called `user`, which is set to `true`.
+
+:::note
+
+Because of their extra tag, user-defined metrics cannot overwrite a built-in metric, even if they have the exact same name.
+
+:::
+
+For example, to monitor your filtering step, you can write code like this:
+
+```java
+p.readFrom(source)
+ .filter(l -> {
+ boolean pass = l % 2 == 0;
+ if (!pass) {
+ Metrics.metric("dropped").increment();
+ }
+ Metrics.metric("total").increment();
+ return pass;
+ })
+ .writeTo(sink);
+```
+
+User-defined metrics can be used anywhere in pipeline definitions where custom code can be added. The most important places are filtering, mapping, and flat-mapping functions, various constituent functions of aggregations (accumulate, create, combine, deduct, export, and finish), and the key extraction function when grouping. They can also be used in [custom batch sources](../../develop-build/building-data-pipelines/ingesting-data-from-sources/custom-batch-source.mdx), [custom stream sources](../../develop-build/building-data-pipelines/ingesting-data-from-sources/custom-stream-source.mdx), [custom sinks](../../develop-build/building-data-pipelines/sending-results-to-sinks/custom-sink.mdx), processors, and so on.
+
+## Exposing metrics
+
+Use these tools and interfaces to expose the metrics to the outside world:
+-
+- JMX
+- [Diagnostics](./diagnostics.mdx)
+- Prometheus
+- Job API
+
+### Management Center
+
+Management Center receives the metrics used for building its view about the Hazelcast cluster from the metrics system. The members collect their metrics with the frequency defined with `collection-frequency-seconds`, which is by default once in every 5 seconds.
+
+The member saves the collected metrics into a blob stored in an in-memory buffer. The blob then is retained for the time configured in the `retention-seconds` under the `management-center` configuration block. This is also 5 seconds by default, which means there is at most one blob stored by default. Management Center periodically reads the metrics from this buffer. A blob stays in the buffer until a newer blob replaces it.
+
+The client metrics are also stored in these blobs on the member side with timestamps assigned to them on the client side.
+
+See the for more information.
+
+### JMX
+
+Hazelcast exposes all its metrics using the JVM's standard JMX interface. You can use tools such as Java Mission Control or JConsole to display them.
+
+To connect a JMX client to a member, see [Monitoring with JMX](./monitoring-with-jmx.mdx). That page also describes a separate set of MBeans for data structures and internal services, which you enable with the `hazelcast.jmx` property. The metrics do not need that property. The `jmx` element of the `metrics` configuration controls them, and it is enabled by default.
+
+The Hazelcast metrics are exposed under `com.hazelcast/Metrics/$INSTANCE_NAME` where `$INSTANCE_NAME` is the name of the member or client instance to which the JMX client is connected.
+
+[Jet engine](../../develop-build/building-data-pipelines/overview.mdx#what-is-the-jet-engine)-related beans are stored under `com.hazelcast.jet/Metrics//` node, and the various tags they have form further sub-nodes in the resulting tree structure.
+
+### Prometheus
+
+[Prometheus](https://prometheus.io/docs/prometheus/latest/getting_started) is a monitoring system and time series database. Setting up monitoring via Prometheus consists of two steps. The first step is exposing an HTTP endpoint with metrics. The second step is setting up Prometheus server, which pulls the metrics in a specified interval.
+
+The Prometheus Java agent is already part of the Hazelcast distribution. Enable the agent and expose all metrics via HTTP endpoint by setting an environment variable `PROMETHEUS_PORT`. You can change the port to any available port:
+
+```bash
+PROMETHEUS_PORT=8080 bin/hz-start
+```
+
+You should see the following line printed to the logs:
+
+```text
+Prometheus enabled on port 8080
+```
+
+The metrics are available on `http://localhost:8080`.
+
+
+### Job API
+
+The `Job` class has a method which returns a instance. It contains the latest known metric values for the job.
+
+This functionality has been developed primarily to give access to metrics of finished jobs, but can in fact be used for jobs in any state. For details on how to use and filter the metric values consult the .
+
+A simple example for computing the number of data items emitted by a certain vertex, `vertexA`, excluding items emitted to the snapshot, looks like this:
+
+```java
+Predicate vertexOfInterest =
+ MeasurementPredicates.tagValueEquals(MetricTags.VERTEX, "vertexA");
+Predicate notSnapshotEdge =
+ MeasurementPredicates.tagValueEquals(MetricTags.ORDINAL, "snapshot").negate();
+
+Collection measurements = jobMetrics
+ .filter(vertexOfInterest.and(notSnapshotEdge))
+ .get(MetricNames.EMITTED_COUNT);
+
+long totalCount = measurements.stream().mapToLong(Measurement::value).sum();
+```
+
+## Configuration
+
+Metrics collection is enabled by default. You can configure the metrics system declaratively, in the XML or YAML [configuration file](../configuration/static-configuration/configuring-declaratively.mdx), or programmatically, with the [Java API](../configuration/static-configuration/configuring-programmatically.mdx). The following example shows the member configuration with the default values:
+
+
+
+
+```xml
+
+
+ 5
+
+
+ 5
+
+```
+
+
+
+
+```yaml
+metrics:
+ enabled: true
+ management-center:
+ enabled: true
+ retention-seconds: 5
+ jmx:
+ enabled: true
+ collection-frequency-seconds: 5
+```
+
+
+
+
+{Ex_management_MetricsConfiguration_java_tag_member}
+
+
+
+
+You can override each setting in the `metrics` configuration with a [Hazelcast property](../../reference/system-properties.mdx). Set the property in the `properties` section of the member configuration, or as a JVM system property, such as `-Dhazelcast.metrics.enabled=false`. If you set both, the member uses the value from the `properties` section. The member logs each override when it starts. The following properties override the `metrics` configuration:
+- `hazelcast.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
+- `hazelcast.metrics.mc.enabled`: Enables buffering the collected metrics for Management Center if set to `true`, disables it otherwise.
+- `hazelcast.metrics.mc.retention`: Duration, in seconds, for which the metrics are retained for Management Center.
+- `hazelcast.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
+- `hazelcast.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
+
+The `hazelcast.metrics.debug.enabled` property has no element in the `metrics` configuration. If it is `true`, the member collects debug metrics. Enable it only if [diagnostics](./diagnostics.mdx) is enabled, because only the diagnostics feature consumes the debug metrics.
+
+The client configuration is similar. It lacks the Management Center configuration block (`management-center` configuration element), as shown below. This is because the clients are not connected to Management Center and the client metrics are sent to Management Center through a member to which the client is connected.
+
+
+
+
+```xml
+
+
+ 5
+
+```
+
+
+
+
+```yaml
+metrics:
+ enabled: true
+ jmx:
+ enabled: true
+ collection-frequency-seconds: 5
+```
+
+
+
+
+{Ex_management_MetricsConfiguration_java_tag_client}
+
+
+
+
+You can override the client `metrics` configuration in the same way, with the following properties:
+- `hazelcast.client.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
+- `hazelcast.client.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
+- `hazelcast.client.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
+
+The `hazelcast.client.metrics.debug.enabled` property has no element in the `metrics` configuration. If it is `true`, the client collects debug metrics. Enable it only if [diagnostics](./diagnostics.mdx) is enabled, because only the diagnostics feature consumes the debug metrics.
+
+## Performance
+
+The metrics system is designed to make the least possible impact on the performance of the cluster. Since the metrics collection takes place periodically with a few seconds frequency, the main focus is keeping allocation rates and memory footprint at minimum. Therefore, the blobs that store the metrics for Management Center are stored in the memory in a compressed format. The measurements that use multiple `IMap`s to scale up the number of metrics show that one blob occupies only a few kilobytes. It grows above 10 KB only if there are more than 1000 `IMap`s.
+
+The allocation rate of a metric collection cycle is also low. With both Management Center and JMX consumers enabled, the allocation rate with 100 `IMap`s is below 256 KB per cycle, and it grows above 1 MB with 1000 `IMap`s. This means that metrics collection does not increase the frequency of the garbage collection (GC) noticeably.
+
+While the metrics collection is considered GC friendly, the blobs are not recycled. Take the frequency of the GC into account when you configure the retention time. This prevents the blobs from getting promoted into the tenured region of the heap, where they contribute to major GCs over time.
+
+
+## Member statistics
+
+You can get various statistics from your distributed data structures with the `getLocalStats()` method of each data structure, such as `IMap.getLocalMapStats()`. These methods return statistics from the member that you call them on, not from the whole cluster.
+
+Entry statistics, such as the owned entry count, cover the data in the [partitions](../../develop-build/architecture/data-partitioning.mdx) that the member owns. Backup statistics cover the backups that the member holds. For maps, operation statistics, such as put counts and latencies, cover the calls that go through the member, whichever member owns the data. These calls come from the member's own code or from clients connected to it.
+
+Each data structure has a `statistics-enabled` configuration setting, which is `true` by default. If you set it to `false`, the member leaves the data structure out of the statistics that it reports to the metrics system and . The effect on the local statistics that the API returns depends on the data structure:
+
+| Data structure | Effect on local statistics |
+| --- | --- |
+| `IMap` | The member does not record operation counts, latencies, or index statistics. Entry counts and memory costs are still available. |
+| `MultiMap` | The member does not record operation counts or latencies, except for `putAll()` calls, transactional puts, and received events. Entry counts are still available. |
+| Queue | None. The member still records all queue statistics. |
+| Topic and reliable topic | None. The member still records publish and receive counts. |
+| Executor service | The member does not record any statistics. The `getLocalExecutorStats()` method returns zero values. |
+
+### Map statistics
+
+To get local map statistics, use the `getLocalMapStats()` method from the `IMap` interface. This method returns a `LocalMapStats` object that holds local map statistics.
+
+This example code shows how `getLocalMapStats()` and `getOwnedEntryCount()` can get the number of entries owned by this member:
+
+{Ex_management_ExampleLocalMapStats_java_tag_lms}
+
+
+For more details on map statistics, see [Reading Map Metrics](../../develop-build/distributed-data-structures/map/reading-map-metrics.mdx).
+
+### Map index statistics
+
+To access map index statistics, if you are using indexes to speed up map queries, use the `getIndexStats()` method of the `LocalMapStats` interface returned by `IMap.getLocalMapStats()`.
+
+Below is an example where the `getIndexStats()` method is used to examine an average selectivity of index hits:
+
+{Ex_management_ExampleLocalIndexStats_java_tag_lis}
+
+The following are some of the metrics that you can obtain via the `LocalIndexStats` interface:
+- Number of queries and hits into an index (`getQueryCount()` and `getHitCount()`). The number of hits and queries may differ since a single query may hit the same index more than once.
+- Average index hit latency measured in nanoseconds (`getAverageHitLatency()`).
+- Average index hit selectivity (`getAverageHitSelectivity`). Returned values are in the range from 0.0 to 1.0. Values close to 1.0 indicate a high selectivity meaning the index is efficient; values close to 0.0 indicate a low selectivity meaning the index efficiency is approaching an efficiency of a simple full scan.
+- Number of index insert, update and remove operations (`getInsertCount()`, `getUpdateCount()` and `getRemoveCount()`).
+- Total latencies of insert, update and remove operations (`getTotalInsertLatency()`, `getTotalUpdateLatency()`, `getTotalRemoveLatency()`). To compute an average latency, divide the returned value by the number of operations of a corresponding type.
+- Memory cost of an index (`getMemoryCost()`). For on-heap storage, this memory cost metric value is a best-effort approximation and does not indicate a precise on-heap memory usage of an index.
+
+See the to see all the metrics.
+
+To compute an aggregated value of `getAverageHitSelectivity()` for all cluster members, you can use a simple averaging computation as shown below:
+
+```none
+(s(1) + s(2) + ... + s(n)) / n
+```
+
+In this computation, `s(i)` is an average hit selectivity on the member `i` and `n` is the total number of cluster members.
+
+A more advanced solution is to compute a weighted average as shown below:
+
+```none
+(s(1) * h(1) + s(2) * h(2) + ... + s(n) * h(n)) / (h(1) + h(2) + ... + h(n))
+```
+
+Here, `s(i)` is an average hit selectivity on the member `i`, `h(i)` is a hit count (`getHitCount()`) on the member `i` and `n` is the total number of cluster members. This more advanced solution may produce more precise results in unstable dynamic clusters where new members do not have enough statistics accumulated. The same technique may be applied to the `getAverageHitLatency()` metric.
+
+Note the following about accuracy and reliability:
+- For on-heap storage, values returned by `getAverageHitSelectivity()` may be 1% more or less than the actual selectivity. For example, if the actual selectivity is 0.9, the returned value could be between 0.89 and 0.91.
+- The values returned by `getQueryCount()` and `getHitCount()` may be imprecise for queries involving partition predicates (`PartitionPredicate`) on off-heap storage.
+- The index statistics may be imprecise after a new cluster member addition or the existing member removal. They stay imprecise until enough fresh statistics are accumulated on a new owner of an index or its partition.
+
+### Near Cache statistics
+
+To get Near Cache statistics, use the `getNearCacheStats()` method from the `LocalMapStats` object. This method returns a `NearCacheStats` object that holds Near Cache statistics.
+
+Below is an example where the `getNearCacheStats()` method and the `getRatio()` method from `NearCacheStats` get a Near Cache hit/miss ratio.
+
+{Ex_management_ExampleNearCacheStats_java_tag_ncs}
+
+The following are some of the metrics that you can access via the `NearCacheStats` object (applies to both client and member Near Caches):
+- Creation time of the Near Cache on the member (`getCreationTime()`)
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Memory cost (number of bytes) of owned entries in the Near Cache (`getOwnedEntryMemoryCost()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+
+See the to see all the metrics.
+
+### `MultiMap` statistics
+
+To get `MultiMap` statistics, use the `getLocalMultiMapStats()` method from the `MultiMap` interface. This method returns a `LocalMultiMapStats` object that holds local `MultiMap` statistics.
+
+Below is an example where the `getLocalMultiMapStats()` method and the `getLastUpdateTime()` method from `LocalMultiMapStats` get the last update time.
+
+{Ex_management_ExampleMultiMapStats_java_tag_mms}
+
+The following are some of the metrics that you can access via the `LocalMultiMapStats` object:
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Number of backup entries held by the member (`getBackupEntryCount()`)
+- Number of backups per entry (`getBackupCount()`)
+- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
+- Creation time of the `MultiMap` on the member (`getCreationTime()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
+
+See the to see all the metrics.
+
+### Queue statistics
+
+To get local queue statistics, use the `getLocalQueueStats()` method from the `IQueue` interface. This method returns a `LocalQueueStats` object that holds local queue statistics.
+
+Below is an example where the `getLocalQueueStats()` method and the `getAverageAge()` method from `LocalQueueStats` get the average age of items.
+
+{Ex_management_ExampleQueueStats_java_tag_qs}
+
+The following are some of the metrics that you can access via the `LocalQueueStats` object:
+- Number of owned items in the member (`getOwnedItemCount()`)
+- Number of backup items in the member (`getBackupItemCount()`)
+- Minimum and maximum ages of the items in the member (`getMinAge()` and `getMaxAge()`)
+- Number of offer, put and add operations (`getOfferOperationCount()`)
+
+See the to see all the metrics.
+
+### Topic statistics
+
+To get local topic statistics, use the `getLocalTopicStats()` method from the `ITopic` interface. This method returns a `LocalTopicStats` object that holds local topic statistics.
+
+Below is an example where the `getLocalTopicStats()` method and the `getPublishOperationCount()` method from `LocalTopicStats` get the number of publish operations.
+
+{Ex_management_ExampleTopicStats_java_tag_ts}
+
+The following are the metrics that you can access via the `LocalTopicStats` object:
+- Creation time of the topic on the member (`getCreationTime()`)
+- Total number of published messages of the topic on the member (`getPublishOperationCount()`)
+- Total number of received messages of the topic on the member (`getReceiveOperationCount()`)
+
+See the to see all the metrics.
+
+### Executor statistics
+
+To get local executor statistics, use the `getLocalExecutorStats()` method from the `IExecutorService` interface. This method returns a `LocalExecutorStats` object that holds local executor statistics.
+
+Below is an example where the `getLocalExecutorStats()` method and the `getCompletedTaskCount()` method from `LocalExecutorStats` get the number of completed operations of the executor service.
+
+{Ex_management_ExampleExecutorStats_java_tag_es}
+
+The following are some of the metrics that you can access via the `LocalExecutorStats` object:
+- Number of pending operations of the executor service (`getPendingTaskCount()`)
+- Number of started operations of the executor service (`getStartedTaskCount()`)
+- Number of completed operations of the executor service (`getCompletedTaskCount()`)
+
+See the to see all the metrics.
diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/monitoring-with-jmx.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/monitoring-with-jmx.mdx
new file mode 100644
index 00000000..55d73b3d
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/monitoring-with-jmx.mdx
@@ -0,0 +1,391 @@
+---
+title: "Monitoring with JMX"
+sidebar_position: 5
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+You can monitor Hazelcast members with JMX. When you enable JMX, each member registers MBeans for its distributed data structures and its internal services. Any JMX client, such as JConsole, can read the attributes of these MBeans and call their operations.
+
+Hazelcast also exposes its [metrics](./metrics.mdx#jmx) over JMX. The metrics MBeans do not need the `hazelcast.jmx` property. The `jmx` element of the `metrics` configuration controls them, and it is enabled by default.
+
+## Enable JMX
+
+To monitor a member with JMX, enable the JMX agent of the member's JVM, and then enable JMX in Hazelcast.
+
+Start the JVM with the following system properties to enable the [JMX agent](https://docs.oracle.com/en/java/javase/17/management/monitoring-and-management-using-jmx-technology.html):
+
+| System property | Effect |
+| --- | --- |
+| `-Dcom.sun.management.jmxremote` | Enables the JMX agent |
+| `-Dcom.sun.management.jmxremote.port=` | Optional. Accepts remote connections on the given port. |
+| `-Dcom.sun.management.jmxremote.authenticate=false` | Optional. Turns off password authentication of JMX connections. |
+
+Then set the `hazelcast.jmx` property to `true`. The default is `false`.
+
+
+
+
+```xml
+
+ ...
+
+ true
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ properties:
+ hazelcast.jmx: true
+```
+
+
+
+
+```java
+config.setProperty("hazelcast.jmx", "true");
+```
+
+
+
+
+```xml
+
+ true
+
+```
+
+
+
+
+```shell
+-Dhazelcast.jmx=true
+```
+
+
+
+
+## MBean names
+
+Each Hazelcast MBean has an object name in the `com.hazelcast` domain. The object name has the following keys:
+
+| Key | Value |
+| --- | --- |
+| `instance` | The name of the Hazelcast instance |
+| `type` | The type of the MBean, such as `IMap` or `HazelcastInstance.Node` |
+| `name` | The name of the data structure or service |
+
+For example, the following object name identifies the MBean of the map `trial` on the instance `_hzInstance_1_dev`:
+
+```java
+ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
+```
+
+If a value contains any of the characters `:`, `"`, `,`, `=`, `*`, or `?`, or a line break, Hazelcast quotes it with `ObjectName.quote()`. For example, the MBean of a map named `orders:eu` has the object name `com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name="orders:eu"`.
+
+## Connect to the JMX agent
+
+To connect to a member, use a JMX client such as JConsole or VisualVM with the VisualVM-MBeans plugin. You can also connect from your own Java code.
+
+To connect from Java code, first create a `JMXServiceURL` with the host of the member and the port that you set in `com.sun.management.jmxremote.port`:
+
+```java
+int port = 1099;
+String hostname = InetAddress.getLocalHost().getHostName();
+JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://" + hostname + ":" + port + "/jndi/rmi://" + hostname + ":" + port + "/jmxrmi");
+```
+
+Then connect to the URL, and get an `MBeanServerConnection` from the connection:
+
+```java
+JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
+MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
+```
+
+Use the `MBeanServerConnection` to read attributes and call operations. The following example reads the name of a map and the number of its entries that the member owns:
+
+```java
+ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
+System.out.println("Total entries on map " + mbsc.getAttribute(mapMBeanName, "name") + " : "
+ + mbsc.getAttribute(mapMBeanName, "localOwnedEntryCount"));
+```
+
+## MBeans of a member
+
+The following sections list the MBeans that a member registers. Each section lists the attributes and operations of one MBean. Operation names end with parentheses. Attributes whose names start with `local` describe only the member that you connect to, not the whole cluster. For the metrics behind many of these attributes, see [List of Hazelcast metrics](../../reference/list-of-metrics.mdx).
+
+### Instance (`HazelcastInstance`)
+
+The `HazelcastInstance` MBean describes the member and its cluster. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the instance |
+| `version` | Hazelcast version |
+| `build` | Hazelcast build |
+| `config` | Configuration of the member, as a string |
+| `configSource` | Source of the configuration |
+| `clusterName` | Name of the cluster |
+| `port` | Network port |
+| `clusterTime` | Cluster-wide time |
+| `memberCount` | Number of members in the cluster |
+| `Members` | List of members |
+| `running` | Whether the member is running |
+| `shutdown()` | Shuts down the member |
+
+### Node (`HazelcastInstance.Node`)
+
+The `HazelcastInstance.Node` MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `address` | Address of the member |
+| `masterAddress` | Address of the master member of the cluster |
+
+### Partition service (`HazelcastInstance.PartitionServiceMBean`)
+
+The `HazelcastInstance.PartitionServiceMBean` MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `partitionCount` | Number of partitions |
+| `activePartitionCount` | Number of active partitions |
+| `isClusterSafe` | Whether the cluster is in a safe state |
+| `isLocalMemberSafe` | Whether the member is safe to shut down |
+
+### Logging service (`HazelcastInstance.LoggingService`)
+
+The `HazelcastInstance.LoggingService` MBean has the following attribute and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `level` | Log level that is set on the member |
+| `setLevel(level)` | Sets the log level of the member |
+| `resetLevel()` | Resets the log level of the member |
+
+### License (`HazelcastInstance.LicenseInfo`)
+
+The `HazelcastInstance.LicenseInfo` MBean holds the details of the member's license. For its attributes, see [Getting license details with the JMX API](../../install-and-upgrade/enterprise-edition/enterprise-licenses.mdx#jmx).
+
+### Internal executors (`HazelcastInstance.ManagedExecutorService`)
+
+A member registers one `HazelcastInstance.ManagedExecutorService` MBean for each of the following internal executors. The `name` key of the object name is the name of the executor:
+- `hz:system`
+- `hz:async`
+- `hz:scheduled`
+- `hz:client`
+- `hz:client-query`
+- `hz:client-blocking-tasks`
+- `hz:query`
+- `hz:io`
+- `hz:offloadable`
+
+Each executor MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the executor |
+| `queueSize` | Number of tasks in the work queue |
+| `poolSize` | Number of threads in the pool |
+| `maximumPoolSize` | Maximum number of threads in the pool |
+| `remainingQueueCapacity` | Remaining capacity of the work queue |
+| `isShutdown` | Whether the executor is shut down |
+| `isTerminated` | Whether the executor is terminated |
+| `completedTaskCount` | Number of tasks that the executor has completed |
+
+### WAN publisher (`WanPublisher`)
+
+A member registers one `WanPublisher` MBean for each WAN replication publisher. The `name` key of the object name is the name of the WAN replication and the ID of the publisher, separated by a period. The MBean has the following attribute:
+
+| Attribute | Description |
+| --- | --- |
+| `state` | State of the publisher: `REPLICATING`, `PAUSED`, or `STOPPED` |
+
+### Map (`IMap`)
+
+A member registers an `IMap` MBean for each map. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the map |
+| `size` | Number of entries in the map |
+| `config` | Configuration of the map |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localOwnedEntryMemoryCost` | Memory cost of the owned entries, in bytes |
+| `localBackupEntryCount` | Number of backup entries that the member holds |
+| `localBackupEntryMemoryCost` | Memory cost of the backup entries, in bytes |
+| `localBackupCount` | Number of backups of each entry |
+| `localCreationTime` | Time the map was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localLockedEntryCount` | Number of owned keys that are locked |
+| `localDirtyEntryCount` | Number of owned entries that are updated but not yet written to the map store |
+| `localPutOperationCount` | Number of put operations |
+| `localSetOperationCount` | Number of set operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalSetLatency` | Total latency of set operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxSetLatency` | Maximum latency of a set operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `localHeapCost` | Heap cost of the map, including its Near Cache |
+| `clear()` | Removes all entries from the map |
+
+To get the average latency of an operation type, divide its total latency by its operation count.
+
+### `MultiMap` (`MultiMap`)
+
+A member registers a `MultiMap` MBean for each `MultiMap`. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the `MultiMap` |
+| `size` | Number of entries in the `MultiMap` |
+| `config` | Configuration of the `MultiMap` |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localOwnedEntryMemoryCost` | Memory cost of the owned entries, in bytes |
+| `localBackupEntryCount` | Number of backup entries that the member holds |
+| `localBackupEntryMemoryCost` | Memory cost of the backup entries, in bytes |
+| `localBackupCount` | Number of backups of each entry |
+| `localCreationTime` | Time the `MultiMap` was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localLockedEntryCount` | Number of owned keys that are locked |
+| `localDirtyEntryCount` | Number of owned entries that are dirty |
+| `localPutOperationCount` | Number of put operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `clear()` | Removes all entries from the `MultiMap` |
+
+### Replicated map (`ReplicatedMap`)
+
+A member registers a `ReplicatedMap` MBean for each replicated map. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the replicated map |
+| `size` | Number of entries in the replicated map |
+| `config` | Configuration of the replicated map |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localCreationTime` | Time the replicated map was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localPutOperationCount` | Number of put operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `clear()` | Removes all entries from the replicated map |
+
+### Queue (`IQueue`)
+
+A member registers an `IQueue` MBean for each queue. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the queue |
+| `config` | Configuration of the queue |
+| `partitionKey` | Partition key of the queue |
+| `localOwnedItemCount` | Number of items that the member owns |
+| `localBackupItemCount` | Number of backup items that the member holds |
+| `localMinAge` | Minimum age of the items |
+| `localMaxAge` | Maximum age of the items |
+| `localAverageAge` | Average age of the items |
+| `localOfferOperationCount` | Number of offer, put, and add operations |
+| `localRejectedOfferOperationCount` | Number of rejected offers |
+| `localPollOperationCount` | Number of poll, take, and remove operations |
+| `localEmptyPollOperationCount` | Number of poll operations that returned `null` |
+| `localOtherOperationsCount` | Number of other operations |
+| `localEventOperationCount` | Number of event operations |
+| `clear()` | Removes all items from the queue |
+
+### List (`IList`)
+
+A member registers an `IList` MBean for each list. It has the following attribute and operation:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the list |
+| `clear()` | Removes all items from the list |
+
+### Set (`ISet`)
+
+A member registers an `ISet` MBean for each set. It has the following attributes and operation:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the set |
+| `partitionKey` | Partition key of the set |
+| `clear()` | Removes all items from the set |
+
+### Topic (`ITopic`)
+
+A member registers an `ITopic` MBean for each topic. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the topic |
+| `config` | Configuration of the topic |
+| `localCreationTime` | Time the topic was created on the member |
+| `localPublishOperationCount` | Number of messages published on the member |
+| `localReceiveOperationCount` | Number of messages received on the member |
+
+### Reliable topic (`ReliableTopic`)
+
+A member registers a `ReliableTopic` MBean for each reliable topic. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the reliable topic |
+| `config` | Configuration of the reliable topic |
+| `localCreationTime` | Time the reliable topic was created on the member |
+| `localPublishOperationCount` | Number of messages published on the member |
+| `localReceiveOperationCount` | Number of messages received on the member |
+
+### Executor service (`IExecutorService`)
+
+A member registers an `IExecutorService` MBean for each executor service. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the executor service |
+| `localCreationTime` | Time the executor service was created on the member |
+| `localPendingTaskCount` | Number of pending tasks |
+| `localStartedTaskCount` | Number of started tasks |
+| `localCompletedTaskCount` | Number of completed tasks |
+| `localCancelledTaskCount` | Number of cancelled tasks |
+| `localTotalStartLatency` | Total start latency of the started tasks |
+| `localTotalExecutionLatency` | Total execution time of the completed tasks |
diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/overview.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/overview.mdx
new file mode 100644
index 00000000..a7a1baf3
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.4/operate-manage/monitoring/overview.mdx
@@ -0,0 +1,214 @@
+---
+title: "Overview"
+sidebar_position: 1
+slug: /maintain-cluster/monitoring
+---
+
+Hazelcast provides the following ways to monitor a cluster:
+
+| Page | What it provides |
+| --- | --- |
+| [Metrics](./metrics.mdx) | Runtime statistics about members and clients, such as the number of entries in a map, the used heap, and the load average |
+| [Health check and monitoring](./health-check-and-monitoring.mdx) | An HTTP endpoint that reports the state of a member, and a health monitor that writes resource use to the member log |
+| [Diagnostics](./diagnostics.mdx) | A dedicated log file with detailed information for troubleshooting |
+| [Monitoring with JMX](./monitoring-with-jmx.mdx) | MBeans that any JMX client can read |
+| [Instance tracking](./instance-tracking.mdx) | A file that records each instance that starts on a machine |
+| [Management Center](../securing-a-cluster/management-center.mdx) | A tool for monitoring and managing a cluster, which can also export metrics to other tools |
+
+Follow these practices when you run a cluster:
+- Review the log entries of the health monitor and the Hazelcast logs regularly for failure messages. Investigate and record each incident.
+- Set up alerts for long garbage collection pauses and for network problems that make a member unreachable. The failure detectors set how long the cluster tolerates these problems before it removes the member. For the settings, see [Failure Detector Configuration](../configuring-for-fault-tolerance/detecting-failures/failure-detector-configuration.mdx).
+- Use `jstat`, keep verbose GC logging turned on, and monitor GC behavior with a log scraping tool such as Splunk. Raise an alarm on back-to-back full GCs, and on heap occupancy above 90% after a full GC.
+- Make sure that each member can reach every other member through the network and their ports. Make sure that the clients can reach every member as well.
+- Start the members before the clients. This is not required, but clients that start first can time out or report that they cannot find a Hazelcast member.
+- Turn on a system monitoring tool, such as [`nmon`](http://nmon.sourceforge.net/pmwiki.php).
+- To add a member to a running cluster, start it with a configuration similar to that of the other members. You might also need to add the IP address of the new member to the configuration. You do not need a maintenance window to add members to a running cluster.
+
+ - When a member joins or leaves the cluster, the clients can pause briefly while the members rebalance the data. This is expected.
+ - You do not need to change anything on the clients when you add members to a running cluster. In the default smart client mode, the clients connect to a new member after it joins the cluster.
+ - The members rebalance the primary and backup data automatically when a member joins or leaves the cluster, including when a member is forced to leave. In the default `ACTIVE` cluster state, you do not need to do anything.
+ - You can promote lite members to data members with the [Cluster API](../maintaining-a-cluster/lite-members.mdx#promoting-lite-members-to-data-members) or with Management Center.
+ - If you set `hazelcast.initial.min.cluster.size`, for example to 4, and start members one by one in an empty cluster, the members initialize the partition table when the cluster reaches that size. They do this even though the cluster has no data. In a cluster of more than 100 members, each member that joins after that causes partition assignment work that is not needed.
+- Check that the backup count is adequate for your SLAs.
+- If you use distributed computing features, such as the executor service or entry processors, keep the members up to date. Apply each change to your client application logic, or to your implementation of these features, to the members as well. Unless you use , which requires , restart all the members after you deploy the new code. Use the usual redeployment process: shut down the members, add the new application JARs to the classpath of the members, and start the members.
+
+## Alerting
+
+Hazelcast writes banners, warnings, and exception messages to the console of your application. For example, the following banner warns that a license is about to expire:
+
+```none
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+THIS HAZELCAST LICENSE ID AbCdE*********FgHiJ WILL EXPIRE IN 29 DAYS.
+Your Hazelcast cluster will stop working on the next re-start after
+expiry.
+
+Please contact your Hazelcast Account Executive or
+email sales@hazelcast.com.
+Phone: +1 (650) 521-5453
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+```
+
+The following warning reports an outdated API on the classpath:
+
+```none
+An outdated version of JCache API was located in the classpath, please use newer versions of
+JCache API rather than 1.0.0-PFD or 0.x versions.
+```
+
+The following exception message reports an SQL query that refers to a mapping that does not exist:
+
+```none
+com.hazelcast.sql.HazelcastSqlException: From line 1, column 15 to line 1, column 23: Object 'mapBak1HD' not found, did you forget to CREATE MAPPING?
+```
+
+You can also export metrics from Management Center to Prometheus, and filter them there to create alerts. Hazelcast logging is another, indirect source of alerts. For more information, see [Configuring logging](../logging.mdx).
+
+For the actions to take on each alert, see [Actions and remedies for alerts](../../develop-build/troubleshooting/remedies-for-alerts.mdx).
+
+## Integrating with 3rd party tools
+
+### Prometheus {/* #prometheus-2 */}
+
+Hazelcast Management Center can expose the metrics collected from cluster members to [Prometheus](https://prometheus.io/). This feature can be turned on by setting the `hazelcast.mc.prometheusExporter.enabled` system property to `true`.
+
+Prometheus can be configured to scrape Management Center in `prometheus.yml` as follows:
+
+```yaml
+scrape_configs:
+ - job_name: 'HZ MC'
+ # scheme defaults to 'http'.
+ static_configs:
+ - targets: ['localhost:8080'] # replace this address with the network address of Hazelcast Management Center
+```
+
+After starting Prometheus with this configuration, all metrics will be exported to Prometheus with the `hz_` prefix. The metrics are also available via the [member JMX API](./monitoring-with-jmx.mdx#mbeans-of-a-member). With the default configuration, Management Center exports all metrics reported by the cluster members. Since it can be overly verbose for some use cases, the metrics can be filtered with the `hazelcast.mc.prometheusExporter.filter.metrics.included` or the `hazelcast.mc.prometheusExporter.filter.metrics.excluded` system properties, both being comma-separated lists of metric names.
+
+Example of starting Management Center with specifying the metrics exported to Prometheus:
+
+```bash vars
+java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
+ -Dhazelcast.mc.prometheusExporter.filter.metrics.included=hz_topic_totalReceivedMessages,hz_map_totalPutLatency \
+ -jar hazelcast-management-center-{full-version}.jar
+```
+
+Example of starting Management Center with specifying the metrics to be excluded from the Prometheus export:
+
+```bash vars
+java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
+ -Dhazelcast.mc.prometheusExporter.filter.metrics.excluded=hz_os_systemLoadAverage,hz_memory_freeHeap \
+ -jar hazelcast-management-center-{full-version}.jar
+```
+
+By default, Prometheus connects via the same IP and port as the Management Center web interface. It is possible to override the port number using the `-Dhazelcast.mc.prometheusExporter.port` system property. Let's say you have started Management Center as shown below:
+
+```bash vars
+java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
+ -Dhazelcast.mc.prometheusExporter.port=2222 \
+ -jar hazelcast-management-center-{full-version}.jar
+```
+
+Then, the Prometheus endpoint will be available at `http://localhost:2222/metrics`, which should be reflected by the Prometheus configuration as below:
+
+```yaml
+scrape_configs:
+ - job_name: 'HZ MC'
+ static_configs:
+ - targets: ['localhost:2222']
+```
+
+:::note
+
+If you want to visualize the Prometheus metrics using Grafana, then you can start with [this dashboard](https://grafana.com/grafana/dashboards/13183).
+
+:::
+
+### AppDynamics
+
+You can use the interface to integrate the [Hazelcast Management Center](../securing-a-cluster/management-center.mdx) with **AppDynamics**. To perform this integration, attach the AppDynamics Java agent to the Management Center.
+
+For agent installation, see the [Install the App Agent for Java](http://docs.appdynamics.com/display/PRO14S/Install%2Bthe%2BApp%2BAgent%2Bfor%2BJava) page.
+
+For monitoring on AppDynamics, see the [Using AppDynamics for JMX Monitoring](http://docs.appdynamics.com/display/PRO14S/Monitor%2BJMX%2BMBeans#MonitorJMXMBeans-UsingAppDynamicsforJMXMonitoring) page.
+
+After installing AppDynamics agent, you can start the Management Center as shown below:
+
+```bash vars
+java -javaagent:/path/to/javaagent.jar \
+ -Dhazelcast.mc.jmx.enabled=true \
+ -Dhazelcast.mc.jmx.port=9999 -jar hazelcast-management-center-{full-version}.jar
+```
+
+When the Management Center starts, you should see the logs below:
+
+```none
+Started AppDynamics Java Agent Successfully.
+Hazelcast Management Center starting on port 8080 at path : /
+```
+
+### New Relic
+
+You can use the interface to integrate the [Hazelcast Management Center](../securing-a-cluster/management-center.mdx) with New Relic. To perform this integration, attach the New Relic Java agent and provide an extension file that describes which metrics are sent to New Relic.
+
+See [Custom JMX instrumentation by YAML](http://docs.newrelic.com/docs/java/custom-jmx-instrumentation-by-yml) on the New Relic webpage.
+
+The following is an example Map monitoring `.yml` file for New Relic:
+
+```plain
+name: Clustered JMX
+version: 1.0
+enabled: true
+
+jmx:
+- object_name: ManagementCenter[clustername]:type=Maps,name=mapname
+ metrics:
+ - attributes: PutOperationCount, GetOperationCount, RemoveOperationCount, Hits, BackupEntryCount, OwnedEntryCount, LastAccessTime, LastUpdateTime
+ - type: simple
+- object_name: ManagementCenter[clustername]:type=Members,name="member address in double quotes"
+ metrics:
+ - attributes: OwnedPartitionCount
+ - type: simple
+```
+
+Put the `.yml` file in the `extensions` directory in your New Relic installation. If an `extensions` directory does not exist there, create one.
+
+After you set your extension, attach the New Relic Java agent and start the Management Center as shown below.
+
+```bash vars
+java -javaagent:/path/to/newrelic.jar -Dhazelcast.mc.jmx.enabled=true\
+ -Dhazelcast.mc.jmx.port=9999 -jar hazelcast-management-center-{full-version}.jar
+```
+
+If your logging level is set to `FINER`, you should see the log listing in the file `newrelic_agent.log`, which is located in the `logs` directory in your New Relic installation. The following is an example log listing:
+
+```none
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINE:
+ JMX Service : querying MBeans (1)
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ JMX Service : MBeans query ManagementCenter[dev]:type=Members,
+ name="192.168.2.79:5701", matches 1
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric OwnedPartitionCount : 68
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ JMX Service : MBeans query ManagementCenter[dev]:type=Maps,name=orders,
+ matches 1
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric Hits : 46,593
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric BackupEntryCount : 1,100
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric OwnedEntryCount : 1,100
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric RemoveOperationCount : 0
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric PutOperationCount : 118,962
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric GetOperationCount : 0
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric LastUpdateTime : 1,401,962,426,811
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric LastAccessTime : 1,401,962,426,811
+```
+
+Then you can navigate to your New Relic account and create custom dashboards. See [Get Started with Dashboards](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards/).
+
+While you are creating the dashboard, you should see the metrics that you are sending to New Relic from the Management Center in the **Metrics** section under the JMX directory.
diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/securing-a-cluster/hardening-recommendations.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/securing-a-cluster/hardening-recommendations.mdx
index ae9c5b37..de404636 100644
--- a/hazelcast_versioned_docs/version-5.4/operate-manage/securing-a-cluster/hardening-recommendations.mdx
+++ b/hazelcast_versioned_docs/version-5.4/operate-manage/securing-a-cluster/hardening-recommendations.mdx
@@ -36,4 +36,4 @@ In addition to the above, we recommend the following hardening recommendations f
- We recommend that [mutual TLS authentication](./tls-ssl/tls-ssl.mdx#mutual-authentication) be enabled on a Hazelcast production cluster.
- Hazelcast uses Java serialization for some objects transferred over the network. To avoid deserialization of objects from untrusted sources, Hazelcast offers some protection mechanisms; we recommend enabling [mutual TLS authentication](./tls-ssl/tls-ssl.mdx#mutual-authentication) and disabling [multicast join](../partition-groups-and-networking/network-configuration.mdx#multicast-element) configuration. We recommend using Java serialization filter configuration for whitelisting the set of trusted classes or packages which are allowed for deserialization.
- Hazelcast uses Java reflection during SQL execution when the object format is set to `java`. We recommend using [Java reflection filter configuration](../../develop-build/sql/sql-reflection-configuration.mdx#disallowing-reflection-of-untrusted-java-classes) to whitelist the set of trusted classes or packages that are allowed to create through reflection.
-- You can disable script executions on the Hazelcast members. Scripts executed from Management center have access to system resources (files, etc.) with privileges of user running Hazelcast. We recommend that scripting be [disabled](../maintaining-a-cluster/monitoring.mdx#toggle-scripting-support) on members.
+- You can disable script executions on the Hazelcast members. Scripts executed from Management center have access to system resources (files, etc.) with privileges of user running Hazelcast. We recommend that scripting be [disabled](./management-center.mdx#toggle-scripting-support) on members.
diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/securing-a-cluster/management-center.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/securing-a-cluster/management-center.mdx
new file mode 100644
index 00000000..a676f210
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.4/operate-manage/securing-a-cluster/management-center.mdx
@@ -0,0 +1,156 @@
+---
+title: "Management Center"
+sidebar_position: 12
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast is a tool for monitoring and managing a cluster. In Management Center, you can monitor the state of your clusters, browse your data structures, update map configurations, and take thread dumps from members. With its scripting and console modules, you can also run scripts, such as JavaScript or Groovy, and commands on your members. A script runs only if the classpath of the member contains a scripting engine for the language of the script.
+
+For more information, including the clustered JMX and clustered REST APIs of Management Center, see the .
+
+Management Center is a client of the cluster. You therefore control the following features of Management Center in the member configuration:
+- Scripting
+- The console
+- Access to data
+- The IP addresses that Management Center can connect from
+
+## Enable scripting {/* #managing-scripting-support */}
+
+
+
+Management Center can run scripts that automate interactions with the cluster. Scripting is disabled by default, because a scripting engine gives code access to the files and other resources of the members. The code runs with the permissions of the user that runs the member.
+
+:::important
+
+Scripting gives full, unrestricted access to the cluster. The permissions of individual Management Center users do **not** limit it. Enable scripting with caution, especially in production. If you need fine-grained access control, leave scripting disabled. For details, see in the Management Center documentation.
+
+:::
+
+To enable scripting, set `scripting-enabled` to `true` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ scripting-enabled: true
+```
+
+
+
+
+Hazelcast supports scripting through the API that [Java Specification Request (JSR) 223](https://jcp.org/en/jsr/detail?id=223) defines.
+
+## Enable the console {/* #managing-console-support */}
+
+Management Center can run client operations from its user interface, with a built-in Hazelcast Command-Line Client (CLC). The console is useful for testing and development. It is disabled by default.
+
+:::important
+
+The console gives full access to the cluster through CLC. The permissions of individual Management Center users do **not** limit it. Enable the console with caution, especially in production. If you need fine-grained access control, leave the console disabled.
+
+:::
+
+To enable the console, set `console-enabled` to `true` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ console-enabled: true
+```
+
+
+
+
+For more information, see in the Management Center documentation.
+
+## Disable access to data {/* #managing-data-access */}
+
+In its SQL Browser and Map Browser, Management Center can show the contents of data structures, such as map entries. If your cluster stores sensitive data, such as financial or personal information, you can stop Management Center from reading it. Access to data is enabled by default. Management Center reads data only if every member allows it.
+
+To disable access to data, set `data-access-enabled` to `false` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ data-access-enabled: false
+```
+
+
+
+
+## Limit source addresses
+
+By default, any Management Center instance that can authenticate can connect to the cluster. To accept connections only from trusted Management Center instances, list their IP addresses in `trusted-interfaces`. The addresses can contain wildcards (`*`) and ranges (`-`).
+
+The following example accepts connections only from Management Center instances with an address that starts with `192.168.1.`:
+
+
+
+
+```xml
+
+ ...
+
+
+ 192.168.1.*
+
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ trusted-interfaces:
+ - 192.168.1.*
+```
+
+
+
diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/synchronizing-data-across-clusters/advanced-features.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/synchronizing-data-across-clusters/advanced-features.mdx
index b940ff34..8a83932f 100644
--- a/hazelcast_versioned_docs/version-5.4/operate-manage/synchronizing-data-across-clusters/advanced-features.mdx
+++ b/hazelcast_versioned_docs/version-5.4/operate-manage/synchronizing-data-across-clusters/advanced-features.mdx
@@ -416,7 +416,7 @@ The average entries per leaf number above assumes perfect distribution of the en
### WAN Synchronization Statistics
-Both Full and Delta WAN Synchronization processes write statistics into the [diagnostics](../maintaining-a-cluster/monitoring.mdx#diagnostics) subsystem and send them to Hazelcast Management Center. Using these statistics you can measure the efficiency of your configuration.
+Both Full and Delta WAN Synchronization processes write statistics into the [diagnostics](../monitoring/diagnostics.mdx) subsystem and send them to Hazelcast Management Center. Using these statistics you can measure the efficiency of your configuration.
Full WAN Synchronization reports the following:
@@ -459,7 +459,7 @@ Merkle synchronization statistics:
Maximum records per Merkle tree node: 7
```
-See the [Diagnostics section](../maintaining-a-cluster/monitoring.mdx#diagnostics) to learn how to enable diagnostics and locate its log file to see the above statistics.
+See the [Diagnostics section](../monitoring/diagnostics.mdx) to learn how to enable diagnostics and locate its log file to see the above statistics.
## Dynamically Adding WAN Publishers
diff --git a/hazelcast_versioned_docs/version-5.4/reference/faq.mdx b/hazelcast_versioned_docs/version-5.4/reference/faq.mdx
index d20a0e31..4eec57d1 100644
--- a/hazelcast_versioned_docs/version-5.4/reference/faq.mdx
+++ b/hazelcast_versioned_docs/version-5.4/reference/faq.mdx
@@ -229,9 +229,9 @@ Yes. But please note that Hazelcast's main design focus is multi-member clusters
is what you use to monitor and manage the members running Hazelcast. In addition to monitoring the overall state of a cluster, you can analyze and browse data structures in detail, you can update map configurations and you can take thread dumps from members.
-You can also use Hazelcast's HTTP based health check implementation and health monitoring utility. See the [Health Check and Monitoring section](../operate-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). There is also a [diagnostics tool](../operate-manage/maintaining-a-cluster/monitoring.mdx#diagnostics) where you can see detailed logs enhanced with diagnostic plugins.
+You can also use Hazelcast's HTTP based health check implementation and health monitoring utility. See the [Health Check and Monitoring section](../operate-manage/monitoring/health-check-and-monitoring.mdx). There is also a [diagnostics tool](../operate-manage/monitoring/diagnostics.mdx) where you can see detailed logs enhanced with diagnostic plugins.
-Moreover, JMX monitoring is also provided. See the [Monitoring with JMX section](../operate-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) for details.
+Moreover, JMX monitoring is also provided. See the [Monitoring with JMX section](../operate-manage/monitoring/monitoring-with-jmx.mdx) for details.
diff --git a/hazelcast_versioned_docs/version-5.4/reference/list-of-metrics.mdx b/hazelcast_versioned_docs/version-5.4/reference/list-of-metrics.mdx
index 78ae1fcb..494bbba9 100644
--- a/hazelcast_versioned_docs/version-5.4/reference/list-of-metrics.mdx
+++ b/hazelcast_versioned_docs/version-5.4/reference/list-of-metrics.mdx
@@ -141,7 +141,7 @@ Details on whether the user canceled the job. Potential values:
- 1 - canceled by the user
- 0 - means the job is either running, completed successfully, or failed due to an error other than user cancellation
-Exposed via [Job API](../operate-manage/maintaining-a-cluster/monitoring.mdx#via-job-api) only.
+Exposed via [Job API](../operate-manage/monitoring/metrics.mdx#job-api) only.
diff --git a/hazelcast_versioned_docs/version-5.4/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.4/reference/system-properties.mdx
index 273a332a..64f2ba35 100644
--- a/hazelcast_versioned_docs/version-5.4/reference/system-properties.mdx
+++ b/hazelcast_versioned_docs/version-5.4/reference/system-properties.mdx
@@ -162,7 +162,7 @@ When you want to reconfigure a system property, you need to restart the members
`hazelcast.config.instance.tracking.file` |
|
string |
-The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking) |
+The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-manage/monitoring/instance-tracking.mdx) |
| `hazelcast.connect.all.wait.seconds` |
@@ -198,7 +198,7 @@ Output directory of the diagnostic log files.
:::note
-For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-manage/maintaining-a-cluster/monitoring.mdx#diagnostics).
+For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-manage/monitoring/diagnostics.mdx).
:::
@@ -382,7 +382,7 @@ For detailed information about the diagnostic tool, along with this and the foll
`hazelcast.health.monitoring.delay.seconds` |
20 |
int |
-Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). |
+Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-manage/monitoring/health-check-and-monitoring.mdx). |
| `hazelcast.health.monitoring.level` |
@@ -562,7 +562,7 @@ This property should only be used as a last resort. Hazelcast uses the XXE prote
`hazelcast.jmx` |
false |
bool |
-Enable [JMX](../operate-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent. |
+Enable [JMX](../operate-manage/monitoring/monitoring-with-jmx.mdx) agent. |
| `hazelcast.jet.custom.lib.dir` |
@@ -806,7 +806,7 @@ Setting this value too low may cause members to be evicted from the cluster when
`hazelcast.metrics.collection.frequency` |
5 |
int |
-Frequency, in seconds, of the [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Frequency, in seconds, of the [metrics](../operate-manage/monitoring/metrics.mdx) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.datastructures.enabled` |
@@ -824,25 +824,25 @@ Setting this value too low may cause members to be evicted from the cluster when
`hazelcast.metrics.enabled` |
true |
bool |
-Enables the [metrics collection](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables the [metrics collection](../operate-manage/monitoring/metrics.mdx) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.mc.enabled` |
true |
bool |
-Enables buffering the collected [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables buffering the collected [metrics](../operate-manage/monitoring/metrics.mdx) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.mc.retention` |
5 |
int |
-Duration, in seconds, that the [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Duration, in seconds, that the [metrics](../operate-manage/monitoring/metrics.mdx) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.jmx.enabled` |
true |
bool |
-Enables exposing the collected [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables exposing the collected [metrics](../operate-manage/monitoring/metrics.mdx) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.multicast.group` |
diff --git a/hazelcast_versioned_docs/version-5.5/clients-and-apis/clients/java.mdx b/hazelcast_versioned_docs/version-5.5/clients-and-apis/clients/java.mdx
index cdb5e660..12fa570a 100644
--- a/hazelcast_versioned_docs/version-5.5/clients-and-apis/clients/java.mdx
+++ b/hazelcast_versioned_docs/version-5.5/clients-and-apis/clients/java.mdx
@@ -1807,10 +1807,10 @@ You need to restart clients after modifying system properties.
| `hazelcast.client.io.output.thread.count` | -1 | int | Controls the number of I/O output threads. Defaults to -1, i.e., the system decides. If the client is using either the `ALL_MEMBERS` or the `MULTI_MEMBER` cluster routing mode, it defaults to 3, otherwise it defaults to 1. |
| `hazelcast.client.io.write.through` | true | bool | Optimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments. |
| `hazelcast.client.max.concurrent.invocations` | `Integer.MAX_VALUE` | int | Maximum allowed number of concurrent invocations. You can apply a constraint on the number of concurrent invocations in order to prevent the system from overloading. If the maximum number of concurrent invocations is exceeded and a new invocation comes in, Hazelcast throws `HazelcastOverloadException`. |
-| `hazelcast.client.metrics.collection.frequency` | 5 | int | Frequency, in seconds, of the [metrics](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+| `hazelcast.client.metrics.collection.frequency` | 5 | int | Frequency, in seconds, of the [metrics](../../operate-and-manage/monitoring/metrics.mdx) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.client.metrics.debug.enabled` | false | bool | Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this is meant to be enabled only if diagnostics is enabled, since currently only diagnostics consumes the debug metrics. |
-| `hazelcast.client.metrics.enabled` | true | bool | Enables the [metrics collection](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). When it is `true` you can monitor metrics of the clients that are connected to your Hazelcast cluster, using Hazelcast Management Center. See for more information. |
-| `hazelcast.client.metrics.jmx.enabled` | true | bool | Enables exposing the collected [metrics](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+| `hazelcast.client.metrics.enabled` | true | bool | Enables the [metrics collection](../../operate-and-manage/monitoring/metrics.mdx) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/monitoring/metrics.mdx#configuration). When it is `true` you can monitor metrics of the clients that are connected to your Hazelcast cluster, using Hazelcast Management Center. See for more information. |
+| `hazelcast.client.metrics.jmx.enabled` | true | bool | Enables exposing the collected [metrics](../../operate-and-manage/monitoring/metrics.mdx) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.client.operation.backup.timeout.millis` | 5000 | int | If an operation has sync backups, this property specifies how long the invocation will wait for acks from the backup replicas. If acks are not received from some backups, there will not be any rollback on other successful replicas. |
| `hazelcast.client.operation.fail.on.indeterminate.state` | false | bool | When this configuration is enabled, if an operation has sync backups and acks are not received from backup replicas in time, or the member which owns primary replica of the target partition leaves the cluster, then the invocation fails with `IndeterminateOperationStateException`. However, even if the invocation fails, there will not be any rollback on other successful replicas. |
| `hazelcast.client.response.thread.count` | 2 | int | Number of the response threads. By default, there are two response threads; this gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the I/O threads. Under certain conditions this can give a higher throughput, but setting to 0 should be regarded as an experimental feature. If set to 0, the `IO_OUTPUT_THREAD_COUNT` is really going to matter because the inbound thread will have more work to do. By default when TLS is not enabled, there is just one inbound thread. |
diff --git a/hazelcast_versioned_docs/version-5.5/develop-and-build/building-data-pipelines/job-monitoring.mdx b/hazelcast_versioned_docs/version-5.5/develop-and-build/building-data-pipelines/job-monitoring.mdx
index f6aec0ca..db2d6c5a 100644
--- a/hazelcast_versioned_docs/version-5.5/develop-and-build/building-data-pipelines/job-monitoring.mdx
+++ b/hazelcast_versioned_docs/version-5.5/develop-and-build/building-data-pipelines/job-monitoring.mdx
@@ -70,7 +70,7 @@ A job with `FAILED` status may have been canceled by a user. To monitor for canc
You can see the job-specific metrics using the following methods:
-- [Job API](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#via-job-api) via the `getMetrics()` method:
+- [Job API](../../operate-and-manage/monitoring/metrics.mdx#job-api) via the `getMetrics()` method:
```java
JobMetrics metrics = job.getMetrics();
@@ -78,7 +78,7 @@ You can see the job-specific metrics using the following methods:
With this method, you can see the metrics for all running jobs, and finished jobs for which the `storeMetricsAfterJobCompletion` option is enabled. See the below table for this option's description.
-- [JMX](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#over-jmx)/[Prometheus](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#prometheus): With these methods, the `userCanceled` metric is not available, and you can see the metrics only for running jobs.
+- [JMX](../../operate-and-manage/monitoring/metrics.mdx#jmx)/[Prometheus](../../operate-and-manage/monitoring/metrics.mdx#prometheus): With these methods, the `userCanceled` metric is not available, and you can see the metrics only for running jobs.
See [Job-Specific Metrics](../../reference/list-of-metrics.mdx#job-metrics) to learn which metrics are available for jobs.
diff --git a/hazelcast_versioned_docs/version-5.5/develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx b/hazelcast_versioned_docs/version-5.5/develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx
index b8e0e32a..79e4c274 100644
--- a/hazelcast_versioned_docs/version-5.5/develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx
+++ b/hazelcast_versioned_docs/version-5.5/develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx
@@ -6,18 +6,16 @@ slug: /data-structures/reading-map-metrics
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
+import CodeBlock from "@theme/CodeBlock";
+import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../../../examples/management/ExampleLocalMapStats.java?tag=lms";
By default, you can read metrics for a given map, such as the primary and backup entry count, last update time, and locked entry count on each member of your cluster. You can access these statistics for the entire map, for the map entries on a specific cluster member, or specific map entries.
## Getting Statistics about All Map Entries {/* #accessing-entry-statistics */}
-To get statistics for all map entries that are owned by a member, use the `getLocalMapStats()` method of the Java member API ([embedded mode](../../../../install-and-upgrade/overview/choosing-a-deployment-option.mdx)). This method returns data only if the `statistics-enabled` element is set to `true`, which is the default.
+To get statistics for all map entries that are owned by a member, use the `getLocalMapStats()` method of the Java member API ([embedded mode](../../../../install-and-upgrade/overview/choosing-a-deployment-option.mdx)).
-:::note
-
-If you disable map statistics, statistics will not be available via the API, or in .
-
-:::
+The `statistics-enabled` element of the map is `true` by default. If you set it to `false`, the member does not record operation statistics for the map, such as operation counts, latencies, and index statistics. The member also then leaves the map out of the statistics that it reports to the [metrics system](../../../../operate-and-manage/monitoring/metrics.mdx) and . The `getLocalMapStats()` method still returns the entry counts and memory costs of the map.
@@ -45,11 +43,27 @@ hazelcast:
-```java
-LocalMapStats mapStatistics = myMap.getLocalMapStats();
-System.out.println( "Number of entries owned by this member = "
- + mapStatistics.getOwnedEntryCount() );
-```
+Below is example code where `getLocalMapStats()` and `getOwnedEntryCount()` get the number of entries owned by this member:
+
+{Ex_management_ExampleLocalMapStats_java_tag_lms}
+
+:::note
+
+The `getOwnedEntryMemoryCost()` method is also supported for the `NATIVE` in-memory format.
+
+:::
+
+The following are some of the metrics that you can access via the `LocalMapStats` object:
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Number of backup entries held by the member (`getBackupEntryCount()`)
+- Number of backups per entry (`getBackupCount()`)
+- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
+- Creation time of the map on the member (`getCreationTime()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
+- Number of queries executed on the map (`getQueryCount()` and `getIndexedQueryCount()`) (it may be imprecise for queries involving partition predicates (`PartitionPredicate`) on the off-heap storage)
+
+See the to see all the metrics.
:::note
@@ -59,7 +73,7 @@ If you need cluster-wide map statistics, you can get the local map statistics fr
## Getting Statistics about a Specific Map Entry
-To get statistics for a specific map entry, you can use the `getEntryView(key)` method of one of the following available client libraries. To use this method, the map must have its `per-entry-stats-enabled` element set to `true`.
+To get statistics for a specific map entry, you can use the `getEntryView(key)` method of one of the following available client libraries. To use this method, the map must have its `per-entry-stats-enabled` element set to `true`. The default is `false`.
This method returns the following statistics:
diff --git a/hazelcast_versioned_docs/version-5.5/examples/management/MetricsConfiguration.java b/hazelcast_versioned_docs/version-5.5/examples/management/MetricsConfiguration.java
new file mode 100644
index 00000000..baf6993d
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.5/examples/management/MetricsConfiguration.java
@@ -0,0 +1,28 @@
+import com.hazelcast.client.config.ClientConfig;
+import com.hazelcast.config.Config;
+
+public class MetricsConfiguration {
+
+ public static void main(String[] args) {
+ //tag::member[]
+ Config config = new Config();
+ config.getMetricsConfig()
+ .setEnabled(true)
+ .setCollectionFrequencySeconds(5);
+ config.getMetricsConfig().getManagementCenterConfig()
+ .setEnabled(true)
+ .setRetentionSeconds(5);
+ config.getMetricsConfig().getJmxConfig()
+ .setEnabled(true);
+ //end::member[]
+
+ //tag::client[]
+ ClientConfig clientConfig = new ClientConfig();
+ clientConfig.getMetricsConfig()
+ .setEnabled(true)
+ .setCollectionFrequencySeconds(5);
+ clientConfig.getMetricsConfig().getJmxConfig()
+ .setEnabled(true);
+ //end::client[]
+ }
+}
diff --git a/hazelcast_versioned_docs/version-5.5/frameworks-and-plugins/spring/configuration.mdx b/hazelcast_versioned_docs/version-5.5/frameworks-and-plugins/spring/configuration.mdx
index beb056b6..02ed921e 100644
--- a/hazelcast_versioned_docs/version-5.5/frameworks-and-plugins/spring/configuration.mdx
+++ b/hazelcast_versioned_docs/version-5.5/frameworks-and-plugins/spring/configuration.mdx
@@ -237,7 +237,7 @@ The `hazelcast` XML namespace supports the following configuration:
- [Authentication overview](../../operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx)
- [Java Client Security](../../clients-and-apis/clients/java.mdx#client-security-configuration)
- - [Enabling health check for a cluster](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring)
+ - [Enabling health check for a cluster](../../operate-and-manage/monitoring/health-check-and-monitoring.mdx)
- [Configuring transaction permissions on the members](../../operate-and-manage/securing-a-cluster/client-authorization.mdx#transaction-permission)
:::
diff --git a/hazelcast_versioned_docs/version-5.5/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx b/hazelcast_versioned_docs/version-5.5/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx
index 3de38246..d472f5e8 100644
--- a/hazelcast_versioned_docs/version-5.5/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx
+++ b/hazelcast_versioned_docs/version-5.5/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx
@@ -1876,7 +1876,7 @@ The following deprecated cluster properties were removed:
- `hazelcast.memcache.enabled`
- `hazelcast.http.healthcheck.enabled`
-Please see [Using the REST Endpoint Groups](../../clients-and-apis/apis/enterprise-rest-api/rest-api.mdx#using-the-rest-endpoint-groups) on how to configure Hazelcast instance to expose REST endpoints. Please see [Health Check and Monitoring](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring) on how to enable the health check. Please see [Memcache Client](../../clients-and-apis/apis/memcache.mdx) on how to enable memcache client request listener service.
+Please see [Using the REST Endpoint Groups](../../clients-and-apis/apis/enterprise-rest-api/rest-api.mdx#using-the-rest-endpoint-groups) on how to configure Hazelcast instance to expose REST endpoints. Please see [Health Check and Monitoring](../../operate-and-manage/monitoring/health-check-and-monitoring.mdx) on how to enable the health check. Please see [Memcache Client](../../clients-and-apis/apis/memcache.mdx) on how to enable memcache client request listener service.
## Removal of Deprecations in `LoginModuleConfig`
@@ -2113,10 +2113,10 @@ The output of the following endpoints has been changed to JSON:
## Changes in the Diagnostics Configuration
-By introducing the [metrics system](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) in Hazelcast IMDG 4.0 and afterwards, the metrics collected by [Diagnostics](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics) and the metrics system is shared. This has come with the following changes of the system properties that configure diagnostics:
+By introducing the [metrics system](../../operate-and-manage/monitoring/metrics.mdx) in Hazelcast IMDG 4.0 and afterwards, the metrics collected by [Diagnostics](../../operate-and-manage/monitoring/diagnostics.mdx) and the metrics system is shared. This has come with the following changes of the system properties that configure diagnostics:
- `hazelcast.diagnostics.metric.level` is not available anymore. Collecting debug metrics can be enabled by setting the `hazelcast.metrics.debug.enabled` or `hazelcast.client.metrics.debug.enabled` system properties to `true` for the members and clients respectively.
-- `hazelcast.diagnostics.metric.distributed.datastructures` is not anymore available since the data structure metrics are required for the other [metric consumers](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#exposing-metrics). Therefore, they are collected by default and no need for enabling it for the diagnostics.
+- `hazelcast.diagnostics.metric.distributed.datastructures` is not anymore available since the data structure metrics are required for the other [metric consumers](../../operate-and-manage/monitoring/metrics.mdx#exposing-metrics). Therefore, they are collected by default and no need for enabling it for the diagnostics.
## Changes in the Management Center Configuration
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/logging.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/logging.mdx
index 62060332..229ccaa7 100644
--- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/logging.mdx
+++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/logging.mdx
@@ -245,7 +245,7 @@ This feature is supported for the default (JDK/JUL), Log4j, and Log4j2 framework
You can use either of the following ways to dynamically change the level of your cluster's logs:
-- Using JMX API: The logging service exposes its JMX MBean as `LoggingServiceMBean`. You can retrieve, set, and reset the level. See the [Monitoring with JMX section](./maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx).
+- Using JMX API: The logging service exposes its JMX MBean as `LoggingServiceMBean`. You can retrieve, set, and reset the level. See the [Monitoring with JMX section](./monitoring/monitoring-with-jmx.mdx).
- Using REST API: You can use the `/hazelcast/rest/log-level` REST endpoint to retrieve (`GET`), set (`POST`), and reset (`DELETE`) the level. See the [REST Endpoint Groups section](../clients-and-apis/apis/enterprise-rest-api/rest-api.mdx#using-the-rest-endpoint-groups).
:::caution[Deprecation Notice for the Community Edition REST API]
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/cluster-utilities.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/cluster-utilities.mdx
index 64266012..186dd61d 100644
--- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/cluster-utilities.mdx
+++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/cluster-utilities.mdx
@@ -20,7 +20,7 @@ These utilities are included in the `bin` directory in your Hazelcast package an
| `hz-cli`, `hz-cli.bat` | Manages jobs and snapshots on a running cluster. Also used to launch the Hazelcast console and SQL shell. |
| `hz-cluster-admin` | Performs cluster lifecycle operations, such as force starts and upgrades. |
| `hz-cluster-cp-admin` | Manages the CP Subsystem. See [Managing and Monitoring the CP Subsystem](../cp-subsystem/management.mdx). |
-| `hz-healthcheck` | Retrieves cluster state from the HTTP health check endpoint. See [Using the health check script](./monitoring.mdx#health-check-script). |
+| `hz-healthcheck` | Retrieves cluster state from the HTTP health check endpoint. See [Using the health check script](../monitoring/health-check-and-monitoring.mdx#health-check-script). |
| `hz-start`, `hz-start.bat` | Starts a Hazelcast member with the default settings. Where possible, use `hz start` instead. |
| `hz-stop`, `hz-stop.bat` | Stops all running Hazelcast members on the local device. `hz-stop` sends `SIGTERM`, and by default the member terminates without a graceful shutdown. To shut down gracefully, set the `hazelcast.shutdownhook.policy` property to `GRACEFUL`. `hz-stop.bat` always stops the member without a graceful shutdown. |
| `common.bat`, `common.sh` | Shared code called by other scripts. You should not run this directly. |
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/monitoring.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/monitoring.mdx
deleted file mode 100644
index f656321c..00000000
--- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/monitoring.mdx
+++ /dev/null
@@ -1,2237 +0,0 @@
----
-title: "Monitoring"
-sidebar_position: 4
-slug: /maintain-cluster/monitoring
----
-
-import Tabs from "@theme/Tabs";
-import TabItem from "@theme/TabItem";
-import CodeBlock from "@theme/CodeBlock";
-import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../examples/management/ExampleLocalMapStats.java?tag=lms";
-import Ex_management_ExampleLocalIndexStats_java_tag_lis from "../../examples/management/ExampleLocalIndexStats.java?tag=lis";
-import Ex_management_ExampleNearCacheStats_java_tag_ncs from "../../examples/management/ExampleNearCacheStats.java?tag=ncs";
-import Ex_management_ExampleMultiMapStats_java_tag_mms from "../../examples/management/ExampleMultiMapStats.java?tag=mms";
-import Ex_management_ExampleQueueStats_java_tag_qs from "../../examples/management/ExampleQueueStats.java?tag=qs";
-import Ex_management_ExampleTopicStats_java_tag_ts from "../../examples/management/ExampleTopicStats.java?tag=ts";
-import Ex_management_ExampleExecutorStats_java_tag_es from "../../examples/management/ExampleExecutorStats.java?tag=es";
-
-
-
-Review Hazelcast Health Monitor logs regularly to understand the system runtime stability. Monitor Hazelcast logs and scan for failure messages regularly. Any incidences should be investigated and documented so as to understand your network better and find ways to provision, configure, and manage your network more efficiently.
-
-Hazelcast provides multi-level tolerance configurations in a cluster:
-
-1. Garbage collection (GC) tolerance: When a member fails to respond to health check probes on the existing socket connection but is actually responding to health probes sent on a new socket, it can be presumed to be stuck either in a long GC or in another long-running task. Adequate tolerance levels configured here may allow the member to come back from its stuck state within permissible SLAs.
-2. Network tolerance: When a member is temporarily unreachable by any means, temporary network communication errors may cause members to become unresponsive. In such a scenario, adequate tolerance levels configured here allow the member to return to healthy operation within permissible SLAs.
-
-You should establish tolerance levels for garbage collection and network connectivity and then set monitors to raise alerts when those tolerance thresholds are crossed. Customers with a Hazelcast subscription can use the extensive monitoring capabilities of the Management Center to set monitors and alerts.
-
-In addition to the Management Center, we recommend that you use `jstat` and keep verbose GC logging turned on and use a log scraping tool like Splunk or similar to monitor GC behavior. Back-to-back full GCs and anything above 90% heap occupancy after a full GC should be cause for alarm. Hazelcast dumps a set of information into the console of each instance that may further be used to create alerts.
-
-## Basic steps for monitoring and auditing
-
-- Make sure that all members are reachable by every other member in the cluster and are also accessible by the clients, for example through their ports and network.
-- Start Hazelcast member instances first. While not mandatory, this is a best practice to avoid clients timing out or complaining that no Hazelcast member is found, which can happen if the clients are started before the members.
-- Enable or start a system monitor tool, such as [nmon](http://nmon.sourceforge.net/pmwiki.php).
-- To add more members to an already running cluster, start a member with a similar configuration to the other members with the possible addition of the IP address of the new member. A maintenance window is not required to add more members to an already running Hazelcast cluster.
-
- - When a member is added to or removed from a Hazelcast cluster, the clients may see a little pause time, but this is normal. This is essentially the time required by Hazelcast members to rebalance the data upon the arrival or departure of a member.
- - There is no need to change anything on the clients when adding more members to the running cluster. In the default `ALL_MEMBERS` routing mode, the clients update themselves automatically to connect to the new member once it has successfully joined the cluster.
- - Rebalancing of data (primary plus backup) on arrival or departure (forced or unforced) of a member is an automated process. In the default `ACTIVE` cluster state, no manual intervention is required.
- - You can promote your lite members to become data members. To do this, either use the [Cluster API](./lite-members.mdx#promoting-lite-members-to-data-members) or Management Center.
- - Setting `hazelcast.initial.min.cluster.size` to 4 and starting members one by one (empty cluster, no operation) can result in unexpected cluster partitioning behavior: after reaching `hazelcast.initial.min.cluster.size`, partition table arrangement is initialized even though there is no data. When used in large clusters (\>100), this adds an unnecessary overhead of partition assignment on each member addition.
-- Check that you have configured an adequate backup count based on your SLAs.
-- When using distributed computing features, such as executor service or entry processors, any change in the client application logic or in the implementation of these must also be applied to the members. If you do not use , which requires , you must restart all the members after you deploy the new code. Use the typical cluster re-deployment process: first shut down the members, then deploy the new application JARs in the members' classpath, and start the members.
-
-## Management Center
-
-Hazelcast Management Center enables you to monitor and manage your cluster members running Hazelcast. In addition to monitoring the overall state of your clusters, you can also analyze and browse your data structures in detail, update map configurations, and take thread dumps from members. You can run scripts, such as JavaScript or Groovy, and commands on your members with its scripting and console modules. A script runs only if the member classpath contains a scripting engine for its language.
-
-See the for more information and find details about its clustered JMX and clustered REST APIs.
-
-Because Management Center is a client that connects to the cluster, you can control the following aspects of Management Center in the member configuration file:
-
-- [Scripting support](#managing-scripting-support)
-- [Console support](#managing-console-support)
-- [Source IP addresses](#limiting-source-addresses)
-
-### Managing Scripting Support
-
-
-
-Management Center allows you to execute scripts that can automate interactions with the cluster.
-
-By default, scripting is disabled for security. Scripting engines give code access to the underlying system on the members (files and other resources) and run with the same permissions as the current user. You can enable scripting in the member configuration file:
-
-:::important
-
-When scripting is enabled, it grants full, unrestricted access to the cluster and is **not** limited by the permissions assigned to individual Management Center users. Enable it with caution, especially in production, and consider leaving it disabled if granular access control is critical. See the for details.
-
-:::
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- scripting-enabled: true
-```
-
-
-
-
-Hazelcast uses the [JSR 223](https://jcp.org/en/jsr/detail?id=223) API to support scripting.
-
-### Managing Console Support
-
-Management Center allows you to execute client operations using built-in Hazelcast Command-Line Client (CLC) in the user interface. This console is useful for testing and development purposes. You can enable the console in the member configuration file:
-
-:::important
-
-When the console is enabled, it grants full access to the cluster through the Command-Line Client and is **not** limited by the permissions assigned to individual Management Center users. Enable it with caution, especially in production, and consider leaving it disabled if granular access control is critical.
-
-:::
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- console-enabled: true
-```
-
-
-
-
-See the for more information.
-
-### Managing Data Access
-
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) through SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file:
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- data-access-enabled: false
-```
-
-
-
-
-### Limiting Source Addresses
-
-By default, any instance of Management Center can connect to a cluster as long as it can be authenticated. To restrict access only to trusted instances of Management Center, you can define the trusted IP addresses in the `trusted-interfaces` configuration setting. This setting supports wildcards (`*`) and ranges (`-`).
-
-
-
-
-```xml
-
- ...
-
-
- 192.168.1.*
-
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- trusted-interfaces:
- - 192.168.1.*
-```
-
-
-
-
-## Instance Tracking
-
-Instance tracking is a feature which, when enabled, writes a file on the instance startup at the configured location. The file contains metadata about the instance, such as version, product name, and process ID. This file can then later be used by other programs to detect the kinds of Hazelcast instances that have been running on a particular machine by inspecting the file contents. This feature supports both and members and clients, and is disabled by default. Failing to write the file only generates a warning, and the instance is allowed to start.
-
-The name and content of the file are configurable and may contain placeholders. The placeholders used for instance tracking have a prefix so that they can be distinguished from the other ones like XML placeholders. We use the same style as the `EncryptionReplacer` by adding a "namespace" to the placeholder prefix; for example, `$HZ_INSTANCE_TRACKING{start_timestamp}` (the namespace here being `HZ_INSTANCE_TRACKING`).
-
-In addition to the above, the Hazelcast instance overwrites any existing file in the configured location. To prevent this, you can configure the file location using the placeholders in the same way they can be used when defining the file contents. For example, if the filename is configured as `Hazelcast-$HZ_INSTANCE_TRACKING{pid}-$HZ_INSTANCE_TRACKING{start_timestamp}.process`, it contains the process ID and the creation time, making it unique every time the instance is started.
-
-The created file is not deleted on member shutdown. As such, it leaves a trace of instances started on a particular machine. If the instance cannot write the tracking file, it logs a warning and continues to start.
-
-:::note[Auditing the Instance Tracking File]
-
-When you enable the instance tracking feature and its file is created on a member startup, the full path of the file with its name is set into a system property of the JVM running the Hazelcast member, i.e., `hazelcast.config.instance.tracking.file`.
-
-You can audit that all your running Hazelcast members in your environment have the instance tracking filename set correctly. For this, you can use the [jcmd](https://docs.oracle.com/en/java/javase/13/docs/specs/man/jcmd.html) utility, as shown below.
-
-```shell
-jcmd VM.system_properties | grep hazelcast.config.instance.tracking.file
-```
-
-PID here is the process ID of your JVM on which Hazelcast member runs. It gives output similar to the following:
-
-```shell
-hazelcast.config.instance.tracking.file=/tmp/Hazelcast.process
-```
-
-See below for the example content of an instance tracking file.
-
-:::
-
-### Configuring Instance Tracking {/* #instance-tracking-configuration */}
-
-Here is an example of programmatic member-side Java configuration:
-
-```java
-Config config = new Config();
-config.getInstanceTrackingConfig()
- .setEnabled(true)
- .setFileName("/tmp/hz-tracking.txt")
- .setFormatPattern("$HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}");
-```
-
-The equivalent declarative configuration is as follows:
-
-
-
-
-```xml
-
-
-
- /tmp/hz-tracking.txt
- $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
-
-
-
-```
-
-
-
-
-```yaml
-hazelcast:
- instance-tracking:
- enabled: true
- file-name: /tmp/hz-tracking.txt
- format-pattern: $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
-```
-
-
-
-
-You can use this configuration to enable the instance tracking feature, specify the filename and the pattern for the file contents. By default, the feature is disabled, the filename is `Hazelcast.process` in the OS temporary directory as returned by `System.getProperty("java.io.tmpdir")` and the file contents are JSON-formatted key-value pairs of all available metadata.
-
-The client configuration is analogous and only differs in the name of the outer configuration block or configuration instance containing the instance tracking configuration.
-
-Here is an example when running a client instance:
-
-```json
-{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"client", "start_timestamp":1595851430741, "licensed":0}
-```
-
-Here is an example when running a member instance in the "server" mode:
-
-```json
-{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"server", "start_timestamp":1595851430741, "licensed":1}
-```
-
-And here is an example when running a member instance in the "embedded" mode:
-
-```json
-{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"embedded", "start_timestamp":1595851430741, "licensed":1}
-```
-
-You can specify a custom format by using a predefined set of available metadata keys an example of which is shown below:
-
-```java
-String format = "mode: $HZ_INSTANCE_TRACKING{mode}\n"
- + "product: $HZ_INSTANCE_TRACKING{product}\n"
- + "licensed: $HZ_INSTANCE_TRACKING{licensed}\n"
- + "missing: $HZ_INSTANCE_TRACKING{missing}\n"
- + "broken: $HZ_INSTANCE_TRACKING{broken ";
-```
-
-This should produce a file with the following content:
-
-```properties
-mode: embedded
-product: Hazelcast
-licensed: 0
-missing: $HZ_INSTANCE_TRACKING{missing}
-broken: $HZ_INSTANCE_TRACKING{broken
-```
-
-As you can see, once we encounter a broken placeholder, all subsequent placeholders are ignored. On the other hand, missing placeholders are skipped and subsequent placeholders are resolved.
-
-The valid metadata placeholders and their possible values are as follows:
-
-- `product`: Instance product name, e.g., "Hazelcast" or "Hazelcast Enterprise".
-- `version`: Instance version.
-- `mode`: Instance mode, e.g., "server", "embedded" or "client"
-- `start_timestamp`: the timestamp of when the instance was started as the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.
-- `licensed`: Specifies whether the instance is using a license or not. The value `0` signifies that there is no license set and the value `1` signifies that a license is in use.
-- `pid`: Process ID of the instance.
-
-The possible values for the `product` placeholder: `Hazelcast`, `Hazelcast Enterprise`, `Hazelcast Client`, `Hazelcast Client Enterprise`.
-
-The possible values for the `mode` placeholder:
-
-- `server`: This value is used when the instance was started using the `hz-start` or `hz-start.bat` scripts.
-- `client`: This instance is a Hazelcast client instance.
-- `embedded`: This instance is embedded in another Java program.
-
-## Metrics
-
-Hazelcast exposes various metrics to facilitate monitoring of the cluster state. They are `` key-value pairs of data that capture the runtime information about the members and clients in a Hazelcast cluster. Such a metric can be the number of entries stored in a particular `IMap` on a given member, JVM metrics like used heap, OS metrics like load average, and so on.
-
-The metrics system is responsible for collecting these metrics and making them available for the [consumers](#exposing-metrics) of the metrics. There are a few hundred metrics collected during every metrics collection cycle by default, but the number of metrics grows as more features and data structures are used. This is because every data structure provides its own metrics. For example, if there are two `IMap`s used in a cluster, both `IMap`s produce their metrics on every member.
-
-Metrics have associated **tags** which describe which object the metric applies to. For example, the tags for job metrics typically indicate the specific DAG vertex and processor the metric belongs to.
-
-Each metric instance provided belongs to a particular Hazelcast cluster member. Different cluster members can have their own versions of the same metric with different values.
-
-The metric collection runs in regular intervals on each member, but note that the metric collection on different cluster members happens at different moments in time. So if you try to correlate metrics from different members, they can be from different moments of time.
-
-### Hazelcast Metrics
-
-There are a wide range of metrics and statistics provided by Hazelcast:
-
-- cluster-wide metrics
-- statistics of distributed data structures (see [member statistics](#member-statistics))
-- executor statistics (see [executor statistics](#executor-statistics))
-- partition related statistics (state, migration, replication)
-- garbage collection statistics
-- memory statistics for the JVM which current Hazelcast member belongs to (total physical/free OS memory, max/committed/used/free heap memory and max/committed/used/free native memory)
-- network traffic related statistics (traffic and queue sizes)
-- class loading related statistics
-- thread count information (current, peak and daemon thread counts)
-- job-specific metrics
-
-See the full list of Hazelcast metrics in [List of Metrics appendix](../../reference/list-of-metrics.mdx).
-
-### User-defined Metrics
-
-User-defined metrics are actually a subset of [job metrics](../../reference/list-of-metrics.mdx#job-metrics). What distinguishes them from regular job-specific metrics is exactly what their name implies: they are not built-in, but defined when processing pipelines are written.
-
-Since user-defined metrics are also job metrics, they have all the tags job metrics have. They also have an extra tag, called `user`, which is set to `true`.
-
-:::note
-
-Because of their extra tag, user-defined metrics cannot overwrite a built-in metric, even if they have the exact same name.
-
-:::
-
-For example, to monitor your filtering step, you can write code like this:
-
-```java
-p.readFrom(source)
- .filter(l -> {
- boolean pass = l % 2 == 0;
- if (!pass) {
- Metrics.metric("dropped").increment();
- }
- Metrics.metric("total").increment();
- return pass;
- })
- .writeTo(sink);
-```
-
-User-defined metrics can be used anywhere in pipeline definitions where custom code can be added. This means (just to name the most important ones): filtering, mapping and flat-mapping functions, various constituent functions of aggregations (accumulate, create, combine, deduct, export, and finish), key extraction function when grouping, in [custom batch sources](../../develop-and-build/building-data-pipelines/ingesting-data-from-sources/custom-batch-source.mdx), [custom stream sources](../../develop-and-build/building-data-pipelines/ingesting-data-from-sources/custom-stream-source.mdx), [custom sinks](../../develop-and-build/building-data-pipelines/sending-results-to-sinks/custom-sink.mdx), processors, and so on.
-
-### Exposing Metrics
-
-The following are the tools and interfaces to expose the metrics to the outside world:
-
-- Management Center
-- JMX
-- Diagnostics (see [here](#diagnostics))
-- Prometheus
-- Job API
-
-#### Management Center {/* #management-center-2 */}
-
-Management Center receives the metrics used for building its view about the Hazelcast cluster from the metrics system. The members collect their metrics with the frequency defined with `collection-frequency-seconds`, which is by default once in every 5 seconds.
-
-The member saves the collected metrics into a blob stored in an in-memory buffer. The blob then is retained for the time configured in the `retention-seconds` under the `management-center` configuration block. This is also 5 seconds by default, which means there is at most one blob stored by default. Management Center periodically reads the metrics from this buffer. A blob stays in the buffer until a newer blob replaces it.
-
-As mentioned earlier, the client metrics are also stored in these blobs on the member side with timestamps assigned to them on the client side.
-
-See the [Management Center documentation](/management-center/latest/deploy-manage/historical-metrics) for more information .
-
-#### Over JMX
-
-Hazelcast exposes all its metrics using the JVM's standard JMX interface. You can use tools such as **Java Mission Control** or **JConsole** to display them.
-
-The Hazelcast metrics are exposed under `com.hazelcast/Metrics/$INSTANCE_NAME` where `$INSTANCE_NAME` is the name of the member or client instance to which the JMX client is connected.
-
-And the Jet engine related beans are stored under `com.hazelcast.jet/Metrics//` node and the various tags they have form further sub-nodes in the resulting tree structure.
-
-#### Prometheus
-
-Prometheus is a popular monitoring system and time series database. Setting up monitoring via Prometheus consists of two steps. First step is exposing an HTTP endpoint with metrics. The second step is setting up Prometheus server, which pulls the metrics in a specified interval.
-
-The Prometheus javaagent is already part of the Hazelcast distribution and just needs to be enabled. Enable the agent and expose all metrics via HTTP endpoint by setting an environment variable `PROMETHEUS_PORT`, you can change the port to any available port:
-
-```bash
-PROMETHEUS_PORT=8080 bin/hz-start
-```
-
-You should see following line printed to the logs:
-
-```text
-Prometheus enabled on port 8080
-```
-
-The metrics are available on `http://localhost:8080`.
-
-For a guide on how to set up Prometheus server go to the [Prometheus website](https://prometheus.io/docs/prometheus/latest/getting_started).
-
-#### Via Job API
-
-The `Job` class has a method which returns a instance. It contains the latest known metric values for the job.
-
-This functionality has been developed primarily to give access to metrics of finished jobs, but can in fact be used for jobs in any state.
-
-For details on how to use and filter the metric values consult the . A simple example for computing the number of data items emitted by a certain vertex (here called `vertexA`), excluding items emitted to the snapshot, looks like this:
-
-```java
-Predicate vertexOfInterest =
- MeasurementPredicates.tagValueEquals(MetricTags.VERTEX, "vertexA");
-Predicate notSnapshotEdge =
- MeasurementPredicates.tagValueEquals(MetricTags.ORDINAL, "snapshot").negate();
-
-Collection measurements = jobMetrics
- .filter(vertexOfInterest.and(notSnapshotEdge))
- .get(MetricNames.EMITTED_COUNT);
-
-long totalCount = measurements.stream().mapToLong(Measurement::value).sum();
-```
-
-### Configuration
-
-The metrics collection is enabled by default. You can configure the metrics system declaratively or programmatically. The following is an example declarative configuration with the default values, on the member side:
-
-
-
-
-```xml
-
-
- 5
-
-
- 5
-
-```
-
-
-
-
-```yaml
-metrics:
- enabled: true
- management-center:
- enabled: true
- retention-seconds: 5
- jmx:
- enabled: true
- collection-frequency-seconds: 5
-```
-
-
-
-
-Note that all the metrics configuration values can be overridden with system properties. The properties are listed below:
-
-- `hazelcast.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
-- `hazelcast.metrics.mc.enabled`: Enables buffering the collected metrics for Management Center if set to `true`, disables it otherwise.
-- `hazelcast.metrics.mc.retention`: Duration, in seconds, for which the metrics are retained for Management Center.
-- `hazelcast.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
-- `hazelcast.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
-- `hazelcast.metrics.debug.enabled`: Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this property has no element in the `metrics` configuration. It is meant to be enabled only if diagnostics is enabled, because only the diagnostics feature consumes the debug metrics.
-
-The client configuration is similar. It lacks the Management Center configuration block (`management-center` configuration element), as shown below. This is because the clients are not connected to Management Center and the client metrics are sent to Management Center through a member to which the client is connected.
-
-
-
-
-```xml
-
-
- 5
-
-```
-
-
-
-
-```yaml
-metrics:
- enabled: true
- jmx:
- enabled: true
- collection-frequency-seconds: 5
-```
-
-
-
-
-Similarly to the member configuration, the client metrics configuration can be overridden with the following system properties:
-
-- `hazelcast.client.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
-- `hazelcast.client.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
-- `hazelcast.client.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
-- `hazelcast.client.metrics.debug.enabled`: Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this property has no element in the `metrics` configuration. It is meant to be enabled only if diagnostics is enabled, because only the diagnostics feature consumes the debug metrics.
-
-### Version Compatibility
-
-Note that the metric names may change between MINOR versions but not between PATCH versions.
-
-### Notes on the Performance
-
-The metrics system is designed with care to make the least possible impact on the performance of the cluster. Since the metrics collection takes place periodically with a few seconds frequency, the main focus is keeping allocation rates and memory footprint at minimum. Therefore, the blobs that store the metrics for Management Center are stored in the memory in a compressed format. The measurements, that use multiple `IMap`s to scale up the number of metrics, show that one blob occupies only a few KBs and it grows above 10 KB only if there are more than 1000 `IMap`s.
-
-The allocation rate of a metric collection cycle is also low. With both Management Center and JMX consumers enabled, the allocation rate with 100 `IMap`s is below 256 KB per cycle, and it grows above 1 MB with 1000 `IMap`s. This means that metrics collection does not increase the frequency of the garbage collection (GC) noticeably.
-
-While the metrics collection is considered GC friendly, it should be noted that the blobs are not recycled: configuring the retention time should be done with taking the frequency of the GC into account to prevent the blobs from getting promoted into the tenured region of the heap that in the end contributes to major GCs after time.
-
-## Member Statistics
-
-You can get various statistics from your distributed data structures via the Statistics API. Since the data structures are distributed in the cluster, the Statistics API provides statistics for the local portion (1/Number of Members in the Cluster) of data on each member.
-
-### Map Statistics
-
-To get local map statistics, use the `getLocalMapStats()` method from the `IMap` interface. This method returns a `LocalMapStats` object that holds local map statistics.
-
-Below is an example code where the `getLocalMapStats()` method and the `getOwnedEntryCount()` method get the number of entries owned by this member.
-
-{Ex_management_ExampleLocalMapStats_java_tag_lms}
-
-:::note
-
-The `getOwnedEntryMemoryCost()` method is also supported for NATIVE in-memory format.
-
-:::
-
-The following are some of the metrics that you can access via the `LocalMapStats` object:
-
-- Number of entries owned by the member (`getOwnedEntryCount()`).
-- Number of backup entries held by the member (`getBackupEntryCount()`).
-- Number of backups per entry (`getBackupCount()`).
-- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`).
-- Creation time of the map on the member (`getCreationTime()`).
-- Number of hits (reads) of the locally owned entries (`getHits()`).
-- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`).
-- Number of queries executed on the map (`getQueryCount()` and `getIndexedQueryCount()`) (it may be imprecise for queries involving partition predicates (`PartitionPredicate`) on the off-heap storage).
-
-See the to see all the metrics.
-
-### Map Index Statistics
-
-To access map index statistics, if you are using indexes to speed up map queries, use the `getIndexStats()` method of the `LocalMapStats` interface returned by `IMap.getLocalMapStats()`.
-
-Below is an example where the `getIndexStats()` method is used to examine an average selectivity of index hits:
-
-{Ex_management_ExampleLocalIndexStats_java_tag_lis}
-
-The following are some of the metrics that you can obtain via the `LocalIndexStats` interface:
-
-- Number of queries and hits into an index (`getQueryCount()` and `getHitCount()`): Number of hits and queries may differ since a single query may hit the same index more than once.
-- Average index hit latency measured in nanoseconds (`getAverageHitLatency()`)
-- Average index hit selectivity (`getAverageHitSelectivity`): Returned values are in the range from 0.0 to 1.0. Values close to 1.0 indicate a high selectivity meaning the index is efficient; values close to 0.0 indicate a low selectivity meaning the index efficiency is approaching an efficiency of a simple full scan.
-- Number of index insert, update and remove operations (`getInsertCount()`, `getUpdateCount()` and `getRemoveCount()`).
-- Total latencies of insert, update and remove operations (`getTotalInsertLatency()`, `getTotalUpdateLatency()`, `getTotalRemoveLatency()`): To compute an average latency divide the returned value by the number of operations of a corresponding type.
-- Memory cost of an index (`getMemoryCost()`): For on-heap storage, this memory cost metric value is a best-effort approximation and does not indicate a precise on-heap memory usage of an index.
-
-See the to see all the metrics.
-
-To compute an aggregated value of `getAverageHitSelectivity()` for all cluster members, you can use a simple averaging computation as shown below:
-
-```none
-(s(1) + s(2) + ... + s(n)) / n
-```
-
-In this computation, `s(i)` is an average hit selectivity on the member `i` and `n` is the total number of cluster members.
-
-A more advanced solution is to compute a weighted average as shown below:
-
-```none
-(s(1) * h(1) + s(2) * h(2) + ... + s(n) * h(n)) / (h(1) + h(2) + ... + h(n))
-```
-
-Here, `s(i)` is an average hit selectivity on the member `i`, `h(i)` is a hit count (`getHitCount()`) on the member `i` and `n` is the total number of cluster members. This more advanced solution may produce more precise results in unstable dynamic clusters where new members do not have enough statistics accumulated. The same technique may be applied to the `getAverageHitLatency()` metric.
-
-Accuracy and reliability notes:
-
-- For on-heap storage, values returned by `getAverageHitSelectivity()` may be 1% more or less than the actual selectivity. For example, if the actual selectivity is 0.9, the returned value could be between 0.89 and 0.91.
-- The values returned by `getQueryCount()` and `getHitCount()` may be imprecise for queries involving partition predicates (`PartitionPredicate`) on off-heap storage.
-- The index statistics may be imprecise after a new cluster member addition or the existing member removal until enough fresh statistics is accumulated on a new owner of an index or its partition.
-
-### Near Cache Statistics
-
-To get Near Cache statistics, use the `getNearCacheStats()` method from the `LocalMapStats` object. This method returns a `NearCacheStats` object that holds Near Cache statistics.
-
-Below is an example code where the `getNearCacheStats()` method and the `getRatio` method from `NearCacheStats` get a Near Cache hit/miss ratio.
-
-{Ex_management_ExampleNearCacheStats_java_tag_ncs}
-
-The following are some of the metrics that you can access via the `NearCacheStats` object (applies to both client and member Near Caches):
-
-- creation time of the Near Cache on the member (`getCreationTime()`)
-- number of entries owned by the member (`getOwnedEntryCount()`)
-- memory cost (number of bytes) of owned entries in the Near Cache (`getOwnedEntryMemoryCost()`)
-- number of hits (reads) of the locally owned entries (`getHits()`)
-
-See the to see all the metrics.
-
-### `MultiMap` Statistics
-
-To get `MultiMap` statistics, use the `getLocalMultiMapStats()` method from the `MultiMap` interface. This method returns a `LocalMultiMapStats` object that holds local `MultiMap` statistics.
-
-Below is an example code where the `getLocalMultiMapStats()` method and the `getLastUpdateTime` method from `LocalMultiMapStats` get the last update time.
-
-{Ex_management_ExampleMultiMapStats_java_tag_mms}
-
-The following are some of the metrics that you can access via the `LocalMultiMapStats` object:
-
-- number of entries owned by the member (`getOwnedEntryCount()`)
-- number of backup entries held by the member (`getBackupEntryCount()`)
-- number of backups per entry (`getBackupCount()`)
-- memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
-- creation time of the multimap on the member (`getCreationTime()`)
-- number of hits (reads) of the locally owned entries (`getHits()`)
-- number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
-
-See the to see all the metrics.
-
-### Queue Statistics
-
-To get local queue statistics, use the `getLocalQueueStats()` method from the `IQueue` interface. This method returns a `LocalQueueStats` object that holds local queue statistics.
-
-Below is an example code where the `getLocalQueueStats()` method and the `getAverageAge` method from `LocalQueueStats` get the average age of items.
-
-{Ex_management_ExampleQueueStats_java_tag_qs}
-
-The following are some of the metrics that you can access via the `LocalQueueStats` object:
-
-- number of owned items in the member (`getOwnedItemCount()`)
-- number of backup items in the member (`getBackupItemCount()`)
-- minimum and maximum ages of the items in the member (`getMinAge()` and `getMaxAge()`)
-- number of offer, put and add operations (`getOfferOperationCount()`)
-
-See the to see all the metrics.
-
-### Topic Statistics
-
-To get local topic statistics, use the `getLocalTopicStats()` method from the `ITopic` interface. This method returns a `LocalTopicStats` object that holds local topic statistics.
-
-Below is an example code where the `getLocalTopicStats()` method and the `getPublishOperationCount` method from `LocalTopicStats` get the number of publish operations.
-
-{Ex_management_ExampleTopicStats_java_tag_ts}
-
-The following are the metrics that you can access via the `LocalTopicStats` object:
-
-- creation time of the topic on the member (`getCreationTime()`)
-- total number of published messages of the topic on the member (`getPublishOperationCount()`)
-- total number of received messages of the topic on the member (`getReceiveOperationCount()`)
-
-See the to see all the metrics.
-
-### Executor Statistics
-
-To get local executor statistics, use the `getLocalExecutorStats()` method from the `IExecutorService` interface. This method returns a `LocalExecutorStats` object that holds local executor statistics.
-
-Below is an example code where the `getLocalExecutorStats()` method and the `getCompletedTaskCount` method from `LocalExecutorStats` get the number of completed operations of the executor service.
-
-{Ex_management_ExampleExecutorStats_java_tag_es}
-
-The following are some of the metrics that you can access via the `LocalExecutorStats` object:
-
-- number of pending operations of the executor service (`getPendingTaskCount()`)
-- number of started operations of the executor service (`getStartedTaskCount()`)
-- number of completed operations of the executor service (`getCompletedTaskCount()`)
-
-See the to see all the metrics.
-
-## Health Check and Monitoring
-
-Hazelcast provides the following options for monitoring the health of your Hazelcast clusters:
-
-- HTTP-based health check endpoint
-- Health check script
-- Health monitoring utility
-
-### Enabling the Health Check Endpoint and Script {/* #enable-hcheck */}
-
-To use the health check endpoint and script, enable either of the following configuration options:
-
-- Using the `network` configuration element:
-
-
-
-
- ```xml
-
- ...
-
-
-
-
-
- ...
-
- ```
-
-
-
-
- ```yaml
- hazelcast:
- network:
- rest-api:
- enabled: true
- endpoint-groups:
- HEALTH_CHECK:
- enabled: true
- ```
-
-
-
-- Using the `advanced-network` configuration element:
-
-
-
-
- ```xml
-
- ...
-
-
-
-
-
-
-
- ...
-
- ```
-
-
-
-
- ```yaml
- hazelcast:
- advanced-network:
- enabled: true
- rest-server-socket-endpoint-config:
- endpoint-groups:
- HEALTH_CHECK:
- enabled: true
- ```
-
-
-
-
-### Health Check
-
-You can use Hazelcast's HTTP-based health check implementation to get basic information about the cluster and member on which it is launched.
-
-To use the HTTP-based health check:
-
-1. Enable the [health check endpoint](#enable-hcheck).
-2. Launch the health check from your preferred browser: `http://:5701/hazelcast/health`.
-
- The health check retrieves information about your cluster's health status, such as member state, cluster state, cluster size, etc. For example:
-
- ```none
- {
- "nodeState": "ACTIVE",
- "clusterState": "ACTIVE",
- "clusterSafe": false,
- "migrationQueueSize": 0,
- "clusterSize": 3
- }
- ```
-
- - `nodeState`: State of the member on which the health check is launched. See [Cluster and Member States](./cluster-member-states.mdx#member-states) to learn more about the states of cluster members.
- - `clusterState`: State of cluster that the health-checked member belongs to. See [Cluster and Member States](./cluster-member-states.mdx#cluster-states) to learn more about cluster states.
- - `clusterSafe`: Whether the queried member is safe: there are no active partition migrations, and all backups are in sync for each partition that the member owns. See [Shutting Down Members and Clusters](./shutdown.mdx#ensuring-members-and-clusters-are-in-a-safe-state) to learn how to check the safety of active clusters.
-
- :::note
-
- The `clusterSafe` indicator is useful when your cluster is in a passive state. If the cluster is in an active state, the indicator value continually changes due to the dynamic state of the cluster. Also, checking the cluster safety triggers additional operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load may impact cluster performance.
-
- :::
- - `migrationQueueSize`: A count of the remaining migration tasks while the cluster data is being repartitioned. See [Data Partitioning](../../develop-and-build/architecture/data-partitioning.mdx) to learn about Hazelcast's partitioning mechanism.
- - `clusterSize`: A count of the cluster member count.
-
-### Using the hz-healthcheck Script {/* #health-check-script */}
-
-The `hz-healthcheck` script comes with the Hazelcast package. Internally, it uses the HTTP-based health check endpoint.
-
-To run the `hz-healthcheck` script:
-
-1. Enable the [health check endpoint](#enable-hcheck).
-2. Run the `hz-healthcheck` script with parameters using the following format:
-
- ```none
- ./hz-healthcheck
- ```
-
-You can use the following parameters to perform checks and operations on your Hazelcast clusters:
-
-
-
-
-
-
-
-
-
-| Parameter |
-Default Value |
-Description |
-
-
-
-
-| `-o` or `--operation` |
-`all` |
-
-
-Health check operation. It can be `all`, `node-state`, `cluster-state`, `cluster-safe`, `migration-queue-size` and `cluster-size`.
-
-:::note
-
-The `cluster-safe` option is useful when your cluster is in a passive state. If the cluster is in an active state, the indicator value continually changes due to the dynamic state of the cluster. Also, checking the cluster safety triggers additional operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load may impact cluster performance.
-
-:::
-
- |
-
-
-| `-a` or `--address` |
-`127.0.0.1` |
-Defines the IP address of a cluster member. If you want to manage your cluster remotely, you should use this parameter to provide the IP address of a member to this script. |
-
-
-| `-p` or `--port` |
-`5701` |
-Defines on which port Hazelcast is running on the local or remote machine. |
-
-
-| `-h` or `--help` |
-*no argument expected* |
-Lists the parameter descriptions. It works only as the first parameter. |
-
-
-| `-d` or `--debug` |
-*no argument expected* |
-Prints error output. |
-
-
-| `--https` |
-*no argument expected* |
-Uses HTTPS protocol for REST calls. |
-
-
-| `--cacert` |
-*set of well-known CA certificates* |
-Defines the path of the trusted PEM-encoded certificate file. It is used to verify member certificates. |
-
-
-| `--cert` |
-None |
-Defines the path of the PEM-encoded client certificate file. Only needed when client certificate authentication is used. |
-
-
-| `--key` |
-None |
-Defines the path of the PEM-encoded client private key file. Only needed when client certificate authentication is used. |
-
-
-| `--insecure` |
-*no argument expected* |
-Disables member certificate verification. |
-
-
-
-
-**Example 1: Checking the state of members in a healthy cluster:**
-
-If the member is deployed under the address `127.0.0.1:5701` and it is in the healthy state, the following output is expected:
-
-```none
-./hz-healthcheck -a 127.0.0.1 -p 5701 -o node-state
-ACTIVE
-```
-
-**Example 2: Checking the safety of a non-existent cluster:**
-
-If the cluster has no members running under the address `127.0.0.1:5701`, the following output is expected:
-
-```none
-./hz-healthcheck -a 127.0.0.1 -p 5701 -o cluster-safe
-Error while checking health of hazelcast cluster on ip 127.0.0.1 on port 5701.
-Please check that cluster is running and that health check is enabled in REST API configuration.
-```
-
-### Health Monitor
-
-The health monitor periodically prints logs in your console to provide information about your member's state. By default, it is enabled when you start your cluster.
-
-You can set the interval of health monitoring using the `hazelcast.health.monitoring.delay.seconds` system property. Its default value is 20 seconds.
-
-The system property `hazelcast.health.monitoring.level` is used to configure the monitoring's log level. If it is set to OFF, the monitoring is disabled. If it is set to NOISY, monitoring logs are always printed for the defined intervals. When it is SILENT, which is the default value, monitoring logs are printed only when the values exceed some predefined thresholds. These thresholds are related to memory and CPU percentages, and can be configured using the `hazelcast.health.monitoring.threshold.memory.percentage` and `hazelcast.health.monitoring.threshold.cpu.percentage` system properties, whose default values are both 70. Monitoring logs are also printed when pending invocations exceed 70% or a count of 1000.
-
-The following is an example monitoring output
-
-```none vars
-Sep 08, 2017 5:02:28 PM com.hazelcast.internal.diagnostics.HealthMonitor
-
-INFO: [192.168.2.44]:5701 [host-name] [{full-version}] processors=4, physical.memory.total=16.0G, physical.memory.free=5.5G, swap.space.total=0, swap.space.free=0, heap.memory.used=102.4M,
-
-heap.memory.free=249.1M, heap.memory.total=351.5M, heap.memory.max=3.6G, heap.memory.used/total=29.14%, heap.memory.used/max=2.81%, minor.gc.count=4, minor.gc.time=68ms, major.gc.count=1,
-
-major.gc.time=41ms, load.process=0.44%, load.system=1.00%, load.systemAverage=3.15, thread.count=97, thread.peakCount=98, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0,
-
-executor.q.client.size=0, executor.q.client.query.size=0, executor.q.client.blocking.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.size=0,
-
-executor.q.priorityOperation.size=0, operations.completed.count=226, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0,
-
-operations.running.count=0, operations.pending.invocations.percentage=0.00%, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=1,
-
-connection.active.count=2, client.connection.count=1, connection.count=1
-```
-
-:::note
-
-See the [Configuring with System Properties section](../configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to set system properties.
-
-:::
-
-### Using Health Check on F5 BIG-IP LTM
-
-The F5® BIG-IP® Local Traffic Manager™ (LTM) can be used as a load balancer for Hazelcast cluster members. This section describes how you can configure a health monitor to check the Hazelcast member states.
-
-#### Monitor Types
-
-Following types of monitors can be used to track Hazelcast cluster members:
-
-- HTTP Monitor: A custom HTTP monitor enables you to send a command to Hazelcast's Health Check API using HTTP requests. This is a good choice if SSL/TLS is not enabled in your cluster.
-- HTTPS Monitor: A custom HTTPS monitor enables you to verify the health of Hazelcast cluster members by sending a command to Hazelcast's Health Check API using Secure Socket Layer (SSL) security. This is a good choice if SSL/TLS is enabled in your cluster.
-- `TCP_HALF_OPEN` monitor: A `TCP_HALF_OPEN` monitor is a basic monitor that only checks that the TCP port used by Hazelcast is open and responding to connection requests. It does not interact with the Hazelcast Health Check API. The `TCP_HALF_OPEN` monitor can be used with or without SSL/TLS.
-
-#### Configuration {/* #configuration-2 */}
-
-After signing in to the BIG-IP LTM User Interface, follow F5's [^instructions](https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-monitors-reference-11-6-0/3.html#unique_859105660) to create a new monitor. Next, apply the following configuration according to your monitor type.
-
-##### HTTP/HTTPS Monitors
-
-:::note
-
-You must enable the Hazelcast health check for HTTP/HTTPS monitors to run. Enable the endpoint by using the `advanced-network` or the `network` configuration element. See the [Health Check and Monitoring section](#health-check-and-monitoring).
-
-:::
-
-**Using a GET request:**
-
-- Set the "Send String" as follows:
-
- ```none
- GET /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
- ```
-- Set the "Receive String" as follows:
-
- ```none
- {"nodeState":"ACTIVE","clusterState":"ACTIVE","clusterSafe":true,"migrationQueueSize":0,"clusterSize":([^\s]+)}
- ```
-
-The BIG-IP LTM monitors accept regular expressions in these strings allowing you to configure them as needed. The example provided above remains green even if the cluster size changes.
-
-**Using a HEAD request:**
-
-- Set the "Send String" as follows:
-
- ```none
- HEAD /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
- ```
-- Set the "Receive String" as follows:
-
- ```none
- 200 OK
- ```
-
-As you can see, the HEAD request only checks for a `200 OK` response. A Hazelcast cluster member sends this status code whenever its REST endpoint handles the request. The status code does not depend on the member state or the cluster state. This provides a basic health check. For increased flexibility, we recommend using the GET request API.
-
-##### `TCP_HALF_OPEN` Monitors
-
-- Set the "Type" as `TCP Half Open`.
-- Optionally, set the "Alias Service Port" as the port of Hazelcast cluster member if you want to specify the port in the monitor
-
-## Diagnostics
-
-Hazelcast offers an extended set of diagnostics plugins for both Hazelcast members and clients. A dedicated log file is used to write the diagnostics content, and a rolling file approach is used to prevent taking up too much disk space.
-
-### Enabling Diagnostics Logging
-
-To enable diagnostics logging, you should specify the following properties on the member side:
-
-
-
-
-```xml
-
- ...
-
- true
- 30
- 30
- 30
- 60
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.enabled: true
- hazelcast.diagnostics.invocation.sample.period.seconds: 30
- hazelcast.diagnostics.pending.invocations.period.seconds: 30
- hazelcast.diagnostics.slowoperations.period.seconds: 30
- hazelcast.diagnostics.storeLatency.period.seconds: 60
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.enabled", "true" )
- .setProperty( "hazelcast.diagnostics.invocation.sample.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.pending.invocations.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.slowoperations.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.storeLatency.period.seconds", "60" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.enabled=true
- -Dhazelcast.diagnostics.invocation.sample.period.seconds=30
- -Dhazelcast.diagnostics.pending.invocations.period.seconds=30
- -Dhazelcast.diagnostics.slowoperations.period.seconds=30
- -Dhazelcast.diagnostics.storeLatency.period.seconds=60
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.enabled=true -Dhazelcast.diagnostics.invocation.sample.period.seconds=30 -Dhazelcast.diagnostics.pending.invocations.period.seconds=30 -Dhazelcast.diagnostics.slowoperations.period.seconds=30 -Dhazelcast.diagnostics.storeLatency.period.seconds=60"
-```
-
-
-
-
-On the Java client side, it is enough to set the following properties:
-
-- `hazelcast.diagnostics.enabled=true`
-
-### Diagnostics Log File
-
-You can use the following property to specify the location of the diagnostics log file:
-
-
-
-
-```xml
-
- ...
-
- /your/log/directory
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.directory: /your/log/directory
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.directory", "/your/log/directory" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.directory=/your/log/directory
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.directory=/your/log/directory"
-```
-
-
-
-
-The name of the log file has the following format:
-
-```none
-diagnostics-_--.log
-```
-
-You can set a custom string prefix for the name of log file using the following property.
-
-
-
-
-```xml
-
- ...
-
- foobar
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.filename.prefix: foobar
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.filename.prefix", "foobar" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.filename.prefix=foobar
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.filename.prefix=foobar"
-```
-
-
-
-
-The content format of the diagnostics log file is depicted below:
-
-```none
- BuildInfo[
- ]
- SystemProperties[
- ]
- ConfigProperties[
- ]
- Metric[=]
- Metric[=]
- SlowOperations[
- ]
- HazelcastInstance[
- ]
-...
-...
-...
-```
-
-A rolling file approach is used to prevent creating too much data. By default 10 files of 50 MB each are allowed to exist. You can set the size of each file and number of files using the following properties.
-
-
-
-
-```xml
-
- ...
-
- 100
- 5
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.max.rolled.file.size.mb: 100
- hazelcast.diagnostics.max.rolled.file.count: 5
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.max.rolled.file.size.mb", "100" )
- .setProperty( "hazelcast.diagnostics.max.rolled.file.count", "5" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.max.rolled.file.size.mb=100
- -Dhazelcast.diagnostics.max.rolled.file.count=5
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.max.rolled.file.size.mb=100 -Dhazelcast.diagnostics.max.rolled.file.count=5"
-```
-
-
-
-
-### Diagnostics Output Options
-
-You can use the following property to specify the output type of diagnostics.
-
-
-
-
-```xml
-
- ...
-
- STDOUT
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.stdout: STDOUT
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.stdout", "STDOUT" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.stdout=STDOUT
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.stdout=STDOUT"
-```
-
-
-
-
-Available types:
-
-- `FILE`: Outputs the diagnostics to a [set of files](#diagnostics-log-file) managed by Hazelcast. This is the default type.
-- `STDOUT`: Outputs the diagnostics to the standard output.
-- `LOGGER`: Outputs the diagnostics to the Hazelcast logger; by this way you can use the [logging configuration](../logging.mdx) to forward the diagnostics to any output supported by the logging framework and apply additional configurations. You can see an example in the next section below.
-
- :::note
-
- Using the logging framework introduces a slight overhead in comparison to using other output types but allows for greater flexibility.
-
- :::
-
-### Diagnostics using Logging Frameworks
-
-Hazelcast does not enforce any logging framework. You can always use your logging framework to configure the diagnostics. You can forward the logs to a logging framework by setting the `hazelcast.diagnostics.stdout` property to `LOGGER`:
-
-
-
-
-```xml
-
- ...
-
- LOGGER
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.stdout: LOGGER
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.stdout", "LOGGER" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.stdout=LOGGER
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.stdout=LOGGER"
-```
-
-
-
-
-Above configuration forwards the logs to the `com.hazelcast.diagnostics` logger so you can write them to a file by referencing one of the configured appenders. The following is an example for Log4j2.
-
-```xml
-
-
-
-```
-
-By configuring [`TimeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) and [`SizeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) for the appender, you can control the size and rolling behavior as you want.
-
-:::note
-
-The diagnostic logs have the `DEBUG` level by default; if you do not want to see them in the member logs while they are running in the `DEBUG` mode for the root level appender, you need to change the level to `INFO` for the `com.hazelcast.diagnostics` logger. For Log4j2, see the [configuration documentation](https://logging.apache.org/log4j/2.x/manual/configuration.html) for more details.
-
-:::
-
-### Diagnostics Plugins
-
-As it is stated in the introduction of this section and shown in the log file content above, diagnostics utility consists of plugins such as `BuildInfo`, `SystemProperties` and `HazelcastInstance`.
-
-#### `BuildInfo`
-
-It shows the detailed Hazelcast build information including the Hazelcast release number, `Git` revision number and whether you have Hazelcast or not.
-
-#### `SystemProperties`
-
-It shows all the properties and their values in your system used by and configured for your Hazelcast installation. These are the properties starting with `java` (excluding `java.awt`), `hazelcast`, `sun` and `os`. It also includes the arguments that are used to startup the JVM.
-
-#### `ConfigProperties`
-
-It shows the Hazelcast properties and their values explicitly set by you in the declarative or programmatic configuration. It does not show properties set only on the command line with `-D`.
-
-#### Metrics {/* #diagnostics-metrics */}
-
-It shows a comprehensive log of what is happening in your Hazelcast system. See the [Metrics section](#metrics) for more information.
-
-You can configure the frequency of dumping information to the log file using the following property:
-
-- `hazelcast.diagnostics.metrics.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
-
-:::note
-
-See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
-
-:::
-
-#### `SlowOperations`
-
-It shows the slow operations and invocations, See the [`SlowOperationDetector` section](../../develop-and-build/best-practices/overview.mdx) for more information.
-
-#### Invocations
-
-It shows all kinds of statistics about current and past invocations including current pending invocations, history of invocations and slow history, i.e., all samples where the invocation took more than the defined threshold. Slow history does not only include the invocations where the operations took a lot of time, but it also includes any other invocations that have been obstructed.
-
-Using the following properties, you can configure the frequency of scanning all pending invocations and the threshold that makes an invocation to be considered as slow:
-
-- `hazelcast.diagnostics.invocation.sample.period.seconds`: Set a value in seconds. Its default value is `0`, which disables the plugin.
-- `hazelcast.diagnostics.invocation.slow.threshold.seconds`: Set a value in seconds. Its default value is `5` seconds.
-
-#### `InvocationProfiler`
-
-It shows invocation latencies for each operation. See an example output below:
-
-```none
-06-05-2019 17:15:29 1557152129944 InvocationProfiler[
- com.hazelcast.map.impl.query.QueryOperation[
- count=400
- totalTime(us)=56,000
- avg(us)=140
- max(us)=3,000
- latency-distribution[
- 64..127us=346
- 512..1023us=53
- 2048..4095us=1]]
- com.hazelcast.map.impl.operation.GetOperation[
- count=100
- totalTime(us)=19,000
- avg(us)=190
- max(us)=1,000
- latency-distribution[
- 64..127us=81
- 512..1023us=19]]]
-```
-
-You can control the frequency of scanning all invocations using the following system property:
-
-- `hazelcast.diagnostics.invocation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
-
-You can increase this period if you would like to decrease the logging noise.
-
-#### `OperationProfiler`
-
-It measures the time an operation runs on an operation thread; if the operation is a blocking one or being offloaded, only the time on the operation thread is measured. See an example output below:
-
-```none
-06-05-2021 14:53:48 1595332428248 OperationsProfiler[
- com.hazelcast.map.impl.operation.GetOperation[
- count=502,501
- totalTime(us)=1,690,645
- avg(us)=3
- max(us)=462
- latency-distribution[
- 1..2us=875
- 2..4us=359,876
- 4..8us=131,775
- 8..16us=8,720
- 16..32us=887
- 32..64us=178
- 64..128us=122
- 128..256us=62
- 256..512us=6]]
-```
-
-You can control the frequency of scanning all operations using the following system property:
-
-- `hazelcast.diagnostics.operation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
-
-#### `HazelcastInstance`
-
-It shows the basic state of your Hazelcast cluster including the count and addresses of current members and the address of oldest cluster member. It is useful to get a fast impression of the cluster without needing to analyze a lot of data.
-
-You can configure the frequency at which the cluster information is dumped to the log file using the following property:
-
-- `hazelcast.diagnostics.memberinfo.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
-
-#### `EventQueue`
-
-It checks the event queues in the data structures and samples the event types if the queue size is above a certain threshold. It is useful to figure out why the event queue is running full.
-
-- `hazelcast.diagnostics.event.queue.period.seconds`: Interval, in seconds, between the runs in which this plugin gathers information and writes it to the diagnostics log file. When set to `0` (its default value), it is disabled.
-- `hazelcast.diagnostics.event.queue.threshold`: Minimum number of events in the queue before it is being sampled. Its default value is `1000`.
-- `hazelcast.diagnostics.event.queue.samples`: Number of samples to take from the event queue. Increasing the number of samples gives more accuracy of the content, but it has a negative performance effect. Its default value is `100`.
-
-An example output for a Hazelcast map is as follows:
-
-```none
-17-04-2019 17:36:37 EventQueues[
- worker=1[
- eventCount=441
- sampleCount=100
- samples[
- IMap 'myMap' ADDED sampleCount=51 51.000%
- IMap 'myMap' REMOVED sampleCount=49 49.000%]]
-```
-
-#### `SystemLog`
-
-It shows the activities in your cluster including when a connection/member is added or removed and if there is a change in the lifecycle of the cluster. It also includes the reasons for connection closings.
-
-You can enable or disable the system log diagnostics plugin, and configure whether it shows information about partition migrations using the following properties:
-
-- `hazelcast.diagnostics.systemlog.enabled`: Its default value is `true`.
-- `hazelcast.diagnostics.systemlog.partitions`: Its default value is `false`. If you enable this, you may get a lot of log entries if you have many partitions.
-
-#### `StoreLatency`
-
-It shows statistics including the count of methods for each store (`load`, `loadAll`, `loadAllKeys`, etc.), average and maximum latencies for each store method calls and latency distributions for each store. The following is an example output snippet as part of the diagnostics log file for Hazelcast `MapStore`:
-
-```none
-17-9-2019 13:12:34 MapStoreLatency[
- map[
- loadAllKeys[
- count=1
- totalTime(us)=8
- avg(us)=8
- max(us)=8
- latency-distribution[
- 0..99us=1]]
- load[
- count=100
- totalTime(us)=4,632,190
- avg(us)=46,321
- max(us)=99,178
- latency-distribution[
- 0..99us=1
- 1600..3199us=3
- 3200..6399us=3
- 6400..12799us=7
- 12800..25599us=13
- 25600..51199us=32
- 51200..102399us=41]]]]
-```
-
-According to your store usage, a similar output can be seen for Hazelcast JCache, `Queue`, and `Ringbuffer` data structures with persistent data stores.
-
-You can control the `StoreLatency` plugin using the following properties:
-
-- `hazelcast.diagnostics.storeLatency.period.seconds`: The frequency this plugin is writing the collected information to the disk. By default it is disabled. A sensible production value would be `60` seconds.
-- `hazelcast.diagnostics.storeLatency.reset.period.seconds`: The period of resetting the statistics. If, for example, it is set as 300 (5 minutes), all the statistics are cleared for every 5 minutes. By default it is 0, meaning that statistics are not reset.
-
-#### `OperationHeartbeats`
-
-It shows the deviation between member/member operation heartbeats. Each member, regardless if there is an operation running on behalf of that member, sends an operation heartbeat to every other member. It contains a listing of all `callId`s of the running operations from a given member. This plugin also works fine between `members/lite-members`.
-
-Because this operation heartbeat is sent periodically; by default 1/4 of the operation call timeout of 60 seconds, we would expect an operation heartbeat to be received every 15 seconds. Operation heartbeats are high priority packets (so they overtake regular packets) and are processed by an isolated thread in the invocation monitor. If there is any deviation in the frequency of receiving these packets, it may be due to the problems such as network latencies.
-
-The following shows an example of the output where an operation heartbeat has not been received for 37 seconds:
-
-```none
-20-07-2017 11:12:55 OperationHeartbeat[
- member[10.212.1.119]:5701[
- deviation(%)=146.6666717529297
- noHeartbeat(ms)=37,000
- lastHeartbeat(ms)=1,500,538,338,603
- lastHeartbeat(date-time)=20-07-2017 11:12:18
- now(ms)=1,500,538,375,603
- now(date-time)=20-07-2017 11:12:55]]
-```
-
-The `OperationHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
-
-You can control the `OperationHeartbeats` plugin using the following properties:
-
-- `hazelcast.diagnostics.operation-heartbeat.seconds`: The frequency this plugin is writing the collected information to the disk. It is configured to be 10 seconds by default. 0 disables the plugin.
-- `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is 33. For example, with a default 60 call timeout and operation heartbeat interval being 15 seconds, the maximum deviation with a deviation-percentage of 33, is 5 seconds. So there is no problem if a packet is arrived after 19 seconds, but if it arrives after 21 seconds, then the plugin renders.
-
-#### `MemberHeartbeats`
-
-This plugin looks a lot like the `OperationHeartbeats` plugin, but instead of relying on operation heartbeats to determine the deviation, it relies on member/member cluster heartbeats. Every member sends a heartbeat to other members periodically (by default every 5 seconds).
-
-Just like the `OperationHeartbeats`, the `MemberHeartbeats` plugin can be used to detect if there are networking problems long before they actually lead to problems such as split-brain syndromes.
-
-The following shows an example of the output where no member/member heartbeat has been received for 11 seconds:
-
-```none
-20-07-2017 19:32:22 MemberHeartbeats[
- member[10.212.1.119]:5701[
- deviation(%)=120.0
- noHeartbeat(ms)=11,000
- lastHeartbeat(ms)=1,500,568,331,645
- lastHeartbeat(date-time)=20-07-2017 19:32:11
- now(ms)=1,500,568,342,645
- now(date-time)=20-07-2017 19:32:22]]
-```
-
-The `MemberHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
-
-You can control the `MemberHeartbeats` plugin using the following properties:
-
-- `hazelcast.diagnostics.member-heartbeat.period.seconds`: The frequency this plugin is writing the collected information to the disk. It is configured to be 10 seconds by default. 0 disables the plugin.
-- `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is 100. For example, if the interval of member/member heartbeats is 5 seconds, a 100% deviation is fine with heartbeats arriving up to 5 seconds after they are expected. So a heartbeat arriving after 9 seconds is not rendered, but a heartbeat received after 11 seconds is rendered.
-
-#### `OperationThreadSamples`
-
-This plugin samples the operation threads and checks the running operations/tasks. Hazelcast has the [slow operation detector](../../develop-and-build/best-practices/overview.mdx) which is useful for slow operations. But it may not be efficient for high volumes of not too slow operations. Using the `OperationThreadSamples` plugin it is more clear to see which operations are actually running.
-
-You can control the `OperationThreadSamples` plugin using the following properties:
-
-- `hazelcast.diagnostics.operationthreadsamples.period.seconds`: The frequency this plugin is writing the collected information to the disk. An efficient value for production would be 30, 60, or more seconds. 0, which is the default value, disables the plugin.
-- `hazelcast.diagnostics.operationthreadsamples.sampler.period.millis`: The period in milliseconds between taking samples. The lower the value, the higher the overhead but also the higher the precision. Its default value is 100 ms.
-- `hazelcast.diagnostics.operationthreadsamples.includeName`: Specifies whether the data structures' name pointed to by the operation (if available) should be included in the name of the samples. Its default value is false.
-
-The following shows an example of the output when the property `hazelcast.diagnostics.operationthreadsamples.includeName` is false:
-
-```none
-28-08-2019 07:40:07 1535442007330 OperationThreadSamples[
- Partition[
- com.hazelcast.map.impl.operation.MapSizeOperation=304623 85.6927%
- com.hazelcast.map.impl.operation.PutOperation=33061 9.300304%
- com.hazelcast.map.impl.operation.GetOperation=17799 5.0069904%]
- Generic[
- com.hazelcast.internal.nio.Packet=1767 27.361412%
- com.hazelcast.internal.cluster.impl.operations.JoinRequestOp=821 12.712914%
- com.hazelcast.spi.impl.operationservice.impl.operations.PartitionIteratingOperation=278 4.3047385%
- com.hazelcast.internal.cluster.impl.operations.HeartbeatOp=93 1.4400743%
- com.hazelcast.internal.cluster.impl.operations.OnJoinOp=89 1.3781357%
- com.hazelcast.internal.cluster.impl.operations.WhoisMasterOp=75 1.1613503%]]
-```
-
-As can be seen above, the `MapSizeOperations` run on the operation threads most of the time.
-
-#### `WAN`
-
-
-
-The WAN diagnostics plugin provides information about the WAN replication.
-
-It is disabled by default and can be configured using the following property:
-
-- `hazelcast.diagnostics.wan.period.seconds`: The frequency this plugin is writing the collected information to the disk. 0 disables the plugin.
-
-The following shows an example of the output for a member with the WAN replication configuration `london` and the publisher `tokyo`:
-
-```none
-01-01-2026 12:00:00 1767268800000 WAN[
- syncCount=0
- updateCount=0
- removeCount=0
- syncState[
- status=READY
- activeWanConfigName=null
- activePublisherName=null]
- london[
- tokyo[
- outboundQueueSize=0
- totalPublishedEventCount=1,000
- totalPublishLatency=2,010
- connected=true
- state=REPLICATING
- mapSentEvents-orders[
- updateCount=1,000
- removeCount=0
- syncCount=0
- droppedCount=0]
- updateCount=1,000
- removeCount=0
- syncCount=0
- droppedCount=0]]]
-```
-
-## Monitoring with JMX
-
-You can monitor your Hazelcast members via the JMX protocol.
-
-To achieve this, first add the following system properties to enable the [JMX agent](http://download.oracle.com/javase/1.5.0/docs/guide/management/agent.html):
-
-- `-Dcom.sun.management.jmxremote`
-- `-Dcom.sun.management.jmxremote.port=` (to specify JMX port, the default is `1099`) (**optional**)
-- `-Dcom.sun.management.jmxremote.authenticate=false` (to disable JMX auth) (**optional**)
-
-Then enable JMX by setting the `hazelcast.jmx` property to `true` using the following configuration:
-
-
-
-
-```xml
-
- ...
-
- true
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- properties:
- hazelcast.jmx: true
-```
-
-
-
-
-```java
-config.setProperty("hazelcast.jmx", "true");
-```
-
-
-
-
-```xml
-
- true
-
-```
-
-
-
-
-```shell
--Dhazelcast.jmx=true
-```
-
-
-
-
-### MBean Naming for Hazelcast Data Structures
-
-Hazelcast set the naming convention for MBeans as follows:
-
-```java
-final ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
-```
-
-The MBeans name consists of the Hazelcast instance name, the type of the data structure and that data structure's name. In the above example, `_hzInstance_1_dev` is the instance name, we connect to an `IMap` with the name `trial`.
-
-### Connecting to JMX Agent
-
-One of the ways you can connect to JMX agent is using JConsole, jvisualvm (with MBean plugin) or another JMX compliant monitoring tool.
-
-The other way to connect is to use a custom JMX client.
-
-First, you need to specify the URL where the Hazelcast JMX service is running. See the following code snippet:
-
-```java
-// Parameters for connecting to the JMX Service
-int port = 1099;
-String hostname = InetAddress.getLocalHost().getHostName();
-JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://" + hostname + ":" + port + "/jndi/rmi://" + hostname + ":" + port + "/jmxrmi");
-```
-
-The `port` in the above example should be the one that you define while setting the JMX remote port number (if different than the default port `1099`).
-
-Then use the URL you acquired to connect to the JMX service and get the `JMXConnector` object. Using this object, get the `MBeanServerConnection` object. The `MBeanServerConnection` object enables you to use the MBean methods. See the example code below.
-
-```java
-// Connect to the JMX Service
-JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
-MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
-```
-
-Once you get the `MBeanServerConnection` object, you can call the getter methods of MBeans as follows:
-
-```java
-System.out.println("\nTotal entries on map " + mbsc.getAttribute(mapMBeanName, "name") + " : "
- + mbsc.getAttribute(mapMBeanName, "localOwnedEntryCount"));
-```
-
-### JMX API Per Member
-
-Hazelcast members expose various management beans which include statistics about distributed data structures and the states of Hazelcast member internals.
-
-The attributes whose names start with `local` are local to the member and do not reflect cluster-wide values.
-
-:::note
-
-See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
-
-:::
-
-You can find the JMX API definition below with descriptions and the API methods in parenthesis.
-
-**Atomic Long (`IAtomicLong`)**
-
-- Name ( `name` )
-- Current Value ( `currentValue` )
-- Set Value ( `set(v)` )
-- Add value and Get ( `addAndGet(v)` )
-- Compare and Set ( `compareAndSet(e,v)` )
-- Decrement and Get ( `decrementAndGet()` )
-- Get and Add ( `getAndAdd(v)` )
-- Get and Increment ( `getAndIncrement()` )
-- Get and Set ( `getAndSet(v)` )
-- Increment and Get ( `incrementAndGet()` )
-- Partition key ( `partitionKey` )
-
-**Atomic Reference ( `IAtomicReference` )**
-
-- Name ( `name` )
-- Partition key ( `partitionKey`)
-
-**Countdown Latch ( `ICountDownLatch` )**
-
-- Name ( `name` )
-- Current count ( `count`)
-- Countdown ( `countDown()` )
-- Partition key ( `partitionKey`)
-
-**Executor Service ( `IExecutorService` )**
-
-- Local pending operation count ( `localPendingTaskCount` )
-- Local started operation count ( `localStartedTaskCount` )
-- Local completed operation count ( `localCompletedTaskCount` )
-- Local cancelled operation count ( `localCancelledTaskCount` )
-- Local total start latency ( `localTotalStartLatency` )
-- Local total execution latency ( `localTotalExecutionLatency` )
-
-**List ( `IList` )**
-
-- Name ( `name` )
-- Clear list ( `clear` )
-
-**Map ( `IMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Config ( `config` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Owned entry memory cost ( `localOwnedEntryMemoryCost` )
-- Backup entry count ( `localBackupEntryCount` )
-- Backup entry cost ( `localBackupEntryMemoryCost` )
-- Backup count ( `localBackupCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Locked entry count ( `localLockedEntryCount` )
-- Dirty entry count ( `localDirtyEntryCount` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Heap Cost ( `localHeapCost` )
-- Clear ( `clear()` )
-
-**`MultiMap` ( `MultiMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Owned entry memory cost ( `localOwnedEntryMemoryCost` )
-- Backup entry count ( `localBackupEntryCount` )
-- Backup entry cost ( `localBackupEntryMemoryCost` )
-- Backup count ( `localBackupCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Locked entry count ( `localLockedEntryCount` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Clear ( `clear()` )
-
-**Replicated Map ( `ReplicatedMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Config ( `config` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Clear ( `clear()` )
-
-**Queue ( `IQueue` )**
-
-- Name ( `name` )
-- Config ( `config` )
-- Partition key ( `partitionKey` )
-- Owned item count ( `localOwnedItemCount` )
-- Backup item count ( `localBackupItemCount` )
-- Minimum age ( `localMinAge` )
-- Maximum age ( `localMaxAge` )
-- Average age ( `localAverageAge` )
-- Offer operation count ( `localOfferOperationCount` )
-- Rejected offer operation count ( `localRejectedOfferOperationCount` )
-- Poll operation count ( `localPollOperationCount` )
-- Empty poll operation count ( `localEmptyPollOperationCount` )
-- Other operation count ( `localOtherOperationsCount` )
-- Event operation count ( `localEventOperationCount` )
-- Clear ( `clear()` )
-
-**Semaphore ( `ISemaphore` )**
-
-- Name ( `name` )
-- Available permits ( `available` )
-- Partition key ( `partitionKey` )
-- Drain ( `drain()`)
-- Shrink available permits by given number ( `reduce(v)` )
-- Release given number of permits ( `release(v)` )
-
-**Set ( `ISet` )**
-
-- Name ( `name` )
-- Partition key ( `partitionKey` )
-- Clear ( `clear()` )
-
-**Topic ( `ITopic` )**
-
-- Name ( `name` )
-- Config ( `config` )
-- Creation time ( `localCreationTime` )
-- Publish operation count ( `localPublishOperationCount` )
-- Receive operation count ( `localReceiveOperationCount` )
-
-**Hazelcast Instance ( `HazelcastInstance` )**
-
-- Name ( `name` )
-- Version ( `version` )
-- Build ( `build` )
-- Configuration ( `config` )
-- Configuration source ( `configSource` )
-- Cluster name ( `clusterName` )
-- Network Port ( `port` )
-- Cluster-wide Time ( `clusterTime` )
-- Size of the cluster ( `memberCount` )
-- List of members ( `Members` )
-- Running state ( `running` )
-- Shutdown the member ( `shutdown()` )
-- **Node ( `HazelcastInstance.Node` )**
-
- - Address ( `address` )
- - Master address ( `masterAddress` )
-- **Partition Service ( `HazelcastInstance.PartitionServiceMBean` )**
-
- - Partition count ( `partitionCount` )
- - Active partition count ( `activePartitionCount` )
- - Cluster Safe State ( `isClusterSafe` )
- - `LocalMember` Safe State ( `isLocalMemberSafe` )
-- **System Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Async Executor (`HazelcastInstance.ManagedExecutorService`)**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Scheduled Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Client Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Query Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **I/O Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-
-## Alerting
-
-Hazelcast alerts you through various channels as listed below.
-
-- Banners, warnings and exception messages on your application console.
-
- Example license warning banner:
-
- ```none
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- THIS HAZELCAST LICENSE ID AbCdE*********FgHiJ WILL EXPIRE IN 29 DAYS.
- Your Hazelcast cluster will stop working on the next re-start after
- expiry.
-
- Please contact your Hazelcast Account Executive or
- email sales@hazelcast.com.
- Phone: +1 (650) 521-5453
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- ```
-
- Example outdated API warning:
-
- ```none
- An outdated version of JCache API was located in the classpath, please use newer versions of
- JCache API rather than 1.0.0-PFD or 0.x versions.
- ```
-
- Example exception message:
-
- ```none
- com.hazelcast.sql.HazelcastSqlException: From line 1, column 15 to line 1, column 23: Object 'mapBak1HD' not found, did you forget to CREATE MAPPING?
- ```
-- Prometheus: You can use this 3rd party tool to filter alert metrics. See the [Prometheus section](#prometheus-2) for details.
-
-Besides the above channels, you can also benefit from Hazelcast logging mechanism as an indirect way of getting alerts. See the [Logging section](../logging.mdx) for details.
-
-To learn the possible actions on the alerts, see the [Actions and Remedies for Alerts section](../../develop-and-build/troubleshooting/remedies-for-alerts.mdx).
-
-## Integrating with 3rd Party Tools
-
-### Prometheus {/* #prometheus-2 */}
-
-Hazelcast Management Center can expose the metrics collected from cluster members to [Prometheus](https://prometheus.io/). This feature can be turned on by setting the `hazelcast.mc.prometheusExporter.enabled` system property to `true`.
-
-Prometheus can be configured to scrape Management Center in `prometheus.yml` as follows:
-
-```yaml
-scrape_configs:
- - job_name: 'HZ MC'
- # scheme defaults to 'http'.
- static_configs:
- - targets: ['localhost:8080'] # replace this address with the network address of Hazelcast Management Center
-```
-
-After starting Prometheus with this configuration, all metrics will be exported to Prometheus with the `hz_` prefix. The metrics are also available via the [member JMX API](#jmx-api-per-member). With the default configuration, Management Center exports all metrics reported by the cluster members. Since it can be overly verbose for some use cases, the metrics can be filtered with the `hazelcast.mc.prometheusExporter.filter.metrics.included` or the `hazelcast.mc.prometheusExporter.filter.metrics.excluded` system properties, both being comma-separated lists of metric names.
-
-Example of starting Management Center with specifying the metrics exported to Prometheus:
-
-```bash vars
-java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
- -Dhazelcast.mc.prometheusExporter.filter.metrics.included=hz_topic_totalReceivedMessages,hz_map_totalPutLatency \
- -jar hazelcast-management-center-{full-version}.jar
-```
-
-Example of starting Management Center with specifying the metrics to be excluded from the Prometheus export:
-
-```bash vars
-java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
- -Dhazelcast.mc.prometheusExporter.filter.metrics.excluded=hz_os_systemLoadAverage,hz_memory_freeHeap \
- -jar hazelcast-management-center-{full-version}.jar
-```
-
-By default, Prometheus connects via the same IP and port as the Management Center web interface. It is possible to override the port number using the `-Dhazelcast.mc.prometheusExporter.port` system property. Let's say you have started Management Center as shown below:
-
-```bash vars
-java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
- -Dhazelcast.mc.prometheusExporter.port=2222 \
- -jar hazelcast-management-center-{full-version}.jar
-```
-
-Then, the Prometheus endpoint will be available at `http://localhost:2222/metrics`, which should be reflected by the Prometheus configuration as below:
-
-```yaml
-scrape_configs:
- - job_name: 'HZ MC'
- static_configs:
- - targets: ['localhost:2222']
-```
-
-:::note
-
-If you want to visualize the Prometheus metrics using Grafana, then you can start with [this dashboard](https://grafana.com/grafana/dashboards/13183).
-
-:::
-
-### AppDynamics
-
-You can use the interface to integrate the [Hazelcast Management Center](#management-center) with **AppDynamics**. To perform this integration, attach the AppDynamics Java agent to the Management Center.
-
-For agent installation, see the [Install the App Agent for Java](http://docs.appdynamics.com/display/PRO14S/Install%2Bthe%2BApp%2BAgent%2Bfor%2BJava) page.
-
-For monitoring on AppDynamics, see the [Using AppDynamics for JMX Monitoring](http://docs.appdynamics.com/display/PRO14S/Monitor%2BJMX%2BMBeans#MonitorJMXMBeans-UsingAppDynamicsforJMXMonitoring) page.
-
-After installing AppDynamics agent, you can start the Management Center as shown below:
-
-```bash vars
-java -javaagent:/path/to/javaagent.jar \
- -Dhazelcast.mc.jmx.enabled=true \
- -Dhazelcast.mc.jmx.port=9999 -jar hazelcast-management-center-{full-version}.jar
-```
-
-When the Management Center starts, you should see the logs below:
-
-```none
-Started AppDynamics Java Agent Successfully.
-Hazelcast Management Center starting on port 8080 at path : /
-```
-
-### New Relic
-
-You can use the interface to integrate the [Hazelcast Management Center](#management-center) with New Relic. To perform this integration, attach the New Relic Java agent and provide an extension file that describes which metrics are sent to New Relic.
-
-See [Custom JMX instrumentation by YAML](http://docs.newrelic.com/docs/java/custom-jmx-instrumentation-by-yml) on the New Relic webpage.
-
-The following is an example Map monitoring `.yml` file for New Relic:
-
-```plain
-name: Clustered JMX
-version: 1.0
-enabled: true
-
-jmx:
-- object_name: ManagementCenter[clustername]:type=Maps,name=mapname
- metrics:
- - attributes: PutOperationCount, GetOperationCount, RemoveOperationCount, Hits, BackupEntryCount, OwnedEntryCount, LastAccessTime, LastUpdateTime
- - type: simple
-- object_name: ManagementCenter[clustername]:type=Members,name="member address in double quotes"
- metrics:
- - attributes: OwnedPartitionCount
- - type: simple
-```
-
-Put the `.yml` file in the `extensions` directory in your New Relic installation. If an `extensions` directory does not exist there, create one.
-
-After you set your extension, attach the New Relic Java agent and start the Management Center as shown below.
-
-```bash vars
-java -javaagent:/path/to/newrelic.jar -Dhazelcast.mc.jmx.enabled=true\
- -Dhazelcast.mc.jmx.port=9999 -jar hazelcast-management-center-{full-version}.jar
-```
-
-If your logging level is set to `FINER`, you should see the log listing in the file `newrelic_agent.log`, which is located in the `logs` directory in your New Relic installation. The following is an example log listing:
-
-```none
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINE:
- JMX Service : querying MBeans (1)
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- JMX Service : MBeans query ManagementCenter[dev]:type=Members,
- name="192.168.2.79:5701", matches 1
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric OwnedPartitionCount : 68
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- JMX Service : MBeans query ManagementCenter[dev]:type=Maps,name=orders,
- matches 1
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric Hits : 46,593
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric BackupEntryCount : 1,100
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric OwnedEntryCount : 1,100
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric RemoveOperationCount : 0
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric PutOperationCount : 118,962
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric GetOperationCount : 0
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric LastUpdateTime : 1,401,962,426,811
-Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
- Recording JMX metric LastAccessTime : 1,401,962,426,811
-```
-
-Then you can navigate to your New Relic account and create custom dashboards. See [Get Started with Dashboards](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards/).
-
-While you are creating the dashboard, you should see the metrics that you are sending to New Relic from the Management Center in the **Metrics** section under the JMX directory.
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/restart-cluster.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/restart-cluster.mdx
index bf73881d..136039e0 100644
--- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/restart-cluster.mdx
+++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/restart-cluster.mdx
@@ -54,7 +54,7 @@ The [Community Edition REST API](../../clients-and-apis/apis/enterprise-rest-api
### Perform a rolling restart {/* #rolling */}
-You should check the cluster is healthy before and after making changes. The best way to do this is to run a in Management Center. For other options, see [Monitoring](./monitoring.mdx).
+You should check the cluster is healthy before and after making changes. The best way to do this is to run a in Management Center. For other options, see [Monitoring](../monitoring/overview.mdx).
To perform a rolling restart:
@@ -114,7 +114,7 @@ To perform a rolling restart:
### Perform a whole cluster restart {/* #whole */}
-You should check the cluster is healthy before and after making changes. The best way to do this is to run a in Management Center. For other options, see [Monitoring](./monitoring.mdx).
+You should check the cluster is healthy before and after making changes. The best way to do this is to run a in Management Center. For other options, see [Monitoring](../monitoring/overview.mdx).
To perform a whole cluster restart:
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/_category_.json b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/_category_.json
new file mode 100644
index 00000000..01bca847
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/_category_.json
@@ -0,0 +1,5 @@
+{
+ "label": "Monitoring",
+ "position": 4.5,
+ "link": null
+}
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/diagnostics.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/diagnostics.mdx
new file mode 100644
index 00000000..06fb6163
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/diagnostics.mdx
@@ -0,0 +1,911 @@
+---
+title: "Diagnostics"
+sidebar_position: 4
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast diagnostic logging helps you troubleshoot and monitor a cluster.
+
+Members and clients both provide a set of diagnostics plugins. Hazelcast writes the diagnostics to a dedicated log file.
+
+## Enable diagnostic logging
+
+To enable diagnostic logging, set the following properties on the members:
+
+
+
+
+```xml
+
+ ...
+
+ true
+ 30
+ 30
+ 30
+ 60
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.enabled: true
+ hazelcast.diagnostics.invocation.sample.period.seconds: 30
+ hazelcast.diagnostics.pending.invocations.period.seconds: 30
+ hazelcast.diagnostics.slowoperations.period.seconds: 30
+ hazelcast.diagnostics.storeLatency.period.seconds: 60
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.enabled", "true" )
+ .setProperty( "hazelcast.diagnostics.invocation.sample.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.pending.invocations.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.slowoperations.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.storeLatency.period.seconds", "60" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.enabled=true
+ -Dhazelcast.diagnostics.invocation.sample.period.seconds=30
+ -Dhazelcast.diagnostics.pending.invocations.period.seconds=30
+ -Dhazelcast.diagnostics.slowoperations.period.seconds=30
+ -Dhazelcast.diagnostics.storeLatency.period.seconds=60
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.enabled=true -Dhazelcast.diagnostics.invocation.sample.period.seconds=30 -Dhazelcast.diagnostics.pending.invocations.period.seconds=30 -Dhazelcast.diagnostics.slowoperations.period.seconds=30 -Dhazelcast.diagnostics.storeLatency.period.seconds=60"
+```
+
+
+
+
+On a Java client, set the following property:
+- `hazelcast.diagnostics.enabled=true`
+
+## Configure the diagnostics log file
+
+To set the directory of the diagnostics log file, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ /your/log/directory
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.directory: /your/log/directory
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.directory", "/your/log/directory" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.directory=/your/log/directory
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.directory=/your/log/directory"
+```
+
+
+
+
+The name of the log file has the following format:
+
+```none
+diagnostics-_--.log
+```
+
+To add a custom prefix to the name of the log file, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ foobar
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.filename.prefix: foobar
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.filename.prefix", "foobar" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.filename.prefix=foobar
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.filename.prefix=foobar"
+```
+
+
+
+
+Each entry in the diagnostics log file starts with the date, the time, and the epoch time in milliseconds, followed by the name of the entry. To leave out the epoch time, set the `hazelcast.diagnostics.include.epoch` property to `false`. The content of the entry follows in square brackets. Some plugins write an empty entry when they have nothing to report. For example, when there are no slow operations, the `SlowOperations` plugin writes `SlowOperations[]`.
+
+The following example shows the first entries in a diagnostics log file for a member that is starting. It leaves out the content of the `SystemProperties` and `ConfigProperties` entries, and all but three of the 382 `Metric` entries:
+
+```none
+19-11-2026 16:41:00 1795106460024 BuildInfo[
+ Build=20240725
+ BuildNumber=20240725
+ Revision=
+ Version=5.5.0
+ SerialVersion=1
+ Enterprise=false]
+19-11-2026 16:41:00 1795106460024 SystemProperties[
+ java.version=26.0.2.1]
+19-11-2026 16:41:00 1795106460024 ConfigProperties[
+ hazelcast.diagnostics.enabled=true]
+19-11-2026 16:41:00 1795106460024 OverloadedConnections[]
+19-11-2026 16:41:00 1795106460024 EventQueues[]
+19-11-2026 16:41:00 1795106460024 PendingInvocations[
+ count=0
+ invocations[]]
+19-11-2026 16:41:00 1795106460024 Metric[[metric=classloading.totalLoadedClassesCount]=7418]
+19-11-2026 16:41:00 1795106460024 Metric[[metric=os.systemLoadAverage]=4.45068359375]
+19-11-2026 16:41:00 1795106460024 Metric[[unit=bytes,metric=memory.usedHeap]=78006632]
+19-11-2026 16:41:00 1795106460048 SlowOperations[]
+19-11-2026 16:41:00 1795106460049 Invocations[
+ Pending[]
+ History[]
+ SlowHistory[]]
+19-11-2026 16:41:00 1795106460049 InvocationProfiler[]
+19-11-2026 16:41:00 1795106460049 OperationsProfiler[]
+19-11-2026 16:41:00 1795106460049 HazelcastInstance[
+ thisAddress=[127.0.0.1]:5701
+ isRunning=true
+ isLite=false
+ joined=false
+ nodeState=ACTIVE
+ clusterId=null
+ clusterSize=1
+ isMaster=false
+ masterAddress=null
+ Members[
+ [127.0.0.1]:5701]]
+19-11-2026 16:41:00 1795106460049 ClusterVersionChanged[
+ 5.5]
+19-11-2026 16:41:00 1795106460049 Lifecycle[
+ STARTING]
+```
+
+To limit the disk space that the diagnostics log files use, Hazelcast starts a new file when the current file reaches a maximum size. By default, it keeps up to 10 files of 50 MB each. To set the size of each file and the number of files, use the following properties:
+
+
+
+
+```xml
+
+ ...
+
+ 100
+ 5
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.max.rolled.file.size.mb: 100
+ hazelcast.diagnostics.max.rolled.file.count: 5
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.max.rolled.file.size.mb", "100" )
+ .setProperty( "hazelcast.diagnostics.max.rolled.file.count", "5" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.max.rolled.file.size.mb=100
+ -Dhazelcast.diagnostics.max.rolled.file.count=5
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.max.rolled.file.size.mb=100 -Dhazelcast.diagnostics.max.rolled.file.count=5"
+```
+
+
+
+
+## Set the output type
+
+To set the output type of diagnostics, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ STDOUT
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.stdout: STDOUT
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.stdout", "STDOUT" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.stdout=STDOUT
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.stdout=STDOUT"
+```
+
+
+
+
+The property accepts the following types:
+- `FILE` outputs to a [set of files](#configure-the-diagnostics-log-file) managed by Hazelcast. This is the default type.
+- `STDOUT` outputs to the standard output.
+- `LOGGER`outputs to the Hazelcast logger. You can then forward the diagnostics to any output that the logging framework supports.
+
+ :::note
+
+ The `LOGGER` type uses more CPU and memory than the other output types, because each diagnostics write passes through the logging framework. It also gives you more flexibility.
+
+ :::
+
+### Send diagnostics to a logging framework
+
+Hazelcast does not require a specific logging framework. To forward the diagnostics to your logging framework, set the `hazelcast.diagnostics.stdout` property to `LOGGER`:
+
+
+
+
+```xml
+
+ ...
+
+ LOGGER
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.stdout: LOGGER
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.stdout", "LOGGER" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.stdout=LOGGER
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.stdout=LOGGER"
+```
+
+
+
+
+This configuration forwards the logs to the `com.hazelcast.diagnostics` logger. To write them to a file, reference one of your configured appenders from that logger. The following example does this for Log4j2:
+
+```xml
+
+
+
+```
+
+To control the file size and rolling behavior, configure [`TimeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) and [`SizeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) for the appender.
+
+:::note
+
+The diagnostic logs have the `DEBUG` level by default. If the root appender uses the `DEBUG` level and you do not want the diagnostic logs in the member logs, set the level of the `com.hazelcast.diagnostics` logger to `INFO`. For Log4j2, see the [configuration documentation](https://logging.apache.org/log4j/2.x/manual/configuration.html).
+
+:::
+
+## Diagnostics plugins
+
+Each diagnostics plugin collects information and writes it to the diagnostics output. The plugins run in two ways:
+- The `BuildInfo`, `SystemProperties`, and `ConfigProperties` plugins do not run at an interval. With the `FILE` output type, their entries appear at the start of each diagnostics log file, including each new file that Hazelcast starts when a file reaches its maximum size. With the `STDOUT` and `LOGGER` output types, their entries appear once each time diagnostics start.
+- Every other plugin runs repeatedly while it is enabled. The section for each plugin lists the properties that enable and configure it. For most plugins, a property sets the interval, and a value of `0` disables the plugin.
+
+You set the plugin properties in the same way as the other diagnostics properties.
+
+Most plugins write entries with the same name as the plugin. The following table lists every plugin, the name of its entries in the diagnostics output, whether it is enabled by default, and where it runs:
+
+| Plugin | Entry name | Enabled by default | Runs on |
+|---|---|---|---|
+| `BuildInfo` | `BuildInfo` | Yes | Members and clients |
+| `SystemProperties` | `SystemProperties` | Yes | Members and clients |
+| `ConfigProperties` | `ConfigProperties` | Yes | Members and clients |
+| `Metrics` | `Metric`, one entry for each metric | Yes | Members and clients |
+| `SlowOperations` | `SlowOperations` | Yes | Members |
+| `Invocations` | `Invocations` | No | Members |
+| `PendingInvocations` | `PendingInvocations` | No | Members |
+| `InvocationProfiler` | `InvocationProfiler` | Yes | Members |
+| `OperationProfiler` | `OperationsProfiler` | Yes | Members |
+| `HazelcastInstance` | `HazelcastInstance` | Yes | Members |
+| `EventQueue` | `EventQueues` | No | Members and clients |
+| `SystemLog` | `Lifecycle`, `MemberAdded`, `MemberRemoved`, `ConnectionAdded`, `ConnectionRemoved`, `ClusterVersionChanged`, `MigrationState`, `MigrationCompleted`, and `MigrationFailed` | Yes | Members and clients |
+| `StoreLatency` | `MapStoreLatency`, `QueueStoreLatency`, `RingbufferStoreLatency`, `CacheStoreLatency`, `CacheLoaderLatency`, and, in , `WanBatchSenderLatency` | No | Members |
+| `OperationHeartbeats` | `OperationHeartbeat` | Yes | Members |
+| `MemberHeartbeats` | `MemberHeartbeats` | Yes | Members |
+| `OperationThreadSamples` | `OperationThreadSamples` | No | Members |
+| `OverloadedConnections` | `OverloadedConnections` | No | Members |
+| `NetworkingImbalance` | `NetworkingImbalance` | No | Members and clients |
+| `WAN` | `WAN` | No | Members |
+
+### `BuildInfo`
+
+The `BuildInfo` plugin shows Hazelcast build information, including the release number, the Git revision number, and whether you have Hazelcast . The following example shows its output:
+
+```none
+19-11-2026 16:41:00 1795106460024 BuildInfo[
+ Build=20240725
+ BuildNumber=20240725
+ Revision=
+ Version=5.5.0
+ SerialVersion=1
+ Enterprise=false]
+```
+
+### `SystemProperties`
+
+The `SystemProperties` plugin shows the system properties that are used by and configured for your Hazelcast installation, with their values. These are the properties whose names start with `java` (except `java.awt`), `hazelcast`, `sun`, and `os`. The plugin also shows the arguments used to start the JVM. The following example shows part of its output:
+
+```none
+19-11-2026 16:41:00 1795106460024 SystemProperties[
+ java.runtime.name=OpenJDK Runtime Environment
+ java.version=26.0.2.1
+ java.vm.args=--add-modules=ALL-DEFAULT
+ java.vm.name=OpenJDK 64-Bit Server VM
+ os.arch=aarch64
+ os.name=Mac OS X
+ sun.arch.data.model=64]
+```
+
+### `ConfigProperties`
+
+The `ConfigProperties` plugin shows the Hazelcast properties that you set explicitly in the declarative or programmatic configuration, with their values. It does not show properties set only on the command line with `-D`. The following example shows part of its output:
+
+```none
+19-11-2026 16:41:00 1795106460024 ConfigProperties[
+ hazelcast.diagnostics.enabled=true
+ hazelcast.diagnostics.invocation.sample.period.seconds=2
+ hazelcast.diagnostics.metrics.period.seconds=5
+ hazelcast.slow.operation.detector.threshold.millis=500]
+```
+
+### `Metrics` {/* #diagnostics-metrics */}
+
+The Metrics plugin writes a comprehensive log of what is happening in your Hazelcast system. See [Metrics](./metrics.mdx) for more information.
+
+To set how often the plugin writes to the log file, use the following property:
+- `hazelcast.diagnostics.metrics.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+The plugin writes one `Metric` entry for each metric. The entry shows the tags of the metric, such as the name of the data structure and the unit, followed by the value. The following example shows some of these entries:
+
+```none
+19-11-2026 16:41:05 1795106465028 Metric[[unit=bytes,metric=memory.usedHeap]=76279944]
+19-11-2026 16:41:05 1795106465028 Metric[[unit=count,metric=operation.queueSize]=0]
+19-11-2026 16:41:05 1795106465028 Metric[[unit=count,metric=partitions.localPartitionCount]=136]
+19-11-2026 16:41:05 1795106465028 Metric[[name=orders,unit=ms,metric=map.totalGetLatency]=132]
+19-11-2026 16:41:05 1795106465028 Metric[[name=orders,unit=ms,metric=map.totalPutLatency]=710]
+```
+
+:::note
+
+See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
+
+:::
+
+### `SlowOperations`
+
+The `SlowOperations` plugin shows slow operations and invocations. See the [`SlowOperationDetector` section](../../develop-and-build/best-practices/overview.mdx) for more information.
+
+The plugin runs only when the slow operation detector is enabled. To set how often the plugin writes to the log file, use the following property:
+- `hazelcast.diagnostics.slowoperations.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+For each type of slow operation, the plugin shows the number of slow invocations, the stack trace of the operation, and details of each slow invocation. The following example shows part of its output, for a slow entry processor:
+
+```none
+19-11-2026 16:41:08 1795106468027 SlowOperations[
+ com.hazelcast.map.impl.operation.EntryOperation[
+ invocations=1
+ stackTrace[
+ com.example.OrderProcessor.process(OrderProcessor.java:53)
+ com.hazelcast.map.impl.operation.EntryOperator.process(EntryOperator.java:403)
+ com.hazelcast.map.impl.operation.EntryOperation.call(EntryOperation.java:244)
+ com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:216)
+ com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:174)]
+ slowInvocations[
+ startedAt=1,795,106,465,415
+ started(date-time)=19-11-2026 16:41:05
+ duration(ms)=1,004
+ operationDetails=com.hazelcast.map.impl.operation.EntryOperation{serviceName='hz:impl:mapService', identityHash=886816615, partitionId=11, replicaIndex=0, callId=2007, invocationTime=1795106464989 (2026-11-19 16:41:04.989), waitTimeout=-1, callTimeout=60000, tenantControl=com.hazelcast.spi.impl.tenantcontrol.NoopTenantControl@0, name=orders}]]]
+```
+
+### `Invocations`
+
+The Invocations plugin shows statistics about current and past invocations, including pending invocations, the history of invocations, and the slow history. The slow history holds every sample where an invocation took longer than the threshold. It includes the invocations whose operations took a long time, and any other invocations that were obstructed.
+
+To set how often the plugin scans all pending invocations, and the threshold above which an invocation counts as slow, use the following properties:
+- `hazelcast.diagnostics.invocation.sample.period.seconds`: Set a value in seconds. Its default value is `0`, which disables the plugin.
+- `hazelcast.diagnostics.invocation.slow.threshold.seconds`: Set a value in seconds. Its default value is `5` seconds.
+
+The following example shows its output, with a threshold of one second:
+
+```none
+19-11-2026 16:41:08 1795106468027 Invocations[
+ Pending[]
+ History[
+ PartitionIteratingOperation(com.hazelcast.map.impl.operation.SizeOperationFactory) samples=2
+ com.hazelcast.map.impl.operation.EntryOperation samples=1
+ com.hazelcast.map.impl.operation.GetOperation samples=1]
+ SlowHistory[
+ com.hazelcast.map.impl.operation.EntryOperation samples=1]]
+```
+
+### `PendingInvocations`
+
+The `PendingInvocations` plugin shows the number of pending invocations on the member, and the number of pending invocations for each type of operation.
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.pending.invocations.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.pending.invocations.threshold`: Minimum number of pending invocations of a type of operation before the plugin shows that type. Its default value is `1`.
+
+The following example shows its output:
+
+```none
+19-11-2026 16:41:06 1795106466028 PendingInvocations[
+ count=2
+ invocations[
+ com.hazelcast.map.impl.operation.EntryOperation=1
+ com.hazelcast.map.impl.operation.GetOperation=1]]
+```
+
+### `InvocationProfiler`
+
+The `InvocationProfiler` plugin shows invocation latencies for each operation. The following example shows its output:
+
+```none
+06-05-2019 17:15:29 1557152129944 InvocationProfiler[
+ com.hazelcast.map.impl.query.QueryOperation[
+ count=400
+ totalTime(us)=56,000
+ avg(us)=140
+ max(us)=3,000
+ latency-distribution[
+ 64..127us=346
+ 512..1023us=53
+ 2048..4095us=1]]
+ com.hazelcast.map.impl.operation.GetOperation[
+ count=100
+ totalTime(us)=19,000
+ avg(us)=190
+ max(us)=1,000
+ latency-distribution[
+ 64..127us=81
+ 512..1023us=19]]]
+```
+
+To set how often the plugin scans all invocations, use the following system property:
+- `hazelcast.diagnostics.invocation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
+
+To reduce the number of log entries, increase this period.
+
+### `OperationProfiler`
+
+The `OperationProfiler` plugin measures how long each operation runs on an operation thread. For a blocking or offloaded operation, it measures only the time on the operation thread. The following example shows its output:
+
+```none
+06-05-2021 14:53:48 1595332428248 OperationsProfiler[
+ com.hazelcast.map.impl.operation.GetOperation[
+ count=502,501
+ totalTime(us)=1,690,645
+ avg(us)=3
+ max(us)=462
+ latency-distribution[
+ 1..2us=875
+ 2..4us=359,876
+ 4..8us=131,775
+ 8..16us=8,720
+ 16..32us=887
+ 32..64us=178
+ 64..128us=122
+ 128..256us=62
+ 256..512us=6]]
+```
+
+To set how often the plugin scans all operations, use the following system property:
+- `hazelcast.diagnostics.operation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
+
+### `HazelcastInstance`
+
+The `HazelcastInstance` plugin shows the basic state of your cluster, including the number and addresses of the current members and the address of the oldest member. Use it to see the state of the cluster without analyzing a lot of data.
+
+To set how often the plugin writes the cluster information to the log file, use the following property:
+- `hazelcast.diagnostics.memberinfo.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+The following example shows its output:
+
+```none
+19-11-2026 16:41:05 1795106465031 HazelcastInstance[
+ thisAddress=[127.0.0.1]:5701
+ isRunning=true
+ isLite=false
+ joined=true
+ nodeState=ACTIVE
+ clusterId=1044f2f6-f57e-430b-aabb-c88534c1bcc8
+ clusterSize=2
+ isMaster=true
+ masterAddress=[127.0.0.1]:5701
+ Members[
+ [127.0.0.1]:5701
+ [127.0.0.1]:5702]]
+```
+
+### `EventQueue`
+
+The `EventQueue` plugin checks the event queues of data structures, and samples the event types when a queue holds more events than a threshold. Use it to find out why an event queue is filling up.
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.event.queue.period.seconds`: Interval, in seconds, between the runs in which this plugin gathers information and writes it to the diagnostics log file. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.event.queue.threshold`: Minimum number of events in the queue before the plugin samples it. Its default value is `1000`.
+- `hazelcast.diagnostics.event.queue.samples`: Number of samples to take from the event queue. More samples give a more accurate result, but reduce performance. Its default value is `100`.
+
+The following example shows the output for a map:
+
+```none
+17-04-2019 17:36:37 EventQueues[
+ worker=1[
+ eventCount=441
+ sampleCount=100
+ samples[
+ IMap 'myMap' ADDED sampleCount=51 51.000%
+ IMap 'myMap' REMOVED sampleCount=49 49.000%]]
+```
+
+### `SystemLog`
+
+The `SystemLog` plugin shows the activity in your cluster, such as connections and members being added or removed, and changes in the lifecycle of the cluster. It also shows why connections were closed.
+
+To enable or disable the plugin, and to set whether it shows information about partition migrations, use the following properties:
+- `hazelcast.diagnostics.systemlog.enabled`: Whether the plugin is enabled. Its default value is `true`.
+- `hazelcast.diagnostics.systemlog.partitions`: Whether the plugin shows information about partition migrations. Its default value is `false`. If you enable it on a cluster with many partitions, the plugin can write a large number of log entries.
+
+The plugin does not write entries named `SystemLog`. Each event has its own entry name, such as `MemberAdded` or `ConnectionRemoved`. The following example shows the entries for a member that joins the cluster and then leaves it:
+
+```none
+19-11-2026 16:41:03 1795106463863 MemberAdded[
+ member=[127.0.0.1]:5702
+ Members[
+ [127.0.0.1]:5701:this:master
+ [127.0.0.1]:5702]]
+19-11-2026 16:41:31 1795106491029 ConnectionRemoved[
+ Connection[id=1, /127.0.0.1:61310->/127.0.0.1:5702, qualifier=null, endpoint=[127.0.0.1]:5702, remoteUuid=27a3ecf0-3525-473c-a046-0494302a9a8f, alive=false, connectionType=MEMBER, planeIndex=0]
+ type=MEMBER
+ isAlive=false
+ closeReason=Connection closed by the other side
+ CloseCause[
+ java.io.EOFException: Remote socket closed!
+ com.hazelcast.internal.networking.nio.NioInboundPipeline.process(NioInboundPipeline.java:118)]]
+19-11-2026 16:41:31 1795106491029 MemberRemoved[
+ member=[127.0.0.1]:5702
+ Members[
+ [127.0.0.1]:5701:this:master]]
+```
+
+### `StoreLatency`
+
+The `StoreLatency` plugin shows statistics for each store. The statistics include the call count, the average and maximum latency, and the latency distribution of each store method, such as `load`, `loadAll`, and `loadAllKeys`.
+
+The following example shows the output in the diagnostics log file for a `MapStore`:
+
+```none
+17-9-2019 13:12:34 MapStoreLatency[
+ map[
+ loadAllKeys[
+ count=1
+ totalTime(us)=8
+ avg(us)=8
+ max(us)=8
+ latency-distribution[
+ 0..99us=1]]
+ load[
+ count=100
+ totalTime(us)=4,632,190
+ avg(us)=46,321
+ max(us)=99,178
+ latency-distribution[
+ 0..99us=1
+ 1600..3199us=3
+ 3200..6399us=3
+ 6400..12799us=7
+ 12800..25599us=13
+ 25600..51199us=32
+ 51200..102399us=41]]]]
+```
+
+The plugin writes one entry for each type of store, such as `MapStoreLatency` for map stores and loaders. It writes similar entries for JCache, `Queue`, and `Ringbuffer` data structures that use persistent data stores, such as `QueueStoreLatency` for queue stores.
+
+To configure the `StoreLatency` plugin, use the following properties:
+- `hazelcast.diagnostics.storeLatency.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The plugin is disabled by default. A sensible production value is `60` seconds.
+- `hazelcast.diagnostics.storeLatency.reset.period.seconds`: Interval, in seconds, at which the plugin resets the statistics. For example, with a value of `300`, the plugin clears all statistics every 5 minutes. Its default value is `0`, which means the plugin does not reset the statistics.
+
+### `OperationHeartbeats`
+
+The `OperationHeartbeats` plugin shows the deviation in operation heartbeats between members. Each member sends an operation heartbeat to every other member, whether or not an operation is running on behalf of that member. The heartbeat contains a list of the `callId` values of all running operations from a given member. This plugin also works between members and lite members.
+
+Members send operation heartbeats at an interval of a quarter of the operation call timeout. With the default call timeout of 60 seconds, a member expects an operation heartbeat every 15 seconds. Operation heartbeats are high-priority packets, which overtake regular packets. A separate thread in the invocation monitor processes them. If the interval between these packets deviates, the cause can be a problem such as network latency.
+
+The following example shows the output when a member has not received an operation heartbeat for 37 seconds:
+
+```none
+20-07-2017 11:12:55 OperationHeartbeat[
+ member[10.212.1.119]:5701[
+ deviation(%)=146.6666717529297
+ noHeartbeat(ms)=37,000
+ lastHeartbeat(ms)=1,500,538,338,603
+ lastHeartbeat(date-time)=20-07-2017 11:12:18
+ now(ms)=1,500,538,375,603
+ now(date-time)=20-07-2017 11:12:55]]
+```
+
+The `OperationHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
+
+To configure the `OperationHeartbeats` plugin, use the following properties:
+- `hazelcast.diagnostics.operation-heartbeat.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. Its default value is `10`. A value of `0` disables the plugin.
+- `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is `33`. For example, with the default call timeout of 60 seconds, the operation heartbeat interval is 15 seconds. A deviation percentage of 33 allows a maximum deviation of 5 seconds. A packet that arrives after 19 seconds is within the limit. If a packet arrives after 21 seconds, the plugin writes to the diagnostics file.
+
+### `MemberHeartbeats`
+
+The `MemberHeartbeats` plugin is similar to the `OperationHeartbeats` plugin, but it measures the deviation in cluster heartbeats between members instead of operation heartbeats. Every member sends a heartbeat to the other members every 5 seconds by default.
+
+Like the `OperationHeartbeats` plugin, the `MemberHeartbeats` plugin can detect networking problems long before they lead to problems such as split-brain syndrome.
+
+The following example shows the output when a member has not received a heartbeat from another member for 11 seconds:
+
+```none
+20-07-2017 19:32:22 MemberHeartbeats[
+ member[10.212.1.119]:5701[
+ deviation(%)=120.0
+ noHeartbeat(ms)=11,000
+ lastHeartbeat(ms)=1,500,568,331,645
+ lastHeartbeat(date-time)=20-07-2017 19:32:11
+ now(ms)=1,500,568,342,645
+ now(date-time)=20-07-2017 19:32:22]]
+```
+
+The `MemberHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
+
+To configure the `MemberHeartbeats` plugin, use the following properties:
+- `hazelcast.diagnostics.member-heartbeat.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. Its default value is `10`. A value of `0` disables the plugin.
+- `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is `100`. For example, if members send heartbeats every 5 seconds, a 100% deviation allows heartbeats to arrive up to 5 seconds after they are expected. The plugin does not write a heartbeat that arrives after 9 seconds, but writes one that arrives after 11 seconds.
+
+### `OperationThreadSamples`
+
+The `OperationThreadSamples` plugin samples the operation threads and checks the running operations and tasks. The Hazelcast [slow operation detector](../../develop-and-build/best-practices/overview.mdx) is useful for slow operations, but it can be inefficient for a high volume of operations that are only slightly slow. The `OperationThreadSamples` plugin shows more clearly which operations are running.
+
+To configure the `OperationThreadSamples` plugin, use the following properties:
+- `hazelcast.diagnostics.operationthreadsamples.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. An efficient value for production is 30 seconds or more. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.operationthreadsamples.sampler.period.millis`: Interval, in milliseconds, between samples. A lower value increases both the overhead and the precision. Its default value is `100`.
+- `hazelcast.diagnostics.operationthreadsamples.includeName`: Whether to include the name of the data structure that the operation targets, if available, in the name of each sample. Its default value is `false`.
+
+The following example shows the output when the `hazelcast.diagnostics.operationthreadsamples.includeName` property is `false`:
+
+```none
+28-08-2019 07:40:07 1535442007330 OperationThreadSamples[
+ Partition[
+ com.hazelcast.map.impl.operation.MapSizeOperation=304623 85.6927%
+ com.hazelcast.map.impl.operation.PutOperation=33061 9.300304%
+ com.hazelcast.map.impl.operation.GetOperation=17799 5.0069904%]
+ Generic[
+ com.hazelcast.internal.nio.Packet=1767 27.361412%
+ com.hazelcast.internal.cluster.impl.operations.JoinRequestOp=821 12.712914%
+ com.hazelcast.spi.impl.operationservice.impl.operations.PartitionIteratingOperation=278 4.3047385%
+ com.hazelcast.internal.cluster.impl.operations.HeartbeatOp=93 1.4400743%
+ com.hazelcast.internal.cluster.impl.operations.OnJoinOp=89 1.3781357%
+ com.hazelcast.internal.cluster.impl.operations.WhoisMasterOp=75 1.1613503%]]
+```
+
+In this example, `MapSizeOperation` operations run on the operation threads most of the time.
+
+### `OverloadedConnections`
+
+The `OverloadedConnections` plugin checks the outgoing packet queue of each connection on the member. When a queue holds more packets than a threshold, the plugin samples the packets and shows the types of operation in them. Use it to find out what fills a connection when pending packets use a large amount of memory.
+
+:::warning
+
+To sample a packet, the plugin deserializes it, which has a high overhead. Use this plugin only for debugging, not in production.
+
+:::
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.overloaded.connections.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.overloaded.connections.threshold`: Minimum number of packets in the queue of a connection before the plugin samples it. Its default value is `10000`.
+- `hazelcast.diagnostics.overloaded.connections.samples`: Number of packets to sample from each overloaded connection. Its default value is `1000`.
+
+For each overloaded connection, the plugin shows the number of packets in the queue, as `packetCount` for regular packets or `urgentPacketCount` for priority packets. The following example shows its output with a threshold of `1`:
+
+```none
+19-11-2026 15:19:12 1795101552046 OverloadedConnections[
+ Connection[id=1, /127.0.0.1:59711->/127.0.0.1:5702, qualifier=null, endpoint=[127.0.0.1]:5702, remoteUuid=12af9f38-a99b-46b8-8b16-76b488a2d0aa, alive=true, connectionType=MEMBER, planeIndex=0][
+ urgentPacketCount=4
+ sampleCount=4
+ samples[
+ com.hazelcast.internal.partition.operation.MigrationRequestOperation sampleCount=4 100.000%]]]
+```
+
+### `NetworkingImbalance`
+
+The `NetworkingImbalance` plugin shows how the network load is spread across the input and output threads of a member or client. For each thread, it shows the number of frames, priority frames, bytes, events, handled events, and tasks. It also shows each value as a percentage of the total for all input or all output threads.
+
+To configure the plugin, use the following property:
+- `hazelcast.diagnostics.networking-imbalance.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+
+The following example shows part of its output:
+
+```none
+19-11-2026 16:41:10 1795106470031 NetworkingImbalance[
+ InputThreads[
+ hz.example.IO.thread-in-1[
+ frames-percentage=99.97 %
+ frames=3,547
+ priority-frames-percentage=100.00 %
+ priority-frames=9
+ bytes-percentage=99.99 %
+ bytes=1,970,874
+ events-percentage=99.93 %
+ events=2,796
+ handle-count-percentage=99.93 %
+ handle-count=2,797
+ tasks-percentage=50.00 %
+ tasks=9]]]
+```
+
+### `WAN`
+
+
+
+The `WAN` diagnostics plugin shows information about WAN replication.
+
+The plugin is disabled by default. To configure it, use the following property:
+- `hazelcast.diagnostics.wan.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. A value of `0` disables the plugin.
+
+The following shows an example of the output for a member with the WAN replication configuration `london` and the publisher `tokyo`:
+
+```none
+01-01-2026 12:00:00 1767268800000 WAN[
+ syncCount=0
+ updateCount=0
+ removeCount=0
+ syncState[
+ status=READY
+ activeWanConfigName=null
+ activePublisherName=null]
+ london[
+ tokyo[
+ outboundQueueSize=0
+ totalPublishedEventCount=1,000
+ totalPublishLatency=2,010
+ connected=true
+ state=REPLICATING
+ mapSentEvents-orders[
+ updateCount=1,000
+ removeCount=0
+ syncCount=0
+ droppedCount=0]
+ updateCount=1,000
+ removeCount=0
+ syncCount=0
+ droppedCount=0]]]
+```
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/health-check-and-monitoring.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/health-check-and-monitoring.mdx
new file mode 100644
index 00000000..7456724b
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/health-check-and-monitoring.mdx
@@ -0,0 +1,248 @@
+---
+title: "Health check and monitoring"
+sidebar_position: 3
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast provides the following tools to check the health and status of a cluster:
+- The HTTP-based health check endpoint returns the state of a member and its cluster when another system requests it. For example, a load balancer can use it to send traffic only to active members.
+- The `hz-healthcheck` script calls the health check endpoint from the command line. Use it in your own scripts, for example to check that the cluster is safe before you shut down a member.
+- The health monitor utility writes the resource use of a member, such as memory, CPU, and garbage collection, to the member log. It is enabled by default. Use its log entries to find out why a member slowed down or failed.
+
+## Enable the health check endpoint
+
+The `hz-healthcheck` script also uses the health check endpoint. To enable the endpoint, use either of the following configuration elements:
+- The `network` configuration element:
+
+
+
+
+ ```xml
+
+ ...
+
+
+
+
+
+ ...
+
+ ```
+
+
+
+
+ ```yaml
+ hazelcast:
+ network:
+ rest-api:
+ enabled: true
+ endpoint-groups:
+ HEALTH_CHECK:
+ enabled: true
+ ```
+
+
+
+- The `advanced-network` configuration element:
+
+
+
+
+ ```xml
+
+ ...
+
+
+
+
+
+
+
+ ...
+
+ ```
+
+
+
+
+ ```yaml
+ hazelcast:
+ advanced-network:
+ enabled: true
+ rest-server-socket-endpoint-config:
+ endpoint-groups:
+ HEALTH_CHECK:
+ enabled: true
+ ```
+
+
+
+
+## Perform an HTTP-based health check
+
+The HTTP-based health check returns basic information about a member and its cluster. To use it, enable the health check endpoint, and then open `http://:5701/hazelcast/health` in a browser.
+
+The response shows the health status of the member and its cluster, such as the member state, the cluster state, and the cluster size. For example:
+
+```json
+{
+ "nodeState": "ACTIVE",
+ "clusterState": "ACTIVE",
+ "clusterSafe": false,
+ "migrationQueueSize": 0,
+ "clusterSize": 3
+}
+```
+
+The response has the following fields:
+- `nodeState`: State of the member that you query. See [Cluster and Member States](../maintaining-a-cluster/cluster-member-states.mdx#member-states) to learn more about the states of cluster members.
+- `clusterState`: State of the cluster that the member belongs to. See [Cluster and Member States](../maintaining-a-cluster/cluster-member-states.mdx#cluster-states) to learn more about cluster states.
+- `clusterSafe`: Whether the queried member is safe: there are no active partition migrations, and all backups are in sync for each partition that the member owns. See [Shutting Down Members and Clusters](../maintaining-a-cluster/shutdown.mdx#ensuring-members-and-clusters-are-in-a-safe-state) to learn how to check the safety of active clusters.
+
+ :::note
+
+ The `clusterSafe` indicator is useful when your cluster is in a passive state. If the cluster is in an active state, the value changes continually because the state of the cluster changes. Checking the cluster safety also triggers extra operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load can affect cluster performance.
+
+ :::
+- `migrationQueueSize`: Number of remaining migration tasks while the cluster data is being repartitioned. See [Data Partitioning](../../develop-and-build/architecture/data-partitioning.mdx) to learn about Hazelcast's partitioning mechanism.
+- `clusterSize`: Number of members in the cluster.
+
+## Use the `hz-healthcheck` script {/* #health-check-script */}
+
+The Hazelcast package includes the `hz-healthcheck` script. The script calls the HTTP-based health check endpoint.
+
+To run the script, enable the health check endpoint, and then run the script with the parameters that you need:
+
+```bash
+./hz-healthcheck
+```
+
+The script accepts the following parameters:
+
+| Parameter | Default value | Description |
+|---|---|---|
+| `-o` or `--operation` | `all` | Health check operation. It can be `all`, `node-state`, `cluster-state`, `cluster-safe`, `migration-queue-size`, or `cluster-size`.
The `cluster-safe` operation is useful when your cluster is in a passive state. If the cluster is in an active state, the value changes continually because the state of the cluster changes. Checking the cluster safety also triggers extra operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load can affect cluster performance. |
+| `-a` or `--address` | `127.0.0.1` | IP address of the member to query. To check a remote cluster, set it to the IP address of one of its members. |
+| `-p` or `--port` | `5701` | Port of the member on the local or remote machine. |
+| `-h` or `--help` | No argument | Lists the parameter descriptions. It works only as the first parameter. |
+| `-d` or `--debug` | No argument | Prints error output. |
+| `--https` | No argument | Uses HTTPS for REST calls. |
+| `--cacert` | Set of well-known CA certificates | Path of the trusted PEM-encoded certificate file. The script uses it to verify member certificates. |
+| `--cert` | None | Path of the PEM-encoded client certificate file. Required only for client certificate authentication. |
+| `--key` | None | Path of the PEM-encoded client private key file. Required only for client certificate authentication. |
+| `--insecure` | No argument | Disables member certificate verification. |
+
+The following example checks the state of a healthy member at the address `127.0.0.1:5701`:
+
+```none
+./hz-healthcheck -a 127.0.0.1 -p 5701 -o node-state
+ACTIVE
+```
+
+The following example checks the safety of a cluster that has no member at the address `127.0.0.1:5701`. The script prints an error:
+
+```none
+./hz-healthcheck -a 127.0.0.1 -p 5701 -o cluster-safe
+Error while checking health of hazelcast cluster on ip 127.0.0.1 on port 5701.
+Please check that cluster is running and that health check is enabled in REST API configuration.
+```
+
+## Use the health monitor utility
+
+The health monitor regularly prints log entries with information about the state of the member. It is enabled by default.
+
+To set the interval between log entries, use the `hazelcast.health.monitoring.delay.seconds` system property. Its default value is 20 seconds.
+
+To set the level of the health monitor, use the `hazelcast.health.monitoring.level` system property. It accepts the following values:
+- `OFF`: Disables the health monitor.
+- `NOISY`: Prints log entries at every interval.
+- `SILENT`: Prints log entries only when a value exceeds a threshold. This is the default value.
+
+In the `SILENT` level, the health monitor prints log entries when one of the following values exceeds its threshold:
+- Memory percentage, set with the `hazelcast.health.monitoring.threshold.memory.percentage` system property. Its default value is `70`.
+- CPU percentage, set with the `hazelcast.health.monitoring.threshold.cpu.percentage` system property. Its default value is `70`.
+- Pending invocations, when they exceed 70% or a count of 1000.
+
+The following example shows the output of the health monitor:
+
+```none vars
+Sep 08, 2017 5:02:28 PM com.hazelcast.internal.diagnostics.HealthMonitor
+
+INFO: [192.168.2.44]:5701 [host-name] [{full-version}] processors=4, physical.memory.total=16.0G, physical.memory.free=5.5G, swap.space.total=0, swap.space.free=0, heap.memory.used=102.4M,
+
+heap.memory.free=249.1M, heap.memory.total=351.5M, heap.memory.max=3.6G, heap.memory.used/total=29.14%, heap.memory.used/max=2.81%, minor.gc.count=4, minor.gc.time=68ms, major.gc.count=1,
+
+major.gc.time=41ms, load.process=0.44%, load.system=1.00%, load.systemAverage=3.15, thread.count=97, thread.peakCount=98, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0,
+
+executor.q.client.size=0, executor.q.client.query.size=0, executor.q.client.blocking.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.size=0,
+
+executor.q.priorityOperation.size=0, operations.completed.count=226, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0,
+
+operations.running.count=0, operations.pending.invocations.percentage=0.00%, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=1,
+
+connection.active.count=2, client.connection.count=1, connection.count=1
+```
+
+:::note
+
+See [Configuring with System Properties](../configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to set system properties.
+
+:::
+
+## Use health check on F5 BIG-IP LTM
+
+You can use the F5® BIG-IP® Local Traffic Manager™ (LTM) as a load balancer for Hazelcast members. To check the state of each member, configure an LTM monitor.
+
+
+You can use the following types of LTM monitor to track Hazelcast members:
+- HTTP monitor: Sends a request to the Hazelcast health check endpoint over HTTP. Use it when SSL/TLS is not enabled in your cluster.
+- HTTPS monitor: Sends a request to the Hazelcast health check endpoint over HTTPS. Use it when SSL/TLS is enabled in your cluster.
+- `TCP_HALF_OPEN` monitor: Checks only that the TCP port that Hazelcast uses is open and accepts connections. It does not call the health check endpoint. You can use it with or without SSL/TLS.
+
+
+Sign in to the BIG-IP LTM user interface, and create a monitor as described in the [F5 documentation on LTM monitors](https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-monitors-reference-11-6-0/3.html#unique_859105660). Then apply the configuration for your monitor type.
+
+### HTTP/HTTPS monitors
+
+:::note
+
+HTTP and HTTPS Local Traffic Manager monitors need the Hazelcast health check endpoint. Enable it with the `advanced-network` or the `network` configuration element.
+
+:::
+
+To use a GET request, set the following fields:
+- Set **Send String** to the following:
+
+ ```none
+ GET /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
+ ```
+- Set **Receive String** to the following:
+
+ ```none
+ {"nodeState":"ACTIVE","clusterState":"ACTIVE","clusterSafe":true,"migrationQueueSize":0,"clusterSize":([^\s]+)}
+ ```
+
+LTM monitors accept regular expressions in these strings. The **Receive String** in this example matches any cluster size. The monitor therefore stays green when the cluster size changes.
+
+To use a HEAD request, set the following fields:
+- Set **Send String** to the following:
+
+ ```none
+ HEAD /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
+ ```
+- Set **Receive String** to the following:
+
+ ```none
+ 200 OK
+ ```
+
+A HEAD request checks only for a `200 OK` response. A member sends this status code whenever its REST endpoint handles the request. The status code does not depend on the member state or the cluster state. A HEAD request therefore checks only that the endpoint responds. For a check that also covers the member state and the cluster state, we recommend a GET request.
+
+### `TCP_HALF_OPEN` monitors
+
+To use a `TCP_HALF_OPEN` monitor, set the following fields:
+- **Type**: `TCP Half Open`
+- **Alias Service Port**: Optional. The port of the Hazelcast member, if you want to set the port in the monitor
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/instance-tracking.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/instance-tracking.mdx
new file mode 100644
index 00000000..4d94f970
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/instance-tracking.mdx
@@ -0,0 +1,136 @@
+---
+title: "Instance tracking"
+sidebar_position: 6
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Instance tracking writes a file of metadata about a Hazelcast instance when the instance starts. The metadata includes the product name, the version, and the process ID. Other programs can read these files to find out which Hazelcast instances have run on a machine. Members and clients of both and support instance tracking. It is disabled by default.
+
+The instance does not delete the file when it shuts down. The file therefore remains on the machine as a record that the instance ran. If the instance cannot write the file, it logs a warning and starts anyway.
+
+## Configure instance tracking {/* #instance-tracking-configuration */}
+
+You configure instance tracking in the member configuration. The following example enables instance tracking, sets the path of the file, and sets a pattern for its contents:
+
+```java
+Config config = new Config();
+config.getInstanceTrackingConfig()
+ .setEnabled(true)
+ .setFileName("/tmp/hz-tracking.txt")
+ .setFormatPattern("$HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}");
+```
+
+The equivalent declarative configuration is as follows:
+
+
+
+
+```xml
+
+
+ /tmp/hz-tracking.txt
+ $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
+
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ instance-tracking:
+ enabled: true
+ file-name: /tmp/hz-tracking.txt
+ format-pattern: $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
+```
+
+
+
+
+Instance tracking has the following settings:
+
+| Setting | Description | Default |
+| --- | --- | --- |
+| `enabled` | Whether the instance writes a tracking file | `false` |
+| `file-name` | The path of the tracking file | `Hazelcast.process` in the directory that the `java.io.tmpdir` system property names |
+| `format-pattern` | The pattern for the contents of the file | All the metadata as JSON |
+
+To configure instance tracking for a client, add the same settings to the client configuration.
+
+An instance overwrites any existing file at the configured path. To give each instance its own file, add placeholders to the filename. For example, the filename `Hazelcast-$HZ_INSTANCE_TRACKING{pid}-$HZ_INSTANCE_TRACKING{start_timestamp}.process` contains the process ID and the start time. The filename is therefore different each time an instance starts.
+
+## Use placeholders
+
+The filename and the format pattern can contain placeholders in the form `$HZ_INSTANCE_TRACKING{}`. The `HZ_INSTANCE_TRACKING` prefix distinguishes them from other placeholders in the configuration. When the instance writes the file, it replaces each placeholder with its value.
+
+The following placeholders are available:
+
+| Placeholder | Value |
+| --- | --- |
+| `product` | The product name: `Hazelcast`, `Hazelcast Enterprise`, `Hazelcast Client`, or `Hazelcast Client Enterprise` |
+| `version` | The Hazelcast version of the instance |
+| `mode` | `server` for a member started with the `hz-start` or `hz-start.bat` script, `embedded` for a member embedded in another Java program, or `client` for a client |
+| `start_timestamp` | The time the instance started, in milliseconds since the Unix epoch |
+| `licensed` | `1` if the instance uses a license, or `0` if it does not |
+| `pid` | The process ID of the instance |
+
+If a placeholder name is not in this table, the instance writes the placeholder unchanged and continues with the next one. If a placeholder has no closing brace, the instance writes the rest of the pattern unchanged, including any placeholders that follow.
+
+For example, the following format pattern contains a placeholder name that does not exist and a placeholder with no closing brace:
+
+```java
+String format = "mode: $HZ_INSTANCE_TRACKING{mode}\n"
+ + "product: $HZ_INSTANCE_TRACKING{product}\n"
+ + "licensed: $HZ_INSTANCE_TRACKING{licensed}\n"
+ + "missing: $HZ_INSTANCE_TRACKING{missing}\n"
+ + "broken: $HZ_INSTANCE_TRACKING{broken ";
+```
+
+An embedded member with no license writes the following file:
+
+```properties
+mode: embedded
+product: Hazelcast
+licensed: 0
+missing: $HZ_INSTANCE_TRACKING{missing}
+broken: $HZ_INSTANCE_TRACKING{broken
+```
+
+## Read the default file contents
+
+If you do not set a format pattern, the file contains every placeholder and its value as JSON.
+
+A client writes a file such as the following:
+
+```json
+{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"client", "start_timestamp":1595851430741, "licensed":0}
+```
+
+A member started with the `hz-start` script writes a file such as the following:
+
+```json
+{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"server", "start_timestamp":1595851430741, "licensed":1}
+```
+
+A member embedded in another Java program writes a file such as the following:
+
+```json
+{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"embedded", "start_timestamp":1595851430741, "licensed":1}
+```
+
+## Find the tracking file of a running instance
+
+When an instance writes its tracking file, it sets the `hazelcast.config.instance.tracking.file` system property of its JVM to the full path of the file. To check that each running instance writes its file to the right path, read this property with the [`jcmd`](https://docs.oracle.com/en/java/javase/13/docs/specs/man/jcmd.html) utility. Replace `` with the process ID of the JVM:
+
+```shell
+jcmd VM.system_properties | grep hazelcast.config.instance.tracking.file
+```
+
+The output is similar to the following:
+
+```shell
+hazelcast.config.instance.tracking.file=/tmp/Hazelcast.process
+```
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/metrics.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/metrics.mdx
new file mode 100644
index 00000000..dbf9bd06
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/metrics.mdx
@@ -0,0 +1,389 @@
+---
+title: "Metrics"
+sidebar_position: 2
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+import CodeBlock from "@theme/CodeBlock";
+import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../examples/management/ExampleLocalMapStats.java?tag=lms";
+import Ex_management_ExampleLocalIndexStats_java_tag_lis from "../../examples/management/ExampleLocalIndexStats.java?tag=lis";
+import Ex_management_ExampleNearCacheStats_java_tag_ncs from "../../examples/management/ExampleNearCacheStats.java?tag=ncs";
+import Ex_management_ExampleMultiMapStats_java_tag_mms from "../../examples/management/ExampleMultiMapStats.java?tag=mms";
+import Ex_management_ExampleQueueStats_java_tag_qs from "../../examples/management/ExampleQueueStats.java?tag=qs";
+import Ex_management_ExampleTopicStats_java_tag_ts from "../../examples/management/ExampleTopicStats.java?tag=ts";
+import Ex_management_ExampleExecutorStats_java_tag_es from "../../examples/management/ExampleExecutorStats.java?tag=es";
+import Ex_management_MetricsConfiguration_java_tag_member from "../../examples/management/MetricsConfiguration.java?tag=member";
+import Ex_management_MetricsConfiguration_java_tag_client from "../../examples/management/MetricsConfiguration.java?tag=client";
+
+Hazelcast exposes various metrics to facilitate monitoring of the cluster state. They are `` key-value pairs of data that capture the runtime information about the members and clients in a Hazelcast cluster. Such a metric can be the number of entries stored in a particular `IMap` on a given member, JVM metrics like used heap, OS metrics like load average, and so on.
+
+The metrics system is responsible for collecting these metrics and making them available for the [consumers](#exposing-metrics) of the metrics. There are a few hundred metrics collected during every metrics collection cycle by default, and this number grows as more features and data structures are used. This is because every data structure provides its own metrics. For example, if there are two `IMap`s used in a cluster, both `IMap`s produce their metrics on every member.
+
+Metrics have associated tags which describe which object the metric applies to. For example, the tags for job metrics typically indicate the specific DAG vertex and processor the metric belongs to.
+
+Each metric instance provided belongs to a particular Hazelcast cluster member. Different cluster members can have their own versions of the same metric with different values.
+
+The metric collection runs in regular intervals on each member, but note that the metric collection on different cluster members happens at different moments in time. So if you try to correlate metrics from different members, they can be from different moments of time.
+
+## Hazelcast metrics
+
+There is a wide range of metrics and statistics provided by Hazelcast:
+- Cluster-wide metrics
+- Statistics of distributed data structures
+- Executor statistics
+- Partition-related statistics (state, migration, replication)
+- Garbage collection statistics
+- Memory statistics for the JVM that the current Hazelcast member belongs to, for example total physical/free OS memory, max/committed/used/free heap memory, or max/committed/used/free native memory
+- Network traffic-related statistics (traffic and queue sizes)
+- Class loading-related statistics
+- Thread count information (current, peak and daemon thread counts)
+- Job-specific metrics
+
+See the full list of Hazelcast metrics in [List of Hazelcast Metrics](../../reference/list-of-metrics.mdx).
+
+:::note
+
+Metric names can change between minor versions, but not between patch versions. For the compatibility guarantees of each Hazelcast component, see [Supported Versions and Compatibilities](../../install-and-upgrade/overview/versioning-compatibility.mdx#compatibility-guarantees).
+
+:::
+
+### User-defined metrics
+
+User-defined metrics are actually a subset of [job metrics](../../reference/list-of-metrics.mdx#job-metrics). What distinguishes them from regular job-specific metrics is exactly what their name implies: they are not built-in, but defined when processing pipelines are written.
+
+Since user-defined metrics are also job metrics, they have all the tags job metrics have. They also have an extra tag, called `user`, which is set to `true`.
+
+:::note
+
+Because of their extra tag, user-defined metrics cannot overwrite a built-in metric, even if they have the exact same name.
+
+:::
+
+For example, to monitor your filtering step, you can write code like this:
+
+```java
+p.readFrom(source)
+ .filter(l -> {
+ boolean pass = l % 2 == 0;
+ if (!pass) {
+ Metrics.metric("dropped").increment();
+ }
+ Metrics.metric("total").increment();
+ return pass;
+ })
+ .writeTo(sink);
+```
+
+User-defined metrics can be used anywhere in pipeline definitions where custom code can be added. The most important places are filtering, mapping, and flat-mapping functions, various constituent functions of aggregations (accumulate, create, combine, deduct, export, and finish), and the key extraction function when grouping. They can also be used in [custom batch sources](../../develop-and-build/building-data-pipelines/ingesting-data-from-sources/custom-batch-source.mdx), [custom stream sources](../../develop-and-build/building-data-pipelines/ingesting-data-from-sources/custom-stream-source.mdx), [custom sinks](../../develop-and-build/building-data-pipelines/sending-results-to-sinks/custom-sink.mdx), processors, and so on.
+
+## Exposing metrics
+
+Use these tools and interfaces to expose the metrics to the outside world:
+-
+- JMX
+- [Diagnostics](./diagnostics.mdx)
+- Prometheus
+- Job API
+
+### Management Center
+
+Management Center receives the metrics used for building its view about the Hazelcast cluster from the metrics system. The members collect their metrics with the frequency defined with `collection-frequency-seconds`, which is by default once in every 5 seconds.
+
+The member saves the collected metrics into a blob stored in an in-memory buffer. The blob then is retained for the time configured in the `retention-seconds` under the `management-center` configuration block. This is also 5 seconds by default, which means there is at most one blob stored by default. Management Center periodically reads the metrics from this buffer. A blob stays in the buffer until a newer blob replaces it.
+
+The client metrics are also stored in these blobs on the member side with timestamps assigned to them on the client side.
+
+See the for more information.
+
+### JMX
+
+Hazelcast exposes all its metrics using the JVM's standard JMX interface. You can use tools such as Java Mission Control or JConsole to display them.
+
+To connect a JMX client to a member, see [Monitoring with JMX](./monitoring-with-jmx.mdx). That page also describes a separate set of MBeans for data structures and internal services, which you enable with the `hazelcast.jmx` property. The metrics do not need that property. The `jmx` element of the `metrics` configuration controls them, and it is enabled by default.
+
+The Hazelcast metrics are exposed under `com.hazelcast/Metrics/$INSTANCE_NAME` where `$INSTANCE_NAME` is the name of the member or client instance to which the JMX client is connected.
+
+[Jet engine](../../develop-and-build/building-data-pipelines/overview.mdx#what-is-the-jet-engine)-related beans are stored under `com.hazelcast.jet/Metrics//` node, and the various tags they have form further sub-nodes in the resulting tree structure.
+
+### Prometheus
+
+[Prometheus](https://prometheus.io/docs/prometheus/latest/getting_started) is a monitoring system and time series database. Setting up monitoring via Prometheus consists of two steps. The first step is exposing an HTTP endpoint with metrics. The second step is setting up Prometheus server, which pulls the metrics in a specified interval.
+
+The Prometheus Java agent is already part of the Hazelcast distribution. Enable the agent and expose all metrics via HTTP endpoint by setting an environment variable `PROMETHEUS_PORT`. You can change the port to any available port:
+
+```bash
+PROMETHEUS_PORT=8080 bin/hz-start
+```
+
+You should see the following line printed to the logs:
+
+```text
+Prometheus enabled on port 8080
+```
+
+The metrics are available on `http://localhost:8080`.
+
+
+### Job API
+
+The `Job` class has a method which returns a instance. It contains the latest known metric values for the job.
+
+This functionality has been developed primarily to give access to metrics of finished jobs, but can in fact be used for jobs in any state. For details on how to use and filter the metric values consult the .
+
+A simple example for computing the number of data items emitted by a certain vertex, `vertexA`, excluding items emitted to the snapshot, looks like this:
+
+```java
+Predicate vertexOfInterest =
+ MeasurementPredicates.tagValueEquals(MetricTags.VERTEX, "vertexA");
+Predicate notSnapshotEdge =
+ MeasurementPredicates.tagValueEquals(MetricTags.ORDINAL, "snapshot").negate();
+
+Collection measurements = jobMetrics
+ .filter(vertexOfInterest.and(notSnapshotEdge))
+ .get(MetricNames.EMITTED_COUNT);
+
+long totalCount = measurements.stream().mapToLong(Measurement::value).sum();
+```
+
+## Configuration
+
+Metrics collection is enabled by default. You can configure the metrics system declaratively, in the XML or YAML [configuration file](../configuration/static-configuration/configuring-declaratively.mdx), or programmatically, with the [Java API](../configuration/static-configuration/configuring-programmatically.mdx). The following example shows the member configuration with the default values:
+
+
+
+
+```xml
+
+
+ 5
+
+
+ 5
+
+```
+
+
+
+
+```yaml
+metrics:
+ enabled: true
+ management-center:
+ enabled: true
+ retention-seconds: 5
+ jmx:
+ enabled: true
+ collection-frequency-seconds: 5
+```
+
+
+
+
+{Ex_management_MetricsConfiguration_java_tag_member}
+
+
+
+
+You can override each setting in the `metrics` configuration with a [Hazelcast property](../../reference/system-properties.mdx). Set the property in the `properties` section of the member configuration, or as a JVM system property, such as `-Dhazelcast.metrics.enabled=false`. If you set both, the member uses the value from the `properties` section. The member logs each override when it starts. The following properties override the `metrics` configuration:
+- `hazelcast.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
+- `hazelcast.metrics.mc.enabled`: Enables buffering the collected metrics for Management Center if set to `true`, disables it otherwise.
+- `hazelcast.metrics.mc.retention`: Duration, in seconds, for which the metrics are retained for Management Center.
+- `hazelcast.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
+- `hazelcast.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
+
+The `hazelcast.metrics.debug.enabled` property has no element in the `metrics` configuration. If it is `true`, the member collects debug metrics. Enable it only if [diagnostics](./diagnostics.mdx) is enabled, because only the diagnostics feature consumes the debug metrics.
+
+The client configuration is similar. It lacks the Management Center configuration block (`management-center` configuration element), as shown below. This is because the clients are not connected to Management Center and the client metrics are sent to Management Center through a member to which the client is connected.
+
+
+
+
+```xml
+
+
+ 5
+
+```
+
+
+
+
+```yaml
+metrics:
+ enabled: true
+ jmx:
+ enabled: true
+ collection-frequency-seconds: 5
+```
+
+
+
+
+{Ex_management_MetricsConfiguration_java_tag_client}
+
+
+
+
+You can override the client `metrics` configuration in the same way, with the following properties:
+- `hazelcast.client.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
+- `hazelcast.client.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
+- `hazelcast.client.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
+
+The `hazelcast.client.metrics.debug.enabled` property has no element in the `metrics` configuration. If it is `true`, the client collects debug metrics. Enable it only if [diagnostics](./diagnostics.mdx) is enabled, because only the diagnostics feature consumes the debug metrics.
+
+## Performance
+
+The metrics system is designed to make the least possible impact on the performance of the cluster. Since the metrics collection takes place periodically with a few seconds frequency, the main focus is keeping allocation rates and memory footprint at minimum. Therefore, the blobs that store the metrics for Management Center are stored in the memory in a compressed format. The measurements that use multiple `IMap`s to scale up the number of metrics show that one blob occupies only a few kilobytes. It grows above 10 KB only if there are more than 1000 `IMap`s.
+
+The allocation rate of a metric collection cycle is also low. With both Management Center and JMX consumers enabled, the allocation rate with 100 `IMap`s is below 256 KB per cycle, and it grows above 1 MB with 1000 `IMap`s. This means that metrics collection does not increase the frequency of the garbage collection (GC) noticeably.
+
+While the metrics collection is considered GC friendly, the blobs are not recycled. Take the frequency of the GC into account when you configure the retention time. This prevents the blobs from getting promoted into the tenured region of the heap, where they contribute to major GCs over time.
+
+
+## Member statistics
+
+You can get various statistics from your distributed data structures with the `getLocalStats()` method of each data structure, such as `IMap.getLocalMapStats()`. These methods return statistics from the member that you call them on, not from the whole cluster.
+
+Entry statistics, such as the owned entry count, cover the data in the [partitions](../../develop-and-build/architecture/data-partitioning.mdx) that the member owns. Backup statistics cover the backups that the member holds. For maps, operation statistics, such as put counts and latencies, cover the calls that go through the member, whichever member owns the data. These calls come from the member's own code or from clients connected to it.
+
+Each data structure has a `statistics-enabled` configuration setting, which is `true` by default. If you set it to `false`, the member leaves the data structure out of the statistics that it reports to the metrics system and . The effect on the local statistics that the API returns depends on the data structure:
+
+| Data structure | Effect on local statistics |
+| --- | --- |
+| `IMap` | The member does not record operation counts, latencies, or index statistics. Entry counts and memory costs are still available. |
+| `MultiMap` | The member does not record operation counts or latencies, except for `putAll()` calls, transactional puts, and received events. Entry counts are still available. |
+| Queue | None. The member still records all queue statistics. |
+| Topic and reliable topic | None. The member still records publish and receive counts. |
+| Executor service | The member does not record any statistics. The `getLocalExecutorStats()` method returns zero values. |
+
+### Map statistics
+
+To get local map statistics, use the `getLocalMapStats()` method from the `IMap` interface. This method returns a `LocalMapStats` object that holds local map statistics.
+
+This example code shows how `getLocalMapStats()` and `getOwnedEntryCount()` can get the number of entries owned by this member:
+
+{Ex_management_ExampleLocalMapStats_java_tag_lms}
+
+
+For more details on map statistics, see [Reading Map Metrics](../../develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx).
+
+### Map index statistics
+
+To access map index statistics, if you are using indexes to speed up map queries, use the `getIndexStats()` method of the `LocalMapStats` interface returned by `IMap.getLocalMapStats()`.
+
+Below is an example where the `getIndexStats()` method is used to examine an average selectivity of index hits:
+
+{Ex_management_ExampleLocalIndexStats_java_tag_lis}
+
+The following are some of the metrics that you can obtain via the `LocalIndexStats` interface:
+- Number of queries and hits into an index (`getQueryCount()` and `getHitCount()`). The number of hits and queries may differ since a single query may hit the same index more than once.
+- Average index hit latency measured in nanoseconds (`getAverageHitLatency()`).
+- Average index hit selectivity (`getAverageHitSelectivity`). Returned values are in the range from 0.0 to 1.0. Values close to 1.0 indicate a high selectivity meaning the index is efficient; values close to 0.0 indicate a low selectivity meaning the index efficiency is approaching an efficiency of a simple full scan.
+- Number of index insert, update and remove operations (`getInsertCount()`, `getUpdateCount()` and `getRemoveCount()`).
+- Total latencies of insert, update and remove operations (`getTotalInsertLatency()`, `getTotalUpdateLatency()`, `getTotalRemoveLatency()`). To compute an average latency, divide the returned value by the number of operations of a corresponding type.
+- Memory cost of an index (`getMemoryCost()`). For on-heap storage, this memory cost metric value is a best-effort approximation and does not indicate a precise on-heap memory usage of an index.
+
+See the to see all the metrics.
+
+To compute an aggregated value of `getAverageHitSelectivity()` for all cluster members, you can use a simple averaging computation as shown below:
+
+```none
+(s(1) + s(2) + ... + s(n)) / n
+```
+
+In this computation, `s(i)` is an average hit selectivity on the member `i` and `n` is the total number of cluster members.
+
+A more advanced solution is to compute a weighted average as shown below:
+
+```none
+(s(1) * h(1) + s(2) * h(2) + ... + s(n) * h(n)) / (h(1) + h(2) + ... + h(n))
+```
+
+Here, `s(i)` is an average hit selectivity on the member `i`, `h(i)` is a hit count (`getHitCount()`) on the member `i` and `n` is the total number of cluster members. This more advanced solution may produce more precise results in unstable dynamic clusters where new members do not have enough statistics accumulated. The same technique may be applied to the `getAverageHitLatency()` metric.
+
+Note the following about accuracy and reliability:
+- For on-heap storage, values returned by `getAverageHitSelectivity()` may be 1% more or less than the actual selectivity. For example, if the actual selectivity is 0.9, the returned value could be between 0.89 and 0.91.
+- The values returned by `getQueryCount()` and `getHitCount()` may be imprecise for queries involving partition predicates (`PartitionPredicate`) on off-heap storage.
+- The index statistics may be imprecise after a new cluster member addition or the existing member removal. They stay imprecise until enough fresh statistics are accumulated on a new owner of an index or its partition.
+
+### Near Cache statistics
+
+To get Near Cache statistics, use the `getNearCacheStats()` method from the `LocalMapStats` object. This method returns a `NearCacheStats` object that holds Near Cache statistics.
+
+Below is an example where the `getNearCacheStats()` method and the `getRatio()` method from `NearCacheStats` get a Near Cache hit/miss ratio.
+
+{Ex_management_ExampleNearCacheStats_java_tag_ncs}
+
+The following are some of the metrics that you can access via the `NearCacheStats` object (applies to both client and member Near Caches):
+- Creation time of the Near Cache on the member (`getCreationTime()`)
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Memory cost (number of bytes) of owned entries in the Near Cache (`getOwnedEntryMemoryCost()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+
+See the to see all the metrics.
+
+### `MultiMap` statistics
+
+To get `MultiMap` statistics, use the `getLocalMultiMapStats()` method from the `MultiMap` interface. This method returns a `LocalMultiMapStats` object that holds local `MultiMap` statistics.
+
+Below is an example where the `getLocalMultiMapStats()` method and the `getLastUpdateTime()` method from `LocalMultiMapStats` get the last update time.
+
+{Ex_management_ExampleMultiMapStats_java_tag_mms}
+
+The following are some of the metrics that you can access via the `LocalMultiMapStats` object:
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Number of backup entries held by the member (`getBackupEntryCount()`)
+- Number of backups per entry (`getBackupCount()`)
+- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
+- Creation time of the `MultiMap` on the member (`getCreationTime()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
+
+See the to see all the metrics.
+
+### Queue statistics
+
+To get local queue statistics, use the `getLocalQueueStats()` method from the `IQueue` interface. This method returns a `LocalQueueStats` object that holds local queue statistics.
+
+Below is an example where the `getLocalQueueStats()` method and the `getAverageAge()` method from `LocalQueueStats` get the average age of items.
+
+{Ex_management_ExampleQueueStats_java_tag_qs}
+
+The following are some of the metrics that you can access via the `LocalQueueStats` object:
+- Number of owned items in the member (`getOwnedItemCount()`)
+- Number of backup items in the member (`getBackupItemCount()`)
+- Minimum and maximum ages of the items in the member (`getMinAge()` and `getMaxAge()`)
+- Number of offer, put and add operations (`getOfferOperationCount()`)
+
+See the to see all the metrics.
+
+### Topic statistics
+
+To get local topic statistics, use the `getLocalTopicStats()` method from the `ITopic` interface. This method returns a `LocalTopicStats` object that holds local topic statistics.
+
+Below is an example where the `getLocalTopicStats()` method and the `getPublishOperationCount()` method from `LocalTopicStats` get the number of publish operations.
+
+{Ex_management_ExampleTopicStats_java_tag_ts}
+
+The following are the metrics that you can access via the `LocalTopicStats` object:
+- Creation time of the topic on the member (`getCreationTime()`)
+- Total number of published messages of the topic on the member (`getPublishOperationCount()`)
+- Total number of received messages of the topic on the member (`getReceiveOperationCount()`)
+
+See the to see all the metrics.
+
+### Executor statistics
+
+To get local executor statistics, use the `getLocalExecutorStats()` method from the `IExecutorService` interface. This method returns a `LocalExecutorStats` object that holds local executor statistics.
+
+Below is an example where the `getLocalExecutorStats()` method and the `getCompletedTaskCount()` method from `LocalExecutorStats` get the number of completed operations of the executor service.
+
+{Ex_management_ExampleExecutorStats_java_tag_es}
+
+The following are some of the metrics that you can access via the `LocalExecutorStats` object:
+- Number of pending operations of the executor service (`getPendingTaskCount()`)
+- Number of started operations of the executor service (`getStartedTaskCount()`)
+- Number of completed operations of the executor service (`getCompletedTaskCount()`)
+
+See the to see all the metrics.
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/monitoring-with-jmx.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/monitoring-with-jmx.mdx
new file mode 100644
index 00000000..91906c6d
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/monitoring-with-jmx.mdx
@@ -0,0 +1,391 @@
+---
+title: "Monitoring with JMX"
+sidebar_position: 5
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+You can monitor Hazelcast members with JMX. When you enable JMX, each member registers MBeans for its distributed data structures and its internal services. Any JMX client, such as JConsole, can read the attributes of these MBeans and call their operations.
+
+Hazelcast also exposes its [metrics](./metrics.mdx#jmx) over JMX. The metrics MBeans do not need the `hazelcast.jmx` property. The `jmx` element of the `metrics` configuration controls them, and it is enabled by default.
+
+## Enable JMX
+
+To monitor a member with JMX, enable the JMX agent of the member's JVM, and then enable JMX in Hazelcast.
+
+Start the JVM with the following system properties to enable the [JMX agent](https://docs.oracle.com/en/java/javase/17/management/monitoring-and-management-using-jmx-technology.html):
+
+| System property | Effect |
+| --- | --- |
+| `-Dcom.sun.management.jmxremote` | Enables the JMX agent |
+| `-Dcom.sun.management.jmxremote.port=` | Optional. Accepts remote connections on the given port. |
+| `-Dcom.sun.management.jmxremote.authenticate=false` | Optional. Turns off password authentication of JMX connections. |
+
+Then set the `hazelcast.jmx` property to `true`. The default is `false`.
+
+
+
+
+```xml
+
+ ...
+
+ true
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ properties:
+ hazelcast.jmx: true
+```
+
+
+
+
+```java
+config.setProperty("hazelcast.jmx", "true");
+```
+
+
+
+
+```xml
+
+ true
+
+```
+
+
+
+
+```shell
+-Dhazelcast.jmx=true
+```
+
+
+
+
+## MBean names
+
+Each Hazelcast MBean has an object name in the `com.hazelcast` domain. The object name has the following keys:
+
+| Key | Value |
+| --- | --- |
+| `instance` | The name of the Hazelcast instance |
+| `type` | The type of the MBean, such as `IMap` or `HazelcastInstance.Node` |
+| `name` | The name of the data structure or service |
+
+For example, the following object name identifies the MBean of the map `trial` on the instance `_hzInstance_1_dev`:
+
+```java
+ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
+```
+
+If a value contains any of the characters `:`, `"`, `,`, `=`, `*`, or `?`, or a line break, Hazelcast quotes it with `ObjectName.quote()`. For example, the MBean of a map named `orders:eu` has the object name `com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name="orders:eu"`.
+
+## Connect to the JMX agent
+
+To connect to a member, use a JMX client such as JConsole or VisualVM with the VisualVM-MBeans plugin. You can also connect from your own Java code.
+
+To connect from Java code, first create a `JMXServiceURL` with the host of the member and the port that you set in `com.sun.management.jmxremote.port`:
+
+```java
+int port = 1099;
+String hostname = InetAddress.getLocalHost().getHostName();
+JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://" + hostname + ":" + port + "/jndi/rmi://" + hostname + ":" + port + "/jmxrmi");
+```
+
+Then connect to the URL, and get an `MBeanServerConnection` from the connection:
+
+```java
+JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
+MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
+```
+
+Use the `MBeanServerConnection` to read attributes and call operations. The following example reads the name of a map and the number of its entries that the member owns:
+
+```java
+ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
+System.out.println("Total entries on map " + mbsc.getAttribute(mapMBeanName, "name") + " : "
+ + mbsc.getAttribute(mapMBeanName, "localOwnedEntryCount"));
+```
+
+## MBeans of a member
+
+The following sections list the MBeans that a member registers. Each section lists the attributes and operations of one MBean. Operation names end with parentheses. Attributes whose names start with `local` describe only the member that you connect to, not the whole cluster. For the metrics behind many of these attributes, see [List of Hazelcast metrics](../../reference/list-of-metrics.mdx).
+
+### Instance (`HazelcastInstance`)
+
+The `HazelcastInstance` MBean describes the member and its cluster. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the instance |
+| `version` | Hazelcast version |
+| `build` | Hazelcast build |
+| `config` | Configuration of the member, as a string |
+| `configSource` | Source of the configuration |
+| `clusterName` | Name of the cluster |
+| `port` | Network port |
+| `clusterTime` | Cluster-wide time |
+| `memberCount` | Number of members in the cluster |
+| `Members` | List of members |
+| `running` | Whether the member is running |
+| `shutdown()` | Shuts down the member |
+
+### Node (`HazelcastInstance.Node`)
+
+The `HazelcastInstance.Node` MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `address` | Address of the member |
+| `masterAddress` | Address of the master member of the cluster |
+
+### Partition service (`HazelcastInstance.PartitionServiceMBean`)
+
+The `HazelcastInstance.PartitionServiceMBean` MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `partitionCount` | Number of partitions |
+| `activePartitionCount` | Number of active partitions |
+| `isClusterSafe` | Whether the cluster is in a safe state |
+| `isLocalMemberSafe` | Whether the member is safe to shut down |
+
+### Logging service (`HazelcastInstance.LoggingService`)
+
+The `HazelcastInstance.LoggingService` MBean has the following attribute and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `level` | Log level that is set on the member |
+| `setLevel(level)` | Sets the log level of the member |
+| `resetLevel()` | Resets the log level of the member |
+
+### License (`HazelcastInstance.LicenseInfo`)
+
+The `HazelcastInstance.LicenseInfo` MBean holds the details of the member's license. For its attributes, see [Get license details with JMX API](../../install-and-upgrade/enterprise-edition/enterprise-licenses.mdx#jmx).
+
+### Internal executors (`HazelcastInstance.ManagedExecutorService`)
+
+A member registers one `HazelcastInstance.ManagedExecutorService` MBean for each of the following internal executors. The `name` key of the object name is the name of the executor:
+- `hz:system`
+- `hz:async`
+- `hz:scheduled`
+- `hz:client`
+- `hz:client-query`
+- `hz:client-blocking-tasks`
+- `hz:query`
+- `hz:io`
+- `hz:offloadable`
+
+Each executor MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the executor |
+| `queueSize` | Number of tasks in the work queue |
+| `poolSize` | Number of threads in the pool |
+| `maximumPoolSize` | Maximum number of threads in the pool |
+| `remainingQueueCapacity` | Remaining capacity of the work queue |
+| `isShutdown` | Whether the executor is shut down |
+| `isTerminated` | Whether the executor is terminated |
+| `completedTaskCount` | Number of tasks that the executor has completed |
+
+### WAN publisher (`WanPublisher`)
+
+A member registers one `WanPublisher` MBean for each WAN replication publisher. The `name` key of the object name is the name of the WAN replication and the ID of the publisher, separated by a period. The MBean has the following attribute:
+
+| Attribute | Description |
+| --- | --- |
+| `state` | State of the publisher: `REPLICATING`, `PAUSED`, or `STOPPED` |
+
+### Map (`IMap`)
+
+A member registers an `IMap` MBean for each map. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the map |
+| `size` | Number of entries in the map |
+| `config` | Configuration of the map |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localOwnedEntryMemoryCost` | Memory cost of the owned entries, in bytes |
+| `localBackupEntryCount` | Number of backup entries that the member holds |
+| `localBackupEntryMemoryCost` | Memory cost of the backup entries, in bytes |
+| `localBackupCount` | Number of backups of each entry |
+| `localCreationTime` | Time the map was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localLockedEntryCount` | Number of owned keys that are locked |
+| `localDirtyEntryCount` | Number of owned entries that are updated but not yet written to the map store |
+| `localPutOperationCount` | Number of put operations |
+| `localSetOperationCount` | Number of set operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalSetLatency` | Total latency of set operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxSetLatency` | Maximum latency of a set operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `localHeapCost` | Heap cost of the map, including its Near Cache |
+| `clear()` | Removes all entries from the map |
+
+To get the average latency of an operation type, divide its total latency by its operation count.
+
+### `MultiMap` (`MultiMap`)
+
+A member registers a `MultiMap` MBean for each `MultiMap`. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the `MultiMap` |
+| `size` | Number of entries in the `MultiMap` |
+| `config` | Configuration of the `MultiMap` |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localOwnedEntryMemoryCost` | Memory cost of the owned entries, in bytes |
+| `localBackupEntryCount` | Number of backup entries that the member holds |
+| `localBackupEntryMemoryCost` | Memory cost of the backup entries, in bytes |
+| `localBackupCount` | Number of backups of each entry |
+| `localCreationTime` | Time the `MultiMap` was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localLockedEntryCount` | Number of owned keys that are locked |
+| `localDirtyEntryCount` | Number of owned entries that are dirty |
+| `localPutOperationCount` | Number of put operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `clear()` | Removes all entries from the `MultiMap` |
+
+### Replicated map (`ReplicatedMap`)
+
+A member registers a `ReplicatedMap` MBean for each replicated map. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the replicated map |
+| `size` | Number of entries in the replicated map |
+| `config` | Configuration of the replicated map |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localCreationTime` | Time the replicated map was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localPutOperationCount` | Number of put operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `clear()` | Removes all entries from the replicated map |
+
+### Queue (`IQueue`)
+
+A member registers an `IQueue` MBean for each queue. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the queue |
+| `config` | Configuration of the queue |
+| `partitionKey` | Partition key of the queue |
+| `localOwnedItemCount` | Number of items that the member owns |
+| `localBackupItemCount` | Number of backup items that the member holds |
+| `localMinAge` | Minimum age of the items |
+| `localMaxAge` | Maximum age of the items |
+| `localAverageAge` | Average age of the items |
+| `localOfferOperationCount` | Number of offer, put, and add operations |
+| `localRejectedOfferOperationCount` | Number of rejected offers |
+| `localPollOperationCount` | Number of poll, take, and remove operations |
+| `localEmptyPollOperationCount` | Number of poll operations that returned `null` |
+| `localOtherOperationsCount` | Number of other operations |
+| `localEventOperationCount` | Number of event operations |
+| `clear()` | Removes all items from the queue |
+
+### List (`IList`)
+
+A member registers an `IList` MBean for each list. It has the following attribute and operation:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the list |
+| `clear()` | Removes all items from the list |
+
+### Set (`ISet`)
+
+A member registers an `ISet` MBean for each set. It has the following attributes and operation:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the set |
+| `partitionKey` | Partition key of the set |
+| `clear()` | Removes all items from the set |
+
+### Topic (`ITopic`)
+
+A member registers an `ITopic` MBean for each topic. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the topic |
+| `config` | Configuration of the topic |
+| `localCreationTime` | Time the topic was created on the member |
+| `localPublishOperationCount` | Number of messages published on the member |
+| `localReceiveOperationCount` | Number of messages received on the member |
+
+### Reliable topic (`ReliableTopic`)
+
+A member registers a `ReliableTopic` MBean for each reliable topic. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the reliable topic |
+| `config` | Configuration of the reliable topic |
+| `localCreationTime` | Time the reliable topic was created on the member |
+| `localPublishOperationCount` | Number of messages published on the member |
+| `localReceiveOperationCount` | Number of messages received on the member |
+
+### Executor service (`IExecutorService`)
+
+A member registers an `IExecutorService` MBean for each executor service. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the executor service |
+| `localCreationTime` | Time the executor service was created on the member |
+| `localPendingTaskCount` | Number of pending tasks |
+| `localStartedTaskCount` | Number of started tasks |
+| `localCompletedTaskCount` | Number of completed tasks |
+| `localCancelledTaskCount` | Number of cancelled tasks |
+| `localTotalStartLatency` | Total start latency of the started tasks |
+| `localTotalExecutionLatency` | Total execution time of the completed tasks |
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/overview.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/overview.mdx
new file mode 100644
index 00000000..14e7f3aa
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/monitoring/overview.mdx
@@ -0,0 +1,214 @@
+---
+title: "Overview"
+sidebar_position: 1
+slug: /maintain-cluster/monitoring
+---
+
+Hazelcast provides the following ways to monitor a cluster:
+
+| Page | What it provides |
+| --- | --- |
+| [Metrics](./metrics.mdx) | Runtime statistics about members and clients, such as the number of entries in a map, the used heap, and the load average |
+| [Health check and monitoring](./health-check-and-monitoring.mdx) | An HTTP endpoint that reports the state of a member, and a health monitor that writes resource use to the member log |
+| [Diagnostics](./diagnostics.mdx) | A dedicated log file with detailed information for troubleshooting |
+| [Monitoring with JMX](./monitoring-with-jmx.mdx) | MBeans that any JMX client can read |
+| [Instance tracking](./instance-tracking.mdx) | A file that records each instance that starts on a machine |
+| [Management Center](../securing-a-cluster/management-center.mdx) | A tool for monitoring and managing a cluster, which can also export metrics to other tools |
+
+Follow these practices when you run a cluster:
+- Review the log entries of the health monitor and the Hazelcast logs regularly for failure messages. Investigate and record each incident.
+- Set up alerts for long garbage collection pauses and for network problems that make a member unreachable. The failure detectors set how long the cluster tolerates these problems before it removes the member. For the settings, see [Failure Detector Configuration](../fault-tolerance/detecting-failures/failure-detector-configuration.mdx).
+- Use `jstat`, keep verbose GC logging turned on, and monitor GC behavior with a log scraping tool such as Splunk. Raise an alarm on back-to-back full GCs, and on heap occupancy above 90% after a full GC.
+- Make sure that each member can reach every other member through the network and their ports. Make sure that the clients can reach every member as well.
+- Start the members before the clients. This is not required, but clients that start first can time out or report that they cannot find a Hazelcast member.
+- Turn on a system monitoring tool, such as [`nmon`](http://nmon.sourceforge.net/pmwiki.php).
+- To add a member to a running cluster, start it with a configuration similar to that of the other members. You might also need to add the IP address of the new member to the configuration. You do not need a maintenance window to add members to a running cluster.
+
+ - When a member joins or leaves the cluster, the clients can pause briefly while the members rebalance the data. This is expected.
+ - You do not need to change anything on the clients when you add members to a running cluster. In the default `ALL_MEMBERS` routing mode, the clients connect to a new member after it joins the cluster.
+ - The members rebalance the primary and backup data automatically when a member joins or leaves the cluster, including when a member is forced to leave. In the default `ACTIVE` cluster state, you do not need to do anything.
+ - You can promote lite members to data members with the [Cluster API](../maintaining-a-cluster/lite-members.mdx#promoting-lite-members-to-data-members) or with Management Center.
+ - If you set `hazelcast.initial.min.cluster.size`, for example to 4, and start members one by one in an empty cluster, the members initialize the partition table when the cluster reaches that size. They do this even though the cluster has no data. In a cluster of more than 100 members, each member that joins after that causes partition assignment work that is not needed.
+- Check that the backup count is adequate for your SLAs.
+- If you use distributed computing features, such as the executor service or entry processors, keep the members up to date. Apply each change to your client application logic, or to your implementation of these features, to the members as well. Unless you use , which requires , restart all the members after you deploy the new code. Use the usual redeployment process: shut down the members, add the new application JARs to the classpath of the members, and start the members.
+
+## Alerting
+
+Hazelcast writes banners, warnings, and exception messages to the console of your application. For example, the following banner warns that a license is about to expire:
+
+```none
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+THIS HAZELCAST LICENSE ID AbCdE*********FgHiJ WILL EXPIRE IN 29 DAYS.
+Your Hazelcast cluster will stop working on the next re-start after
+expiry.
+
+Please contact your Hazelcast Account Executive or
+email sales@hazelcast.com.
+Phone: +1 (650) 521-5453
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+```
+
+The following warning reports an outdated API on the classpath:
+
+```none
+An outdated version of JCache API was located in the classpath, please use newer versions of
+JCache API rather than 1.0.0-PFD or 0.x versions.
+```
+
+The following exception message reports an SQL query that refers to a mapping that does not exist:
+
+```none
+com.hazelcast.sql.HazelcastSqlException: From line 1, column 15 to line 1, column 23: Object 'mapBak1HD' not found, did you forget to CREATE MAPPING?
+```
+
+You can also export metrics from Management Center to Prometheus, and filter them there to create alerts. Hazelcast logging is another, indirect source of alerts. For more information, see [Configuring logging](../logging.mdx).
+
+For the actions to take on each alert, see [Actions and remedies for alerts](../../develop-and-build/troubleshooting/remedies-for-alerts.mdx).
+
+## Integrating with 3rd party tools
+
+### Prometheus {/* #prometheus-2 */}
+
+Hazelcast Management Center can expose the metrics collected from cluster members to [Prometheus](https://prometheus.io/). This feature can be turned on by setting the `hazelcast.mc.prometheusExporter.enabled` system property to `true`.
+
+Prometheus can be configured to scrape Management Center in `prometheus.yml` as follows:
+
+```yaml
+scrape_configs:
+ - job_name: 'HZ MC'
+ # scheme defaults to 'http'.
+ static_configs:
+ - targets: ['localhost:8080'] # replace this address with the network address of Hazelcast Management Center
+```
+
+After starting Prometheus with this configuration, all metrics will be exported to Prometheus with the `hz_` prefix. The metrics are also available via the [member JMX API](./monitoring-with-jmx.mdx#mbeans-of-a-member). With the default configuration, Management Center exports all metrics reported by the cluster members. Since it can be overly verbose for some use cases, the metrics can be filtered with the `hazelcast.mc.prometheusExporter.filter.metrics.included` or the `hazelcast.mc.prometheusExporter.filter.metrics.excluded` system properties, both being comma-separated lists of metric names.
+
+Example of starting Management Center with specifying the metrics exported to Prometheus:
+
+```bash vars
+java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
+ -Dhazelcast.mc.prometheusExporter.filter.metrics.included=hz_topic_totalReceivedMessages,hz_map_totalPutLatency \
+ -jar hazelcast-management-center-{full-version}.jar
+```
+
+Example of starting Management Center with specifying the metrics to be excluded from the Prometheus export:
+
+```bash vars
+java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
+ -Dhazelcast.mc.prometheusExporter.filter.metrics.excluded=hz_os_systemLoadAverage,hz_memory_freeHeap \
+ -jar hazelcast-management-center-{full-version}.jar
+```
+
+By default, Prometheus connects via the same IP and port as the Management Center web interface. It is possible to override the port number using the `-Dhazelcast.mc.prometheusExporter.port` system property. Let's say you have started Management Center as shown below:
+
+```bash vars
+java -jar -Dhazelcast.mc.prometheusExporter.enabled=true \
+ -Dhazelcast.mc.prometheusExporter.port=2222 \
+ -jar hazelcast-management-center-{full-version}.jar
+```
+
+Then, the Prometheus endpoint will be available at `http://localhost:2222/metrics`, which should be reflected by the Prometheus configuration as below:
+
+```yaml
+scrape_configs:
+ - job_name: 'HZ MC'
+ static_configs:
+ - targets: ['localhost:2222']
+```
+
+:::note
+
+If you want to visualize the Prometheus metrics using Grafana, then you can start with [this dashboard](https://grafana.com/grafana/dashboards/13183).
+
+:::
+
+### AppDynamics
+
+You can use the interface to integrate the [Hazelcast Management Center](../securing-a-cluster/management-center.mdx) with **AppDynamics**. To perform this integration, attach the AppDynamics Java agent to the Management Center.
+
+For agent installation, see the [Install the App Agent for Java](http://docs.appdynamics.com/display/PRO14S/Install%2Bthe%2BApp%2BAgent%2Bfor%2BJava) page.
+
+For monitoring on AppDynamics, see the [Using AppDynamics for JMX Monitoring](http://docs.appdynamics.com/display/PRO14S/Monitor%2BJMX%2BMBeans#MonitorJMXMBeans-UsingAppDynamicsforJMXMonitoring) page.
+
+After installing AppDynamics agent, you can start the Management Center as shown below:
+
+```bash vars
+java -javaagent:/path/to/javaagent.jar \
+ -Dhazelcast.mc.jmx.enabled=true \
+ -Dhazelcast.mc.jmx.port=9999 -jar hazelcast-management-center-{full-version}.jar
+```
+
+When the Management Center starts, you should see the logs below:
+
+```none
+Started AppDynamics Java Agent Successfully.
+Hazelcast Management Center starting on port 8080 at path : /
+```
+
+### New Relic
+
+You can use the interface to integrate the [Hazelcast Management Center](../securing-a-cluster/management-center.mdx) with New Relic. To perform this integration, attach the New Relic Java agent and provide an extension file that describes which metrics are sent to New Relic.
+
+See [Custom JMX instrumentation by YAML](http://docs.newrelic.com/docs/java/custom-jmx-instrumentation-by-yml) on the New Relic webpage.
+
+The following is an example Map monitoring `.yml` file for New Relic:
+
+```plain
+name: Clustered JMX
+version: 1.0
+enabled: true
+
+jmx:
+- object_name: ManagementCenter[clustername]:type=Maps,name=mapname
+ metrics:
+ - attributes: PutOperationCount, GetOperationCount, RemoveOperationCount, Hits, BackupEntryCount, OwnedEntryCount, LastAccessTime, LastUpdateTime
+ - type: simple
+- object_name: ManagementCenter[clustername]:type=Members,name="member address in double quotes"
+ metrics:
+ - attributes: OwnedPartitionCount
+ - type: simple
+```
+
+Put the `.yml` file in the `extensions` directory in your New Relic installation. If an `extensions` directory does not exist there, create one.
+
+After you set your extension, attach the New Relic Java agent and start the Management Center as shown below.
+
+```bash vars
+java -javaagent:/path/to/newrelic.jar -Dhazelcast.mc.jmx.enabled=true\
+ -Dhazelcast.mc.jmx.port=9999 -jar hazelcast-management-center-{full-version}.jar
+```
+
+If your logging level is set to `FINER`, you should see the log listing in the file `newrelic_agent.log`, which is located in the `logs` directory in your New Relic installation. The following is an example log listing:
+
+```none
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINE:
+ JMX Service : querying MBeans (1)
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ JMX Service : MBeans query ManagementCenter[dev]:type=Members,
+ name="192.168.2.79:5701", matches 1
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric OwnedPartitionCount : 68
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ JMX Service : MBeans query ManagementCenter[dev]:type=Maps,name=orders,
+ matches 1
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric Hits : 46,593
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric BackupEntryCount : 1,100
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric OwnedEntryCount : 1,100
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric RemoveOperationCount : 0
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric PutOperationCount : 118,962
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric GetOperationCount : 0
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric LastUpdateTime : 1,401,962,426,811
+Jun 5, 2014 14:18:43 +0300 [72696 62] com.newrelic.agent.jmx.JmxService FINER:
+ Recording JMX metric LastAccessTime : 1,401,962,426,811
+```
+
+Then you can navigate to your New Relic account and create custom dashboards. See [Get Started with Dashboards](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards/).
+
+While you are creating the dashboard, you should see the metrics that you are sending to New Relic from the Management Center in the **Metrics** section under the JMX directory.
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx
index 396c134e..ee1271d6 100644
--- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx
+++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx
@@ -36,4 +36,4 @@ In addition to the above, we recommend the following hardening recommendations f
- We recommend that [mutual TLS authentication](./tls/tls-ssl.mdx#mutual-authentication) be enabled on a Hazelcast production cluster.
- Hazelcast uses Java serialization for some objects transferred over the network. To avoid deserialization of objects from untrusted sources, Hazelcast offers some protection mechanisms; we recommend enabling [mutual TLS authentication](./tls/tls-ssl.mdx#mutual-authentication) and disabling [multicast join](../partition-groups-and-networking/network-configuration.mdx#multicast-element) configuration. We recommend using Java serialization filter configuration for whitelisting the set of trusted classes or packages which are allowed for deserialization.
- Hazelcast uses Java reflection during SQL execution when the object format is set to `java`. We recommend using [Java reflection filter configuration](../../develop-and-build/sql/sql-reflection-configuration.mdx#disallowing-reflection-of-untrusted-java-classes) to whitelist the set of trusted classes or packages that are allowed to create through reflection.
-- You can disable script executions on the Hazelcast members. Scripts executed from Management center have access to system resources (files, etc.) with privileges of user running Hazelcast. We recommend that scripting be [disabled](../maintaining-a-cluster/monitoring.mdx#toggle-scripting-support) on members.
+- You can disable script executions on the Hazelcast members. Scripts executed from Management center have access to system resources (files, etc.) with privileges of user running Hazelcast. We recommend that scripting be [disabled](./management-center.mdx#toggle-scripting-support) on members.
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/management-center.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/management-center.mdx
new file mode 100644
index 00000000..98f1a1fe
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/management-center.mdx
@@ -0,0 +1,156 @@
+---
+title: "Management Center"
+sidebar_position: 9
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast is a tool for monitoring and managing a cluster. In Management Center, you can monitor the state of your clusters, browse your data structures, update map configurations, and take thread dumps from members. With its scripting and console modules, you can also run scripts, such as JavaScript or Groovy, and commands on your members. A script runs only if the classpath of the member contains a scripting engine for the language of the script.
+
+For more information, including the clustered JMX and clustered REST APIs of Management Center, see the .
+
+Management Center is a client of the cluster. You therefore control the following features of Management Center in the member configuration:
+- Scripting
+- The console
+- Access to data
+- The IP addresses that Management Center can connect from
+
+## Enable scripting {/* #managing-scripting-support */}
+
+
+
+Management Center can run scripts that automate interactions with the cluster. Scripting is disabled by default, because a scripting engine gives code access to the files and other resources of the members. The code runs with the permissions of the user that runs the member.
+
+:::important
+
+Scripting gives full, unrestricted access to the cluster. The permissions of individual Management Center users do **not** limit it. Enable scripting with caution, especially in production. If you need fine-grained access control, leave scripting disabled. For details, see in the Management Center documentation.
+
+:::
+
+To enable scripting, set `scripting-enabled` to `true` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ scripting-enabled: true
+```
+
+
+
+
+Hazelcast supports scripting through the API that [Java Specification Request (JSR) 223](https://jcp.org/en/jsr/detail?id=223) defines.
+
+## Enable the console {/* #managing-console-support */}
+
+Management Center can run client operations from its user interface, with a built-in Hazelcast Command-Line Client (CLC). The console is useful for testing and development. It is disabled by default.
+
+:::important
+
+The console gives full access to the cluster through CLC. The permissions of individual Management Center users do **not** limit it. Enable the console with caution, especially in production. If you need fine-grained access control, leave the console disabled.
+
+:::
+
+To enable the console, set `console-enabled` to `true` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ console-enabled: true
+```
+
+
+
+
+For more information, see in the Management Center documentation.
+
+## Disable access to data {/* #managing-data-access */}
+
+In its SQL Browser and Map Browser, Management Center can show the contents of data structures, such as map entries. If your cluster stores sensitive data, such as financial or personal information, you can stop Management Center from reading it. Access to data is enabled by default. Management Center reads data only if every member allows it.
+
+To disable access to data, set `data-access-enabled` to `false` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ data-access-enabled: false
+```
+
+
+
+
+## Limit source addresses
+
+By default, any Management Center instance that can authenticate can connect to the cluster. To accept connections only from trusted Management Center instances, list their IP addresses in `trusted-interfaces`. The addresses can contain wildcards (`*`) and ranges (`-`).
+
+The following example accepts connections only from Management Center instances with an address that starts with `192.168.1.`:
+
+
+
+
+```xml
+
+ ...
+
+
+ 192.168.1.*
+
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ trusted-interfaces:
+ - 192.168.1.*
+```
+
+
+
diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx
index 2d73391d..11758c7d 100644
--- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx
+++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx
@@ -421,7 +421,7 @@ The average entries per leaf number above assumes perfect distribution of the en
### WAN Synchronization Statistics
-Both Full and Delta WAN Synchronization processes write statistics into the [diagnostics](../maintaining-a-cluster/monitoring.mdx#diagnostics) subsystem and send them to Hazelcast Management Center. Using these statistics you can measure the efficiency of your configuration.
+Both Full and Delta WAN Synchronization processes write statistics into the [diagnostics](../monitoring/diagnostics.mdx) subsystem and send them to Hazelcast Management Center. Using these statistics you can measure the efficiency of your configuration.
Full WAN Synchronization reports the following:
@@ -464,7 +464,7 @@ Merkle synchronization statistics:
Maximum records per Merkle tree node: 7
```
-See the [Diagnostics section](../maintaining-a-cluster/monitoring.mdx#diagnostics) to learn how to enable diagnostics and locate its log file to see the above statistics.
+See the [Diagnostics section](../monitoring/diagnostics.mdx) to learn how to enable diagnostics and locate its log file to see the above statistics.
## Dynamically Adding WAN Publishers
diff --git a/hazelcast_versioned_docs/version-5.5/reference/faq.mdx b/hazelcast_versioned_docs/version-5.5/reference/faq.mdx
index 2ee7d99d..c6db1f75 100644
--- a/hazelcast_versioned_docs/version-5.5/reference/faq.mdx
+++ b/hazelcast_versioned_docs/version-5.5/reference/faq.mdx
@@ -229,9 +229,9 @@ Yes. But please note that Hazelcast's main design focus is multi-member clusters
is what you use to monitor and manage the members running Hazelcast. In addition to monitoring the overall state of a cluster, you can analyze and browse data structures in detail, you can update map configurations and you can take thread dumps from members.
-You can also use Hazelcast's HTTP based health check implementation and health monitoring utility. See the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). There is also a [diagnostics tool](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics) where you can see detailed logs enhanced with diagnostic plugins.
+You can also use Hazelcast's HTTP based health check implementation and health monitoring utility. See the [Health Check and Monitoring section](../operate-and-manage/monitoring/health-check-and-monitoring.mdx). There is also a [diagnostics tool](../operate-and-manage/monitoring/diagnostics.mdx) where you can see detailed logs enhanced with diagnostic plugins.
-Moreover, JMX monitoring is also provided. See the [Monitoring with JMX section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) for details.
+Moreover, JMX monitoring is also provided. See the [Monitoring with JMX section](../operate-and-manage/monitoring/monitoring-with-jmx.mdx) for details.
diff --git a/hazelcast_versioned_docs/version-5.5/reference/list-of-metrics.mdx b/hazelcast_versioned_docs/version-5.5/reference/list-of-metrics.mdx
index 6bff818a..59018723 100644
--- a/hazelcast_versioned_docs/version-5.5/reference/list-of-metrics.mdx
+++ b/hazelcast_versioned_docs/version-5.5/reference/list-of-metrics.mdx
@@ -153,7 +153,7 @@ Details on whether the user canceled the job. Potential values:
- 1 - canceled by the user
- 0 - means the job is either running, completed successfully, or failed due to an error other than user cancellation
-Exposed via [Job API](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#via-job-api) only.
+Exposed via [Job API](../operate-and-manage/monitoring/metrics.mdx#job-api) only.
diff --git a/hazelcast_versioned_docs/version-5.5/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.5/reference/system-properties.mdx
index aa6579c0..e9c49d32 100644
--- a/hazelcast_versioned_docs/version-5.5/reference/system-properties.mdx
+++ b/hazelcast_versioned_docs/version-5.5/reference/system-properties.mdx
@@ -162,7 +162,7 @@ When you want to reconfigure a system property, you need to [restart](../operate
`hazelcast.config.instance.tracking.file` |
|
string |
-The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking) |
+The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/monitoring/instance-tracking.mdx) |
| `hazelcast.connect.all.wait.seconds` |
@@ -198,7 +198,7 @@ Output directory of the diagnostic log files.
:::note
-For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics).
+For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-and-manage/monitoring/diagnostics.mdx).
:::
@@ -382,7 +382,7 @@ For detailed information about the diagnostic tool, along with this and the foll
`hazelcast.health.monitoring.delay.seconds` |
20 |
int |
-Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). |
+Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/monitoring/health-check-and-monitoring.mdx). |
| `hazelcast.health.monitoring.level` |
@@ -562,7 +562,7 @@ This property should only be used as a last resort. Hazelcast uses the XXE prote
`hazelcast.jmx` |
false |
bool |
-Enable [JMX](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent. |
+Enable [JMX](../operate-and-manage/monitoring/monitoring-with-jmx.mdx) agent. |
| `hazelcast.jet.custom.lib.dir` |
@@ -806,7 +806,7 @@ Setting this value too low may cause members to be evicted from the cluster when
`hazelcast.metrics.collection.frequency` |
5 |
int |
-Frequency, in seconds, of the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Frequency, in seconds, of the [metrics](../operate-and-manage/monitoring/metrics.mdx) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.datastructures.enabled` |
@@ -824,25 +824,25 @@ Setting this value too low may cause members to be evicted from the cluster when
`hazelcast.metrics.enabled` |
true |
bool |
-Enables the [metrics collection](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables the [metrics collection](../operate-and-manage/monitoring/metrics.mdx) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.mc.enabled` |
true |
bool |
-Enables buffering the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables buffering the collected [metrics](../operate-and-manage/monitoring/metrics.mdx) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.mc.retention` |
5 |
int |
-Duration, in seconds, that the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Duration, in seconds, that the [metrics](../operate-and-manage/monitoring/metrics.mdx) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.jmx.enabled` |
true |
bool |
-Enables exposing the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables exposing the collected [metrics](../operate-and-manage/monitoring/metrics.mdx) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.multicast.group` |
diff --git a/hazelcast_versioned_docs/version-5.6/clients-and-apis/clients/java.mdx b/hazelcast_versioned_docs/version-5.6/clients-and-apis/clients/java.mdx
index aab7f2e0..6852fc8a 100644
--- a/hazelcast_versioned_docs/version-5.6/clients-and-apis/clients/java.mdx
+++ b/hazelcast_versioned_docs/version-5.6/clients-and-apis/clients/java.mdx
@@ -1809,10 +1809,10 @@ You need to restart clients after modifying system properties.
| `hazelcast.client.io.output.thread.count` | -1 | int | Controls the number of I/O output threads. Defaults to -1, i.e., the system decides. If the client is using either the `ALL_MEMBERS` or the `MULTI_MEMBER` cluster routing mode, it defaults to 3, otherwise it defaults to 1. |
| `hazelcast.client.io.write.through` | true | bool | Optimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments. |
| `hazelcast.client.max.concurrent.invocations` | `Integer.MAX_VALUE` | int | Maximum allowed number of concurrent invocations. You can apply a constraint on the number of concurrent invocations in order to prevent the system from overloading. If the maximum number of concurrent invocations is exceeded and a new invocation comes in, Hazelcast throws `HazelcastOverloadException`. |
-| `hazelcast.client.metrics.collection.frequency` | 5 | int | Frequency, in seconds, of the [metrics](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+| `hazelcast.client.metrics.collection.frequency` | 5 | int | Frequency, in seconds, of the [metrics](../../operate-and-manage/monitoring/metrics.mdx) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.client.metrics.debug.enabled` | false | bool | Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this is meant to be enabled only if diagnostics is enabled, since currently only diagnostics consumes the debug metrics. |
-| `hazelcast.client.metrics.enabled` | true | bool | Enables the [metrics collection](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). When it is `true` you can monitor metrics of the clients that are connected to your Hazelcast cluster, using Hazelcast Management Center. See for more information. |
-| `hazelcast.client.metrics.jmx.enabled` | true | bool | Enables exposing the collected [metrics](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+| `hazelcast.client.metrics.enabled` | true | bool | Enables the [metrics collection](../../operate-and-manage/monitoring/metrics.mdx) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/monitoring/metrics.mdx#configuration). When it is `true` you can monitor metrics of the clients that are connected to your Hazelcast cluster, using Hazelcast Management Center. See for more information. |
+| `hazelcast.client.metrics.jmx.enabled` | true | bool | Enables exposing the collected [metrics](../../operate-and-manage/monitoring/metrics.mdx) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.client.operation.backup.timeout.millis` | 5000 | int | If an operation has sync backups, this property specifies how long the invocation will wait for acks from the backup replicas. If acks are not received from some backups, there will not be any rollback on other successful replicas. |
| `hazelcast.client.operation.fail.on.indeterminate.state` | false | bool | When this configuration is enabled, if an operation has sync backups and acks are not received from backup replicas in time, or the member which owns primary replica of the target partition leaves the cluster, then the invocation fails with `IndeterminateOperationStateException`. However, even if the invocation fails, there will not be any rollback on other successful replicas. |
| `hazelcast.client.response.thread.count` | 2 | int | Number of the response threads. By default, there are two response threads; this gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the I/O threads. Under certain conditions this can give a higher throughput, but setting to 0 should be regarded as an experimental feature. If set to 0, the `IO_OUTPUT_THREAD_COUNT` is really going to matter because the inbound thread will have more work to do. By default when TLS is not enabled, there is just one inbound thread. |
diff --git a/hazelcast_versioned_docs/version-5.6/develop-and-build/building-data-pipelines/job-monitoring.mdx b/hazelcast_versioned_docs/version-5.6/develop-and-build/building-data-pipelines/job-monitoring.mdx
index f6aec0ca..db2d6c5a 100644
--- a/hazelcast_versioned_docs/version-5.6/develop-and-build/building-data-pipelines/job-monitoring.mdx
+++ b/hazelcast_versioned_docs/version-5.6/develop-and-build/building-data-pipelines/job-monitoring.mdx
@@ -70,7 +70,7 @@ A job with `FAILED` status may have been canceled by a user. To monitor for canc
You can see the job-specific metrics using the following methods:
-- [Job API](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#via-job-api) via the `getMetrics()` method:
+- [Job API](../../operate-and-manage/monitoring/metrics.mdx#job-api) via the `getMetrics()` method:
```java
JobMetrics metrics = job.getMetrics();
@@ -78,7 +78,7 @@ You can see the job-specific metrics using the following methods:
With this method, you can see the metrics for all running jobs, and finished jobs for which the `storeMetricsAfterJobCompletion` option is enabled. See the below table for this option's description.
-- [JMX](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#over-jmx)/[Prometheus](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#prometheus): With these methods, the `userCanceled` metric is not available, and you can see the metrics only for running jobs.
+- [JMX](../../operate-and-manage/monitoring/metrics.mdx#jmx)/[Prometheus](../../operate-and-manage/monitoring/metrics.mdx#prometheus): With these methods, the `userCanceled` metric is not available, and you can see the metrics only for running jobs.
See [Job-Specific Metrics](../../reference/list-of-metrics.mdx#job-metrics) to learn which metrics are available for jobs.
diff --git a/hazelcast_versioned_docs/version-5.6/develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx b/hazelcast_versioned_docs/version-5.6/develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx
index 389c3adf..402eea43 100644
--- a/hazelcast_versioned_docs/version-5.6/develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx
+++ b/hazelcast_versioned_docs/version-5.6/develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx
@@ -6,18 +6,16 @@ slug: /data-structures/reading-map-metrics
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
+import CodeBlock from "@theme/CodeBlock";
+import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../../../examples/management/ExampleLocalMapStats.java?tag=lms";
By default, you can read metrics for a given map, such as the primary and backup entry count, last update time, and locked entry count on each member of your cluster. You can access these statistics for the entire map, for the map entries on a specific cluster member, or specific map entries.
## Getting Statistics about All Map Entries {/* #accessing-entry-statistics */}
-To get statistics for all map entries that are owned by a member, use the `getLocalMapStats()` method of the Java member API ([embedded mode](../../../../install-and-upgrade/overview/choosing-a-deployment-option.mdx)). This method returns data only if the `statistics-enabled` element is set to `true`, which is the default.
+To get statistics for all map entries that are owned by a member, use the `getLocalMapStats()` method of the Java member API ([embedded mode](../../../../install-and-upgrade/overview/choosing-a-deployment-option.mdx)).
-:::note
-
-If you disable map statistics, statistics will not be available via the API, or in .
-
-:::
+The `statistics-enabled` element of the map is `true` by default. If you set it to `false`, the member does not record operation statistics for the map, such as operation counts, latencies, and index statistics. The member also then leaves the map out of the statistics that it reports to the [metrics system](../../../../operate-and-manage/monitoring/metrics.mdx) and . The `getLocalMapStats()` method still returns the entry counts and memory costs of the map.
@@ -45,11 +43,27 @@ hazelcast:
-```java
-LocalMapStats mapStatistics = myMap.getLocalMapStats();
-System.out.println( "Number of entries owned by this member = "
- + mapStatistics.getOwnedEntryCount() );
-```
+Below is example code where `getLocalMapStats()` and `getOwnedEntryCount()` get the number of entries owned by this member:
+
+{Ex_management_ExampleLocalMapStats_java_tag_lms}
+
+:::note
+
+The `getOwnedEntryMemoryCost()` method is also supported for the `NATIVE` in-memory format.
+
+:::
+
+The following are some of the metrics that you can access via the `LocalMapStats` object:
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Number of backup entries held by the member (`getBackupEntryCount()`)
+- Number of backups per entry (`getBackupCount()`)
+- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
+- Creation time of the map on the member (`getCreationTime()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
+- Number of queries executed on the map (`getQueryCount()` and `getIndexedQueryCount()`) (it may be imprecise for queries involving partition predicates (`PartitionPredicate`) on the off-heap storage)
+
+See the to see all the metrics.
:::note
@@ -59,7 +73,7 @@ If you need cluster-wide map statistics, you can get the local map statistics fr
## Getting Statistics about a Specific Map Entry
-To get statistics for a specific map entry, you can use the `getEntryView(key)` method of one of the following available client libraries. To use this method, the map must have its `per-entry-stats-enabled` element set to `true`.
+To get statistics for a specific map entry, you can use the `getEntryView(key)` method of one of the following available client libraries. To use this method, the map must have its `per-entry-stats-enabled` element set to `true`. The default is `false`.
This method returns the following statistics:
diff --git a/hazelcast_versioned_docs/version-5.6/develop-and-build/distributed-data-structures/ap-data-structures/reliable-topic.mdx b/hazelcast_versioned_docs/version-5.6/develop-and-build/distributed-data-structures/ap-data-structures/reliable-topic.mdx
index cf3fd49a..abfd6b08 100644
--- a/hazelcast_versioned_docs/version-5.6/develop-and-build/distributed-data-structures/ap-data-structures/reliable-topic.mdx
+++ b/hazelcast_versioned_docs/version-5.6/develop-and-build/distributed-data-structures/ap-data-structures/reliable-topic.mdx
@@ -20,7 +20,7 @@ Reliable Topic is an enhanced version of the regular Topic and uses the same `IT
Use Reliable Topic when you need a robust, durable messaging system that can handle high throughput without losing messages, especially in scenarios where message delivery guarantees are crucial.
-For more information about the metrics provided by Reliable Topic, see [Topic Statistics](../../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#topic-statistics).
+For more information about the metrics provided by Reliable Topic, see [Topic Statistics](../../../operate-and-manage/monitoring/metrics.mdx#topic-statistics).
Here is an example for a publisher using Reliable Topic:
diff --git a/hazelcast_versioned_docs/version-5.6/examples/management/MetricsConfiguration.java b/hazelcast_versioned_docs/version-5.6/examples/management/MetricsConfiguration.java
new file mode 100644
index 00000000..baf6993d
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.6/examples/management/MetricsConfiguration.java
@@ -0,0 +1,28 @@
+import com.hazelcast.client.config.ClientConfig;
+import com.hazelcast.config.Config;
+
+public class MetricsConfiguration {
+
+ public static void main(String[] args) {
+ //tag::member[]
+ Config config = new Config();
+ config.getMetricsConfig()
+ .setEnabled(true)
+ .setCollectionFrequencySeconds(5);
+ config.getMetricsConfig().getManagementCenterConfig()
+ .setEnabled(true)
+ .setRetentionSeconds(5);
+ config.getMetricsConfig().getJmxConfig()
+ .setEnabled(true);
+ //end::member[]
+
+ //tag::client[]
+ ClientConfig clientConfig = new ClientConfig();
+ clientConfig.getMetricsConfig()
+ .setEnabled(true)
+ .setCollectionFrequencySeconds(5);
+ clientConfig.getMetricsConfig().getJmxConfig()
+ .setEnabled(true);
+ //end::client[]
+ }
+}
diff --git a/hazelcast_versioned_docs/version-5.6/frameworks-and-plugins/spring/configuration.mdx b/hazelcast_versioned_docs/version-5.6/frameworks-and-plugins/spring/configuration.mdx
index 763981c6..e6e92461 100644
--- a/hazelcast_versioned_docs/version-5.6/frameworks-and-plugins/spring/configuration.mdx
+++ b/hazelcast_versioned_docs/version-5.6/frameworks-and-plugins/spring/configuration.mdx
@@ -293,7 +293,7 @@ The `hazelcast` XML namespace supports the following configuration:
- [Authentication overview](../../operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx)
- [Java Client Security](../../clients-and-apis/clients/java.mdx#client-security-configuration)
- - [Enabling health check for a cluster](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring)
+ - [Enabling health check for a cluster](../../operate-and-manage/monitoring/health-check-and-monitoring.mdx)
- [Configuring transaction permissions on the members](../../operate-and-manage/securing-a-cluster/client-authorization.mdx#transaction-permission)
:::
diff --git a/hazelcast_versioned_docs/version-5.6/get-started/support.mdx b/hazelcast_versioned_docs/version-5.6/get-started/support.mdx
index e42a1281..c9a824f7 100644
--- a/hazelcast_versioned_docs/version-5.6/get-started/support.mdx
+++ b/hazelcast_versioned_docs/version-5.6/get-started/support.mdx
@@ -61,7 +61,7 @@ You can provide the following for each Hazelcast client configuration:
The Hazelcast logs contain useful information when debugging an issue in a Hazelcast cluster. Each member has its own Hazelcast log, which typically includes:
-- Metrics about the Hazelcast member, such as [`HealthMonitor`](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring) output.
+- Metrics about the Hazelcast member, such as [`HealthMonitor`](../operate-and-manage/monitoring/health-check-and-monitoring.mdx) output.
- Log messages indicating when Hazelcast clients connect and disconnect from the member.
- Details about [slow operations](../develop-and-build/best-practices/threading.mdx#slowoperationdetector).
- Stack traces.
@@ -90,7 +90,7 @@ An extended set of diagnostics plugins is provided for both Hazelcast members an
- Details about the type and volume of operations run on the member
- WAN Replication diagnostic information
-The Hazelcast configuration provides settings for the rotation and retention of these diagnostic log files. For more information, see [Diagnostics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics).
+The Hazelcast configuration provides settings for the rotation and retention of these diagnostic log files. For more information, see [Diagnostics](../operate-and-manage/monitoring/diagnostics.mdx).
:::note
diff --git a/hazelcast_versioned_docs/version-5.6/get-started/whats-new.mdx b/hazelcast_versioned_docs/version-5.6/get-started/whats-new.mdx
index 422109a5..0eea98ce 100644
--- a/hazelcast_versioned_docs/version-5.6/get-started/whats-new.mdx
+++ b/hazelcast_versioned_docs/version-5.6/get-started/whats-new.mdx
@@ -17,7 +17,7 @@ With Management Center 5.9 you can view the current state of diagnostic logging,
With Platform Operator for Kubernetes 5.16, you have full control over all diagnostic logging parameters without needing to restart cluster members. You can update the Hazelcast Custom Resource Definition (CRD) and Operator will apply the changes to your cluster without requiring any member restarts, which means you have a version-controlled and automated way to manage diagnostics in complex cloud-native environments.
-For more information, see [Diagnostics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics).
+For more information, see [Diagnostics](../operate-and-manage/monitoring/diagnostics.mdx).
## CP snapshot chunking provides enhanced stability and performance
diff --git a/hazelcast_versioned_docs/version-5.6/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx b/hazelcast_versioned_docs/version-5.6/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx
index 033b948c..b616811f 100644
--- a/hazelcast_versioned_docs/version-5.6/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx
+++ b/hazelcast_versioned_docs/version-5.6/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx
@@ -1876,7 +1876,7 @@ The following deprecated cluster properties were removed:
- `hazelcast.memcache.enabled`
- `hazelcast.http.healthcheck.enabled`
-Please see [Using the REST Endpoint Groups](../../clients-and-apis/apis/enterprise-rest-api/rest-api.mdx#using-the-rest-endpoint-groups) on how to configure Hazelcast instance to expose REST endpoints. Please see [Health Check and Monitoring](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring) on how to enable the health check. Please see [Memcache Client](../../clients-and-apis/apis/memcache.mdx) on how to enable memcache client request listener service.
+Please see [Using the REST Endpoint Groups](../../clients-and-apis/apis/enterprise-rest-api/rest-api.mdx#using-the-rest-endpoint-groups) on how to configure Hazelcast instance to expose REST endpoints. Please see [Health Check and Monitoring](../../operate-and-manage/monitoring/health-check-and-monitoring.mdx) on how to enable the health check. Please see [Memcache Client](../../clients-and-apis/apis/memcache.mdx) on how to enable memcache client request listener service.
## Removal of Deprecations in `LoginModuleConfig`
@@ -2113,10 +2113,10 @@ The output of the following endpoints has been changed to JSON:
## Changes in the Diagnostics Configuration
-By introducing the [metrics system](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) in Hazelcast IMDG 4.0 and afterwards, the metrics collected by [Diagnostics](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics) and the metrics system is shared. This has come with the following changes of the system properties that configure diagnostics:
+By introducing the [metrics system](../../operate-and-manage/monitoring/metrics.mdx) in Hazelcast IMDG 4.0 and afterwards, the metrics collected by [Diagnostics](../../operate-and-manage/monitoring/diagnostics.mdx) and the metrics system is shared. This has come with the following changes of the system properties that configure diagnostics:
- `hazelcast.diagnostics.metric.level` is not available anymore. Collecting debug metrics can be enabled by setting the `hazelcast.metrics.debug.enabled` or `hazelcast.client.metrics.debug.enabled` system properties to `true` for the members and clients respectively.
-- `hazelcast.diagnostics.metric.distributed.datastructures` is not anymore available since the data structure metrics are required for the other [metric consumers](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#exposing-metrics). Therefore, they are collected by default and no need for enabling it for the diagnostics.
+- `hazelcast.diagnostics.metric.distributed.datastructures` is not anymore available since the data structure metrics are required for the other [metric consumers](../../operate-and-manage/monitoring/metrics.mdx#exposing-metrics). Therefore, they are collected by default and no need for enabling it for the diagnostics.
## Changes in the Management Center Configuration
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/logging.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/logging.mdx
index 62060332..229ccaa7 100644
--- a/hazelcast_versioned_docs/version-5.6/operate-and-manage/logging.mdx
+++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/logging.mdx
@@ -245,7 +245,7 @@ This feature is supported for the default (JDK/JUL), Log4j, and Log4j2 framework
You can use either of the following ways to dynamically change the level of your cluster's logs:
-- Using JMX API: The logging service exposes its JMX MBean as `LoggingServiceMBean`. You can retrieve, set, and reset the level. See the [Monitoring with JMX section](./maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx).
+- Using JMX API: The logging service exposes its JMX MBean as `LoggingServiceMBean`. You can retrieve, set, and reset the level. See the [Monitoring with JMX section](./monitoring/monitoring-with-jmx.mdx).
- Using REST API: You can use the `/hazelcast/rest/log-level` REST endpoint to retrieve (`GET`), set (`POST`), and reset (`DELETE`) the level. See the [REST Endpoint Groups section](../clients-and-apis/apis/enterprise-rest-api/rest-api.mdx#using-the-rest-endpoint-groups).
:::caution[Deprecation Notice for the Community Edition REST API]
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/cluster-utilities.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/cluster-utilities.mdx
index 2a373f96..5f8fd72f 100644
--- a/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/cluster-utilities.mdx
+++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/cluster-utilities.mdx
@@ -20,7 +20,7 @@ These utilities are included in the `bin` directory in your Hazelcast package an
| `hz-cli`, `hz-cli.bat` | Manages jobs and snapshots on a running cluster. Also used to launch the Hazelcast console and SQL shell. |
| `hz-cluster-admin` | Performs cluster lifecycle operations, such as force starts and upgrades. |
| `hz-cluster-cp-admin` | Manages the CP Subsystem. See [Manage and monitor the CP subsystem](../cp-subsystem/management.mdx). |
-| `hz-healthcheck` | Retrieves cluster state from the HTTP health check endpoint. See [Using the health check script](./monitoring.mdx#health-check-script). |
+| `hz-healthcheck` | Retrieves cluster state from the HTTP health check endpoint. See [Using the health check script](../monitoring/health-check-and-monitoring.mdx#health-check-script). |
| `hz-start`, `hz-start.bat` | Starts a Hazelcast member with the default settings. Where possible, use `hz start` instead. |
| `hz-stop`, `hz-stop.bat` | Stops all running Hazelcast members on the local device. `hz-stop` sends `SIGTERM`, and by default the member terminates without a graceful shutdown. To shut down gracefully, set the `hazelcast.shutdownhook.policy` property to `GRACEFUL`. `hz-stop.bat` always stops the member without a graceful shutdown. |
| `common.bat`, `common.sh` | Shared code called by other scripts. You should not run this directly. |
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/monitoring.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/monitoring.mdx
deleted file mode 100644
index 27d3a44f..00000000
--- a/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/monitoring.mdx
+++ /dev/null
@@ -1,2181 +0,0 @@
----
-title: "Monitoring"
-sidebar_position: 4
-slug: /maintain-cluster/monitoring
----
-
-import Tabs from "@theme/Tabs";
-import TabItem from "@theme/TabItem";
-import CodeBlock from "@theme/CodeBlock";
-import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../examples/management/ExampleLocalMapStats.java?tag=lms";
-import Ex_management_ExampleLocalIndexStats_java_tag_lis from "../../examples/management/ExampleLocalIndexStats.java?tag=lis";
-import Ex_management_ExampleNearCacheStats_java_tag_ncs from "../../examples/management/ExampleNearCacheStats.java?tag=ncs";
-import Ex_management_ExampleMultiMapStats_java_tag_mms from "../../examples/management/ExampleMultiMapStats.java?tag=mms";
-import Ex_management_ExampleQueueStats_java_tag_qs from "../../examples/management/ExampleQueueStats.java?tag=qs";
-import Ex_management_ExampleTopicStats_java_tag_ts from "../../examples/management/ExampleTopicStats.java?tag=ts";
-import Ex_management_ExampleExecutorStats_java_tag_es from "../../examples/management/ExampleExecutorStats.java?tag=es";
-
-
-
-Review Hazelcast Health Monitor logs regularly to understand the system runtime stability. Monitor Hazelcast logs and scan for failure messages regularly. Any incidences should be investigated and documented so as to understand your network better and find ways to provision, configure, and manage your network more efficiently.
-
-Hazelcast provides multi-level tolerance configurations in a cluster:
-
-1. Garbage collection (GC) tolerance: When a member fails to respond to health check probes on the existing socket connection but is actually responding to health probes sent on a new socket, it can be presumed to be stuck either in a long GC or in another long-running task. Adequate tolerance levels configured here may allow the member to come back from its stuck state within permissible SLAs.
-2. Network tolerance: When a member is temporarily unreachable by any means, temporary network communication errors may cause members to become unresponsive. In such a scenario, adequate tolerance levels configured here allow the member to return to healthy operation within permissible SLAs.
-
-You should establish tolerance levels for garbage collection and network connectivity and then set monitors to raise alerts when those tolerance thresholds are crossed. Customers with a Hazelcast subscription can use the extensive monitoring capabilities of the Management Center to set monitors and alerts.
-
-In addition to the Management Center, we recommend that you use `jstat` and keep verbose GC logging turned on and use a log scraping tool like Splunk or similar to monitor GC behavior. Back-to-back full GCs and anything above 90% heap occupancy after a full GC should be cause for alarm. Hazelcast dumps a set of information into the console of each instance that may further be used to create alerts.
-
-## Basic steps for monitoring and auditing
-
-- Make sure that all members are reachable by every other member in the cluster and are also accessible by the clients, for example through their ports and network.
-- Start Hazelcast member instances first. While not mandatory, this is a best practice to avoid clients timing out or complaining that no Hazelcast member is found, which can happen if the clients are started before the members.
-- Enable or start a system monitor tool, such as [nmon](http://nmon.sourceforge.net/pmwiki.php).
-- To add more members to an already running cluster, start a member with a similar configuration to the other members with the possible addition of the IP address of the new member. A maintenance window is not required to add more members to an already running Hazelcast cluster.
-
- - When a member is added to or removed from a Hazelcast cluster, the clients may see a little pause time, but this is normal. This is essentially the time required by Hazelcast members to rebalance the data upon the arrival or departure of a member.
- - There is no need to change anything on the clients when adding more members to the running cluster. In the default `ALL_MEMBERS` routing mode, the clients update themselves automatically to connect to the new member once it has successfully joined the cluster.
- - Rebalancing of data (primary plus backup) on arrival or departure (forced or unforced) of a member is an automated process. In the default `ACTIVE` cluster state, no manual intervention is required.
- - You can promote your lite members to become data members. To do this, either use the [Cluster API](./lite-members.mdx#promoting-lite-members-to-data-members) or Management Center.
- - Setting `hazelcast.initial.min.cluster.size` to 4 and starting members one by one (empty cluster, no operation) can result in unexpected cluster partitioning behavior: after reaching `hazelcast.initial.min.cluster.size`, partition table arrangement is initialized even though there is no data. When used in large clusters (\>100), this adds an unnecessary overhead of partition assignment on each member addition.
-- Check that you have configured an adequate backup count based on your SLAs.
-- When using distributed computing features, such as executor service or entry processors, any change in the client application logic or in the implementation of these must also be applied to the members. If you do not use , which requires , you must restart all the members after you deploy the new code. Use the typical cluster re-deployment process: first shut down the members, then deploy the new application JARs in the members' classpath, and start the members.
-
-## Management Center
-
-Hazelcast Management Center enables you to monitor and manage your cluster members running Hazelcast. In addition to monitoring the overall state of your clusters, you can also analyze and browse your data structures in detail, update map configurations, and take thread dumps from members. You can run scripts, such as JavaScript or Groovy, and commands on your members with its scripting and console modules. A script runs only if the member classpath contains a scripting engine for its language.
-
-See the for more information and find details about its clustered JMX and clustered REST APIs.
-
-Because Management Center is a client that connects to the cluster, you can control the following aspects of Management Center in the member configuration file:
-
-- [Scripting support](#managing-scripting-support)
-- [Console support](#managing-console-support)
-- [Source IP addresses](#limiting-source-addresses)
-
-### Managing scripting support
-
-
-
-Management Center allows you to execute scripts that can automate interactions with the cluster.
-
-By default, scripting is disabled for security. Scripting engines give code access to the underlying system on the members (files and other resources) and run with the same permissions as the current user. You can enable scripting in the member configuration file:
-
-:::important
-
-When scripting is enabled, it grants full, unrestricted access to the cluster and is **not** limited by the permissions assigned to individual Management Center users. Enable it with caution, especially in production, and consider leaving it disabled if granular access control is critical. See the for details.
-
-:::
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- scripting-enabled: true
-```
-
-
-
-
-Hazelcast uses the [JSR 223](https://jcp.org/en/jsr/detail?id=223) API to support scripting.
-
-### Managing console support
-
-Management Center allows you to execute client operations using built-in Hazelcast Command-Line Client (CLC) in the user interface. This console is useful for testing and development purposes. You can enable the console in the member configuration file:
-
-:::important
-
-When the console is enabled, it grants full access to the cluster through the Command-Line Client and is **not** limited by the permissions assigned to individual Management Center users. Enable it with caution, especially in production, and consider leaving it disabled if granular access control is critical.
-
-:::
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- console-enabled: true
-```
-
-
-
-
-See the for more information.
-
-### Managing data access
-
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) through SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file:
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- data-access-enabled: false
-```
-
-
-
-
-### Limiting source addresses
-
-By default, any instance of Management Center can connect to a cluster as long as it can be authenticated. To restrict access only to trusted instances of Management Center, you can define the trusted IP addresses in the `trusted-interfaces` configuration setting. This setting supports wildcards (`*`) and ranges (`-`).
-
-
-
-
-```xml
-
- ...
-
-
- 192.168.1.*
-
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- trusted-interfaces:
- - 192.168.1.*
-```
-
-
-
-
-## Instance tracking
-
-Instance tracking is a feature which, when enabled, writes a file on the instance startup at the configured location. The file contains metadata about the instance, such as version, product name, and process ID. This file can then later be used by other programs to detect the kinds of Hazelcast instances that have been running on a particular machine by inspecting the file contents. This feature supports both and members and clients, and is disabled by default. Failing to write the file only generates a warning, and the instance is allowed to start.
-
-The name and content of the file are configurable and may contain placeholders. The placeholders used for instance tracking have a prefix so that they can be distinguished from the other ones like XML placeholders. We use the same style as the `EncryptionReplacer` by adding a "namespace" to the placeholder prefix; for example, `$HZ_INSTANCE_TRACKING{start_timestamp}` (the namespace here being `HZ_INSTANCE_TRACKING`).
-
-In addition to the above, the Hazelcast instance overwrites any existing file in the configured location. To prevent this, you can configure the file location using the placeholders in the same way they can be used when defining the file contents. For example, if the filename is configured as `Hazelcast-$HZ_INSTANCE_TRACKING{pid}-$HZ_INSTANCE_TRACKING{start_timestamp}.process`, it contains the process ID and the creation time, making it unique every time the instance is started.
-
-The created file is not deleted on member shutdown. As such, it leaves a trace of instances started on a particular machine. If the instance cannot write the tracking file, it logs a warning and continues to start.
-
-:::note[Auditing the instance tracking file]
-
-When you enable the instance tracking feature and its file is created on a member startup, the full path of the file with its name is set into a system property of the JVM running the Hazelcast member, i.e., `hazelcast.config.instance.tracking.file`.
-
-You can audit that all your running Hazelcast members in your environment have the instance tracking filename set correctly. For this, you can use the [jcmd](https://docs.oracle.com/en/java/javase/13/docs/specs/man/jcmd.html) utility, as shown below.
-
-```shell
-jcmd VM.system_properties | grep hazelcast.config.instance.tracking.file
-```
-
-PID here is the process ID of your JVM on which Hazelcast member runs. It gives output similar to the following:
-
-```shell
-hazelcast.config.instance.tracking.file=/tmp/Hazelcast.process
-```
-
-See below for the example content of an instance tracking file.
-
-:::
-
-### Configuring instance tracking {/* #instance-tracking-configuration */}
-
-Here is an example of programmatic member-side Java configuration:
-
-```java
-Config config = new Config();
-config.getInstanceTrackingConfig()
- .setEnabled(true)
- .setFileName("/tmp/hz-tracking.txt")
- .setFormatPattern("$HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}");
-```
-
-The equivalent declarative configuration is as follows:
-
-
-
-
-```xml
-
-
-
- /tmp/hz-tracking.txt
- $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
-
-
-
-```
-
-
-
-
-```yaml
-hazelcast:
- instance-tracking:
- enabled: true
- file-name: /tmp/hz-tracking.txt
- format-pattern: $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
-```
-
-
-
-
-You can use this configuration to enable the instance tracking feature, specify the filename and the pattern for the file contents. By default, the feature is disabled, the filename is `Hazelcast.process` in the OS temporary directory as returned by `System.getProperty("java.io.tmpdir")` and the file contents are JSON-formatted key-value pairs of all available metadata.
-
-The client configuration is analogous and only differs in the name of the outer configuration block or configuration instance containing the instance tracking configuration.
-
-Here is an example when running a client instance:
-
-```json
-{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"client", "start_timestamp":1595851430741, "licensed":0}
-```
-
-Here is an example when running a member instance in the "server" mode:
-
-```json
-{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"server", "start_timestamp":1595851430741, "licensed":1}
-```
-
-And here is an example when running a member instance in the "embedded" mode:
-
-```json
-{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"embedded", "start_timestamp":1595851430741, "licensed":1}
-```
-
-You can specify a custom format by using a predefined set of available metadata keys an example of which is shown below:
-
-```java
-String format = "mode: $HZ_INSTANCE_TRACKING{mode}\n"
- + "product: $HZ_INSTANCE_TRACKING{product}\n"
- + "licensed: $HZ_INSTANCE_TRACKING{licensed}\n"
- + "missing: $HZ_INSTANCE_TRACKING{missing}\n"
- + "broken: $HZ_INSTANCE_TRACKING{broken ";
-```
-
-This should produce a file with the following content:
-
-```properties
-mode: embedded
-product: Hazelcast
-licensed: 0
-missing: $HZ_INSTANCE_TRACKING{missing}
-broken: $HZ_INSTANCE_TRACKING{broken
-```
-
-As you can see, once we encounter a broken placeholder, all subsequent placeholders are ignored. On the other hand, missing placeholders are skipped and subsequent placeholders are resolved.
-
-The valid metadata placeholders and their possible values are as follows:
-
-- `product`: Instance product name, e.g., "Hazelcast" or "Hazelcast Enterprise".
-- `version`: Instance version.
-- `mode`: Instance mode, e.g., "server", "embedded" or "client"
-- `start_timestamp`: the timestamp of when the instance was started as the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.
-- `licensed`: Specifies whether the instance is using a license or not. The value `0` signifies that there is no license set and the value `1` signifies that a license is in use.
-- `pid`: Process ID of the instance.
-
-The possible values for the `product` placeholder: `Hazelcast`, `Hazelcast Enterprise`, `Hazelcast Client`, `Hazelcast Client Enterprise`.
-
-The possible values for the `mode` placeholder:
-
-- `server`: This value is used when the instance was started using the `hz-start` or `hz-start.bat` scripts.
-- `client`: This instance is a Hazelcast client instance.
-- `embedded`: This instance is embedded in another Java program.
-
-## Metrics
-
-Hazelcast exposes various metrics to facilitate monitoring of the cluster state. They are `` key-value pairs of data that capture the runtime information about the members and clients in a Hazelcast cluster. Such a metric can be the number of entries stored in a particular `IMap` on a given member, JVM metrics like used heap, OS metrics like load average, and so on.
-
-The metrics system is responsible for collecting these metrics and making them available for the [consumers](#exposing-metrics) of the metrics. There are a few hundred metrics collected during every metrics collection cycle by default, but the number of metrics grows as more features and data structures are used. This is because every data structure provides its own metrics. For example, if there are two `IMap`s used in a cluster, both `IMap`s produce their metrics on every member.
-
-Metrics have associated **tags** which describe which object the metric applies to. For example, the tags for job metrics typically indicate the specific DAG vertex and processor the metric belongs to.
-
-Each metric instance provided belongs to a particular Hazelcast cluster member. Different cluster members can have their own versions of the same metric with different values.
-
-The metric collection runs in regular intervals on each member, but note that the metric collection on different cluster members happens at different moments in time. If you try to correlate metrics from different members, they may have different timestamps.
-
-### Hazelcast metrics
-
-There are a wide range of metrics and statistics provided by Hazelcast:
-
-- cluster-wide metrics
-- statistics of distributed data structures (see [member statistics](#member-statistics))
-- executor statistics (see [executor statistics](#executor-statistics))
-- partition related statistics (state, migration, replication)
-- garbage collection statistics
-- memory statistics for the JVM which current Hazelcast member belongs to (total physical/free OS memory, max/committed/used/free heap memory and max/committed/used/free native memory)
-- network traffic related statistics (traffic and queue sizes)
-- class loading related statistics
-- thread count information (current, peak and daemon thread counts)
-- job-specific metrics
-
-See the full list of Hazelcast metrics in [List of Metrics appendix](../../reference/list-of-metrics.mdx).
-
-### User-defined metrics
-
-User-defined metrics are actually a subset of [job metrics](../../reference/list-of-metrics.mdx#job-metrics). What distinguishes them from regular job-specific metrics is exactly what their name implies: they are not built-in, but defined when processing pipelines are written.
-
-Since user-defined metrics are also job metrics, they have all the tags job metrics have. They also have an extra tag, called `user`, which is set to `true`.
-
-:::note
-
-Because of their extra tag, user-defined metrics cannot overwrite a built-in metric, even if they have the exact same name.
-
-:::
-
-For example, to monitor your filtering step, you can write code like this:
-
-```java
-p.readFrom(source)
- .filter(l -> {
- boolean pass = l % 2 == 0;
- if (!pass) {
- Metrics.metric("dropped").increment();
- }
- Metrics.metric("total").increment();
- return pass;
- })
- .writeTo(sink);
-```
-
-User-defined metrics can be used anywhere in pipeline definitions where custom code can be added. This means (just to name the most important ones): filtering, mapping and flat-mapping functions, various constituent functions of aggregations (accumulate, create, combine, deduct, export, and finish), key extraction function when grouping, in [custom batch sources](../../develop-and-build/building-data-pipelines/ingesting-data-from-sources/custom-batch-source.mdx), [custom stream sources](../../develop-and-build/building-data-pipelines/ingesting-data-from-sources/custom-stream-source.mdx), [custom sinks](../../develop-and-build/building-data-pipelines/sending-results-to-sinks/custom-sink.mdx), processors, and so on.
-
-### Exposing metrics
-
-The following are the tools and interfaces to expose the metrics to the outside world:
-
-- Management Center
-- JMX
-- Diagnostics (see [here](#diagnostics))
-- Prometheus
-- Job API
-
-#### Management Center {/* #management-center-2 */}
-
-Management Center receives the metrics used for building its view about the Hazelcast cluster from the metrics system. The members collect their metrics with the frequency defined with `collection-frequency-seconds`, which is by default once in every 5 seconds.
-
-The member saves the collected metrics into a blob stored in an in-memory buffer. The blob then is retained for the time configured in the `retention-seconds` under the `management-center` configuration block. This is also 5 seconds by default, which means there is at most one blob stored by default. Management Center periodically reads the metrics from this buffer. A blob stays in the buffer until a newer blob replaces it.
-
-As mentioned earlier, the client metrics are also stored in these blobs on the member side with timestamps assigned to them on the client side.
-
-See the for more information .
-
-#### Over JMX
-
-Hazelcast exposes all its metrics using the JVM's standard JMX interface. You can use tools such as **Java Mission Control** or **JConsole** to display them.
-
-The Hazelcast metrics are exposed under `com.hazelcast/Metrics/$INSTANCE_NAME` where `$INSTANCE_NAME` is the name of the member or client instance to which the JMX client is connected.
-
-And the Jet engine related beans are stored under `com.hazelcast.jet/Metrics//` node and the various tags they have form further sub-nodes in the resulting tree structure.
-
-#### Prometheus
-
-Prometheus is a popular monitoring system and time series database. Setting up monitoring via Prometheus consists of two steps. The first step is exposing an HTTP endpoint with metrics. The second step is setting up Prometheus server, which pulls the metrics in a specified interval.
-
-The Prometheus Java agent is already part of the Hazelcast distribution and just needs to be enabled. Enable the agent and expose all metrics via HTTP endpoint by setting an environment variable `PROMETHEUS_PORT`, you can change the port to any available port:
-
-```bash
-PROMETHEUS_PORT=8080 bin/hz-start
-```
-
-You should see following line printed to the logs:
-
-```text
-Prometheus enabled on port 8080
-```
-
-The metrics are available on `http://localhost:8080`.
-
-:::note
-
-You need to configure Prometheus to scrape each member individually, manage changes from scaling and restarts, and collate the metrics from all members. If you are an Enterprise customer, you can configure Prometheus to scrape metrics from Management Center to collect metrics for the whole cluster. See .
-
-:::
-
-For a guide on how to set up Prometheus server go to the [Prometheus website](https://prometheus.io/docs/prometheus/latest/getting_started).
-
-#### Via Job API
-
-The `Job` class has a method which returns a instance. It contains the latest known metric values for the job.
-
-This functionality has been developed primarily to give access to metrics of finished jobs, but can in fact be used for jobs in any state.
-
-For details on how to use and filter the metric values consult the . A simple example for computing the number of data items emitted by a certain vertex (here called `vertexA`), excluding items emitted to the snapshot, looks like this:
-
-```java
-Predicate vertexOfInterest =
- MeasurementPredicates.tagValueEquals(MetricTags.VERTEX, "vertexA");
-Predicate notSnapshotEdge =
- MeasurementPredicates.tagValueEquals(MetricTags.ORDINAL, "snapshot").negate();
-
-Collection measurements = jobMetrics
- .filter(vertexOfInterest.and(notSnapshotEdge))
- .get(MetricNames.EMITTED_COUNT);
-
-long totalCount = measurements.stream().mapToLong(Measurement::value).sum();
-```
-
-### Configuration
-
-The metrics collection is enabled by default. You can configure the metrics system declaratively or programmatically. The following is an example declarative configuration with the default values, on the member side:
-
-
-
-
-```xml
-
-
- 5
-
-
- 5
-
-```
-
-
-
-
-```yaml
-metrics:
- enabled: true
- management-center:
- enabled: true
- retention-seconds: 5
- jmx:
- enabled: true
- collection-frequency-seconds: 5
-```
-
-
-
-
-Note that all the metrics configuration values can be overridden with system properties. The properties are listed below:
-
-- `hazelcast.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
-- `hazelcast.metrics.mc.enabled`: Enables buffering the collected metrics for Management Center if set to `true`, disables it otherwise.
-- `hazelcast.metrics.mc.retention`: Duration, in seconds, for which the metrics are retained for Management Center.
-- `hazelcast.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
-- `hazelcast.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
-- `hazelcast.metrics.debug.enabled`: Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this property has no element in the `metrics` configuration. It is meant to be enabled only if diagnostics is enabled, because only the diagnostics feature consumes the debug metrics.
-
-The client configuration is similar. It lacks the Management Center configuration block (`management-center` configuration element), as shown below. This is because the clients are not connected to Management Center and the client metrics are sent to Management Center through a member to which the client is connected.
-
-
-
-
-```xml
-
-
- 5
-
-```
-
-
-
-
-```yaml
-metrics:
- enabled: true
- jmx:
- enabled: true
- collection-frequency-seconds: 5
-```
-
-
-
-
-Similarly to the member configuration, the client metrics configuration can be overridden with the following system properties:
-
-- `hazelcast.client.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
-- `hazelcast.client.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
-- `hazelcast.client.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
-- `hazelcast.client.metrics.debug.enabled`: Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this property has no element in the `metrics` configuration. It is meant to be enabled only if diagnostics is enabled, because only the diagnostics feature consumes the debug metrics.
-
-### Version compatibility
-
-Note that the metric names may change between MINOR versions but not between PATCH versions.
-
-### Notes on the performance
-
-The metrics system is designed with care to make the least possible impact on the performance of the cluster. Since the metrics collection takes place periodically with a few seconds frequency, the main focus is keeping allocation rates and memory footprint at minimum. Therefore, the blobs that store the metrics for Management Center are stored in the memory in a compressed format. The measurements, that use multiple `IMap`s to scale up the number of metrics, show that one blob occupies only a few KBs and it grows above 10 KB only if there are more than 1000 `IMap`s.
-
-The allocation rate of a metric collection cycle is also low. With both Management Center and JMX consumers enabled, the allocation rate with 100 `IMap`s is below 256 KB per cycle, and it grows above 1 MB with 1000 `IMap`s. This means that metrics collection does not increase the frequency of the garbage collection (GC) noticeably.
-
-While the metrics collection is considered GC friendly, it should be noted that the blobs are not recycled: configuring the retention time should be done with taking the frequency of the GC into account to prevent the blobs from getting promoted into the tenured region of the heap that in the end contributes to major GCs after time.
-
-## Member statistics
-
-You can get various statistics from your distributed data structures via the Statistics API. Since the data structures are distributed in the cluster, the Statistics API provides statistics for the local portion (1/Number of Members in the Cluster) of data on each member.
-
-### Map statistics
-
-To get local map statistics, use the `getLocalMapStats()` method from the `IMap` interface. This method returns a `LocalMapStats` object that holds local map statistics.
-
-Below is an example code where the `getLocalMapStats()` method and the `getOwnedEntryCount()` method get the number of entries owned by this member.
-
-{Ex_management_ExampleLocalMapStats_java_tag_lms}
-
-:::note
-
-The `getOwnedEntryMemoryCost()` method is also supported for NATIVE in-memory format.
-
-:::
-
-The following are some of the metrics that you can access via the `LocalMapStats` object:
-
-- Number of entries owned by the member (`getOwnedEntryCount()`).
-- Number of backup entries held by the member (`getBackupEntryCount()`).
-- Number of backups per entry (`getBackupCount()`).
-- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`).
-- Creation time of the map on the member (`getCreationTime()`).
-- Number of hits (reads) of the locally owned entries (`getHits()`).
-- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`).
-- Number of queries executed on the map (`getQueryCount()` and `getIndexedQueryCount()`) (it may be imprecise for queries involving partition predicates (`PartitionPredicate`) on the off-heap storage).
-
-See the to see all the metrics.
-
-### Map index statistics
-
-To access map index statistics, if you are using indexes to speed up map queries, use the `getIndexStats()` method of the `LocalMapStats` interface returned by `IMap.getLocalMapStats()`.
-
-Below is an example where the `getIndexStats()` method is used to examine an average selectivity of index hits:
-
-{Ex_management_ExampleLocalIndexStats_java_tag_lis}
-
-The following are some of the metrics that you can obtain via the `LocalIndexStats` interface:
-
-- Number of queries and hits into an index (`getQueryCount()` and `getHitCount()`): Number of hits and queries may differ since a single query may hit the same index more than once.
-- Average index hit latency measured in nanoseconds (`getAverageHitLatency()`)
-- Average index hit selectivity (`getAverageHitSelectivity`): Returned values are in the range from 0.0 to 1.0. Values close to 1.0 indicate a high selectivity meaning the index is efficient; values close to 0.0 indicate a low selectivity meaning the index efficiency is approaching an efficiency of a simple full scan.
-- Number of index insert, update and remove operations (`getInsertCount()`, `getUpdateCount()` and `getRemoveCount()`).
-- Total latencies of insert, update and remove operations (`getTotalInsertLatency()`, `getTotalUpdateLatency()`, `getTotalRemoveLatency()`): To compute an average latency divide the returned value by the number of operations of a corresponding type.
-- Memory cost of an index (`getMemoryCost()`): For on-heap storage, this memory cost metric value is a best-effort approximation and does not indicate a precise on-heap memory usage of an index.
-
-See the to see all the metrics.
-
-To compute an aggregated value of `getAverageHitSelectivity()` for all cluster members, you can use a simple averaging computation as shown below:
-
-```none
-(s(1) + s(2) + ... + s(n)) / n
-```
-
-In this computation, `s(i)` is an average hit selectivity on the member `i` and `n` is the total number of cluster members.
-
-A more advanced solution is to compute a weighted average as shown below:
-
-```none
-(s(1) * h(1) + s(2) * h(2) + ... + s(n) * h(n)) / (h(1) + h(2) + ... + h(n))
-```
-
-Here, `s(i)` is an average hit selectivity on the member `i`, `h(i)` is a hit count (`getHitCount()`) on the member `i` and `n` is the total number of cluster members. This more advanced solution may produce more precise results in unstable dynamic clusters where new members do not have enough statistics accumulated. The same technique may be applied to the `getAverageHitLatency()` metric.
-
-Accuracy and reliability notes:
-
-- For on-heap storage, values returned by `getAverageHitSelectivity()` may be 1% more or less than the actual selectivity. For example, if the actual selectivity is 0.9, the returned value could be between 0.89 and 0.91.
-- The values returned by `getQueryCount()` and `getHitCount()` may be imprecise for queries involving partition predicates (`PartitionPredicate`) on off-heap storage.
-- The index statistics may be imprecise after a new cluster member addition or the existing member removal until enough fresh statistics is accumulated on a new owner of an index or its partition.
-
-### Near Cache statistics
-
-To get Near Cache statistics, use the `getNearCacheStats()` method from the `LocalMapStats` object. This method returns a `NearCacheStats` object that holds Near Cache statistics.
-
-Below is an example code where the `getNearCacheStats()` method and the `getRatio` method from `NearCacheStats` get a Near Cache hit/miss ratio.
-
-{Ex_management_ExampleNearCacheStats_java_tag_ncs}
-
-The following are some of the metrics that you can access via the `NearCacheStats` object (applies to both client and member Near Caches):
-
-- creation time of the Near Cache on the member (`getCreationTime()`)
-- number of entries owned by the member (`getOwnedEntryCount()`)
-- memory cost (number of bytes) of owned entries in the Near Cache (`getOwnedEntryMemoryCost()`)
-- number of hits (reads) of the locally owned entries (`getHits()`)
-
-See the to see all the metrics.
-
-### `MultiMap` statistics
-
-To get `MultiMap` statistics, use the `getLocalMultiMapStats()` method from the `MultiMap` interface. This method returns a `LocalMultiMapStats` object that holds local `MultiMap` statistics.
-
-Below is an example code where the `getLocalMultiMapStats()` method and the `getLastUpdateTime` method from `LocalMultiMapStats` get the last update time.
-
-{Ex_management_ExampleMultiMapStats_java_tag_mms}
-
-The following are some of the metrics that you can access via the `LocalMultiMapStats` object:
-
-- number of entries owned by the member (`getOwnedEntryCount()`)
-- number of backup entries held by the member (`getBackupEntryCount()`)
-- number of backups per entry (`getBackupCount()`)
-- memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
-- creation time of the multimap on the member (`getCreationTime()`)
-- number of hits (reads) of the locally owned entries (`getHits()`)
-- number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
-
-See the to see all the metrics.
-
-### Queue statistics
-
-To get local queue statistics, use the `getLocalQueueStats()` method from the `IQueue` interface. This method returns a `LocalQueueStats` object that holds local queue statistics.
-
-Below is an example code where the `getLocalQueueStats()` method and the `getAverageAge` method from `LocalQueueStats` get the average age of items.
-
-{Ex_management_ExampleQueueStats_java_tag_qs}
-
-The following are some of the metrics that you can access via the `LocalQueueStats` object:
-
-- number of owned items in the member (`getOwnedItemCount()`)
-- number of backup items in the member (`getBackupItemCount()`)
-- minimum and maximum ages of the items in the member (`getMinAge()` and `getMaxAge()`)
-- number of offer, put and add operations (`getOfferOperationCount()`)
-
-See the to see all the metrics.
-
-### Topic statistics
-
-To get local topic statistics, use the `getLocalTopicStats()` method from the `ITopic` interface. This method returns a `LocalTopicStats` object that holds local topic statistics.
-
-Below is an example code where the `getLocalTopicStats()` method and the `getPublishOperationCount` method from `LocalTopicStats` get the number of publish operations.
-
-{Ex_management_ExampleTopicStats_java_tag_ts}
-
-The following are the metrics that you can access via the `LocalTopicStats` object:
-
-- creation time of the topic on the member (`getCreationTime()`)
-- total number of published messages of the topic on the member (`getPublishOperationCount()`)
-- total number of received messages of the topic on the member (`getReceiveOperationCount()`)
-
-See the to see all the metrics.
-
-:::note
-
-There is a known issue with the `ReliableTopic` structure whereby if a `MessageListener` is removed, it can still be called by the internal `MessageRunner`, resulting in duplicated topic statistics. As a result, these statistics are unreliable and should be used for general insights only.
-
-:::
-
-### Executor statistics
-
-To get local executor statistics, use the `getLocalExecutorStats()` method from the `IExecutorService` interface. This method returns a `LocalExecutorStats` object that holds local executor statistics.
-
-Below is an example code where the `getLocalExecutorStats()` method and the `getCompletedTaskCount` method from `LocalExecutorStats` get the number of completed operations of the executor service.
-
-{Ex_management_ExampleExecutorStats_java_tag_es}
-
-The following are some of the metrics that you can access via the `LocalExecutorStats` object:
-
-- number of pending operations of the executor service (`getPendingTaskCount()`)
-- number of started operations of the executor service (`getStartedTaskCount()`)
-- number of completed operations of the executor service (`getCompletedTaskCount()`)
-
-See the to see all the metrics.
-
-## Health check and monitoring
-
-The Hazelcast health check feature provides you with tools to monitor the health and status of your Hazelcast clusters to ensure these are running smoothly, to identify issues early, and maintain high availability and reliability.
-
-The following options are provided for monitoring the health of your Hazelcast clusters:
-
-- HTTP-based health check endpoint
-- Health check script
-- Health monitoring utility
-
-### Use the health check endpoint and script {/* #enable-hcheck */}
-
-How you enable the health check endpoint depends on whether you are using the or REST API.
-
-** REST API**
-
-If you are using the REST API, see: [Get Started with REST API using Java](../../clients-and-apis/apis/enterprise-rest-api/get-started-rest-api-with-java.mdx) for information on how to enable the health check endpoint.
-
-After enabling the REST API, you can reach all the endpoints, including the health check ones, without further configuration. To see the available endpoints, and learn more about how to make a request and the expected responses, refer to the [Swagger documentation](../../clients-and-apis/apis/enterprise-rest-api/rest-api-swagger.mdx#tag/Health-Controller).
-
-** REST API**
-
-If you are using the REST API, follow the steps below to enable the health check endpoint and use the health check script.
-
-:::caution[Deprecation Notice for the Community Edition REST API]
-
-The [Community Edition REST API](../../clients-and-apis/apis/enterprise-rest-api/rest-api.mdx) has been deprecated and will be removed as of Hazelcast version 7.0. An improved Enterprise version of this feature is available and actively being developed. For more information, see [Enterprise REST API](../../clients-and-apis/apis/enterprise-rest-api/overview.mdx).
-
-:::
-
-To use the health check endpoint and script, enable either of the following configuration options:
-
-- Using the `network` configuration element:
-
-
-
-
- ```xml
-
- ...
-
-
-
-
-
- ...
-
- ```
-
-
-
-
- ```yaml
- hazelcast:
- network:
- rest-api:
- enabled: true
- endpoint-groups:
- HEALTH_CHECK:
- enabled: true
- ```
-
-
-
-- Using the `advanced-network` configuration element:
-
-
-
-
- ```xml
-
- ...
-
-
-
-
-
-
-
- ...
-
- ```
-
-
-
-
- ```yaml
- hazelcast:
- advanced-network:
- enabled: true
- rest-server-socket-endpoint-config:
- endpoint-groups:
- HEALTH_CHECK:
- enabled: true
- ```
-
-
-
-
-### Perform health check
-
-You can use Hazelcast's HTTP-based health check implementation to get basic information about the cluster and member on which it is launched.
-
-To use the HTTP-based health check:
-
-1. Enable the [health check endpoint](#enable-hcheck).
-2. Launch the health check from your preferred browser: `http://:5701/hazelcast/health`.
-
- The health check retrieves information about your cluster's health status, such as member state, cluster state, cluster size, etc. For example:
-
- ```none
- {
- "nodeState": "ACTIVE",
- "clusterState": "ACTIVE",
- "clusterSafe": false,
- "migrationQueueSize": 0,
- "clusterSize": 3
- }
- ```
-
- - `nodeState`: State of the member on which the health check is launched. See [Cluster and Member States](./cluster-member-states.mdx#member-states) to learn more about the states of cluster members.
- - `clusterState`: State of cluster that the health-checked member belongs to. See [Cluster and Member States](./cluster-member-states.mdx#cluster-states) to learn more about cluster states.
- - `clusterSafe`: Whether the queried member is safe: there are no active partition migrations, and all backups are in sync for each partition that the member owns. See [Shutting Down Members and Clusters](./shutdown.mdx#ensuring-members-and-clusters-are-in-a-safe-state) to learn how to check the safety of active clusters.
-
- :::note
-
- The `clusterSafe` indicator is useful when your cluster is in a passive state. If the cluster is in an active state, the indicator value continually changes due to the dynamic state of the cluster. Also, checking the cluster safety triggers additional operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load may impact cluster performance.
-
- :::
- - `migrationQueueSize`: A count of the remaining migration tasks while the cluster data is being repartitioned. See [Data Partitioning](../../develop-and-build/architecture/data-partitioning.mdx) to learn about Hazelcast's partitioning mechanism.
- - `clusterSize`: A count of the cluster member count.
-
-### Use the hz-healthcheck script {/* #health-check-script */}
-
-The `hz-healthcheck` script comes with the Hazelcast package. Internally, it uses the HTTP-based health check endpoint (the REST API).
-
-To run the `hz-healthcheck` script:
-
-1. Enable the [health check endpoint](#enable-hcheck).
-2. Run the `hz-healthcheck` script with parameters using the following format:
-
- ```none
- ./hz-healthcheck
- ```
-
-You can use the following parameters to perform checks and operations on your Hazelcast clusters:
-
-
-
-
-
-
-
-
-
-| Parameter |
-Default Value |
-Description |
-
-
-
-
-| `-o` or `--operation` |
-`all` |
-
-
-Health check operation. It can be `all`, `node-state`, `cluster-state`, `cluster-safe`, `migration-queue-size` and `cluster-size`.
-
-:::note
-
-The `cluster-safe` option is useful when your cluster is in a passive state. If the cluster is in an active state, the indicator value continually changes due to the dynamic state of the cluster. Also, checking the cluster safety triggers additional operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load may impact cluster performance.
-
-:::
-
- |
-
-
-| `-a` or `--address` |
-`127.0.0.1` |
-Defines the IP address of a cluster member. If you want to manage your cluster remotely, you should use this parameter to provide the IP address of a member to this script. |
-
-
-| `-p` or `--port` |
-`5701` |
-Defines on which port Hazelcast is running on the local or remote machine. |
-
-
-| `-h` or `--help` |
-*no argument expected* |
-Lists the parameter descriptions. It works only as the first parameter. |
-
-
-| `-d` or `--debug` |
-*no argument expected* |
-Prints error output. |
-
-
-| `--https` |
-*no argument expected* |
-Uses HTTPS protocol for REST calls. |
-
-
-| `--cacert` |
-*set of well-known CA certificates* |
-Defines the path of the trusted PEM-encoded certificate file. It is used to verify member certificates. |
-
-
-| `--cert` |
-None |
-Defines the path of the PEM-encoded client certificate file. Only needed when client certificate authentication is used. |
-
-
-| `--key` |
-None |
-Defines the path of the PEM-encoded client private key file. Only needed when client certificate authentication is used. |
-
-
-| `--insecure` |
-*no argument expected* |
-Disables member certificate verification. |
-
-
-
-
-**Example 1: Checking the state of members in a healthy cluster:**
-
-If the member is deployed under the address `127.0.0.1:5701` and it is in the healthy state, the following output is expected:
-
-```none
-./hz-healthcheck -a 127.0.0.1 -p 5701 -o node-state
-ACTIVE
-```
-
-**Example 2: Checking the safety of a non-existent cluster:**
-
-If the cluster has no members running under the address `127.0.0.1:5701`, the following output is expected:
-
-```none
-./hz-healthcheck -a 127.0.0.1 -p 5701 -o cluster-safe
-Error while checking health of hazelcast cluster on ip 127.0.0.1 on port 5701.
-Please check that cluster is running and that health check is enabled in REST API configuration.
-```
-
-### Use the health monitor utility
-
-The health monitor periodically prints logs in your console to provide information about your member's state. By default, it is enabled when you start your cluster.
-
-You can set the interval of health monitoring using the `hazelcast.health.monitoring.delay.seconds` system property. Its default value is 20 seconds.
-
-The system property `hazelcast.health.monitoring.level` is used to configure the monitoring's log level. If it is set to OFF, the monitoring is disabled. If it is set to NOISY, monitoring logs are always printed for the defined intervals. When it is SILENT, which is the default value, monitoring logs are printed only when the values exceed some predefined thresholds. These thresholds are related to memory and CPU percentages, and can be configured using the `hazelcast.health.monitoring.threshold.memory.percentage` and `hazelcast.health.monitoring.threshold.cpu.percentage` system properties, whose default values are both 70. Monitoring logs are also printed when pending invocations exceed 70% or a count of 1000.
-
-The following is an example monitoring output
-
-```none vars
-Sep 08, 2017 5:02:28 PM com.hazelcast.internal.diagnostics.HealthMonitor
-
-INFO: [192.168.2.44]:5701 [host-name] [{full-version}] processors=4, physical.memory.total=16.0G, physical.memory.free=5.5G, swap.space.total=0, swap.space.free=0, heap.memory.used=102.4M,
-
-heap.memory.free=249.1M, heap.memory.total=351.5M, heap.memory.max=3.6G, heap.memory.used/total=29.14%, heap.memory.used/max=2.81%, minor.gc.count=4, minor.gc.time=68ms, major.gc.count=1,
-
-major.gc.time=41ms, load.process=0.44%, load.system=1.00%, load.systemAverage=3.15, thread.count=97, thread.peakCount=98, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0,
-
-executor.q.client.size=0, executor.q.client.query.size=0, executor.q.client.blocking.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.size=0,
-
-executor.q.priorityOperation.size=0, operations.completed.count=226, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0,
-
-operations.running.count=0, operations.pending.invocations.percentage=0.00%, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=1,
-
-connection.active.count=2, client.connection.count=1, connection.count=1
-```
-
-:::note
-
-See the [Configuring with System Properties section](../configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to set system properties.
-
-:::
-
-### Use health check on F5 BIG-IP LTM
-
-The F5® BIG-IP® Local Traffic Manager™ (LTM) can be used as a load balancer for Hazelcast cluster members. This section describes how you can configure a health monitor to check the Hazelcast member states.
-
-#### Monitor types
-
-Following types of monitors can be used to track Hazelcast cluster members:
-
-- HTTP Monitor: A custom HTTP monitor enables you to send a command to Hazelcast's Health Check API using HTTP requests. This is a good choice if SSL/TLS is not enabled in your cluster.
-- HTTPS Monitor: A custom HTTPS monitor enables you to verify the health of Hazelcast cluster members by sending a command to Hazelcast's Health Check API using Secure Socket Layer (SSL) security. This is a good choice if SSL/TLS is enabled in your cluster.
-- `TCP_HALF_OPEN` monitor: A `TCP_HALF_OPEN` monitor is a basic monitor that only checks that the TCP port used by Hazelcast is open and responding to connection requests. It does not interact with the Hazelcast Health Check API. The `TCP_HALF_OPEN` monitor can be used with or without SSL/TLS.
-
-#### Configuration {/* #configuration-2 */}
-
-After signing in to the BIG-IP LTM User Interface, follow F5's [^instructions](https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-monitors-reference-11-6-0/3.html#unique_859105660) to create a new monitor. Next, apply the following configuration according to your monitor type.
-
-##### HTTP/HTTPS monitors
-
-:::note
-
-You must enable the Hazelcast health check for HTTP/HTTPS monitors to run. Enable the endpoint by using the `advanced-network` or the `network` configuration element. See the [Health Check and Monitoring section](#health-check-and-monitoring).
-
-:::
-
-**Using a GET request:**
-
-- Set the "Send String" as follows:
-
- ```none
- GET /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
- ```
-- Set the "Receive String" as follows:
-
- ```none
- {"nodeState":"ACTIVE","clusterState":"ACTIVE","clusterSafe":true,"migrationQueueSize":0,"clusterSize":([^\s]+)}
- ```
-
-The BIG-IP LTM monitors accept regular expressions in these strings allowing you to configure them as needed. The example provided above remains green even if the cluster size changes.
-
-**Using a HEAD request:**
-
-- Set the "Send String" as follows:
-
- ```none
- HEAD /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
- ```
-- Set the "Receive String" as follows:
-
- ```none
- 200 OK
- ```
-
-As you can see, the HEAD request only checks for a `200 OK` response. A Hazelcast cluster member sends this status code whenever its REST endpoint handles the request. The status code does not depend on the member state or the cluster state. This provides a basic health check. For increased flexibility, we recommend using the GET request API.
-
-##### `TCP_HALF_OPEN` monitors
-
-- Set the "Type" as `TCP Half Open`.
-- Optionally, set the "Alias Service Port" as the port of Hazelcast cluster member if you want to specify the port in the monitor
-
-## Diagnostics
-
-Hazelcast provides diagnostic logging capabilities that help with troubleshooting and monitoring.
-
-An extended set of diagnostics plugins is provided for both Hazelcast members and clients. A dedicated log file is used to write the diagnostics content, and a rolling file approach is used to prevent this taking up too much disk space.
-
-You can configure diagnostic logging using the properties described below (known as *static* configuration) or by configuring diagnostic logging via Management Center or Operator (known as *dynamic* configuration) without having to restart the cluster.
-
-### Enable dynamic diagnostic logging (BETA)
-
-Dynamic diagnostic logging allows you to switch logging on and off at runtime without requiring cluster restarts.
-
-You can also turn diagnostic logging off automatically after a set period by configuring the auto turn-off feature via Management Center or Operator.
-
-Operator also allows you to control the diagnostic plugins.
-
-For information on how to enable dynamic diagnostic logging and the auto turn-off feature, see the or documentation.
-
-:::note
-
-To use dynamic logging, do not enable or disable diagnostic logging statically via the properties as any configuration made using this method overrides any dynamic configuration settings. For example, if you set the `hazelcast.diagnostics.enabled` property to `true`, diagnostics cannot be disabled dynamically via Management Center or Operator. Similarly, if you set the `hazelcast.diagnostics.enabled` property to `false`, diagnostics cannot be enabled dynamically via Management Center or Operator. This also applies to other properties.
-
-:::
-
-### Enable diagnostic logging statically
-
-To enable diagnostic logging statically, specify the following properties on the member side:
-
-
-
-
-```xml
-
- ...
-
- true
- 30
- 30
- 30
- 60
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.enabled: true
- hazelcast.diagnostics.invocation.sample.period.seconds: 30
- hazelcast.diagnostics.pending.invocations.period.seconds: 30
- hazelcast.diagnostics.slowoperations.period.seconds: 30
- hazelcast.diagnostics.storeLatency.period.seconds: 60
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.enabled", "true" )
- .setProperty( "hazelcast.diagnostics.invocation.sample.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.pending.invocations.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.slowoperations.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.storeLatency.period.seconds", "60" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.enabled=true
- -Dhazelcast.diagnostics.invocation.sample.period.seconds=30
- -Dhazelcast.diagnostics.pending.invocations.period.seconds=30
- -Dhazelcast.diagnostics.slowoperations.period.seconds=30
- -Dhazelcast.diagnostics.storeLatency.period.seconds=60
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.enabled=true -Dhazelcast.diagnostics.invocation.sample.period.seconds=30 -Dhazelcast.diagnostics.pending.invocations.period.seconds=30 -Dhazelcast.diagnostics.slowoperations.period.seconds=30 -Dhazelcast.diagnostics.storeLatency.period.seconds=60"
-```
-
-
-
-
-On the Java client side, set the following properties:
-
-- `hazelcast.diagnostics.enabled=true`
-
-### Diagnostics log file
-
-You can use the following property to specify the location of the diagnostics log file:
-
-
-
-
-```xml
-
- ...
-
- /your/log/directory
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.directory: /your/log/directory
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.directory", "/your/log/directory" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.directory=/your/log/directory
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.directory=/your/log/directory"
-```
-
-
-
-
-The name of the log file has the following format:
-
-```none
-diagnostics-_--.log
-```
-
-You can set a custom string prefix for the name of log file using the following property.
-
-
-
-
-```xml
-
- ...
-
- foobar
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.filename.prefix: foobar
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.filename.prefix", "foobar" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.filename.prefix=foobar
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.filename.prefix=foobar"
-```
-
-
-
-
-The content format of the diagnostics log file is depicted below:
-
-```none
- BuildInfo[
- ]
- SystemProperties[
- ]
- ConfigProperties[
- ]
- Metric[=]
- Metric[=]
- SlowOperations[
- ]
- HazelcastInstance[
- ]
-...
-...
-...
-```
-
-A rolling file approach is used to prevent creating too much data. By default 10 files of 50 MB each are allowed to exist. You can set the size of each file and number of files using the following properties.
-
-
-
-
-```xml
-
- ...
-
- 100
- 5
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.max.rolled.file.size.mb: 100
- hazelcast.diagnostics.max.rolled.file.count: 5
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.max.rolled.file.size.mb", "100" )
- .setProperty( "hazelcast.diagnostics.max.rolled.file.count", "5" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.max.rolled.file.size.mb=100
- -Dhazelcast.diagnostics.max.rolled.file.count=5
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.max.rolled.file.size.mb=100 -Dhazelcast.diagnostics.max.rolled.file.count=5"
-```
-
-
-
-
-### Diagnostics output options
-
-You can use the following property to specify the output type of diagnostics.
-
-
-
-
-```xml
-
- ...
-
- STDOUT
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.stdout: STDOUT
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.stdout", "STDOUT" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.stdout=STDOUT
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.stdout=STDOUT"
-```
-
-
-
-
-Available types:
-
-- `FILE`: Outputs the diagnostics to a [set of files](#diagnostics-log-file) managed by Hazelcast. This is the default type.
-- `STDOUT`: Outputs the diagnostics to the standard output.
-- `LOGGER`: Outputs the diagnostics to the Hazelcast logger; by this way you can use the [logging configuration](../logging.mdx) to forward the diagnostics to any output supported by the logging framework and apply additional configurations. You can see an example in the next section below.
-
- :::note
-
- Using the logging framework introduces a slight overhead in comparison to using other output types but allows for greater flexibility.
-
- :::
-
-### Diagnostics using logging frameworks
-
-Hazelcast does not enforce any logging framework. You can always use your logging framework to configure the diagnostics. You can forward the logs to a logging framework by setting the `hazelcast.diagnostics.stdout` property to `LOGGER`:
-
-
-
-
-```xml
-
- ...
-
- LOGGER
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.stdout: LOGGER
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.stdout", "LOGGER" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.stdout=LOGGER
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.stdout=LOGGER"
-```
-
-
-
-
-Above configuration forwards the logs to the `com.hazelcast.diagnostics` logger so you can write them to a file by referencing one of the configured appenders. The following is an example for Log4j2.
-
-```xml
-
-
-
-```
-
-By configuring [`TimeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) and [`SizeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) for the appender, you can control the size and rolling behavior as you want.
-
-:::note
-
-The diagnostic logs have the `DEBUG` level by default; if you do not want to see them in the member logs while they are running in the `DEBUG` mode for the root level appender, you need to change the level to `INFO` for the `com.hazelcast.diagnostics` logger. For Log4j2, see the [configuration documentation](https://logging.apache.org/log4j/2.x/manual/configuration.html) for more details.
-
-:::
-
-### Diagnostics plugins
-
-As it is stated in the introduction of this section and shown in the log file content above, diagnostics utility consists of plugins such as `BuildInfo`, `SystemProperties` and `HazelcastInstance`.
-
-#### `BuildInfo`
-
-It shows the detailed Hazelcast build information including the Hazelcast release number, `Git` revision number and whether you have Hazelcast or not.
-
-#### `SystemProperties`
-
-It shows all the properties and their values in your system used by and configured for your Hazelcast installation. These are the properties starting with `java` (excluding `java.awt`), `hazelcast`, `sun` and `os`. It also includes the arguments that are used to startup the JVM.
-
-#### `ConfigProperties`
-
-It shows the Hazelcast properties and their values explicitly set by you in the declarative or programmatic configuration. It does not show properties set only on the command line with `-D`.
-
-#### Metrics {/* #diagnostics-metrics */}
-
-It shows a comprehensive log of what is happening in your Hazelcast system. See the [Metrics section](#metrics) for more information.
-
-You can configure the frequency of dumping information to the log file using the following property:
-
-- `hazelcast.diagnostics.metrics.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
-
-:::note
-
-See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
-
-:::
-
-#### `SlowOperations`
-
-It shows the slow operations and invocations, See the [`SlowOperationDetector` section](../../develop-and-build/best-practices/threading.mdx#slowoperationdetector) for more information.
-
-#### Invocations
-
-It shows all kinds of statistics about current and past invocations including current pending invocations, history of invocations and slow history, i.e., all samples where the invocation took more than the defined threshold. Slow history does not only include the invocations where the operations took a lot of time, but it also includes any other invocations that have been obstructed.
-
-Using the following properties, you can configure the frequency of scanning all pending invocations and the threshold that makes an invocation to be considered as slow:
-
-- `hazelcast.diagnostics.invocation.sample.period.seconds`: Set a value in seconds. Its default value is `0`, which disables the plugin.
-- `hazelcast.diagnostics.invocation.slow.threshold.seconds`: Set a value in seconds. Its default value is `5` seconds.
-
-#### `InvocationProfiler`
-
-It shows invocation latencies for each operation. See an example output below:
-
-```none
-06-05-2019 17:15:29 1557152129944 InvocationProfiler[
- com.hazelcast.map.impl.query.QueryOperation[
- count=400
- totalTime(us)=56,000
- avg(us)=140
- max(us)=3,000
- latency-distribution[
- 64..127us=346
- 512..1023us=53
- 2048..4095us=1]]
- com.hazelcast.map.impl.operation.GetOperation[
- count=100
- totalTime(us)=19,000
- avg(us)=190
- max(us)=1,000
- latency-distribution[
- 64..127us=81
- 512..1023us=19]]]
-```
-
-You can control the frequency of scanning all invocations using the following system property:
-
-- `hazelcast.diagnostics.invocation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
-
-You can increase this period if you would like to decrease the logging noise.
-
-#### `OperationProfiler`
-
-It measures the time an operation runs on an operation thread; if the operation is a blocking one or being offloaded, only the time on the operation thread is measured. See an example output below:
-
-```none
-06-05-2021 14:53:48 1595332428248 OperationsProfiler[
- com.hazelcast.map.impl.operation.GetOperation[
- count=502,501
- totalTime(us)=1,690,645
- avg(us)=3
- max(us)=462
- latency-distribution[
- 1..2us=875
- 2..4us=359,876
- 4..8us=131,775
- 8..16us=8,720
- 16..32us=887
- 32..64us=178
- 64..128us=122
- 128..256us=62
- 256..512us=6]]
-```
-
-You can control the frequency of scanning all operations using the following system property:
-
-- `hazelcast.diagnostics.operation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
-
-#### `HazelcastInstance`
-
-It shows the basic state of your Hazelcast cluster including the count and addresses of current members and the address of oldest cluster member. It is useful to get a fast impression of the cluster without needing to analyze a lot of data.
-
-You can configure the frequency at which the cluster information is dumped to the log file using the following property:
-
-- `hazelcast.diagnostics.memberinfo.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
-
-#### `EventQueue`
-
-It checks the event queues in the data structures and samples the event types if the queue size is above a certain threshold. It is useful to figure out why the event queue is running full.
-
-- `hazelcast.diagnostics.event.queue.period.seconds`: Interval, in seconds, between the runs in which this plugin gathers information and writes it to the diagnostics log file. When set to `0` (its default value), it is disabled.
-- `hazelcast.diagnostics.event.queue.threshold`: Minimum number of events in the queue before it is being sampled. Its default value is `1000`.
-- `hazelcast.diagnostics.event.queue.samples`: Number of samples to take from the event queue. Increasing the number of samples gives more accuracy of the content, but it has a negative performance effect. Its default value is `100`.
-
-An example output for a Hazelcast map is as follows:
-
-```none
-17-04-2019 17:36:37 EventQueues[
- worker=1[
- eventCount=441
- sampleCount=100
- samples[
- IMap 'myMap' ADDED sampleCount=51 51.000%
- IMap 'myMap' REMOVED sampleCount=49 49.000%]]
-```
-
-#### `SystemLog`
-
-It shows the activities in your cluster including when a connection/member is added or removed and if there is a change in the lifecycle of the cluster. It also includes the reasons for connection closings.
-
-You can enable or disable the system log diagnostics plugin, and configure whether it shows information about partition migrations using the following properties:
-
-- `hazelcast.diagnostics.systemlog.enabled`: Its default value is `true`.
-- `hazelcast.diagnostics.systemlog.partitions`: Its default value is `false`. If you enable this, you may get a lot of log entries if you have many partitions.
-
-#### `StoreLatency`
-
-It shows statistics including the count of methods for each store (`load`, `loadAll`, `loadAllKeys`, etc.), average and maximum latencies for each store method calls and latency distributions for each store. The following is an example output snippet as part of the diagnostics log file for Hazelcast `MapStore`:
-
-:::note
-
-This plugin cannot be enabled dynamically due to its design restrictions.
-
-:::
-
-```none
-17-9-2019 13:12:34 MapStoreLatency[
- map[
- loadAllKeys[
- count=1
- totalTime(us)=8
- avg(us)=8
- max(us)=8
- latency-distribution[
- 0..99us=1]]
- load[
- count=100
- totalTime(us)=4,632,190
- avg(us)=46,321
- max(us)=99,178
- latency-distribution[
- 0..99us=1
- 1600..3199us=3
- 3200..6399us=3
- 6400..12799us=7
- 12800..25599us=13
- 25600..51199us=32
- 51200..102399us=41]]]]
-```
-
-According to your store usage, a similar output can be seen for Hazelcast JCache, `Queue`, and `Ringbuffer` data structures with persistent data stores.
-
-You can control the `StoreLatency` plugin using the following properties:
-
-- `hazelcast.diagnostics.storeLatency.period.seconds`: The frequency this plugin is writing the collected information to the disk. By default it is disabled. A sensible production value would be `60` seconds.
-- `hazelcast.diagnostics.storeLatency.reset.period.seconds`: The period of resetting the statistics. If, for example, it is set as 300 (5 minutes), all the statistics are cleared for every 5 minutes. By default it is 0, meaning that statistics are not reset.
-
-#### `OperationHeartbeats`
-
-It shows the deviation between member/member operation heartbeats. Each member, regardless if there is an operation running on behalf of that member, sends an operation heartbeat to every other member. It contains a listing of all `callId`s of the running operations from a given member. This plugin also works fine between `members/lite-members`.
-
-Because this operation heartbeat is sent periodically; by default 1/4 of the operation call timeout of 60 seconds, we would expect an operation heartbeat to be received every 15 seconds. Operation heartbeats are high priority packets (so they overtake regular packets) and are processed by an isolated thread in the invocation monitor. If there is any deviation in the frequency of receiving these packets, it may be due to the problems such as network latencies.
-
-The following shows an example of the output where an operation heartbeat has not been received for 37 seconds:
-
-```none
-20-07-2017 11:12:55 OperationHeartbeat[
- member[10.212.1.119]:5701[
- deviation(%)=146.6666717529297
- noHeartbeat(ms)=37,000
- lastHeartbeat(ms)=1,500,538,338,603
- lastHeartbeat(date-time)=20-07-2017 11:12:18
- now(ms)=1,500,538,375,603
- now(date-time)=20-07-2017 11:12:55]]
-```
-
-The `OperationHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
-
-You can control the `OperationHeartbeats` plugin using the following properties:
-
-- `hazelcast.diagnostics.operation-heartbeat.seconds`: The frequency this plugin is writing the collected information to the disk. It is configured to be 10 seconds by default. 0 disables the plugin.
-- `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is 33. For example, with a default 60 call timeout and operation heartbeat interval being 15 seconds, the maximum deviation with a deviation-percentage of 33, is 5 seconds. So there is no problem if a packet is arrived after 19 seconds, but if it arrives after 21 seconds, then the plugin renders.
-
-#### `MemberHeartbeats`
-
-This plugin looks a lot like the `OperationHeartbeats` plugin, but instead of relying on operation heartbeats to determine the deviation, it relies on member/member cluster heartbeats. Every member sends a heartbeat to other members periodically (by default every 5 seconds).
-
-Just like the `OperationHeartbeats`, the `MemberHeartbeats` plugin can be used to detect if there are networking problems long before they actually lead to problems such as split-brain syndromes.
-
-The following shows an example of the output where no member/member heartbeat has been received for 11 seconds:
-
-```none
-20-07-2017 19:32:22 MemberHeartbeats[
- member[10.212.1.119]:5701[
- deviation(%)=120.0
- noHeartbeat(ms)=11,000
- lastHeartbeat(ms)=1,500,568,331,645
- lastHeartbeat(date-time)=20-07-2017 19:32:11
- now(ms)=1,500,568,342,645
- now(date-time)=20-07-2017 19:32:22]]
-```
-
-The `MemberHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
-
-You can control the `MemberHeartbeats` plugin using the following properties:
-
-- `hazelcast.diagnostics.member-heartbeat.period.seconds`: The frequency this plugin is writing the collected information to the disk. It is configured to be 10 seconds by default. 0 disables the plugin.
-- `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is 100. For example, if the interval of member/member heartbeats is 5 seconds, a 100% deviation is fine with heartbeats arriving up to 5 seconds after they are expected. So a heartbeat arriving after 9 seconds is not rendered, but a heartbeat received after 11 seconds is rendered.
-
-#### `OperationThreadSamples`
-
-This plugin samples the operation threads and checks the running operations/tasks. Hazelcast has the [slow operation detector](../../develop-and-build/best-practices/threading.mdx#slowoperationdetector) which is useful for slow operations. But it may not be efficient for high volumes of not too slow operations. Using the `OperationThreadSamples` plugin it is more clear to see which operations are actually running.
-
-You can control the `OperationThreadSamples` plugin using the following properties:
-
-- `hazelcast.diagnostics.operationthreadsamples.period.seconds`: The frequency this plugin is writing the collected information to the disk. An efficient value for production would be 30, 60, or more seconds. 0, which is the default value, disables the plugin.
-- `hazelcast.diagnostics.operationthreadsamples.sampler.period.millis`: The period in milliseconds between taking samples. The lower the value, the higher the overhead but also the higher the precision. Its default value is 100 ms.
-- `hazelcast.diagnostics.operationthreadsamples.includeName`: Specifies whether the data structures' name pointed to by the operation (if available) should be included in the name of the samples. Its default value is false.
-
-The following shows an example of the output when the property `hazelcast.diagnostics.operationthreadsamples.includeName` is false:
-
-```none
-28-08-2019 07:40:07 1535442007330 OperationThreadSamples[
- Partition[
- com.hazelcast.map.impl.operation.MapSizeOperation=304623 85.6927%
- com.hazelcast.map.impl.operation.PutOperation=33061 9.300304%
- com.hazelcast.map.impl.operation.GetOperation=17799 5.0069904%]
- Generic[
- com.hazelcast.internal.nio.Packet=1767 27.361412%
- com.hazelcast.internal.cluster.impl.operations.JoinRequestOp=821 12.712914%
- com.hazelcast.spi.impl.operationservice.impl.operations.PartitionIteratingOperation=278 4.3047385%
- com.hazelcast.internal.cluster.impl.operations.HeartbeatOp=93 1.4400743%
- com.hazelcast.internal.cluster.impl.operations.OnJoinOp=89 1.3781357%
- com.hazelcast.internal.cluster.impl.operations.WhoisMasterOp=75 1.1613503%]]
-```
-
-As can be seen above, the `MapSizeOperations` run on the operation threads most of the time.
-
-#### `WAN`
-
-
-
-The WAN diagnostics plugin provides information about the WAN replication.
-
-It is disabled by default and can be configured using the following property:
-
-- `hazelcast.diagnostics.wan.period.seconds`: The frequency this plugin is writing the collected information to the disk. 0 disables the plugin.
-
-The following shows an example of the output for a member with the WAN replication configuration `london` and the publisher `tokyo`:
-
-```none
-01-01-2026 12:00:00 1767268800000 WAN[
- syncCount=0
- updateCount=0
- removeCount=0
- syncState[
- status=READY
- activeWanConfigName=null
- activePublisherName=null]
- london[
- tokyo[
- outboundQueueSize=0
- totalPublishedEventCount=1,000
- totalPublishLatency=2,010
- connected=true
- state=REPLICATING
- mapSentEvents-orders[
- updateCount=1,000
- removeCount=0
- syncCount=0
- droppedCount=0]
- updateCount=1,000
- removeCount=0
- syncCount=0
- droppedCount=0]]]
-```
-
-## Monitoring with JMX
-
-You can monitor your Hazelcast members via the JMX protocol.
-
-To achieve this, first add the following system properties to enable the [JMX agent](http://download.oracle.com/javase/1.5.0/docs/guide/management/agent.html):
-
-- `-Dcom.sun.management.jmxremote`
-- `-Dcom.sun.management.jmxremote.port=` (to specify JMX port, the default is `1099`) (**optional**)
-- `-Dcom.sun.management.jmxremote.authenticate=false` (to disable JMX auth) (**optional**)
-
-Then enable JMX by setting the `hazelcast.jmx` property to `true` using the following configuration:
-
-
-
-
-```xml
-
- ...
-
- true
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- properties:
- hazelcast.jmx: true
-```
-
-
-
-
-```java
-config.setProperty("hazelcast.jmx", "true");
-```
-
-
-
-
-```xml
-
- true
-
-```
-
-
-
-
-```shell
--Dhazelcast.jmx=true
-```
-
-
-
-
-### MBean naming for Hazelcast data structures
-
-Hazelcast set the naming convention for MBeans as follows:
-
-```java
-final ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
-```
-
-The MBeans name consists of the Hazelcast instance name, the type of the data structure and that data structure's name. In the above example, `_hzInstance_1_dev` is the instance name, we connect to an `IMap` with the name `trial`.
-
-### Connecting to JMX Agent
-
-One of the ways you can connect to JMX agent is using JConsole, jvisualvm (with MBean plugin) or another JMX compliant monitoring tool.
-
-The other way to connect is to use a custom JMX client.
-
-First, you need to specify the URL where the Hazelcast JMX service is running. See the following code snippet:
-
-```java
-// Parameters for connecting to the JMX Service
-int port = 1099;
-String hostname = InetAddress.getLocalHost().getHostName();
-JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://" + hostname + ":" + port + "/jndi/rmi://" + hostname + ":" + port + "/jmxrmi");
-```
-
-The `port` in the above example should be the one that you define while setting the JMX remote port number (if different than the default port `1099`).
-
-Then use the URL you acquired to connect to the JMX service and get the `JMXConnector` object. Using this object, get the `MBeanServerConnection` object. The `MBeanServerConnection` object enables you to use the MBean methods. See the example code below.
-
-```java
-// Connect to the JMX Service
-JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
-MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
-```
-
-Once you get the `MBeanServerConnection` object, you can call the getter methods of MBeans as follows:
-
-```java
-System.out.println("\nTotal entries on map " + mbsc.getAttribute(mapMBeanName, "name") + " : "
- + mbsc.getAttribute(mapMBeanName, "localOwnedEntryCount"));
-```
-
-### JMX API per member
-
-Hazelcast members expose various management beans which include statistics about distributed data structures and the states of Hazelcast member internals.
-
-The attributes whose names start with `local` are local to the member and do not reflect cluster-wide values.
-
-:::note
-
-See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
-
-:::
-
-You can find the JMX API definition below with descriptions and the API methods in parenthesis.
-
-**Atomic Long (`IAtomicLong`)**
-
-- Name ( `name` )
-- Current Value ( `currentValue` )
-- Set Value ( `set(v)` )
-- Add value and Get ( `addAndGet(v)` )
-- Compare and Set ( `compareAndSet(e,v)` )
-- Decrement and Get ( `decrementAndGet()` )
-- Get and Add ( `getAndAdd(v)` )
-- Get and Increment ( `getAndIncrement()` )
-- Get and Set ( `getAndSet(v)` )
-- Increment and Get ( `incrementAndGet()` )
-- Partition key ( `partitionKey` )
-
-**Atomic Reference ( `IAtomicReference` )**
-
-- Name ( `name` )
-- Partition key ( `partitionKey`)
-
-**Countdown Latch ( `ICountDownLatch` )**
-
-- Name ( `name` )
-- Current count ( `count`)
-- Countdown ( `countDown()` )
-- Partition key ( `partitionKey`)
-
-**Executor Service ( `IExecutorService` )**
-
-- Local pending operation count ( `localPendingTaskCount` )
-- Local started operation count ( `localStartedTaskCount` )
-- Local completed operation count ( `localCompletedTaskCount` )
-- Local cancelled operation count ( `localCancelledTaskCount` )
-- Local total start latency ( `localTotalStartLatency` )
-- Local total execution latency ( `localTotalExecutionLatency` )
-
-**List ( `IList` )**
-
-- Name ( `name` )
-- Clear list ( `clear` )
-
-**Map ( `IMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Config ( `config` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Owned entry memory cost ( `localOwnedEntryMemoryCost` )
-- Backup entry count ( `localBackupEntryCount` )
-- Backup entry cost ( `localBackupEntryMemoryCost` )
-- Backup count ( `localBackupCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Locked entry count ( `localLockedEntryCount` )
-- Dirty entry count ( `localDirtyEntryCount` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Heap Cost ( `localHeapCost` )
-- Clear ( `clear()` )
-
-**`MultiMap` ( `MultiMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Owned entry memory cost ( `localOwnedEntryMemoryCost` )
-- Backup entry count ( `localBackupEntryCount` )
-- Backup entry cost ( `localBackupEntryMemoryCost` )
-- Backup count ( `localBackupCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Locked entry count ( `localLockedEntryCount` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Clear ( `clear()` )
-
-**Replicated Map ( `ReplicatedMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Config ( `config` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Clear ( `clear()` )
-
-**Queue ( `IQueue` )**
-
-- Name ( `name` )
-- Config ( `config` )
-- Partition key ( `partitionKey` )
-- Owned item count ( `localOwnedItemCount` )
-- Backup item count ( `localBackupItemCount` )
-- Minimum age ( `localMinAge` )
-- Maximum age ( `localMaxAge` )
-- Average age ( `localAverageAge` )
-- Offer operation count ( `localOfferOperationCount` )
-- Rejected offer operation count ( `localRejectedOfferOperationCount` )
-- Poll operation count ( `localPollOperationCount` )
-- Empty poll operation count ( `localEmptyPollOperationCount` )
-- Other operation count ( `localOtherOperationsCount` )
-- Event operation count ( `localEventOperationCount` )
-- Clear ( `clear()` )
-
-**Semaphore ( `ISemaphore` )**
-
-- Name ( `name` )
-- Available permits ( `available` )
-- Partition key ( `partitionKey` )
-- Drain ( `drain()`)
-- Shrink available permits by given number ( `reduce(v)` )
-- Release given number of permits ( `release(v)` )
-
-**Set ( `ISet` )**
-
-- Name ( `name` )
-- Partition key ( `partitionKey` )
-- Clear ( `clear()` )
-
-**Topic ( `ITopic` )**
-
-- Name ( `name` )
-- Config ( `config` )
-- Creation time ( `localCreationTime` )
-- Publish operation count ( `localPublishOperationCount` )
-- Receive operation count ( `localReceiveOperationCount` )
-
-**Hazelcast Instance ( `HazelcastInstance` )**
-
-- Name ( `name` )
-- Version ( `version` )
-- Build ( `build` )
-- Configuration ( `config` )
-- Configuration source ( `configSource` )
-- Cluster name ( `clusterName` )
-- Network Port ( `port` )
-- Cluster-wide Time ( `clusterTime` )
-- Size of the cluster ( `memberCount` )
-- List of members ( `Members` )
-- Running state ( `running` )
-- Shutdown the member ( `shutdown()` )
-- **Node ( `HazelcastInstance.Node` )**
-
- - Address ( `address` )
- - Master address ( `masterAddress` )
-- **Partition Service ( `HazelcastInstance.PartitionServiceMBean` )**
-
- - Partition count ( `partitionCount` )
- - Active partition count ( `activePartitionCount` )
- - Cluster Safe State ( `isClusterSafe` )
- - `LocalMember` Safe State ( `isLocalMemberSafe` )
-- **System Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Async Executor (`HazelcastInstance.ManagedExecutorService`)**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Scheduled Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Client Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Query Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **I/O Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Vector Query Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-
-## Alerting
-
-Hazelcast alerts you through various channels as listed below.
-
-- Banners, warnings and exception messages on your application console.
-
- Example license warning banner:
-
- ```none
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- THIS HAZELCAST LICENSE ID AbCdE*********FgHiJ WILL EXPIRE IN 29 DAYS.
- Your Hazelcast cluster will stop working on the next re-start after
- expiry.
-
- Please contact your Hazelcast Account Executive or
- email sales@hazelcast.com.
- Phone: +1 (650) 521-5453
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- ```
-
- Example outdated API warning:
-
- ```none
- An outdated version of JCache API was located in the classpath, please use newer versions of
- JCache API rather than 1.0.0-PFD or 0.x versions.
- ```
-
- Example exception message:
-
- ```none
- com.hazelcast.sql.HazelcastSqlException: From line 1, column 15 to line 1, column 23: Object 'mapBak1HD' not found, did you forget to CREATE MAPPING?
- ```
-- Prometheus: You can use this third-party tool to filter alert metrics. See the [Prometheus section](#prometheus-2) for details.
-
-Besides the above channels, you can also benefit from Hazelcast logging mechanism as an indirect way of getting alerts. See the [Logging section](../logging.mdx) for details.
-
-To learn the possible actions on the alerts, see the [Actions and Remedies for Alerts section](../../develop-and-build/troubleshooting/remedies-for-alerts.mdx).
-
-## Integrating with third-party tools
-
-
-
-Management Center monitors your entire Hazelcast cluster, making it much easier to integrate with third-party tools without needing to connect to individual members, manage changes from scaling and restarts, or collate metrics from all members.
-
-### Prometheus {/* #prometheus-2 */}
-
-Hazelcast Management Center can expose the metrics collected from cluster members to [Prometheus](https://prometheus.io/). This feature can be turned on by setting the `hazelcast.mc.prometheusExporter.enabled` system property to `true`.
-
-This is an feature. See for details.
-
-### AppDynamics
-
-You can use the interface to integrate the [Hazelcast Management Center](#management-center) with **AppDynamics**. To perform this integration, attach the AppDynamics Java agent to the Management Center.
-
-This is an feature. See for details.
-
-### New Relic
-
-You can use the interface to integrate the [Hazelcast Management Center](#management-center) with New Relic. To perform this integration, attach the New Relic Java agent and provide an extension file that describes which metrics are sent to New Relic.
-
-This is an feature. See for details.
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/restart-cluster.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/restart-cluster.mdx
index bf73881d..136039e0 100644
--- a/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/restart-cluster.mdx
+++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/restart-cluster.mdx
@@ -54,7 +54,7 @@ The [Community Edition REST API](../../clients-and-apis/apis/enterprise-rest-api
### Perform a rolling restart {/* #rolling */}
-You should check the cluster is healthy before and after making changes. The best way to do this is to run a in Management Center. For other options, see [Monitoring](./monitoring.mdx).
+You should check the cluster is healthy before and after making changes. The best way to do this is to run a in Management Center. For other options, see [Monitoring](../monitoring/overview.mdx).
To perform a rolling restart:
@@ -114,7 +114,7 @@ To perform a rolling restart:
### Perform a whole cluster restart {/* #whole */}
-You should check the cluster is healthy before and after making changes. The best way to do this is to run a in Management Center. For other options, see [Monitoring](./monitoring.mdx).
+You should check the cluster is healthy before and after making changes. The best way to do this is to run a in Management Center. For other options, see [Monitoring](../monitoring/overview.mdx).
To perform a whole cluster restart:
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/_category_.json b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/_category_.json
new file mode 100644
index 00000000..01bca847
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/_category_.json
@@ -0,0 +1,5 @@
+{
+ "label": "Monitoring",
+ "position": 4.5,
+ "link": null
+}
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/diagnostics.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/diagnostics.mdx
new file mode 100644
index 00000000..3738578d
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/diagnostics.mdx
@@ -0,0 +1,944 @@
+---
+title: "Diagnostics"
+sidebar_position: 4
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast diagnostic logging helps you troubleshoot and monitor a cluster.
+
+Members and clients both provide a set of diagnostics plugins. Hazelcast writes the diagnostics to a dedicated log file.
+
+You can configure diagnostic logging in two ways:
+- Dynamic configuration: use Management Center or Operator, without restarting the cluster
+- Static configuration: set the properties described on this page
+
+## Enable dynamic logging (BETA)
+
+With dynamic diagnostic logging, you can turn diagnostic logging on and off at runtime without restarting the cluster.
+
+You can also turn diagnostic logging off automatically after a set period by configuring the auto turn-off feature in Management Center or Operator.
+
+In Operator, you can also control the diagnostic plugins.
+
+To learn how to enable dynamic diagnostic logging and the auto turn-off feature, see the or documentation.
+
+:::important
+
+A diagnostics property that you set statically overrides the dynamic configuration of the same setting. For example, if you set the `hazelcast.diagnostics.enabled` property to `true`, you cannot disable diagnostics dynamically in Management Center or Operator. If you set it to `false`, you cannot enable diagnostics dynamically. To control a setting dynamically, do not set its property statically.
+
+:::
+
+## Enable static logging
+
+To enable diagnostic logging statically, set the following properties on the members:
+
+
+
+
+```xml
+
+ ...
+
+ true
+ 30
+ 30
+ 30
+ 60
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.enabled: true
+ hazelcast.diagnostics.invocation.sample.period.seconds: 30
+ hazelcast.diagnostics.pending.invocations.period.seconds: 30
+ hazelcast.diagnostics.slowoperations.period.seconds: 30
+ hazelcast.diagnostics.storeLatency.period.seconds: 60
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.enabled", "true" )
+ .setProperty( "hazelcast.diagnostics.invocation.sample.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.pending.invocations.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.slowoperations.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.storeLatency.period.seconds", "60" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.enabled=true
+ -Dhazelcast.diagnostics.invocation.sample.period.seconds=30
+ -Dhazelcast.diagnostics.pending.invocations.period.seconds=30
+ -Dhazelcast.diagnostics.slowoperations.period.seconds=30
+ -Dhazelcast.diagnostics.storeLatency.period.seconds=60
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.enabled=true -Dhazelcast.diagnostics.invocation.sample.period.seconds=30 -Dhazelcast.diagnostics.pending.invocations.period.seconds=30 -Dhazelcast.diagnostics.slowoperations.period.seconds=30 -Dhazelcast.diagnostics.storeLatency.period.seconds=60"
+```
+
+
+
+
+On a Java client, set the following property:
+- `hazelcast.diagnostics.enabled=true`
+
+## Configure the diagnostics log file
+
+To set the directory of the diagnostics log file, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ /your/log/directory
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.directory: /your/log/directory
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.directory", "/your/log/directory" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.directory=/your/log/directory
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.directory=/your/log/directory"
+```
+
+
+
+
+The name of the log file has the following format:
+
+```none
+diagnostics-_--.log
+```
+
+To add a custom prefix to the name of the log file, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ foobar
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.filename.prefix: foobar
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.filename.prefix", "foobar" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.filename.prefix=foobar
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.filename.prefix=foobar"
+```
+
+
+
+
+Each entry in the diagnostics log file starts with the date, the time, and the epoch time in milliseconds, followed by the name of the entry. To leave out the epoch time, set the `hazelcast.diagnostics.include.epoch` property to `false`. The content of the entry follows in square brackets. Some plugins write an empty entry when they have nothing to report. For example, when there are no slow operations, the `SlowOperations` plugin writes `SlowOperations[]`.
+
+The following example shows the first entries in a diagnostics log file for a member that is starting. It leaves out the content of the `SystemProperties` and `ConfigProperties` entries, and all but three of the 387 `Metric` entries:
+
+```none
+19-11-2026 16:41:33 1795106493933 BuildInfo[
+ Build=20251015
+ BuildNumber=20251015
+ Revision=
+ Version=5.6.0
+ SerialVersion=1
+ Enterprise=false]
+19-11-2026 16:41:33 1795106493933 SystemProperties[
+ java.version=26.0.2.1]
+19-11-2026 16:41:33 1795106493933 ConfigProperties[
+ hazelcast.diagnostics.enabled=true
+ hazelcast.diagnostics.enabled=true]
+19-11-2026 16:41:33 1795106493933 OverloadedConnections[]
+19-11-2026 16:41:33 1795106493933 EventQueues[]
+19-11-2026 16:41:33 1795106493933 PendingInvocations[
+ count=0
+ invocations[]]
+19-11-2026 16:41:33 1795106493933 Metric[[metric=classloading.totalLoadedClassesCount]=7531]
+19-11-2026 16:41:33 1795106493933 Metric[[metric=os.systemLoadAverage]=14.5595703125]
+19-11-2026 16:41:33 1795106493933 Metric[[unit=bytes,metric=memory.usedHeap]=78003624]
+19-11-2026 16:41:33 1795106493953 SlowOperations[]
+19-11-2026 16:41:33 1795106493953 Invocations[
+ Pending[]
+ History[]
+ SlowHistory[]]
+19-11-2026 16:41:33 1795106493954 InvocationProfiler[]
+19-11-2026 16:41:33 1795106493954 OperationsProfiler[]
+19-11-2026 16:41:33 1795106493954 HazelcastInstance[
+ thisAddress=[127.0.0.1]:5701
+ isRunning=true
+ isLite=false
+ joined=false
+ nodeState=ACTIVE
+ clusterId=null
+ clusterSize=1
+ isMaster=false
+ masterAddress=null
+ Members[
+ [127.0.0.1]:5701]]
+19-11-2026 16:41:33 1795106493954 ClusterVersionChanged[
+ 5.6]
+19-11-2026 16:41:33 1795106493954 Lifecycle[
+ STARTING]
+```
+
+To limit the disk space that the diagnostics log files use, Hazelcast starts a new file when the current file reaches a maximum size. By default, it keeps up to 10 files of 50 MB each. To set the size of each file and the number of files, use the following properties:
+
+
+
+
+```xml
+
+ ...
+
+ 100
+ 5
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.max.rolled.file.size.mb: 100
+ hazelcast.diagnostics.max.rolled.file.count: 5
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.max.rolled.file.size.mb", "100" )
+ .setProperty( "hazelcast.diagnostics.max.rolled.file.count", "5" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.max.rolled.file.size.mb=100
+ -Dhazelcast.diagnostics.max.rolled.file.count=5
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.max.rolled.file.size.mb=100 -Dhazelcast.diagnostics.max.rolled.file.count=5"
+```
+
+
+
+
+## Set the output type
+
+To set the output type of diagnostics, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ STDOUT
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.stdout: STDOUT
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.stdout", "STDOUT" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.stdout=STDOUT
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.stdout=STDOUT"
+```
+
+
+
+
+The property accepts the following types:
+- `FILE` outputs to a [set of files](#configure-the-diagnostics-log-file) managed by Hazelcast. This is the default type.
+- `STDOUT` outputs to the standard output.
+- `LOGGER`outputs to the Hazelcast logger. You can then forward the diagnostics to any output that the logging framework supports.
+
+ :::note
+
+ The `LOGGER` type uses more CPU and memory than the other output types, because each diagnostics write passes through the logging framework. It also gives you more flexibility.
+
+ :::
+
+### Send diagnostics to a logging framework
+
+Hazelcast does not require a specific logging framework. To forward the diagnostics to your logging framework, set the `hazelcast.diagnostics.stdout` property to `LOGGER`:
+
+
+
+
+```xml
+
+ ...
+
+ LOGGER
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.stdout: LOGGER
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.stdout", "LOGGER" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.stdout=LOGGER
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.stdout=LOGGER"
+```
+
+
+
+
+This configuration forwards the logs to the `com.hazelcast.diagnostics` logger. To write them to a file, reference one of your configured appenders from that logger. The following example does this for Log4j2:
+
+```xml
+
+
+
+```
+
+To control the file size and rolling behavior, configure [`TimeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) and [`SizeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) for the appender.
+
+:::note
+
+The diagnostic logs have the `DEBUG` level by default. If the root appender uses the `DEBUG` level and you do not want the diagnostic logs in the member logs, set the level of the `com.hazelcast.diagnostics` logger to `INFO`. For Log4j2, see the [configuration documentation](https://logging.apache.org/log4j/2.x/manual/configuration.html).
+
+:::
+
+## Diagnostics plugins
+
+Each diagnostics plugin collects information and writes it to the diagnostics output. The plugins run in two ways:
+- The `BuildInfo`, `SystemProperties`, and `ConfigProperties` plugins do not run at an interval. With the `FILE` output type, their entries appear at the start of each diagnostics log file, including each new file that Hazelcast starts when a file reaches its maximum size. With the `STDOUT` and `LOGGER` output types, their entries appear once each time diagnostics start.
+- Every other plugin runs repeatedly while it is enabled. The section for each plugin lists the properties that enable and configure it. For most plugins, a property sets the interval, and a value of `0` disables the plugin.
+
+You set the plugin properties in the same way as the other diagnostics properties. In Operator, you can also set them dynamically.
+
+Most plugins write entries with the same name as the plugin. The following table lists every plugin, the name of its entries in the diagnostics output, whether it is enabled by default, and where it runs:
+
+| Plugin | Entry name | Enabled by default | Runs on |
+|---|---|---|---|
+| `BuildInfo` | `BuildInfo` | Yes | Members and clients |
+| `SystemProperties` | `SystemProperties` | Yes | Members and clients |
+| `ConfigProperties` | `ConfigProperties` | Yes | Members and clients |
+| `Metrics` | `Metric`, one entry for each metric | Yes | Members and clients |
+| `SlowOperations` | `SlowOperations` | Yes | Members |
+| `Invocations` | `Invocations` | No | Members |
+| `PendingInvocations` | `PendingInvocations` | No | Members |
+| `InvocationProfiler` | `InvocationProfiler` | Yes | Members |
+| `OperationProfiler` | `OperationsProfiler` | Yes | Members |
+| `HazelcastInstance` | `HazelcastInstance` | Yes | Members |
+| `EventQueue` | `EventQueues` | No | Members and clients |
+| `SystemLog` | `Lifecycle`, `MemberAdded`, `MemberRemoved`, `ConnectionAdded`, `ConnectionRemoved`, `ClusterVersionChanged`, `MigrationState`, `MigrationCompleted`, and `MigrationFailed` | Yes | Members and clients |
+| `StoreLatency` | `MapStoreLatency`, `QueueStoreLatency`, `RingbufferStoreLatency`, `CacheStoreLatency`, `CacheLoaderLatency`, and, in , `WanBatchSenderLatency` | No | Members |
+| `OperationHeartbeats` | `OperationHeartbeat` | Yes | Members |
+| `MemberHeartbeats` | `MemberHeartbeats` | Yes | Members |
+| `OperationThreadSamples` | `OperationThreadSamples` | No | Members |
+| `OverloadedConnections` | `OverloadedConnections` | No | Members |
+| `NetworkingImbalance` | `NetworkingImbalance` | No | Members and clients |
+| `WAN` | `WAN` | No | Members |
+
+### `BuildInfo`
+
+The `BuildInfo` plugin shows Hazelcast build information, including the release number, the Git revision number, and whether you have Hazelcast . The following example shows its output:
+
+```none
+19-11-2026 16:41:33 1795106493933 BuildInfo[
+ Build=20251015
+ BuildNumber=20251015
+ Revision=
+ Version=5.6.0
+ SerialVersion=1
+ Enterprise=false]
+```
+
+### `SystemProperties`
+
+The `SystemProperties` plugin shows the system properties that are used by and configured for your Hazelcast installation, with their values. These are the properties whose names start with `java` (except `java.awt`), `hazelcast`, `sun`, and `os`. The plugin also shows the arguments used to start the JVM. The following example shows part of its output:
+
+```none
+19-11-2026 16:41:33 1795106493933 SystemProperties[
+ hazelcast.diagnostics.metrics.period.seconds=5
+ java.runtime.name=OpenJDK Runtime Environment
+ java.version=26.0.2.1
+ java.vm.args=--add-modules=ALL-DEFAULT
+ java.vm.name=OpenJDK 64-Bit Server VM
+ os.arch=aarch64
+ os.name=Mac OS X
+ sun.arch.data.model=64]
+```
+
+### `ConfigProperties`
+
+The `ConfigProperties` plugin shows the Hazelcast properties that you set explicitly in the declarative or programmatic configuration, with their values. It does not show properties set only on the command line with `-D`. The following example shows part of its output:
+
+```none
+19-11-2026 16:41:33 1795106493933 ConfigProperties[
+ hazelcast.diagnostics.enabled=true
+ hazelcast.diagnostics.invocation.sample.period.seconds=2
+ hazelcast.diagnostics.metrics.period.seconds=5
+ hazelcast.slow.operation.detector.threshold.millis=500
+ hazelcast.diagnostics.invocation.sample.period.seconds=2
+ hazelcast.diagnostics.enabled=true
+ hazelcast.diagnostics.metrics.period.seconds=5]
+```
+
+### `Metrics` {/* #diagnostics-metrics */}
+
+The Metrics plugin writes a comprehensive log of what is happening in your Hazelcast system. See [Metrics](./metrics.mdx) for more information.
+
+To set how often the plugin writes to the log file, use the following property:
+- `hazelcast.diagnostics.metrics.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+The plugin writes one `Metric` entry for each metric. The entry shows the tags of the metric, such as the name of the data structure and the unit, followed by the value. The following example shows some of these entries:
+
+```none
+19-11-2026 16:41:38 1795106498931 Metric[[unit=bytes,metric=memory.usedHeap]=95451000]
+19-11-2026 16:41:38 1795106498931 Metric[[unit=count,metric=operation.queueSize]=0]
+19-11-2026 16:41:38 1795106498931 Metric[[unit=count,metric=partitions.localPartitionCount]=136]
+19-11-2026 16:41:38 1795106498931 Metric[[name=orders,unit=ms,metric=map.totalGetLatency]=1359]
+19-11-2026 16:41:38 1795106498931 Metric[[name=orders,unit=ms,metric=map.totalPutLatency]=191]
+```
+
+:::note
+
+See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
+
+:::
+
+### `SlowOperations`
+
+The `SlowOperations` plugin shows slow operations and invocations. See the [`SlowOperationDetector` section](../../develop-and-build/best-practices/threading.mdx#slowoperationdetector) for more information.
+
+The plugin runs only when the slow operation detector is enabled. To set how often the plugin writes to the log file, use the following property:
+- `hazelcast.diagnostics.slowoperations.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+For each type of slow operation, the plugin shows the number of slow invocations, the stack trace of the operation, and details of each slow invocation. The following example shows part of its output, for a slow entry processor:
+
+```none
+19-11-2026 16:41:38 1795106498981 SlowOperations[
+ com.hazelcast.map.impl.operation.EntryOperation[
+ invocations=1
+ stackTrace[
+ com.example.OrderProcessor.process(OrderProcessor.java:53)
+ com.hazelcast.map.impl.operation.EntryOperator.process(EntryOperator.java:435)
+ com.hazelcast.map.impl.operation.EntryOperation.call(EntryOperation.java:245)
+ com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:501)
+ com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:183)]
+ slowInvocations[
+ startedAt=1,795,106,495,981
+ started(date-time)=19-11-2026 16:41:35
+ duration(ms)=1,001
+ operationDetails=com.hazelcast.map.impl.operation.EntryOperation{serviceName='hz:impl:mapService', identityHash=1085155372, partitionId=11, replicaIndex=0, callId=2009, invocationTime=1795106495493 (2026-11-19 16:41:35.493), waitTimeout=-1, callTimeout=60000, tenantControl=com.hazelcast.spi.impl.tenantcontrol.NoopTenantControl@0, name=orders}]]]
+```
+
+### `Invocations`
+
+The Invocations plugin shows statistics about current and past invocations, including pending invocations, the history of invocations, and the slow history. The slow history holds every sample where an invocation took longer than the threshold. It includes the invocations whose operations took a long time, and any other invocations that were obstructed.
+
+To set how often the plugin scans all pending invocations, and the threshold above which an invocation counts as slow, use the following properties:
+- `hazelcast.diagnostics.invocation.sample.period.seconds`: Set a value in seconds. Its default value is `0`, which disables the plugin.
+- `hazelcast.diagnostics.invocation.slow.threshold.seconds`: Set a value in seconds. Its default value is `5` seconds.
+
+The following example shows its output, with a threshold of one second:
+
+```none
+19-11-2026 16:41:41 1795106501932 Invocations[
+ Pending[]
+ History[
+ com.hazelcast.map.impl.operation.EntryOperation samples=4
+ com.hazelcast.map.impl.operation.PutOperation samples=1
+ PartitionIteratingOperation(com.hazelcast.map.impl.operation.SizeOperationFactory) samples=1
+ com.hazelcast.map.impl.operation.GetOperation samples=1]
+ SlowHistory[
+ com.hazelcast.map.impl.operation.EntryOperation samples=2
+ com.hazelcast.map.impl.operation.PutOperation samples=1]]
+```
+
+### `PendingInvocations`
+
+The `PendingInvocations` plugin shows the number of pending invocations on the member, and the number of pending invocations for each type of operation.
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.pending.invocations.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.pending.invocations.threshold`: Minimum number of pending invocations of a type of operation before the plugin shows that type. Its default value is `1`.
+
+The following example shows its output:
+
+```none
+19-11-2026 16:41:35 1795106495932 PendingInvocations[
+ count=2
+ invocations[
+ com.hazelcast.map.impl.operation.EntryOperation=1
+ com.hazelcast.map.impl.operation.GetOperation=1]]
+```
+
+### `InvocationProfiler`
+
+The `InvocationProfiler` plugin shows invocation latencies for each operation. The following example shows its output:
+
+```none
+06-05-2019 17:15:29 1557152129944 InvocationProfiler[
+ com.hazelcast.map.impl.query.QueryOperation[
+ count=400
+ totalTime(us)=56,000
+ avg(us)=140
+ max(us)=3,000
+ latency-distribution[
+ 64..127us=346
+ 512..1023us=53
+ 2048..4095us=1]]
+ com.hazelcast.map.impl.operation.GetOperation[
+ count=100
+ totalTime(us)=19,000
+ avg(us)=190
+ max(us)=1,000
+ latency-distribution[
+ 64..127us=81
+ 512..1023us=19]]]
+```
+
+To set how often the plugin scans all invocations, use the following system property:
+- `hazelcast.diagnostics.invocation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
+
+To reduce the number of log entries, increase this period.
+
+### `OperationProfiler`
+
+The `OperationProfiler` plugin measures how long each operation runs on an operation thread. For a blocking or offloaded operation, it measures only the time on the operation thread. The following example shows its output:
+
+```none
+06-05-2021 14:53:48 1595332428248 OperationsProfiler[
+ com.hazelcast.map.impl.operation.GetOperation[
+ count=502,501
+ totalTime(us)=1,690,645
+ avg(us)=3
+ max(us)=462
+ latency-distribution[
+ 1..2us=875
+ 2..4us=359,876
+ 4..8us=131,775
+ 8..16us=8,720
+ 16..32us=887
+ 32..64us=178
+ 64..128us=122
+ 128..256us=62
+ 256..512us=6]]
+```
+
+To set how often the plugin scans all operations, use the following system property:
+- `hazelcast.diagnostics.operation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
+
+### `HazelcastInstance`
+
+The `HazelcastInstance` plugin shows the basic state of your cluster, including the number and addresses of the current members and the address of the oldest member. Use it to see the state of the cluster without analyzing a lot of data.
+
+To set how often the plugin writes the cluster information to the log file, use the following property:
+- `hazelcast.diagnostics.memberinfo.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+The following example shows its output:
+
+```none
+19-11-2026 16:41:38 1795106498935 HazelcastInstance[
+ thisAddress=[127.0.0.1]:5701
+ isRunning=true
+ isLite=false
+ joined=true
+ nodeState=ACTIVE
+ clusterId=25e893bb-1423-4043-900c-5c47f37d4b71
+ clusterSize=2
+ isMaster=true
+ masterAddress=[127.0.0.1]:5701
+ Members[
+ [127.0.0.1]:5701
+ [127.0.0.1]:5702]]
+```
+
+### `EventQueue`
+
+The `EventQueue` plugin checks the event queues of data structures, and samples the event types when a queue holds more events than a threshold. Use it to find out why an event queue is filling up.
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.event.queue.period.seconds`: Interval, in seconds, between the runs in which this plugin gathers information and writes it to the diagnostics log file. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.event.queue.threshold`: Minimum number of events in the queue before the plugin samples it. Its default value is `1000`.
+- `hazelcast.diagnostics.event.queue.samples`: Number of samples to take from the event queue. More samples give a more accurate result, but reduce performance. Its default value is `100`.
+
+The following example shows the output for a map:
+
+```none
+17-04-2019 17:36:37 EventQueues[
+ worker=1[
+ eventCount=441
+ sampleCount=100
+ samples[
+ IMap 'myMap' ADDED sampleCount=51 51.000%
+ IMap 'myMap' REMOVED sampleCount=49 49.000%]]
+```
+
+### `SystemLog`
+
+The `SystemLog` plugin shows the activity in your cluster, such as connections and members being added or removed, and changes in the lifecycle of the cluster. It also shows why connections were closed.
+
+To enable or disable the plugin, and to set whether it shows information about partition migrations, use the following properties:
+- `hazelcast.diagnostics.systemlog.enabled`: Whether the plugin is enabled. Its default value is `true`.
+- `hazelcast.diagnostics.systemlog.partitions`: Whether the plugin shows information about partition migrations. Its default value is `false`. If you enable it on a cluster with many partitions, the plugin can write a large number of log entries.
+
+The plugin does not write entries named `SystemLog`. Each event has its own entry name, such as `MemberAdded` or `ConnectionRemoved`. The following example shows the entries for a member that joins the cluster and then leaves it:
+
+```none
+19-11-2026 16:41:35 1795106495933 MemberAdded[
+ member=[127.0.0.1]:5702
+ Members[
+ [127.0.0.1]:5701:this:master
+ [127.0.0.1]:5702]]
+19-11-2026 16:42:03 1795106523931 ConnectionRemoved[
+ Connection[id=2, /127.0.0.1:5701->/127.0.0.1:61395, qualifier=null, endpoint=[127.0.0.1]:5702, remoteUuid=2d55806f-dddd-44d9-8ef9-99d8bf4589a2, alive=false, connectionType=MEMBER, planeIndex=0]
+ type=MEMBER
+ isAlive=false
+ closeReason=Connection closed by the other side
+ CloseCause[
+ java.io.EOFException: Remote socket closed!
+ com.hazelcast.internal.networking.nio.NioInboundPipeline.process(NioInboundPipeline.java:117)]]
+19-11-2026 16:42:04 1795106524930 MemberRemoved[
+ member=[127.0.0.1]:5702
+ Members[
+ [127.0.0.1]:5701:this:master]]
+```
+
+### `StoreLatency`
+
+The `StoreLatency` plugin shows statistics for each store. The statistics include the call count, the average and maximum latency, and the latency distribution of each store method, such as `load`, `loadAll`, and `loadAllKeys`.
+
+:::note
+
+You cannot enable the `StoreLatency` plugin dynamically.
+
+:::
+
+The following example shows the output in the diagnostics log file for a `MapStore`:
+
+```none
+17-9-2019 13:12:34 MapStoreLatency[
+ map[
+ loadAllKeys[
+ count=1
+ totalTime(us)=8
+ avg(us)=8
+ max(us)=8
+ latency-distribution[
+ 0..99us=1]]
+ load[
+ count=100
+ totalTime(us)=4,632,190
+ avg(us)=46,321
+ max(us)=99,178
+ latency-distribution[
+ 0..99us=1
+ 1600..3199us=3
+ 3200..6399us=3
+ 6400..12799us=7
+ 12800..25599us=13
+ 25600..51199us=32
+ 51200..102399us=41]]]]
+```
+
+The plugin writes one entry for each type of store, such as `MapStoreLatency` for map stores and loaders. It writes similar entries for JCache, `Queue`, and `Ringbuffer` data structures that use persistent data stores, such as `QueueStoreLatency` for queue stores.
+
+To configure the `StoreLatency` plugin, use the following properties:
+- `hazelcast.diagnostics.storeLatency.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The plugin is disabled by default. A sensible production value is `60` seconds.
+- `hazelcast.diagnostics.storeLatency.reset.period.seconds`: Interval, in seconds, at which the plugin resets the statistics. For example, with a value of `300`, the plugin clears all statistics every 5 minutes. Its default value is `0`, which means the plugin does not reset the statistics.
+
+### `OperationHeartbeats`
+
+The `OperationHeartbeats` plugin shows the deviation in operation heartbeats between members. Each member sends an operation heartbeat to every other member, whether or not an operation is running on behalf of that member. The heartbeat contains a list of the `callId` values of all running operations from a given member. This plugin also works between members and lite members.
+
+Members send operation heartbeats at an interval of a quarter of the operation call timeout. With the default call timeout of 60 seconds, a member expects an operation heartbeat every 15 seconds. Operation heartbeats are high-priority packets, which overtake regular packets. A separate thread in the invocation monitor processes them. If the interval between these packets deviates, the cause can be a problem such as network latency.
+
+The following example shows the output when a member has not received an operation heartbeat for 37 seconds:
+
+```none
+20-07-2017 11:12:55 OperationHeartbeat[
+ member[10.212.1.119]:5701[
+ deviation(%)=146.6666717529297
+ noHeartbeat(ms)=37,000
+ lastHeartbeat(ms)=1,500,538,338,603
+ lastHeartbeat(date-time)=20-07-2017 11:12:18
+ now(ms)=1,500,538,375,603
+ now(date-time)=20-07-2017 11:12:55]]
+```
+
+The `OperationHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
+
+To configure the `OperationHeartbeats` plugin, use the following properties:
+- `hazelcast.diagnostics.operation-heartbeat.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. Its default value is `10`. A value of `0` disables the plugin.
+- `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is `33`. For example, with the default call timeout of 60 seconds, the operation heartbeat interval is 15 seconds. A deviation percentage of 33 allows a maximum deviation of 5 seconds. A packet that arrives after 19 seconds is within the limit. If a packet arrives after 21 seconds, the plugin writes to the diagnostics file.
+
+### `MemberHeartbeats`
+
+The `MemberHeartbeats` plugin is similar to the `OperationHeartbeats` plugin, but it measures the deviation in cluster heartbeats between members instead of operation heartbeats. Every member sends a heartbeat to the other members every 5 seconds by default.
+
+Like the `OperationHeartbeats` plugin, the `MemberHeartbeats` plugin can detect networking problems long before they lead to problems such as split-brain syndrome.
+
+The following example shows the output when a member has not received a heartbeat from another member for 11 seconds:
+
+```none
+20-07-2017 19:32:22 MemberHeartbeats[
+ member[10.212.1.119]:5701[
+ deviation(%)=120.0
+ noHeartbeat(ms)=11,000
+ lastHeartbeat(ms)=1,500,568,331,645
+ lastHeartbeat(date-time)=20-07-2017 19:32:11
+ now(ms)=1,500,568,342,645
+ now(date-time)=20-07-2017 19:32:22]]
+```
+
+The `MemberHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
+
+To configure the `MemberHeartbeats` plugin, use the following properties:
+- `hazelcast.diagnostics.member-heartbeat.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. Its default value is `10`. A value of `0` disables the plugin.
+- `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is `100`. For example, if members send heartbeats every 5 seconds, a 100% deviation allows heartbeats to arrive up to 5 seconds after they are expected. The plugin does not write a heartbeat that arrives after 9 seconds, but writes one that arrives after 11 seconds.
+
+### `OperationThreadSamples`
+
+The `OperationThreadSamples` plugin samples the operation threads and checks the running operations and tasks. The Hazelcast [slow operation detector](../../develop-and-build/best-practices/threading.mdx#slowoperationdetector) is useful for slow operations, but it can be inefficient for a high volume of operations that are only slightly slow. The `OperationThreadSamples` plugin shows more clearly which operations are running.
+
+To configure the `OperationThreadSamples` plugin, use the following properties:
+- `hazelcast.diagnostics.operationthreadsamples.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. An efficient value for production is 30 seconds or more. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.operationthreadsamples.sampler.period.millis`: Interval, in milliseconds, between samples. A lower value increases both the overhead and the precision. Its default value is `100`.
+- `hazelcast.diagnostics.operationthreadsamples.includeName`: Whether to include the name of the data structure that the operation targets, if available, in the name of each sample. Its default value is `false`.
+
+The following example shows the output when the `hazelcast.diagnostics.operationthreadsamples.includeName` property is `false`:
+
+```none
+28-08-2019 07:40:07 1535442007330 OperationThreadSamples[
+ Partition[
+ com.hazelcast.map.impl.operation.MapSizeOperation=304623 85.6927%
+ com.hazelcast.map.impl.operation.PutOperation=33061 9.300304%
+ com.hazelcast.map.impl.operation.GetOperation=17799 5.0069904%]
+ Generic[
+ com.hazelcast.internal.nio.Packet=1767 27.361412%
+ com.hazelcast.internal.cluster.impl.operations.JoinRequestOp=821 12.712914%
+ com.hazelcast.spi.impl.operationservice.impl.operations.PartitionIteratingOperation=278 4.3047385%
+ com.hazelcast.internal.cluster.impl.operations.HeartbeatOp=93 1.4400743%
+ com.hazelcast.internal.cluster.impl.operations.OnJoinOp=89 1.3781357%
+ com.hazelcast.internal.cluster.impl.operations.WhoisMasterOp=75 1.1613503%]]
+```
+
+In this example, `MapSizeOperation` operations run on the operation threads most of the time.
+
+### `OverloadedConnections`
+
+The `OverloadedConnections` plugin checks the outgoing packet queue of each connection on the member. When a queue holds more packets than a threshold, the plugin samples the packets and shows the types of operation in them. Use it to find out what fills a connection when pending packets use a large amount of memory.
+
+:::warning
+
+To sample a packet, the plugin deserializes it, which has a high overhead. Use this plugin only for debugging, not in production.
+
+:::
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.overloaded.connections.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.overloaded.connections.threshold`: Minimum number of packets in the queue of a connection before the plugin samples it. Its default value is `10000`.
+- `hazelcast.diagnostics.overloaded.connections.samples`: Number of packets to sample from each overloaded connection. Its default value is `1000`.
+
+For each overloaded connection, the plugin shows the number of packets in the queue, as `packetCount` for regular packets or `urgentPacketCount` for priority packets. The following example shows its output with a threshold of `1`:
+
+```none
+19-11-2026 15:19:12 1795101552046 OverloadedConnections[
+ Connection[id=1, /127.0.0.1:59711->/127.0.0.1:5702, qualifier=null, endpoint=[127.0.0.1]:5702, remoteUuid=12af9f38-a99b-46b8-8b16-76b488a2d0aa, alive=true, connectionType=MEMBER, planeIndex=0][
+ urgentPacketCount=4
+ sampleCount=4
+ samples[
+ com.hazelcast.internal.partition.operation.MigrationRequestOperation sampleCount=4 100.000%]]]
+```
+
+### `NetworkingImbalance`
+
+The `NetworkingImbalance` plugin shows how the network load is spread across the input and output threads of a member or client. For each thread, it shows the number of frames, priority frames, bytes, events, handled events, and tasks. It also shows each value as a percentage of the total for all input or all output threads.
+
+To configure the plugin, use the following property:
+- `hazelcast.diagnostics.networking-imbalance.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+
+The following example shows part of its output:
+
+```none
+19-11-2026 16:41:43 1795106503933 NetworkingImbalance[
+ InputThreads[
+ hz.example.IO.thread-in-1[
+ frames-percentage=99.98 %
+ frames=5,272
+ priority-frames-percentage=100.00 %
+ priority-frames=15
+ bytes-percentage=99.99 %
+ bytes=2,950,734
+ events-percentage=99.95 %
+ events=4,052
+ handle-count-percentage=99.95 %
+ handle-count=4,049
+ tasks-percentage=50.00 %
+ tasks=9]]]
+```
+
+### `WAN`
+
+
+
+The `WAN` diagnostics plugin shows information about WAN replication.
+
+The plugin is disabled by default. To configure it, use the following property:
+- `hazelcast.diagnostics.wan.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. A value of `0` disables the plugin.
+
+The following shows an example of the output for a member with the WAN replication configuration `london` and the publisher `tokyo`:
+
+```none
+01-01-2026 12:00:00 1767268800000 WAN[
+ syncCount=0
+ updateCount=0
+ removeCount=0
+ syncState[
+ status=READY
+ activeWanConfigName=null
+ activePublisherName=null]
+ london[
+ tokyo[
+ outboundQueueSize=0
+ totalPublishedEventCount=1,000
+ totalPublishLatency=2,010
+ connected=true
+ state=REPLICATING
+ mapSentEvents-orders[
+ updateCount=1,000
+ removeCount=0
+ syncCount=0
+ droppedCount=0]
+ updateCount=1,000
+ removeCount=0
+ syncCount=0
+ droppedCount=0]]]
+```
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/health-check-and-monitoring.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/health-check-and-monitoring.mdx
new file mode 100644
index 00000000..a45e5758
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/health-check-and-monitoring.mdx
@@ -0,0 +1,264 @@
+---
+title: "Health check and monitoring"
+sidebar_position: 3
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast provides the following tools to check the health and status of a cluster:
+- The HTTP-based health check endpoint returns the state of a member and its cluster when another system requests it. For example, a load balancer can use it to send traffic only to active members.
+- The `hz-healthcheck` script calls the health check endpoint from the command line. Use it in your own scripts, for example to check that the cluster is safe before you shut down a member.
+- The health monitor utility writes the resource use of a member, such as memory, CPU, and garbage collection, to the member log. It is enabled by default. Use its log entries to find out why a member slowed down or failed.
+
+## Enable the health check endpoint
+
+How you enable the health check endpoint depends on whether you use the or the REST API.
+
+### REST API
+If you use the REST API, see [Get Started with REST API using Java](../../clients-and-apis/apis/enterprise-rest-api/get-started-rest-api-with-java.mdx) to learn how to enable the health check endpoint.
+
+After you enable the REST API, all its endpoints are available, including the health check endpoints, with no further configuration. For the available endpoints, how to make a request, and the expected responses, see the [Swagger documentation](../../clients-and-apis/apis/enterprise-rest-api/rest-api-swagger.mdx#tag/Health-Controller).
+
+### REST API
+If you use the REST API, enable the health check endpoint in the member configuration.
+
+:::warning[Deprecation of the Community Edition REST API]
+
+The [Community Edition REST API](../../clients-and-apis/apis/enterprise-rest-api/rest-api.mdx) has been deprecated and will be removed as of Hazelcast version 7.0. An improved Enterprise version of this feature is available and actively being developed. For more information, see [Enterprise REST API](../../clients-and-apis/apis/enterprise-rest-api/overview.mdx).
+
+:::
+
+The `hz-healthcheck` script also uses the health check endpoint. To enable the endpoint, use either of the following configuration elements:
+- The `network` configuration element:
+
+
+
+
+ ```xml
+
+ ...
+
+
+
+
+
+ ...
+
+ ```
+
+
+
+
+ ```yaml
+ hazelcast:
+ network:
+ rest-api:
+ enabled: true
+ endpoint-groups:
+ HEALTH_CHECK:
+ enabled: true
+ ```
+
+
+
+- The `advanced-network` configuration element:
+
+
+
+
+ ```xml
+
+ ...
+
+
+
+
+
+
+
+ ...
+
+ ```
+
+
+
+
+ ```yaml
+ hazelcast:
+ advanced-network:
+ enabled: true
+ rest-server-socket-endpoint-config:
+ endpoint-groups:
+ HEALTH_CHECK:
+ enabled: true
+ ```
+
+
+
+
+## Perform an HTTP-based health check
+
+The HTTP-based health check returns basic information about a member and its cluster. To use it, enable the health check endpoint, and then open `http://:5701/hazelcast/health` in a browser.
+
+The response shows the health status of the member and its cluster, such as the member state, the cluster state, and the cluster size. For example:
+
+```json
+{
+ "nodeState": "ACTIVE",
+ "clusterState": "ACTIVE",
+ "clusterSafe": false,
+ "migrationQueueSize": 0,
+ "clusterSize": 3
+}
+```
+
+The response has the following fields:
+- `nodeState`: State of the member that you query. See [Cluster and Member States](../maintaining-a-cluster/cluster-member-states.mdx#member-states) to learn more about the states of cluster members.
+- `clusterState`: State of the cluster that the member belongs to. See [Cluster and Member States](../maintaining-a-cluster/cluster-member-states.mdx#cluster-states) to learn more about cluster states.
+- `clusterSafe`: Whether the queried member is safe: there are no active partition migrations, and all backups are in sync for each partition that the member owns. See [Shutting Down Members and Clusters](../maintaining-a-cluster/shutdown.mdx#ensuring-members-and-clusters-are-in-a-safe-state) to learn how to check the safety of active clusters.
+
+ :::note
+
+ The `clusterSafe` indicator is useful when your cluster is in a passive state. If the cluster is in an active state, the value changes continually because the state of the cluster changes. Checking the cluster safety also triggers extra operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load can affect cluster performance.
+
+ :::
+- `migrationQueueSize`: Number of remaining migration tasks while the cluster data is being repartitioned. See [Data Partitioning](../../develop-and-build/architecture/data-partitioning.mdx) to learn about Hazelcast's partitioning mechanism.
+- `clusterSize`: Number of members in the cluster.
+
+## Use the `hz-healthcheck` script {/* #health-check-script */}
+
+The Hazelcast package includes the `hz-healthcheck` script. The script calls the HTTP-based health check endpoint of the REST API.
+
+To run the script, enable the health check endpoint, and then run the script with the parameters that you need:
+
+```bash
+./hz-healthcheck
+```
+
+The script accepts the following parameters:
+
+| Parameter | Default value | Description |
+|---|---|---|
+| `-o` or `--operation` | `all` | Health check operation. It can be `all`, `node-state`, `cluster-state`, `cluster-safe`, `migration-queue-size`, or `cluster-size`.
The `cluster-safe` operation is useful when your cluster is in a passive state. If the cluster is in an active state, the value changes continually because the state of the cluster changes. Checking the cluster safety also triggers extra operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load can affect cluster performance. |
+| `-a` or `--address` | `127.0.0.1` | IP address of the member to query. To check a remote cluster, set it to the IP address of one of its members. |
+| `-p` or `--port` | `5701` | Port of the member on the local or remote machine. |
+| `-h` or `--help` | No argument | Lists the parameter descriptions. It works only as the first parameter. |
+| `-d` or `--debug` | No argument | Prints error output. |
+| `--https` | No argument | Uses HTTPS for REST calls. |
+| `--cacert` | Set of well-known CA certificates | Path of the trusted PEM-encoded certificate file. The script uses it to verify member certificates. |
+| `--cert` | None | Path of the PEM-encoded client certificate file. Required only for client certificate authentication. |
+| `--key` | None | Path of the PEM-encoded client private key file. Required only for client certificate authentication. |
+| `--insecure` | No argument | Disables member certificate verification. |
+
+The following example checks the state of a healthy member at the address `127.0.0.1:5701`:
+
+```none
+./hz-healthcheck -a 127.0.0.1 -p 5701 -o node-state
+ACTIVE
+```
+
+The following example checks the safety of a cluster that has no member at the address `127.0.0.1:5701`. The script prints an error:
+
+```none
+./hz-healthcheck -a 127.0.0.1 -p 5701 -o cluster-safe
+Error while checking health of hazelcast cluster on ip 127.0.0.1 on port 5701.
+Please check that cluster is running and that health check is enabled in REST API configuration.
+```
+
+## Use the health monitor utility
+
+The health monitor regularly prints log entries with information about the state of the member. It is enabled by default.
+
+To set the interval between log entries, use the `hazelcast.health.monitoring.delay.seconds` system property. Its default value is 20 seconds.
+
+To set the level of the health monitor, use the `hazelcast.health.monitoring.level` system property. It accepts the following values:
+- `OFF`: Disables the health monitor.
+- `NOISY`: Prints log entries at every interval.
+- `SILENT`: Prints log entries only when a value exceeds a threshold. This is the default value.
+
+In the `SILENT` level, the health monitor prints log entries when one of the following values exceeds its threshold:
+- Memory percentage, set with the `hazelcast.health.monitoring.threshold.memory.percentage` system property. Its default value is `70`.
+- CPU percentage, set with the `hazelcast.health.monitoring.threshold.cpu.percentage` system property. Its default value is `70`.
+- Pending invocations, when they exceed 70% or a count of 1000.
+
+The following example shows the output of the health monitor:
+
+```none vars
+Sep 08, 2017 5:02:28 PM com.hazelcast.internal.diagnostics.HealthMonitor
+
+INFO: [192.168.2.44]:5701 [host-name] [{full-version}] processors=4, physical.memory.total=16.0G, physical.memory.free=5.5G, swap.space.total=0, swap.space.free=0, heap.memory.used=102.4M,
+
+heap.memory.free=249.1M, heap.memory.total=351.5M, heap.memory.max=3.6G, heap.memory.used/total=29.14%, heap.memory.used/max=2.81%, minor.gc.count=4, minor.gc.time=68ms, major.gc.count=1,
+
+major.gc.time=41ms, load.process=0.44%, load.system=1.00%, load.systemAverage=3.15, thread.count=97, thread.peakCount=98, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0,
+
+executor.q.client.size=0, executor.q.client.query.size=0, executor.q.client.blocking.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.size=0,
+
+executor.q.priorityOperation.size=0, operations.completed.count=226, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0,
+
+operations.running.count=0, operations.pending.invocations.percentage=0.00%, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=1,
+
+connection.active.count=2, client.connection.count=1, connection.count=1
+```
+
+:::note
+
+See [Configuring with System Properties](../configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to set system properties.
+
+:::
+
+## Use health check on F5 BIG-IP LTM
+
+You can use the F5® BIG-IP® Local Traffic Manager™ (LTM) as a load balancer for Hazelcast members. To check the state of each member, configure an LTM monitor.
+
+
+You can use the following types of LTM monitor to track Hazelcast members:
+- HTTP monitor: Sends a request to the Hazelcast health check endpoint over HTTP. Use it when SSL/TLS is not enabled in your cluster.
+- HTTPS monitor: Sends a request to the Hazelcast health check endpoint over HTTPS. Use it when SSL/TLS is enabled in your cluster.
+- `TCP_HALF_OPEN` monitor: Checks only that the TCP port that Hazelcast uses is open and accepts connections. It does not call the health check endpoint. You can use it with or without SSL/TLS.
+
+
+Sign in to the BIG-IP LTM user interface, and create a monitor as described in the [F5 documentation on LTM monitors](https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-monitors-reference-11-6-0/3.html#unique_859105660). Then apply the configuration for your monitor type.
+
+### HTTP/HTTPS monitors
+
+:::note
+
+HTTP and HTTPS Local Traffic Manager monitors need the Hazelcast health check endpoint. Enable it with the `advanced-network` or the `network` configuration element.
+
+:::
+
+To use a GET request, set the following fields:
+- Set **Send String** to the following:
+
+ ```none
+ GET /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
+ ```
+- Set **Receive String** to the following:
+
+ ```none
+ {"nodeState":"ACTIVE","clusterState":"ACTIVE","clusterSafe":true,"migrationQueueSize":0,"clusterSize":([^\s]+)}
+ ```
+
+LTM monitors accept regular expressions in these strings. The **Receive String** in this example matches any cluster size. The monitor therefore stays green when the cluster size changes.
+
+To use a HEAD request, set the following fields:
+- Set **Send String** to the following:
+
+ ```none
+ HEAD /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
+ ```
+- Set **Receive String** to the following:
+
+ ```none
+ 200 OK
+ ```
+
+A HEAD request checks only for a `200 OK` response. A member sends this status code whenever its REST endpoint handles the request. The status code does not depend on the member state or the cluster state. A HEAD request therefore checks only that the endpoint responds. For a check that also covers the member state and the cluster state, we recommend a GET request.
+
+### `TCP_HALF_OPEN` monitors
+
+To use a `TCP_HALF_OPEN` monitor, set the following fields:
+- **Type**: `TCP Half Open`
+- **Alias Service Port**: Optional. The port of the Hazelcast member, if you want to set the port in the monitor
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/instance-tracking.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/instance-tracking.mdx
new file mode 100644
index 00000000..4d94f970
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/instance-tracking.mdx
@@ -0,0 +1,136 @@
+---
+title: "Instance tracking"
+sidebar_position: 6
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Instance tracking writes a file of metadata about a Hazelcast instance when the instance starts. The metadata includes the product name, the version, and the process ID. Other programs can read these files to find out which Hazelcast instances have run on a machine. Members and clients of both and support instance tracking. It is disabled by default.
+
+The instance does not delete the file when it shuts down. The file therefore remains on the machine as a record that the instance ran. If the instance cannot write the file, it logs a warning and starts anyway.
+
+## Configure instance tracking {/* #instance-tracking-configuration */}
+
+You configure instance tracking in the member configuration. The following example enables instance tracking, sets the path of the file, and sets a pattern for its contents:
+
+```java
+Config config = new Config();
+config.getInstanceTrackingConfig()
+ .setEnabled(true)
+ .setFileName("/tmp/hz-tracking.txt")
+ .setFormatPattern("$HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}");
+```
+
+The equivalent declarative configuration is as follows:
+
+
+
+
+```xml
+
+
+ /tmp/hz-tracking.txt
+ $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
+
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ instance-tracking:
+ enabled: true
+ file-name: /tmp/hz-tracking.txt
+ format-pattern: $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
+```
+
+
+
+
+Instance tracking has the following settings:
+
+| Setting | Description | Default |
+| --- | --- | --- |
+| `enabled` | Whether the instance writes a tracking file | `false` |
+| `file-name` | The path of the tracking file | `Hazelcast.process` in the directory that the `java.io.tmpdir` system property names |
+| `format-pattern` | The pattern for the contents of the file | All the metadata as JSON |
+
+To configure instance tracking for a client, add the same settings to the client configuration.
+
+An instance overwrites any existing file at the configured path. To give each instance its own file, add placeholders to the filename. For example, the filename `Hazelcast-$HZ_INSTANCE_TRACKING{pid}-$HZ_INSTANCE_TRACKING{start_timestamp}.process` contains the process ID and the start time. The filename is therefore different each time an instance starts.
+
+## Use placeholders
+
+The filename and the format pattern can contain placeholders in the form `$HZ_INSTANCE_TRACKING{}`. The `HZ_INSTANCE_TRACKING` prefix distinguishes them from other placeholders in the configuration. When the instance writes the file, it replaces each placeholder with its value.
+
+The following placeholders are available:
+
+| Placeholder | Value |
+| --- | --- |
+| `product` | The product name: `Hazelcast`, `Hazelcast Enterprise`, `Hazelcast Client`, or `Hazelcast Client Enterprise` |
+| `version` | The Hazelcast version of the instance |
+| `mode` | `server` for a member started with the `hz-start` or `hz-start.bat` script, `embedded` for a member embedded in another Java program, or `client` for a client |
+| `start_timestamp` | The time the instance started, in milliseconds since the Unix epoch |
+| `licensed` | `1` if the instance uses a license, or `0` if it does not |
+| `pid` | The process ID of the instance |
+
+If a placeholder name is not in this table, the instance writes the placeholder unchanged and continues with the next one. If a placeholder has no closing brace, the instance writes the rest of the pattern unchanged, including any placeholders that follow.
+
+For example, the following format pattern contains a placeholder name that does not exist and a placeholder with no closing brace:
+
+```java
+String format = "mode: $HZ_INSTANCE_TRACKING{mode}\n"
+ + "product: $HZ_INSTANCE_TRACKING{product}\n"
+ + "licensed: $HZ_INSTANCE_TRACKING{licensed}\n"
+ + "missing: $HZ_INSTANCE_TRACKING{missing}\n"
+ + "broken: $HZ_INSTANCE_TRACKING{broken ";
+```
+
+An embedded member with no license writes the following file:
+
+```properties
+mode: embedded
+product: Hazelcast
+licensed: 0
+missing: $HZ_INSTANCE_TRACKING{missing}
+broken: $HZ_INSTANCE_TRACKING{broken
+```
+
+## Read the default file contents
+
+If you do not set a format pattern, the file contains every placeholder and its value as JSON.
+
+A client writes a file such as the following:
+
+```json
+{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"client", "start_timestamp":1595851430741, "licensed":0}
+```
+
+A member started with the `hz-start` script writes a file such as the following:
+
+```json
+{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"server", "start_timestamp":1595851430741, "licensed":1}
+```
+
+A member embedded in another Java program writes a file such as the following:
+
+```json
+{"product":"Hazelcast", "version":"5.0.0", "pid":27746, "mode":"embedded", "start_timestamp":1595851430741, "licensed":1}
+```
+
+## Find the tracking file of a running instance
+
+When an instance writes its tracking file, it sets the `hazelcast.config.instance.tracking.file` system property of its JVM to the full path of the file. To check that each running instance writes its file to the right path, read this property with the [`jcmd`](https://docs.oracle.com/en/java/javase/13/docs/specs/man/jcmd.html) utility. Replace `` with the process ID of the JVM:
+
+```shell
+jcmd VM.system_properties | grep hazelcast.config.instance.tracking.file
+```
+
+The output is similar to the following:
+
+```shell
+hazelcast.config.instance.tracking.file=/tmp/Hazelcast.process
+```
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/metrics.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/metrics.mdx
new file mode 100644
index 00000000..ca34d039
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/metrics.mdx
@@ -0,0 +1,404 @@
+---
+title: "Metrics"
+sidebar_position: 2
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+import CodeBlock from "@theme/CodeBlock";
+import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../examples/management/ExampleLocalMapStats.java?tag=lms";
+import Ex_management_ExampleLocalIndexStats_java_tag_lis from "../../examples/management/ExampleLocalIndexStats.java?tag=lis";
+import Ex_management_ExampleNearCacheStats_java_tag_ncs from "../../examples/management/ExampleNearCacheStats.java?tag=ncs";
+import Ex_management_ExampleMultiMapStats_java_tag_mms from "../../examples/management/ExampleMultiMapStats.java?tag=mms";
+import Ex_management_ExampleQueueStats_java_tag_qs from "../../examples/management/ExampleQueueStats.java?tag=qs";
+import Ex_management_ExampleTopicStats_java_tag_ts from "../../examples/management/ExampleTopicStats.java?tag=ts";
+import Ex_management_ExampleExecutorStats_java_tag_es from "../../examples/management/ExampleExecutorStats.java?tag=es";
+import Ex_management_MetricsConfiguration_java_tag_member from "../../examples/management/MetricsConfiguration.java?tag=member";
+import Ex_management_MetricsConfiguration_java_tag_client from "../../examples/management/MetricsConfiguration.java?tag=client";
+
+Hazelcast exposes various metrics to facilitate monitoring of the cluster state. They are `` key-value pairs of data that capture the runtime information about the members and clients in a Hazelcast cluster. Such a metric can be the number of entries stored in a particular `IMap` on a given member, JVM metrics like used heap, OS metrics like load average, and so on.
+
+The metrics system is responsible for collecting these metrics and making them available for the [consumers](#exposing-metrics) of the metrics. There are a few hundred metrics collected during every metrics collection cycle by default, and this number grows as more features and data structures are used. This is because every data structure provides its own metrics. For example, if there are two `IMap`s used in a cluster, both `IMap`s produce their metrics on every member.
+
+Metrics have associated tags which describe which object the metric applies to. For example, the tags for job metrics typically indicate the specific DAG vertex and processor the metric belongs to.
+
+Each metric instance provided belongs to a particular Hazelcast cluster member. Different cluster members can have their own versions of the same metric with different values.
+
+The metric collection runs in regular intervals on each member, but note that the metric collection on different cluster members happens at different moments in time. If you try to correlate metrics from different members, they may have different timestamps.
+
+## Hazelcast metrics
+
+There is a wide range of metrics and statistics provided by Hazelcast:
+- Cluster-wide metrics
+- Statistics of distributed data structures
+- Executor statistics
+- Partition-related statistics (state, migration, replication)
+- Garbage collection statistics
+- Memory statistics for the JVM that the current Hazelcast member belongs to, for example total physical/free OS memory, max/committed/used/free heap memory, or max/committed/used/free native memory
+- Network traffic-related statistics (traffic and queue sizes)
+- Class loading-related statistics
+- Thread count information (current, peak and daemon thread counts)
+- Job-specific metrics
+
+See the full list of Hazelcast metrics in [List of Hazelcast Metrics](../../reference/list-of-metrics.mdx).
+
+:::note
+
+Metric names can change between minor versions, but not between patch versions. For the compatibility guarantees of each Hazelcast component, see [Supported versions](../../install-and-upgrade/overview/versioning-compatibility.mdx#versioning-and-compatibility-guarantees).
+
+:::
+
+### User-defined metrics
+
+User-defined metrics are actually a subset of [job metrics](../../reference/list-of-metrics.mdx#job-metrics). What distinguishes them from regular job-specific metrics is exactly what their name implies: they are not built-in, but defined when processing pipelines are written.
+
+Since user-defined metrics are also job metrics, they have all the tags job metrics have. They also have an extra tag, called `user`, which is set to `true`.
+
+:::note
+
+Because of their extra tag, user-defined metrics cannot overwrite a built-in metric, even if they have the exact same name.
+
+:::
+
+For example, to monitor your filtering step, you can write code like this:
+
+```java
+p.readFrom(source)
+ .filter(l -> {
+ boolean pass = l % 2 == 0;
+ if (!pass) {
+ Metrics.metric("dropped").increment();
+ }
+ Metrics.metric("total").increment();
+ return pass;
+ })
+ .writeTo(sink);
+```
+
+User-defined metrics can be used anywhere in pipeline definitions where custom code can be added. The most important places are filtering, mapping, and flat-mapping functions, various constituent functions of aggregations (accumulate, create, combine, deduct, export, and finish), and the key extraction function when grouping. They can also be used in [custom batch sources](../../develop-and-build/building-data-pipelines/ingesting-data-from-sources/custom-batch-source.mdx), [custom stream sources](../../develop-and-build/building-data-pipelines/ingesting-data-from-sources/custom-stream-source.mdx), [custom sinks](../../develop-and-build/building-data-pipelines/sending-results-to-sinks/custom-sink.mdx), processors, and so on.
+
+## Exposing metrics
+
+Use these tools and interfaces to expose the metrics to the outside world:
+-
+- JMX
+- [Diagnostics](./diagnostics.mdx)
+- Prometheus
+- Job API
+
+### Management Center
+
+Management Center receives the metrics used for building its view about the Hazelcast cluster from the metrics system. The members collect their metrics with the frequency defined with `collection-frequency-seconds`, which is by default once in every 5 seconds.
+
+The member saves the collected metrics into a blob stored in an in-memory buffer. The blob then is retained for the time configured in the `retention-seconds` under the `management-center` configuration block. This is also 5 seconds by default, which means there is at most one blob stored by default. Management Center periodically reads the metrics from this buffer. A blob stays in the buffer until a newer blob replaces it.
+
+The client metrics are also stored in these blobs on the member side with timestamps assigned to them on the client side.
+
+See the for more information.
+
+### JMX
+
+Hazelcast exposes all its metrics using the JVM's standard JMX interface. You can use tools such as Java Mission Control or JConsole to display them.
+
+To connect a JMX client to a member, see [Monitoring with JMX](./monitoring-with-jmx.mdx). That page also describes a separate set of MBeans for data structures and internal services, which you enable with the `hazelcast.jmx` property. The metrics do not need that property. The `jmx` element of the `metrics` configuration controls them, and it is enabled by default.
+
+The Hazelcast metrics are exposed under `com.hazelcast/Metrics/$INSTANCE_NAME` where `$INSTANCE_NAME` is the name of the member or client instance to which the JMX client is connected.
+
+[Jet engine](../../develop-and-build/building-data-pipelines/overview.mdx#what-is-the-jet-engine)-related beans are stored under `com.hazelcast.jet/Metrics//` node, and the various tags they have form further sub-nodes in the resulting tree structure.
+
+### Prometheus
+
+[Prometheus](https://prometheus.io/docs/prometheus/latest/getting_started) is a monitoring system and time series database. Setting up monitoring via Prometheus consists of two steps. The first step is exposing an HTTP endpoint with metrics. The second step is setting up Prometheus server, which pulls the metrics in a specified interval.
+
+The Prometheus Java agent is already part of the Hazelcast distribution. Enable the agent and expose all metrics via HTTP endpoint by setting an environment variable `PROMETHEUS_PORT`. You can change the port to any available port:
+
+```bash
+PROMETHEUS_PORT=8080 bin/hz-start
+```
+
+You should see the following line printed to the logs:
+
+```text
+Prometheus enabled on port 8080
+```
+
+The metrics are available on `http://localhost:8080`.
+
+:::note
+
+You need to configure Prometheus to scrape each member individually, manage changes from scaling and restarts, and collate the metrics from all members.
+
+If you are an Enterprise customer, you can configure Prometheus to scrape metrics from Management Center to collect metrics for the whole cluster. See .
+
+:::
+
+### Job API
+
+The `Job` class has a method which returns a instance. It contains the latest known metric values for the job.
+
+This functionality has been developed primarily to give access to metrics of finished jobs, but can in fact be used for jobs in any state. For details on how to use and filter the metric values consult the .
+
+A simple example for computing the number of data items emitted by a certain vertex, `vertexA`, excluding items emitted to the snapshot, looks like this:
+
+```java
+Predicate vertexOfInterest =
+ MeasurementPredicates.tagValueEquals(MetricTags.VERTEX, "vertexA");
+Predicate notSnapshotEdge =
+ MeasurementPredicates.tagValueEquals(MetricTags.ORDINAL, "snapshot").negate();
+
+Collection measurements = jobMetrics
+ .filter(vertexOfInterest.and(notSnapshotEdge))
+ .get(MetricNames.EMITTED_COUNT);
+
+long totalCount = measurements.stream().mapToLong(Measurement::value).sum();
+```
+
+## Configuration
+
+Metrics collection is enabled by default. You can configure the metrics system declaratively, in the XML or YAML [configuration file](../configuration/static-configuration/configuring-declaratively.mdx), or programmatically, with the [Java API](../configuration/static-configuration/configuring-programmatically.mdx). The following example shows the member configuration with the default values:
+
+
+
+
+```xml
+
+
+ 5
+
+
+ 5
+
+```
+
+
+
+
+```yaml
+metrics:
+ enabled: true
+ management-center:
+ enabled: true
+ retention-seconds: 5
+ jmx:
+ enabled: true
+ collection-frequency-seconds: 5
+```
+
+
+
+
+{Ex_management_MetricsConfiguration_java_tag_member}
+
+
+
+
+You can override each setting in the `metrics` configuration with a [Hazelcast property](../../reference/system-properties.mdx). Set the property in the `properties` section of the member configuration, or as a JVM system property, such as `-Dhazelcast.metrics.enabled=false`. If you set both, the member uses the value from the `properties` section. The member logs each override when it starts. The following properties override the `metrics` configuration:
+- `hazelcast.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
+- `hazelcast.metrics.mc.enabled`: Enables buffering the collected metrics for Management Center if set to `true`, disables it otherwise.
+- `hazelcast.metrics.mc.retention`: Duration, in seconds, for which the metrics are retained for Management Center.
+- `hazelcast.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
+- `hazelcast.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
+
+The `hazelcast.metrics.debug.enabled` property has no element in the `metrics` configuration. If it is `true`, the member collects debug metrics. Enable it only if [diagnostics](./diagnostics.mdx) is enabled, because only the diagnostics feature consumes the debug metrics.
+
+The client configuration is similar. It lacks the Management Center configuration block (`management-center` configuration element), as shown below. This is because the clients are not connected to Management Center and the client metrics are sent to Management Center through a member to which the client is connected.
+
+
+
+
+```xml
+
+
+ 5
+
+```
+
+
+
+
+```yaml
+metrics:
+ enabled: true
+ jmx:
+ enabled: true
+ collection-frequency-seconds: 5
+```
+
+
+
+
+{Ex_management_MetricsConfiguration_java_tag_client}
+
+
+
+
+You can override the client `metrics` configuration in the same way, with the following properties:
+- `hazelcast.client.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
+- `hazelcast.client.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
+- `hazelcast.client.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
+
+The `hazelcast.client.metrics.debug.enabled` property has no element in the `metrics` configuration. If it is `true`, the client collects debug metrics. Enable it only if [diagnostics](./diagnostics.mdx) is enabled, because only the diagnostics feature consumes the debug metrics.
+
+## Performance
+
+The metrics system is designed to make the least possible impact on the performance of the cluster. Since the metrics collection takes place periodically with a few seconds frequency, the main focus is keeping allocation rates and memory footprint at minimum. Therefore, the blobs that store the metrics for Management Center are stored in the memory in a compressed format. The measurements that use multiple `IMap`s to scale up the number of metrics show that one blob occupies only a few kilobytes. It grows above 10 KB only if there are more than 1000 `IMap`s.
+
+The allocation rate of a metric collection cycle is also low. With both Management Center and JMX consumers enabled, the allocation rate with 100 `IMap`s is below 256 KB per cycle, and it grows above 1 MB with 1000 `IMap`s. This means that metrics collection does not increase the frequency of the garbage collection (GC) noticeably.
+
+While the metrics collection is considered GC friendly, the blobs are not recycled. Take the frequency of the GC into account when you configure the retention time. This prevents the blobs from getting promoted into the tenured region of the heap, where they contribute to major GCs over time.
+
+
+## Member statistics
+
+You can get various statistics from your distributed data structures with the `getLocalStats()` method of each data structure, such as `IMap.getLocalMapStats()`. These methods return statistics from the member that you call them on, not from the whole cluster.
+
+Entry statistics, such as the owned entry count, cover the data in the [partitions](../../develop-and-build/architecture/data-partitioning.mdx) that the member owns. Backup statistics cover the backups that the member holds. For maps, operation statistics, such as put counts and latencies, cover the calls that go through the member, whichever member owns the data. These calls come from the member's own code or from clients connected to it.
+
+Each data structure has a `statistics-enabled` configuration setting, which is `true` by default. If you set it to `false`, the member leaves the data structure out of the statistics that it reports to the metrics system and . The effect on the local statistics that the API returns depends on the data structure:
+
+| Data structure | Effect on local statistics |
+| --- | --- |
+| `IMap` | The member does not record operation counts, latencies, or index statistics. Entry counts and memory costs are still available. |
+| `MultiMap` | The member does not record operation counts or latencies, except for `putAll()` calls, transactional puts, and received events. Entry counts are still available. |
+| Queue | None. The member still records all queue statistics. |
+| Topic and reliable topic | None. The member still records publish and receive counts. |
+| Executor service | The member does not record any statistics. The `getLocalExecutorStats()` method returns zero values. |
+
+### Map statistics
+
+To get local map statistics, use the `getLocalMapStats()` method from the `IMap` interface. This method returns a `LocalMapStats` object that holds local map statistics.
+
+This example code shows how `getLocalMapStats()` and `getOwnedEntryCount()` can get the number of entries owned by this member:
+
+{Ex_management_ExampleLocalMapStats_java_tag_lms}
+
+
+For more details on map statistics, see [Reading Map Metrics](../../develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx).
+
+### Map index statistics
+
+To access map index statistics, if you are using indexes to speed up map queries, use the `getIndexStats()` method of the `LocalMapStats` interface returned by `IMap.getLocalMapStats()`.
+
+Below is an example where the `getIndexStats()` method is used to examine an average selectivity of index hits:
+
+{Ex_management_ExampleLocalIndexStats_java_tag_lis}
+
+The following are some of the metrics that you can obtain via the `LocalIndexStats` interface:
+- Number of queries and hits into an index (`getQueryCount()` and `getHitCount()`). The number of hits and queries may differ since a single query may hit the same index more than once.
+- Average index hit latency measured in nanoseconds (`getAverageHitLatency()`).
+- Average index hit selectivity (`getAverageHitSelectivity`). Returned values are in the range from 0.0 to 1.0. Values close to 1.0 indicate a high selectivity meaning the index is efficient; values close to 0.0 indicate a low selectivity meaning the index efficiency is approaching an efficiency of a simple full scan.
+- Number of index insert, update and remove operations (`getInsertCount()`, `getUpdateCount()` and `getRemoveCount()`).
+- Total latencies of insert, update and remove operations (`getTotalInsertLatency()`, `getTotalUpdateLatency()`, `getTotalRemoveLatency()`). To compute an average latency, divide the returned value by the number of operations of a corresponding type.
+- Memory cost of an index (`getMemoryCost()`). For on-heap storage, this memory cost metric value is a best-effort approximation and does not indicate a precise on-heap memory usage of an index.
+
+See the to see all the metrics.
+
+To compute an aggregated value of `getAverageHitSelectivity()` for all cluster members, you can use a simple averaging computation as shown below:
+
+```none
+(s(1) + s(2) + ... + s(n)) / n
+```
+
+In this computation, `s(i)` is an average hit selectivity on the member `i` and `n` is the total number of cluster members.
+
+A more advanced solution is to compute a weighted average as shown below:
+
+```none
+(s(1) * h(1) + s(2) * h(2) + ... + s(n) * h(n)) / (h(1) + h(2) + ... + h(n))
+```
+
+Here, `s(i)` is an average hit selectivity on the member `i`, `h(i)` is a hit count (`getHitCount()`) on the member `i` and `n` is the total number of cluster members. This more advanced solution may produce more precise results in unstable dynamic clusters where new members do not have enough statistics accumulated. The same technique may be applied to the `getAverageHitLatency()` metric.
+
+Note the following about accuracy and reliability:
+- For on-heap storage, values returned by `getAverageHitSelectivity()` may be 1% more or less than the actual selectivity. For example, if the actual selectivity is 0.9, the returned value could be between 0.89 and 0.91.
+- The values returned by `getQueryCount()` and `getHitCount()` may be imprecise for queries involving partition predicates (`PartitionPredicate`) on off-heap storage.
+- The index statistics may be imprecise after a new cluster member addition or the existing member removal. They stay imprecise until enough fresh statistics are accumulated on a new owner of an index or its partition.
+
+### Near Cache statistics
+
+To get Near Cache statistics, use the `getNearCacheStats()` method from the `LocalMapStats` object. This method returns a `NearCacheStats` object that holds Near Cache statistics.
+
+Below is an example where the `getNearCacheStats()` method and the `getRatio()` method from `NearCacheStats` get a Near Cache hit/miss ratio.
+
+{Ex_management_ExampleNearCacheStats_java_tag_ncs}
+
+The following are some of the metrics that you can access via the `NearCacheStats` object (applies to both client and member Near Caches):
+- Creation time of the Near Cache on the member (`getCreationTime()`)
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Memory cost (number of bytes) of owned entries in the Near Cache (`getOwnedEntryMemoryCost()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+
+See the to see all the metrics.
+
+### `MultiMap` statistics
+
+To get `MultiMap` statistics, use the `getLocalMultiMapStats()` method from the `MultiMap` interface. This method returns a `LocalMultiMapStats` object that holds local `MultiMap` statistics.
+
+Below is an example where the `getLocalMultiMapStats()` method and the `getLastUpdateTime()` method from `LocalMultiMapStats` get the last update time.
+
+{Ex_management_ExampleMultiMapStats_java_tag_mms}
+
+The following are some of the metrics that you can access via the `LocalMultiMapStats` object:
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Number of backup entries held by the member (`getBackupEntryCount()`)
+- Number of backups per entry (`getBackupCount()`)
+- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
+- Creation time of the `MultiMap` on the member (`getCreationTime()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
+
+See the to see all the metrics.
+
+### Queue statistics
+
+To get local queue statistics, use the `getLocalQueueStats()` method from the `IQueue` interface. This method returns a `LocalQueueStats` object that holds local queue statistics.
+
+Below is an example where the `getLocalQueueStats()` method and the `getAverageAge()` method from `LocalQueueStats` get the average age of items.
+
+{Ex_management_ExampleQueueStats_java_tag_qs}
+
+The following are some of the metrics that you can access via the `LocalQueueStats` object:
+- Number of owned items in the member (`getOwnedItemCount()`)
+- Number of backup items in the member (`getBackupItemCount()`)
+- Minimum and maximum ages of the items in the member (`getMinAge()` and `getMaxAge()`)
+- Number of offer, put and add operations (`getOfferOperationCount()`)
+
+See the to see all the metrics.
+
+### Topic statistics
+
+To get local topic statistics, use the `getLocalTopicStats()` method from the `ITopic` interface. This method returns a `LocalTopicStats` object that holds local topic statistics.
+
+Below is an example where the `getLocalTopicStats()` method and the `getPublishOperationCount()` method from `LocalTopicStats` get the number of publish operations.
+
+{Ex_management_ExampleTopicStats_java_tag_ts}
+
+The following are the metrics that you can access via the `LocalTopicStats` object:
+- Creation time of the topic on the member (`getCreationTime()`)
+- Total number of published messages of the topic on the member (`getPublishOperationCount()`)
+- Total number of received messages of the topic on the member (`getReceiveOperationCount()`)
+
+See the to see all the metrics.
+
+:::note
+
+If you remove a `MessageListener` from a `ReliableTopic`, the member can still count the messages that the listener's last pending read returns.
+
+The received-message count can therefore be higher than the number of messages that listeners processed. The count can be too high by up to the [`read-batch-size`](../../develop-and-build/distributed-data-structures/ap-data-structures/reliable-topic.mdx#configuring-reliable-topic) of the topic, which is 10 by default, for each listener that you remove.
+
+:::
+
+### Executor statistics
+
+To get local executor statistics, use the `getLocalExecutorStats()` method from the `IExecutorService` interface. This method returns a `LocalExecutorStats` object that holds local executor statistics.
+
+Below is an example where the `getLocalExecutorStats()` method and the `getCompletedTaskCount()` method from `LocalExecutorStats` get the number of completed operations of the executor service.
+
+{Ex_management_ExampleExecutorStats_java_tag_es}
+
+The following are some of the metrics that you can access via the `LocalExecutorStats` object:
+- Number of pending operations of the executor service (`getPendingTaskCount()`)
+- Number of started operations of the executor service (`getStartedTaskCount()`)
+- Number of completed operations of the executor service (`getCompletedTaskCount()`)
+
+See the to see all the metrics.
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/monitoring-with-jmx.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/monitoring-with-jmx.mdx
new file mode 100644
index 00000000..a954ec18
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/monitoring-with-jmx.mdx
@@ -0,0 +1,396 @@
+---
+title: "Monitoring with JMX"
+sidebar_position: 5
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+You can monitor Hazelcast members with JMX. When you enable JMX, each member registers MBeans for its distributed data structures and its internal services. Any JMX client, such as JConsole, can read the attributes of these MBeans and call their operations.
+
+Hazelcast also exposes its [metrics](./metrics.mdx#jmx) over JMX. The metrics MBeans do not need the `hazelcast.jmx` property. The `jmx` element of the `metrics` configuration controls them, and it is enabled by default.
+
+## Enable JMX
+
+To monitor a member with JMX, enable the JMX agent of the member's JVM, and then enable JMX in Hazelcast.
+
+Start the JVM with the following system properties to enable the [JMX agent](https://docs.oracle.com/en/java/javase/17/management/monitoring-and-management-using-jmx-technology.html):
+
+| System property | Effect |
+| --- | --- |
+| `-Dcom.sun.management.jmxremote` | Enables the JMX agent |
+| `-Dcom.sun.management.jmxremote.port=` | Optional. Accepts remote connections on the given port. |
+| `-Dcom.sun.management.jmxremote.authenticate=false` | Optional. Turns off password authentication of JMX connections. |
+
+Then set the `hazelcast.jmx` property to `true`. The default is `false`.
+
+
+
+
+```xml
+
+ ...
+
+ true
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ properties:
+ hazelcast.jmx: true
+```
+
+
+
+
+```java
+config.setProperty("hazelcast.jmx", "true");
+```
+
+
+
+
+```xml
+
+ true
+
+```
+
+
+
+
+```shell
+-Dhazelcast.jmx=true
+```
+
+
+
+
+## MBean names
+
+Each Hazelcast MBean has an object name in the `com.hazelcast` domain. The object name has the following keys:
+
+| Key | Value |
+| --- | --- |
+| `instance` | The name of the Hazelcast instance |
+| `type` | The type of the MBean, such as `IMap` or `HazelcastInstance.Node` |
+| `name` | The name of the data structure or service |
+
+For example, the following object name identifies the MBean of the map `trial` on the instance `_hzInstance_1_dev`:
+
+```java
+ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
+```
+
+If a value contains any of the characters `:`, `"`, `,`, `=`, `*`, or `?`, or a line break, Hazelcast quotes it with `ObjectName.quote()`. For example, the MBean of a map named `orders:eu` has the object name `com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name="orders:eu"`.
+
+## Connect to the JMX agent
+
+To connect to a member, use a JMX client such as JConsole or VisualVM with the VisualVM-MBeans plugin. You can also connect from your own Java code.
+
+To connect from Java code, first create a `JMXServiceURL` with the host of the member and the port that you set in `com.sun.management.jmxremote.port`:
+
+```java
+int port = 1099;
+String hostname = InetAddress.getLocalHost().getHostName();
+JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://" + hostname + ":" + port + "/jndi/rmi://" + hostname + ":" + port + "/jmxrmi");
+```
+
+Then connect to the URL, and get an `MBeanServerConnection` from the connection:
+
+```java
+JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
+MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
+```
+
+Use the `MBeanServerConnection` to read attributes and call operations. The following example reads the name of a map and the number of its entries that the member owns:
+
+```java
+ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
+System.out.println("Total entries on map " + mbsc.getAttribute(mapMBeanName, "name") + " : "
+ + mbsc.getAttribute(mapMBeanName, "localOwnedEntryCount"));
+```
+
+## MBeans of a member
+
+The following sections list the MBeans that a member registers. Each section lists the attributes and operations of one MBean. Operation names end with parentheses. Attributes whose names start with `local` describe only the member that you connect to, not the whole cluster. For the metrics behind many of these attributes, see [List of Hazelcast metrics](../../reference/list-of-metrics.mdx).
+
+### Instance (`HazelcastInstance`)
+
+The `HazelcastInstance` MBean describes the member and its cluster. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the instance |
+| `version` | Hazelcast version |
+| `build` | Hazelcast build |
+| `config` | Configuration of the member, as a string |
+| `configSource` | Source of the configuration |
+| `clusterName` | Name of the cluster |
+| `port` | Network port |
+| `clusterTime` | Cluster-wide time |
+| `memberCount` | Number of members in the cluster |
+| `Members` | List of members |
+| `running` | Whether the member is running |
+| `shutdown()` | Shuts down the member |
+
+### Node (`HazelcastInstance.Node`)
+
+The `HazelcastInstance.Node` MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `address` | Address of the member |
+| `masterAddress` | Address of the master member of the cluster |
+
+### Partition service (`HazelcastInstance.PartitionServiceMBean`)
+
+The `HazelcastInstance.PartitionServiceMBean` MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `partitionCount` | Number of partitions |
+| `activePartitionCount` | Number of active partitions |
+| `isClusterSafe` | Whether the cluster is in a safe state |
+| `isLocalMemberSafe` | Whether the member is safe to shut down |
+
+### Logging service (`HazelcastInstance.LoggingService`)
+
+The `HazelcastInstance.LoggingService` MBean has the following attribute and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `level` | Log level that is set on the member |
+| `setLevel(level)` | Sets the log level of the member |
+| `resetLevel()` | Resets the log level of the member |
+
+### License (`HazelcastInstance.LicenseInfo`)
+
+The `HazelcastInstance.LicenseInfo` MBean holds the details of the member's license. For its attributes, see [Get license details with JMX API](../../install-and-upgrade/enterprise-edition/enterprise-licenses.mdx#jmx).
+
+### Internal executors (`HazelcastInstance.ManagedExecutorService`)
+
+A member registers one `HazelcastInstance.ManagedExecutorService` MBean for each of the following internal executors. The `name` key of the object name is the name of the executor:
+- `hz:system`
+- `hz:async`
+- `hz:scheduled`
+- `hz:client`
+- `hz:client-query`
+- `hz:client-blocking-tasks`
+- `hz:query`
+- `hz:io`
+- `hz:offloadable`
+- `hz:vector-query` , if vector collections are enabled
+
+Each executor MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the executor |
+| `queueSize` | Number of tasks in the work queue |
+| `poolSize` | Number of threads in the pool |
+| `maximumPoolSize` | Maximum number of threads in the pool |
+| `remainingQueueCapacity` | Remaining capacity of the work queue |
+| `isShutdown` | Whether the executor is shut down |
+| `isTerminated` | Whether the executor is terminated |
+| `completedTaskCount` | Number of tasks that the executor has completed |
+
+### WAN publisher (`WanPublisher`)
+
+A member registers one `WanPublisher` MBean for each WAN replication publisher. The `name` key of the object name is the name of the WAN replication and the ID of the publisher, separated by a period. The MBean has the following attribute:
+
+| Attribute | Description |
+| --- | --- |
+| `state` | State of the publisher: `REPLICATING`, `PAUSED`, or `STOPPED` |
+
+### Map (`IMap`)
+
+A member registers an `IMap` MBean for each map. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the map |
+| `size` | Number of entries in the map |
+| `config` | Configuration of the map |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localOwnedEntryMemoryCost` | Memory cost of the owned entries, in bytes |
+| `localBackupEntryCount` | Number of backup entries that the member holds |
+| `localBackupEntryMemoryCost` | Memory cost of the backup entries, in bytes |
+| `localBackupCount` | Number of backups of each entry |
+| `localCreationTime` | Time the map was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localLockedEntryCount` | Number of owned keys that are locked |
+| `localDirtyEntryCount` | Number of owned entries that are updated but not yet written to the map store |
+| `localPutOperationCount` | Number of put operations |
+| `localSetOperationCount` | Number of set operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localValuesOperationCount` | Number of `values()` calls |
+| `localEntrySetOperationCount` | Number of `entrySet()` calls |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalSetLatency` | Total latency of set operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxSetLatency` | Maximum latency of a set operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `localHeapCost` | Heap cost of the map, including its Near Cache |
+| `clear()` | Removes all entries from the map |
+
+To get the average latency of an operation type, divide its total latency by its operation count.
+
+### `MultiMap` (`MultiMap`)
+
+A member registers a `MultiMap` MBean for each `MultiMap`. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the `MultiMap` |
+| `size` | Number of entries in the `MultiMap` |
+| `config` | Configuration of the `MultiMap` |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localOwnedEntryMemoryCost` | Memory cost of the owned entries, in bytes |
+| `localBackupEntryCount` | Number of backup entries that the member holds |
+| `localBackupEntryMemoryCost` | Memory cost of the backup entries, in bytes |
+| `localBackupCount` | Number of backups of each entry |
+| `localCreationTime` | Time the `MultiMap` was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localLockedEntryCount` | Number of owned keys that are locked |
+| `localDirtyEntryCount` | Number of owned entries that are dirty |
+| `localPutOperationCount` | Number of put operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `clear()` | Removes all entries from the `MultiMap` |
+
+### Replicated map (`ReplicatedMap`)
+
+A member registers a `ReplicatedMap` MBean for each replicated map. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the replicated map |
+| `size` | Number of entries in the replicated map |
+| `config` | Configuration of the replicated map |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localCreationTime` | Time the replicated map was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localPutOperationCount` | Number of put operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localValuesOperationCount` | Number of `values()` calls |
+| `localEntrySetOperationCount` | Number of `entrySet()` calls |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `clear()` | Removes all entries from the replicated map |
+
+### Queue (`IQueue`)
+
+A member registers an `IQueue` MBean for each queue. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the queue |
+| `config` | Configuration of the queue |
+| `partitionKey` | Partition key of the queue |
+| `localOwnedItemCount` | Number of items that the member owns |
+| `localBackupItemCount` | Number of backup items that the member holds |
+| `localMinAge` | Minimum age of the items |
+| `localMaxAge` | Maximum age of the items |
+| `localAverageAge` | Average age of the items |
+| `localOfferOperationCount` | Number of offer, put, and add operations |
+| `localRejectedOfferOperationCount` | Number of rejected offers |
+| `localPollOperationCount` | Number of poll, take, and remove operations |
+| `localEmptyPollOperationCount` | Number of poll operations that returned `null` |
+| `localOtherOperationsCount` | Number of other operations |
+| `localEventOperationCount` | Number of event operations |
+| `clear()` | Removes all items from the queue |
+
+### List (`IList`)
+
+A member registers an `IList` MBean for each list. It has the following attribute and operation:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the list |
+| `clear()` | Removes all items from the list |
+
+### Set (`ISet`)
+
+A member registers an `ISet` MBean for each set. It has the following attributes and operation:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the set |
+| `partitionKey` | Partition key of the set |
+| `clear()` | Removes all items from the set |
+
+### Topic (`ITopic`)
+
+A member registers an `ITopic` MBean for each topic. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the topic |
+| `config` | Configuration of the topic |
+| `localCreationTime` | Time the topic was created on the member |
+| `localPublishOperationCount` | Number of messages published on the member |
+| `localReceiveOperationCount` | Number of messages received on the member |
+
+### Reliable topic (`ReliableTopic`)
+
+A member registers a `ReliableTopic` MBean for each reliable topic. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the reliable topic |
+| `config` | Configuration of the reliable topic |
+| `localCreationTime` | Time the reliable topic was created on the member |
+| `localPublishOperationCount` | Number of messages published on the member |
+| `localReceiveOperationCount` | Number of messages received on the member |
+
+### Executor service (`IExecutorService`)
+
+A member registers an `IExecutorService` MBean for each executor service. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the executor service |
+| `localCreationTime` | Time the executor service was created on the member |
+| `localPendingTaskCount` | Number of pending tasks |
+| `localStartedTaskCount` | Number of started tasks |
+| `localCompletedTaskCount` | Number of completed tasks |
+| `localCancelledTaskCount` | Number of cancelled tasks |
+| `localTotalStartLatency` | Total start latency of the started tasks |
+| `localTotalExecutionLatency` | Total execution time of the completed tasks |
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/overview.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/overview.mdx
new file mode 100644
index 00000000..e9bd0e3d
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/monitoring/overview.mdx
@@ -0,0 +1,82 @@
+---
+title: "Overview"
+sidebar_position: 1
+slug: /maintain-cluster/monitoring
+---
+
+Hazelcast provides the following ways to monitor a cluster:
+
+| Page | What it provides |
+| --- | --- |
+| [Metrics](./metrics.mdx) | Runtime statistics about members and clients, such as the number of entries in a map, the used heap, and the load average |
+| [Health check and monitoring](./health-check-and-monitoring.mdx) | An HTTP endpoint that reports the state of a member, and a health monitor that writes resource use to the member log |
+| [Diagnostics](./diagnostics.mdx) | A dedicated log file with detailed information for troubleshooting |
+| [Monitoring with JMX](./monitoring-with-jmx.mdx) | MBeans that any JMX client can read |
+| [Instance tracking](./instance-tracking.mdx) | A file that records each instance that starts on a machine |
+| [Management Center](../securing-a-cluster/management-center.mdx) | A tool for monitoring and managing a cluster, which can also export metrics to other tools |
+
+Follow these practices when you run a cluster:
+- Review the log entries of the health monitor and the Hazelcast logs regularly for failure messages. Investigate and record each incident.
+- Set up alerts for long garbage collection pauses and for network problems that make a member unreachable. The failure detectors set how long the cluster tolerates these problems before it removes the member. For the settings, see [Failure Detector Configuration](../fault-tolerance/detecting-failures/failure-detector-configuration.mdx).
+- Use `jstat`, keep verbose GC logging turned on, and monitor GC behavior with a log scraping tool such as Splunk. Raise an alarm on back-to-back full GCs, and on heap occupancy above 90% after a full GC.
+- Make sure that each member can reach every other member through the network and their ports. Make sure that the clients can reach every member as well.
+- Start the members before the clients. This is not required, but clients that start first can time out or report that they cannot find a Hazelcast member.
+- Turn on a system monitoring tool, such as [`nmon`](http://nmon.sourceforge.net/pmwiki.php).
+- To add a member to a running cluster, start it with a configuration similar to that of the other members. You might also need to add the IP address of the new member to the configuration. You do not need a maintenance window to add members to a running cluster.
+
+ - When a member joins or leaves the cluster, the clients can pause briefly while the members rebalance the data. This is expected.
+ - You do not need to change anything on the clients when you add members to a running cluster. In the default `ALL_MEMBERS` routing mode, the clients connect to a new member after it joins the cluster.
+ - The members rebalance the primary and backup data automatically when a member joins or leaves the cluster, including when a member is forced to leave. In the default `ACTIVE` cluster state, you do not need to do anything.
+ - You can promote lite members to data members with the [Cluster API](../maintaining-a-cluster/lite-members.mdx#promoting-lite-members-to-data-members) or with Management Center.
+ - If you set `hazelcast.initial.min.cluster.size`, for example to 4, and start members one by one in an empty cluster, the members initialize the partition table when the cluster reaches that size. They do this even though the cluster has no data. In a cluster of more than 100 members, each member that joins after that causes partition assignment work that is not needed.
+- Check that the backup count is adequate for your SLAs.
+- If you use distributed computing features, such as the executor service or entry processors, keep the members up to date. Apply each change to your client application logic, or to your implementation of these features, to the members as well. Unless you use , which requires , restart all the members after you deploy the new code. Use the usual redeployment process: shut down the members, add the new application JARs to the classpath of the members, and start the members.
+
+## Alerting
+
+Hazelcast writes banners, warnings, and exception messages to the console of your application. For example, the following banner warns that a license is about to expire:
+
+```none
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+THIS HAZELCAST LICENSE ID AbCdE*********FgHiJ WILL EXPIRE IN 29 DAYS.
+Your Hazelcast cluster will stop working on the next re-start after
+expiry.
+
+Please contact your Hazelcast Account Executive or
+email sales@hazelcast.com.
+Phone: +1 (650) 521-5453
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+```
+
+The following warning reports an outdated API on the classpath:
+
+```none
+An outdated version of JCache API was located in the classpath, please use newer versions of
+JCache API rather than 1.0.0-PFD or 0.x versions.
+```
+
+The following exception message reports an SQL query that refers to a mapping that does not exist:
+
+```none
+com.hazelcast.sql.HazelcastSqlException: From line 1, column 15 to line 1, column 23: Object 'mapBak1HD' not found, did you forget to CREATE MAPPING?
+```
+
+You can also export metrics from Management Center to Prometheus, and filter them there to create alerts. Hazelcast logging is another, indirect source of alerts. For more information, see [Configuring logging](../logging.mdx).
+
+For the actions to take on each alert, see [Actions and remedies for alerts](../../develop-and-build/troubleshooting/remedies-for-alerts.mdx).
+
+## Integrate with third-party tools
+
+ collects metrics from all the members of a cluster. To send these metrics to a third-party tool, integrate the tool with Management Center instead of with each member. You then do not need to connect to each member, handle members that scale or restart, or combine the metrics of several members.
+
+### Prometheus
+
+Management Center can expose the metrics that it collects from the members to [Prometheus](https://prometheus.io/). To turn on this feature, set the `hazelcast.mc.prometheusExporter.enabled` system property of Management Center to `true`. For details, see .
+
+### AppDynamics
+
+To integrate [Management Center](../securing-a-cluster/management-center.mdx) with AppDynamics, use the interface of Management Center, and attach the AppDynamics Java agent to Management Center. For details, see .
+
+### New Relic
+
+To integrate [Management Center](../securing-a-cluster/management-center.mdx) with New Relic, use the interface of Management Center. Attach the New Relic Java agent to Management Center, and provide an extension file that describes which metrics Management Center sends to New Relic. For details, see .
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx
index 396c134e..ee1271d6 100644
--- a/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx
+++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx
@@ -36,4 +36,4 @@ In addition to the above, we recommend the following hardening recommendations f
- We recommend that [mutual TLS authentication](./tls/tls-ssl.mdx#mutual-authentication) be enabled on a Hazelcast production cluster.
- Hazelcast uses Java serialization for some objects transferred over the network. To avoid deserialization of objects from untrusted sources, Hazelcast offers some protection mechanisms; we recommend enabling [mutual TLS authentication](./tls/tls-ssl.mdx#mutual-authentication) and disabling [multicast join](../partition-groups-and-networking/network-configuration.mdx#multicast-element) configuration. We recommend using Java serialization filter configuration for whitelisting the set of trusted classes or packages which are allowed for deserialization.
- Hazelcast uses Java reflection during SQL execution when the object format is set to `java`. We recommend using [Java reflection filter configuration](../../develop-and-build/sql/sql-reflection-configuration.mdx#disallowing-reflection-of-untrusted-java-classes) to whitelist the set of trusted classes or packages that are allowed to create through reflection.
-- You can disable script executions on the Hazelcast members. Scripts executed from Management center have access to system resources (files, etc.) with privileges of user running Hazelcast. We recommend that scripting be [disabled](../maintaining-a-cluster/monitoring.mdx#toggle-scripting-support) on members.
+- You can disable script executions on the Hazelcast members. Scripts executed from Management center have access to system resources (files, etc.) with privileges of user running Hazelcast. We recommend that scripting be [disabled](./management-center.mdx#toggle-scripting-support) on members.
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/management-center.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/management-center.mdx
new file mode 100644
index 00000000..98f1a1fe
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/management-center.mdx
@@ -0,0 +1,156 @@
+---
+title: "Management Center"
+sidebar_position: 9
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast is a tool for monitoring and managing a cluster. In Management Center, you can monitor the state of your clusters, browse your data structures, update map configurations, and take thread dumps from members. With its scripting and console modules, you can also run scripts, such as JavaScript or Groovy, and commands on your members. A script runs only if the classpath of the member contains a scripting engine for the language of the script.
+
+For more information, including the clustered JMX and clustered REST APIs of Management Center, see the .
+
+Management Center is a client of the cluster. You therefore control the following features of Management Center in the member configuration:
+- Scripting
+- The console
+- Access to data
+- The IP addresses that Management Center can connect from
+
+## Enable scripting {/* #managing-scripting-support */}
+
+
+
+Management Center can run scripts that automate interactions with the cluster. Scripting is disabled by default, because a scripting engine gives code access to the files and other resources of the members. The code runs with the permissions of the user that runs the member.
+
+:::important
+
+Scripting gives full, unrestricted access to the cluster. The permissions of individual Management Center users do **not** limit it. Enable scripting with caution, especially in production. If you need fine-grained access control, leave scripting disabled. For details, see in the Management Center documentation.
+
+:::
+
+To enable scripting, set `scripting-enabled` to `true` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ scripting-enabled: true
+```
+
+
+
+
+Hazelcast supports scripting through the API that [Java Specification Request (JSR) 223](https://jcp.org/en/jsr/detail?id=223) defines.
+
+## Enable the console {/* #managing-console-support */}
+
+Management Center can run client operations from its user interface, with a built-in Hazelcast Command-Line Client (CLC). The console is useful for testing and development. It is disabled by default.
+
+:::important
+
+The console gives full access to the cluster through CLC. The permissions of individual Management Center users do **not** limit it. Enable the console with caution, especially in production. If you need fine-grained access control, leave the console disabled.
+
+:::
+
+To enable the console, set `console-enabled` to `true` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ console-enabled: true
+```
+
+
+
+
+For more information, see in the Management Center documentation.
+
+## Disable access to data {/* #managing-data-access */}
+
+In its SQL Browser and Map Browser, Management Center can show the contents of data structures, such as map entries. If your cluster stores sensitive data, such as financial or personal information, you can stop Management Center from reading it. Access to data is enabled by default. Management Center reads data only if every member allows it.
+
+To disable access to data, set `data-access-enabled` to `false` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ data-access-enabled: false
+```
+
+
+
+
+## Limit source addresses
+
+By default, any Management Center instance that can authenticate can connect to the cluster. To accept connections only from trusted Management Center instances, list their IP addresses in `trusted-interfaces`. The addresses can contain wildcards (`*`) and ranges (`-`).
+
+The following example accepts connections only from Management Center instances with an address that starts with `192.168.1.`:
+
+
+
+
+```xml
+
+ ...
+
+
+ 192.168.1.*
+
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ trusted-interfaces:
+ - 192.168.1.*
+```
+
+
+
diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx
index 8e7e82e8..ce4590cf 100644
--- a/hazelcast_versioned_docs/version-5.6/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx
+++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx
@@ -421,7 +421,7 @@ The average entries per leaf number above assumes perfect distribution of the en
### WAN Synchronization Statistics
-Both Full and Delta WAN Synchronization processes write statistics into the [diagnostics](../maintaining-a-cluster/monitoring.mdx#diagnostics) subsystem and send them to Hazelcast Management Center. Using these statistics you can measure the efficiency of your configuration.
+Both Full and Delta WAN Synchronization processes write statistics into the [diagnostics](../monitoring/diagnostics.mdx) subsystem and send them to Hazelcast Management Center. Using these statistics you can measure the efficiency of your configuration.
Full WAN Synchronization reports the following:
@@ -464,7 +464,7 @@ Merkle synchronization statistics:
Maximum records per Merkle tree node: 7
```
-See the [Diagnostics section](../maintaining-a-cluster/monitoring.mdx#diagnostics) to learn how to enable diagnostics and locate its log file to see the above statistics.
+See the [Diagnostics section](../monitoring/diagnostics.mdx) to learn how to enable diagnostics and locate its log file to see the above statistics.
## Dynamically Adding WAN Publishers
diff --git a/hazelcast_versioned_docs/version-5.6/reference/faq.mdx b/hazelcast_versioned_docs/version-5.6/reference/faq.mdx
index 7ff005ae..9ae4a846 100644
--- a/hazelcast_versioned_docs/version-5.6/reference/faq.mdx
+++ b/hazelcast_versioned_docs/version-5.6/reference/faq.mdx
@@ -210,9 +210,9 @@ Yes. But note that Hazelcast's main design focus is multi-member clusters to be
is what you use to monitor and manage the members running Hazelcast. In addition to monitoring the overall state of a cluster, you can analyze and browse data structures in detail, you can update map configurations and you can take thread dumps from members.
-You can also use Hazelcast's HTTP based health check implementation and health monitoring utility. See the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). There is also a [diagnostics tool](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics) where you can see detailed logs enhanced with diagnostic plugins.
+You can also use Hazelcast's HTTP based health check implementation and health monitoring utility. See the [Health Check and Monitoring section](../operate-and-manage/monitoring/health-check-and-monitoring.mdx). There is also a [diagnostics tool](../operate-and-manage/monitoring/diagnostics.mdx) where you can see detailed logs enhanced with diagnostic plugins.
-Moreover, JMX monitoring is also provided. See the [Monitoring with JMX section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) for details.
+Moreover, JMX monitoring is also provided. See the [Monitoring with JMX section](../operate-and-manage/monitoring/monitoring-with-jmx.mdx) for details.
## How can I see debug level logs?
diff --git a/hazelcast_versioned_docs/version-5.6/reference/list-of-metrics.mdx b/hazelcast_versioned_docs/version-5.6/reference/list-of-metrics.mdx
index 44a5c207..73ddf168 100644
--- a/hazelcast_versioned_docs/version-5.6/reference/list-of-metrics.mdx
+++ b/hazelcast_versioned_docs/version-5.6/reference/list-of-metrics.mdx
@@ -153,7 +153,7 @@ Details on whether the user canceled the job. Potential values:
- 1 - canceled by the user
- 0 - means the job is either running, completed successfully, or failed due to an error other than user cancellation
-Exposed via [Job API](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#via-job-api) only.
+Exposed via [Job API](../operate-and-manage/monitoring/metrics.mdx#job-api) only.
diff --git a/hazelcast_versioned_docs/version-5.6/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.6/reference/system-properties.mdx
index d7a624d7..471ffb54 100644
--- a/hazelcast_versioned_docs/version-5.6/reference/system-properties.mdx
+++ b/hazelcast_versioned_docs/version-5.6/reference/system-properties.mdx
@@ -168,7 +168,7 @@ When you want to reconfigure a system property, you need to [restart](../operate
`hazelcast.config.instance.tracking.file` |
|
string |
-The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking) |
+The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/monitoring/instance-tracking.mdx) |
| `hazelcast.connect.all.wait.seconds` |
@@ -204,7 +204,7 @@ Output directory of the diagnostic log files.
:::note
-For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics).
+For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-and-manage/monitoring/diagnostics.mdx).
:::
@@ -388,7 +388,7 @@ For detailed information about the diagnostic tool, along with this and the foll
`hazelcast.health.monitoring.delay.seconds` |
20 |
int |
-Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). |
+Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/monitoring/health-check-and-monitoring.mdx). |
| `hazelcast.health.monitoring.level` |
@@ -568,7 +568,7 @@ This property should only be used as a last resort. Hazelcast uses the XXE prote
`hazelcast.jmx` |
false |
bool |
-Enable [JMX](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent. |
+Enable [JMX](../operate-and-manage/monitoring/monitoring-with-jmx.mdx) agent. |
| `hazelcast.jet.custom.lib.dir` |
@@ -812,7 +812,7 @@ Setting this value too low may cause members to be evicted from the cluster when
`hazelcast.metrics.collection.frequency` |
5 |
int |
-Frequency, in seconds, of the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Frequency, in seconds, of the [metrics](../operate-and-manage/monitoring/metrics.mdx) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.datastructures.enabled` |
@@ -830,25 +830,25 @@ Setting this value too low may cause members to be evicted from the cluster when
`hazelcast.metrics.enabled` |
true |
bool |
-Enables the [metrics collection](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables the [metrics collection](../operate-and-manage/monitoring/metrics.mdx) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.mc.enabled` |
true |
bool |
-Enables buffering the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables buffering the collected [metrics](../operate-and-manage/monitoring/metrics.mdx) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.mc.retention` |
5 |
int |
-Duration, in seconds, that the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Duration, in seconds, that the [metrics](../operate-and-manage/monitoring/metrics.mdx) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.jmx.enabled` |
true |
bool |
-Enables exposing the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables exposing the collected [metrics](../operate-and-manage/monitoring/metrics.mdx) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.multicast.group` |
diff --git a/hazelcast_versioned_docs/version-5.7/clients-and-apis/clients/java.mdx b/hazelcast_versioned_docs/version-5.7/clients-and-apis/clients/java.mdx
index 693afd5a..05e2f505 100644
--- a/hazelcast_versioned_docs/version-5.7/clients-and-apis/clients/java.mdx
+++ b/hazelcast_versioned_docs/version-5.7/clients-and-apis/clients/java.mdx
@@ -1809,10 +1809,10 @@ You need to restart clients after modifying system properties.
| | -1 | int | Controls the number of I/O output threads. Defaults to -1, i.e., the system decides. If the client is using either the `ALL_MEMBERS` or the `MULTI_MEMBER` cluster routing mode, it defaults to 3, otherwise it defaults to 1. If there are more than 8 processors, it defaults to 3 threads. |
| | true | bool | Optimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments. |
| | `Integer.MAX_VALUE` | int | Maximum allowed number of concurrent invocations. You can apply a constraint on the number of concurrent invocations in order to prevent the system from overloading. If the maximum number of concurrent invocations is exceeded and a new invocation comes in, Hazelcast throws `HazelcastOverloadException`. |
-| | 5 | int | Frequency, in seconds, of the [metrics](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+| | 5 | int | Frequency, in seconds, of the [metrics](../../operate-and-manage/monitoring/metrics.mdx) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/monitoring/metrics.mdx#configuration). |
| | false | bool | Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this is meant to be enabled only if diagnostics is enabled, since currently only diagnostics consumes the debug metrics. |
-| | true | bool | Enables the [metrics collection](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). When it is `true` you can monitor metrics of the clients that are connected to your Hazelcast cluster, using Hazelcast Management Center. See for more information. |
-| | true | bool | Enables exposing the collected [metrics](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+| | true | bool | Enables the [metrics collection](../../operate-and-manage/monitoring/metrics.mdx) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/monitoring/metrics.mdx#configuration). When it is `true` you can monitor metrics of the clients that are connected to your Hazelcast cluster, using Hazelcast Management Center. See for more information. |
+| | true | bool | Enables exposing the collected [metrics](../../operate-and-manage/monitoring/metrics.mdx) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../../operate-and-manage/monitoring/metrics.mdx#configuration). |
| | 5000 | int | If an operation has sync backups, this property specifies how long the invocation will wait for acks from the backup replicas. If acks are not received from some backups, there will not be any rollback on other successful replicas. |
| | false | bool | When this configuration is enabled, if an operation has sync backups and acks are not received from backup replicas in time, or the member which owns primary replica of the target partition leaves the cluster, then the invocation fails with `IndeterminateOperationStateException`. However, even if the invocation fails, there will not be any rollback on other successful replicas. |
| | 2 | int | Number of the response threads. By default, there are two response threads; this gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the I/O threads. Under certain conditions this can give a higher throughput, but setting to 0 should be regarded as an experimental feature. If set to 0, the `IO_OUTPUT_THREAD_COUNT` is really going to matter because the inbound thread will have more work to do. By default when TLS is not enabled, there is just one inbound thread. |
diff --git a/hazelcast_versioned_docs/version-5.7/develop-and-build/building-data-pipelines/job-monitoring.mdx b/hazelcast_versioned_docs/version-5.7/develop-and-build/building-data-pipelines/job-monitoring.mdx
index 166fd9b8..6da0f36a 100644
--- a/hazelcast_versioned_docs/version-5.7/develop-and-build/building-data-pipelines/job-monitoring.mdx
+++ b/hazelcast_versioned_docs/version-5.7/develop-and-build/building-data-pipelines/job-monitoring.mdx
@@ -70,7 +70,7 @@ A job with `FAILED` status may have been canceled by a user. To monitor for canc
You can see the job-specific metrics using the following methods:
-- [Job API](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#via-job-api) via the `getMetrics()` method:
+- [Job API](../../operate-and-manage/monitoring/metrics.mdx#job-api) via the `getMetrics()` method:
```java
JobMetrics metrics = job.getMetrics();
@@ -78,7 +78,7 @@ You can see the job-specific metrics using the following methods:
With this method, you can see the metrics for all running jobs, and finished jobs for which the `storeMetricsAfterJobCompletion` option is enabled. See the below table for this option's description.
-- [JMX](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#over-jmx)/[Prometheus](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#prometheus): With these methods, the `userCanceled` metric is not available, and you can see the metrics only for running jobs.
+- [JMX](../../operate-and-manage/monitoring/metrics.mdx#jmx)/[Prometheus](../../operate-and-manage/monitoring/metrics.mdx#prometheus): With these methods, the `userCanceled` metric is not available, and you can see the metrics only for running jobs.
See [Job-Specific Metrics](../../reference/list-of-metrics.mdx#job-metrics) to learn which metrics are available for jobs.
diff --git a/hazelcast_versioned_docs/version-5.7/develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx b/hazelcast_versioned_docs/version-5.7/develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx
index 389c3adf..402eea43 100644
--- a/hazelcast_versioned_docs/version-5.7/develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx
+++ b/hazelcast_versioned_docs/version-5.7/develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx
@@ -6,18 +6,16 @@ slug: /data-structures/reading-map-metrics
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
+import CodeBlock from "@theme/CodeBlock";
+import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../../../examples/management/ExampleLocalMapStats.java?tag=lms";
By default, you can read metrics for a given map, such as the primary and backup entry count, last update time, and locked entry count on each member of your cluster. You can access these statistics for the entire map, for the map entries on a specific cluster member, or specific map entries.
## Getting Statistics about All Map Entries {/* #accessing-entry-statistics */}
-To get statistics for all map entries that are owned by a member, use the `getLocalMapStats()` method of the Java member API ([embedded mode](../../../../install-and-upgrade/overview/choosing-a-deployment-option.mdx)). This method returns data only if the `statistics-enabled` element is set to `true`, which is the default.
+To get statistics for all map entries that are owned by a member, use the `getLocalMapStats()` method of the Java member API ([embedded mode](../../../../install-and-upgrade/overview/choosing-a-deployment-option.mdx)).
-:::note
-
-If you disable map statistics, statistics will not be available via the API, or in .
-
-:::
+The `statistics-enabled` element of the map is `true` by default. If you set it to `false`, the member does not record operation statistics for the map, such as operation counts, latencies, and index statistics. The member also then leaves the map out of the statistics that it reports to the [metrics system](../../../../operate-and-manage/monitoring/metrics.mdx) and . The `getLocalMapStats()` method still returns the entry counts and memory costs of the map.
@@ -45,11 +43,27 @@ hazelcast:
-```java
-LocalMapStats mapStatistics = myMap.getLocalMapStats();
-System.out.println( "Number of entries owned by this member = "
- + mapStatistics.getOwnedEntryCount() );
-```
+Below is example code where `getLocalMapStats()` and `getOwnedEntryCount()` get the number of entries owned by this member:
+
+{Ex_management_ExampleLocalMapStats_java_tag_lms}
+
+:::note
+
+The `getOwnedEntryMemoryCost()` method is also supported for the `NATIVE` in-memory format.
+
+:::
+
+The following are some of the metrics that you can access via the `LocalMapStats` object:
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Number of backup entries held by the member (`getBackupEntryCount()`)
+- Number of backups per entry (`getBackupCount()`)
+- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
+- Creation time of the map on the member (`getCreationTime()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
+- Number of queries executed on the map (`getQueryCount()` and `getIndexedQueryCount()`) (it may be imprecise for queries involving partition predicates (`PartitionPredicate`) on the off-heap storage)
+
+See the to see all the metrics.
:::note
@@ -59,7 +73,7 @@ If you need cluster-wide map statistics, you can get the local map statistics fr
## Getting Statistics about a Specific Map Entry
-To get statistics for a specific map entry, you can use the `getEntryView(key)` method of one of the following available client libraries. To use this method, the map must have its `per-entry-stats-enabled` element set to `true`.
+To get statistics for a specific map entry, you can use the `getEntryView(key)` method of one of the following available client libraries. To use this method, the map must have its `per-entry-stats-enabled` element set to `true`. The default is `false`.
This method returns the following statistics:
diff --git a/hazelcast_versioned_docs/version-5.7/develop-and-build/distributed-data-structures/ap-data-structures/reliable-topic.mdx b/hazelcast_versioned_docs/version-5.7/develop-and-build/distributed-data-structures/ap-data-structures/reliable-topic.mdx
index cf3fd49a..abfd6b08 100644
--- a/hazelcast_versioned_docs/version-5.7/develop-and-build/distributed-data-structures/ap-data-structures/reliable-topic.mdx
+++ b/hazelcast_versioned_docs/version-5.7/develop-and-build/distributed-data-structures/ap-data-structures/reliable-topic.mdx
@@ -20,7 +20,7 @@ Reliable Topic is an enhanced version of the regular Topic and uses the same `IT
Use Reliable Topic when you need a robust, durable messaging system that can handle high throughput without losing messages, especially in scenarios where message delivery guarantees are crucial.
-For more information about the metrics provided by Reliable Topic, see [Topic Statistics](../../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#topic-statistics).
+For more information about the metrics provided by Reliable Topic, see [Topic Statistics](../../../operate-and-manage/monitoring/metrics.mdx#topic-statistics).
Here is an example for a publisher using Reliable Topic:
diff --git a/hazelcast_versioned_docs/version-5.7/examples/management/MetricsConfiguration.java b/hazelcast_versioned_docs/version-5.7/examples/management/MetricsConfiguration.java
new file mode 100644
index 00000000..baf6993d
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.7/examples/management/MetricsConfiguration.java
@@ -0,0 +1,28 @@
+import com.hazelcast.client.config.ClientConfig;
+import com.hazelcast.config.Config;
+
+public class MetricsConfiguration {
+
+ public static void main(String[] args) {
+ //tag::member[]
+ Config config = new Config();
+ config.getMetricsConfig()
+ .setEnabled(true)
+ .setCollectionFrequencySeconds(5);
+ config.getMetricsConfig().getManagementCenterConfig()
+ .setEnabled(true)
+ .setRetentionSeconds(5);
+ config.getMetricsConfig().getJmxConfig()
+ .setEnabled(true);
+ //end::member[]
+
+ //tag::client[]
+ ClientConfig clientConfig = new ClientConfig();
+ clientConfig.getMetricsConfig()
+ .setEnabled(true)
+ .setCollectionFrequencySeconds(5);
+ clientConfig.getMetricsConfig().getJmxConfig()
+ .setEnabled(true);
+ //end::client[]
+ }
+}
diff --git a/hazelcast_versioned_docs/version-5.7/frameworks-and-plugins/spring/configuration.mdx b/hazelcast_versioned_docs/version-5.7/frameworks-and-plugins/spring/configuration.mdx
index 763981c6..e6e92461 100644
--- a/hazelcast_versioned_docs/version-5.7/frameworks-and-plugins/spring/configuration.mdx
+++ b/hazelcast_versioned_docs/version-5.7/frameworks-and-plugins/spring/configuration.mdx
@@ -293,7 +293,7 @@ The `hazelcast` XML namespace supports the following configuration:
- [Authentication overview](../../operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx)
- [Java Client Security](../../clients-and-apis/clients/java.mdx#client-security-configuration)
- - [Enabling health check for a cluster](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring)
+ - [Enabling health check for a cluster](../../operate-and-manage/monitoring/health-check-and-monitoring.mdx)
- [Configuring transaction permissions on the members](../../operate-and-manage/securing-a-cluster/client-authorization.mdx#transaction-permission)
:::
diff --git a/hazelcast_versioned_docs/version-5.7/get-started/support.mdx b/hazelcast_versioned_docs/version-5.7/get-started/support.mdx
index 8c0903f2..ad9b603b 100644
--- a/hazelcast_versioned_docs/version-5.7/get-started/support.mdx
+++ b/hazelcast_versioned_docs/version-5.7/get-started/support.mdx
@@ -61,7 +61,7 @@ You can provide the following for each Hazelcast client configuration:
The Hazelcast logs contain useful information when debugging an issue in a Hazelcast cluster. Each member has its own Hazelcast log, which typically includes:
-- Metrics about the Hazelcast member, such as [`HealthMonitor`](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring) output.
+- Metrics about the Hazelcast member, such as [`HealthMonitor`](../operate-and-manage/monitoring/health-check-and-monitoring.mdx) output.
- Log messages indicating when Hazelcast clients connect and disconnect from the member.
- Details about [slow operations](../develop-and-build/best-practices/threading.mdx#slowoperationdetector).
- Stack traces.
@@ -90,7 +90,7 @@ An extended set of diagnostics plugins is provided for both Hazelcast members an
- Details about the type and volume of operations run on the member
- WAN Replication diagnostic information
-The Hazelcast configuration provides settings for the rotation and retention of these diagnostic log files. For more information, see [Diagnostics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics).
+The Hazelcast configuration provides settings for the rotation and retention of these diagnostic log files. For more information, see [Diagnostics](../operate-and-manage/monitoring/diagnostics.mdx).
:::note
diff --git a/hazelcast_versioned_docs/version-5.7/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx b/hazelcast_versioned_docs/version-5.7/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx
index 033b948c..b616811f 100644
--- a/hazelcast_versioned_docs/version-5.7/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx
+++ b/hazelcast_versioned_docs/version-5.7/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx
@@ -1876,7 +1876,7 @@ The following deprecated cluster properties were removed:
- `hazelcast.memcache.enabled`
- `hazelcast.http.healthcheck.enabled`
-Please see [Using the REST Endpoint Groups](../../clients-and-apis/apis/enterprise-rest-api/rest-api.mdx#using-the-rest-endpoint-groups) on how to configure Hazelcast instance to expose REST endpoints. Please see [Health Check and Monitoring](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring) on how to enable the health check. Please see [Memcache Client](../../clients-and-apis/apis/memcache.mdx) on how to enable memcache client request listener service.
+Please see [Using the REST Endpoint Groups](../../clients-and-apis/apis/enterprise-rest-api/rest-api.mdx#using-the-rest-endpoint-groups) on how to configure Hazelcast instance to expose REST endpoints. Please see [Health Check and Monitoring](../../operate-and-manage/monitoring/health-check-and-monitoring.mdx) on how to enable the health check. Please see [Memcache Client](../../clients-and-apis/apis/memcache.mdx) on how to enable memcache client request listener service.
## Removal of Deprecations in `LoginModuleConfig`
@@ -2113,10 +2113,10 @@ The output of the following endpoints has been changed to JSON:
## Changes in the Diagnostics Configuration
-By introducing the [metrics system](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) in Hazelcast IMDG 4.0 and afterwards, the metrics collected by [Diagnostics](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics) and the metrics system is shared. This has come with the following changes of the system properties that configure diagnostics:
+By introducing the [metrics system](../../operate-and-manage/monitoring/metrics.mdx) in Hazelcast IMDG 4.0 and afterwards, the metrics collected by [Diagnostics](../../operate-and-manage/monitoring/diagnostics.mdx) and the metrics system is shared. This has come with the following changes of the system properties that configure diagnostics:
- `hazelcast.diagnostics.metric.level` is not available anymore. Collecting debug metrics can be enabled by setting the `hazelcast.metrics.debug.enabled` or `hazelcast.client.metrics.debug.enabled` system properties to `true` for the members and clients respectively.
-- `hazelcast.diagnostics.metric.distributed.datastructures` is not anymore available since the data structure metrics are required for the other [metric consumers](../../operate-and-manage/maintaining-a-cluster/monitoring.mdx#exposing-metrics). Therefore, they are collected by default and no need for enabling it for the diagnostics.
+- `hazelcast.diagnostics.metric.distributed.datastructures` is not anymore available since the data structure metrics are required for the other [metric consumers](../../operate-and-manage/monitoring/metrics.mdx#exposing-metrics). Therefore, they are collected by default and no need for enabling it for the diagnostics.
## Changes in the Management Center Configuration
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/logging.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/logging.mdx
index 62060332..229ccaa7 100644
--- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/logging.mdx
+++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/logging.mdx
@@ -245,7 +245,7 @@ This feature is supported for the default (JDK/JUL), Log4j, and Log4j2 framework
You can use either of the following ways to dynamically change the level of your cluster's logs:
-- Using JMX API: The logging service exposes its JMX MBean as `LoggingServiceMBean`. You can retrieve, set, and reset the level. See the [Monitoring with JMX section](./maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx).
+- Using JMX API: The logging service exposes its JMX MBean as `LoggingServiceMBean`. You can retrieve, set, and reset the level. See the [Monitoring with JMX section](./monitoring/monitoring-with-jmx.mdx).
- Using REST API: You can use the `/hazelcast/rest/log-level` REST endpoint to retrieve (`GET`), set (`POST`), and reset (`DELETE`) the level. See the [REST Endpoint Groups section](../clients-and-apis/apis/enterprise-rest-api/rest-api.mdx#using-the-rest-endpoint-groups).
:::caution[Deprecation Notice for the Community Edition REST API]
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/cluster-utilities.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/cluster-utilities.mdx
index 2a373f96..5f8fd72f 100644
--- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/cluster-utilities.mdx
+++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/cluster-utilities.mdx
@@ -20,7 +20,7 @@ These utilities are included in the `bin` directory in your Hazelcast package an
| `hz-cli`, `hz-cli.bat` | Manages jobs and snapshots on a running cluster. Also used to launch the Hazelcast console and SQL shell. |
| `hz-cluster-admin` | Performs cluster lifecycle operations, such as force starts and upgrades. |
| `hz-cluster-cp-admin` | Manages the CP Subsystem. See [Manage and monitor the CP subsystem](../cp-subsystem/management.mdx). |
-| `hz-healthcheck` | Retrieves cluster state from the HTTP health check endpoint. See [Using the health check script](./monitoring.mdx#health-check-script). |
+| `hz-healthcheck` | Retrieves cluster state from the HTTP health check endpoint. See [Using the health check script](../monitoring/health-check-and-monitoring.mdx#health-check-script). |
| `hz-start`, `hz-start.bat` | Starts a Hazelcast member with the default settings. Where possible, use `hz start` instead. |
| `hz-stop`, `hz-stop.bat` | Stops all running Hazelcast members on the local device. `hz-stop` sends `SIGTERM`, and by default the member terminates without a graceful shutdown. To shut down gracefully, set the `hazelcast.shutdownhook.policy` property to `GRACEFUL`. `hz-stop.bat` always stops the member without a graceful shutdown. |
| `common.bat`, `common.sh` | Shared code called by other scripts. You should not run this directly. |
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/monitoring.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/monitoring.mdx
deleted file mode 100644
index e4ff9ae5..00000000
--- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/monitoring.mdx
+++ /dev/null
@@ -1,2181 +0,0 @@
----
-title: "Monitoring"
-sidebar_position: 4
-slug: /maintain-cluster/monitoring
----
-
-import Tabs from "@theme/Tabs";
-import TabItem from "@theme/TabItem";
-import CodeBlock from "@theme/CodeBlock";
-import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../examples/management/ExampleLocalMapStats.java?tag=lms";
-import Ex_management_ExampleLocalIndexStats_java_tag_lis from "../../examples/management/ExampleLocalIndexStats.java?tag=lis";
-import Ex_management_ExampleNearCacheStats_java_tag_ncs from "../../examples/management/ExampleNearCacheStats.java?tag=ncs";
-import Ex_management_ExampleMultiMapStats_java_tag_mms from "../../examples/management/ExampleMultiMapStats.java?tag=mms";
-import Ex_management_ExampleQueueStats_java_tag_qs from "../../examples/management/ExampleQueueStats.java?tag=qs";
-import Ex_management_ExampleTopicStats_java_tag_ts from "../../examples/management/ExampleTopicStats.java?tag=ts";
-import Ex_management_ExampleExecutorStats_java_tag_es from "../../examples/management/ExampleExecutorStats.java?tag=es";
-
-
-
-Review Hazelcast Health Monitor logs regularly to understand the system runtime stability. Monitor Hazelcast logs and scan for failure messages regularly. Any incidences should be investigated and documented so as to understand your network better and find ways to provision, configure, and manage your network more efficiently.
-
-Hazelcast provides multi-level tolerance configurations in a cluster:
-
-1. Garbage collection (GC) tolerance: When a member fails to respond to health check probes on the existing socket connection but is actually responding to health probes sent on a new socket, it can be presumed to be stuck either in a long GC or in another long-running task. Adequate tolerance levels configured here may allow the member to come back from its stuck state within permissible SLAs.
-2. Network tolerance: When a member is temporarily unreachable by any means, temporary network communication errors may cause members to become unresponsive. In such a scenario, adequate tolerance levels configured here allow the member to return to healthy operation within permissible SLAs.
-
-You should establish tolerance levels for garbage collection and network connectivity and then set monitors to raise alerts when those tolerance thresholds are crossed. Customers with a Hazelcast subscription can use the extensive monitoring capabilities of the Management Center to set monitors and alerts.
-
-In addition to the Management Center, we recommend that you use `jstat` and keep verbose GC logging turned on and use a log scraping tool like Splunk or similar to monitor GC behavior. Back-to-back full GCs and anything above 90% heap occupancy after a full GC should be cause for alarm. Hazelcast dumps a set of information into the console of each instance that may further be used to create alerts.
-
-## Basic steps for monitoring and auditing
-
-- Make sure that all members are reachable by every other member in the cluster and are also accessible by the clients, for example through their ports and network.
-- Start Hazelcast member instances first. While not mandatory, this is a best practice to avoid clients timing out or complaining that no Hazelcast member is found, which can happen if the clients are started before the members.
-- Enable or start a system monitor tool, such as [nmon](http://nmon.sourceforge.net/pmwiki.php).
-- To add more members to an already running cluster, start a member with a similar configuration to the other members with the possible addition of the IP address of the new member. A maintenance window is not required to add more members to an already running Hazelcast cluster.
-
- - When a member is added to or removed from a Hazelcast cluster, the clients may see a little pause time, but this is normal. This is essentially the time required by Hazelcast members to rebalance the data upon the arrival or departure of a member.
- - There is no need to change anything on the clients when adding more members to the running cluster. In the default `ALL_MEMBERS` routing mode, the clients update themselves automatically to connect to the new member once it has successfully joined the cluster.
- - Rebalancing of data (primary plus backup) on arrival or departure (forced or unforced) of a member is an automated process. In the default `ACTIVE` cluster state, no manual intervention is required.
- - You can promote your lite members to become data members. To do this, either use the [Cluster API](./lite-members.mdx#promoting-lite-members-to-data-members) or Management Center.
- - Setting `hazelcast.initial.min.cluster.size` to 4 and starting members one by one (empty cluster, no operation) can result in unexpected cluster partitioning behavior: after reaching `hazelcast.initial.min.cluster.size`, partition table arrangement is initialized even though there is no data. When used in large clusters (\>100), this adds an unnecessary overhead of partition assignment on each member addition.
-- Check that you have configured an adequate backup count based on your SLAs.
-- When using distributed computing features, such as executor service or entry processors, any change in the client application logic or in the implementation of these must also be applied to the members. If you do not use , which requires , you must restart all the members after you deploy the new code. Use the typical cluster re-deployment process: first shut down the members, then deploy the new application JARs in the members' classpath, and start the members.
-
-## Management Center
-
-Hazelcast Management Center enables you to monitor and manage your cluster members running Hazelcast. In addition to monitoring the overall state of your clusters, you can also analyze and browse your data structures in detail, update map configurations, and take thread dumps from members. You can run scripts, such as JavaScript or Groovy, and commands on your members with its scripting and console modules. A script runs only if the member classpath contains a scripting engine for its language.
-
-See the for more information and find details about its clustered JMX and clustered REST APIs.
-
-Because Management Center is a client that connects to the cluster, you can control the following aspects of Management Center in the member configuration file:
-
-- [Scripting support](#managing-scripting-support)
-- [Console support](#managing-console-support)
-- [Source IP addresses](#limiting-source-addresses)
-
-### Managing scripting support
-
-
-
-Management Center allows you to execute scripts that can automate interactions with the cluster.
-
-By default, scripting is disabled for security. Scripting engines give code access to the underlying system on the members (files and other resources) and run with the same permissions as the current user. You can enable scripting in the member configuration file:
-
-:::important
-
-When scripting is enabled, it grants full, unrestricted access to the cluster and is **not** limited by the permissions assigned to individual Management Center users. Enable it with caution, especially in production, and consider leaving it disabled if granular access control is critical. See the for details.
-
-:::
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- scripting-enabled: true
-```
-
-
-
-
-Hazelcast uses the [JSR 223](https://jcp.org/en/jsr/detail?id=223) API to support scripting.
-
-### Managing console support
-
-Management Center allows you to execute client operations using built-in Hazelcast Command-Line Client (CLC) in the user interface. This console is useful for testing and development purposes. You can enable the console in the member configuration file:
-
-:::important
-
-When the console is enabled, it grants full access to the cluster through the Command-Line Client and is **not** limited by the permissions assigned to individual Management Center users. Enable it with caution, especially in production, and consider leaving it disabled if granular access control is critical.
-
-:::
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- console-enabled: true
-```
-
-
-
-
-See the for more information.
-
-### Managing data access
-
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) through SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file:
-
-
-
-
-```xml
-
- ...
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- data-access-enabled: false
-```
-
-
-
-
-### Limiting source addresses
-
-By default, any instance of Management Center can connect to a cluster as long as it can be authenticated. To restrict access only to trusted instances of Management Center, you can define the trusted IP addresses in the `trusted-interfaces` configuration setting. This setting supports wildcards (`*`) and ranges (`-`).
-
-
-
-
-```xml
-
- ...
-
-
- 192.168.1.*
-
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- management-center:
- trusted-interfaces:
- - 192.168.1.*
-```
-
-
-
-
-## Instance tracking
-
-Instance tracking is a feature which, when enabled, writes a file on the instance startup at the configured location. The file contains metadata about the instance, such as version, product name, and process ID. This file can then later be used by other programs to detect the kinds of Hazelcast instances that have been running on a particular machine by inspecting the file contents. This feature supports both and members and clients, and is disabled by default. Failing to write the file only generates a warning, and the instance is allowed to start.
-
-The name and content of the file are configurable and may contain placeholders. The placeholders used for instance tracking have a prefix so that they can be distinguished from the other ones like XML placeholders. We use the same style as the `EncryptionReplacer` by adding a "namespace" to the placeholder prefix; for example, `$HZ_INSTANCE_TRACKING{start_timestamp}` (the namespace here being `HZ_INSTANCE_TRACKING`).
-
-In addition to the above, the Hazelcast instance overwrites any existing file in the configured location. To prevent this, you can configure the file location using the placeholders in the same way they can be used when defining the file contents. For example, if the filename is configured as `Hazelcast-$HZ_INSTANCE_TRACKING{pid}-$HZ_INSTANCE_TRACKING{start_timestamp}.process`, it contains the process ID and the creation time, making it unique every time the instance is started.
-
-The created file is not deleted on member shutdown. As such, it leaves a trace of instances started on a particular machine. If the instance cannot write the tracking file, it logs a warning and continues to start.
-
-:::note[Auditing the instance tracking file]
-
-When you enable the instance tracking feature and its file is created on a member startup, the full path of the file with its name is set into a system property of the JVM running the Hazelcast member, i.e., `hazelcast.config.instance.tracking.file`.
-
-You can audit that all your running Hazelcast members in your environment have the instance tracking filename set correctly. For this, you can use the [jcmd](https://docs.oracle.com/en/java/javase/13/docs/specs/man/jcmd.html) utility, as shown below.
-
-```shell
-jcmd VM.system_properties | grep hazelcast.config.instance.tracking.file
-```
-
-PID here is the process ID of your JVM on which Hazelcast member runs. It gives output similar to the following:
-
-```shell
-hazelcast.config.instance.tracking.file=/tmp/Hazelcast.process
-```
-
-See below for the example content of an instance tracking file.
-
-:::
-
-### Configuring instance tracking {/* #instance-tracking-configuration */}
-
-Here is an example of programmatic member-side Java configuration:
-
-```java
-Config config = new Config();
-config.getInstanceTrackingConfig()
- .setEnabled(true)
- .setFileName("/tmp/hz-tracking.txt")
- .setFormatPattern("$HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}");
-```
-
-The equivalent declarative configuration is as follows:
-
-
-
-
-```xml
-
-
-
- /tmp/hz-tracking.txt
- $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
-
-
-
-```
-
-
-
-
-```yaml
-hazelcast:
- instance-tracking:
- enabled: true
- file-name: /tmp/hz-tracking.txt
- format-pattern: $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
-```
-
-
-
-
-You can use this configuration to enable the instance tracking feature, specify the filename and the pattern for the file contents. By default, the feature is disabled, the filename is `Hazelcast.process` in the OS temporary directory as returned by `System.getProperty("java.io.tmpdir")` and the file contents are JSON-formatted key-value pairs of all available metadata.
-
-The client configuration is analogous and only differs in the name of the outer configuration block or configuration instance containing the instance tracking configuration.
-
-Here is an example when running a client instance:
-
-```json vars
-{"product":"Hazelcast", "version":"{version}", "pid":27746, "mode":"client", "start_timestamp":1595851430741, "licensed":0}
-```
-
-Here is an example when running a member instance in the "server" mode:
-
-```json vars
-{"product":"Hazelcast", "version":"{version}", "pid":27746, "mode":"server", "start_timestamp":1595851430741, "licensed":1}
-```
-
-And here is an example when running a member instance in the "embedded" mode:
-
-```json vars
-{"product":"Hazelcast", "version":"{version}", "pid":27746, "mode":"embedded", "start_timestamp":1595851430741, "licensed":1}
-```
-
-You can specify a custom format by using a predefined set of available metadata keys an example of which is shown below:
-
-```java
-String format = "mode: $HZ_INSTANCE_TRACKING{mode}\n"
- + "product: $HZ_INSTANCE_TRACKING{product}\n"
- + "licensed: $HZ_INSTANCE_TRACKING{licensed}\n"
- + "missing: $HZ_INSTANCE_TRACKING{missing}\n"
- + "broken: $HZ_INSTANCE_TRACKING{broken ";
-```
-
-This should produce a file with the following content:
-
-```properties
-mode: embedded
-product: Hazelcast
-licensed: 0
-missing: $HZ_INSTANCE_TRACKING{missing}
-broken: $HZ_INSTANCE_TRACKING{broken
-```
-
-As you can see, once we encounter a broken placeholder, all subsequent placeholders are ignored. On the other hand, missing placeholders are skipped and subsequent placeholders are resolved.
-
-The valid metadata placeholders and their possible values are as follows:
-
-- `product`: Instance product name, e.g., "Hazelcast" or "Hazelcast Enterprise".
-- `version`: Instance version.
-- `mode`: Instance mode, e.g., "server", "embedded" or "client"
-- `start_timestamp`: the timestamp of when the instance was started as the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.
-- `licensed`: Specifies whether the instance is using a license or not. The value `0` signifies that there is no license set and the value `1` signifies that a license is in use.
-- `pid`: Process ID of the instance.
-
-The possible values for the `product` placeholder: `Hazelcast`, `Hazelcast Enterprise`, `Hazelcast Client`, `Hazelcast Client Enterprise`.
-
-The possible values for the `mode` placeholder:
-
-- `server`: This value is used when the instance was started using the `hz-start` or `hz-start.bat` scripts.
-- `client`: This instance is a Hazelcast client instance.
-- `embedded`: This instance is embedded in another Java program.
-
-## Metrics
-
-Hazelcast exposes various metrics to facilitate monitoring of the cluster state. They are `` key-value pairs of data that capture the runtime information about the members and clients in a Hazelcast cluster. Such a metric can be the number of entries stored in a particular `IMap` on a given member, JVM metrics like used heap, OS metrics like load average, and so on.
-
-The metrics system is responsible for collecting these metrics and making them available for the [consumers](#exposing-metrics) of the metrics. There are a few hundred metrics collected during every metrics collection cycle by default, but the number of metrics grows as more features and data structures are used. This is because every data structure provides its own metrics. For example, if there are two `IMap`s used in a cluster, both `IMap`s produce their metrics on every member.
-
-Metrics have associated **tags** which describe which object the metric applies to. For example, the tags for job metrics typically indicate the specific DAG vertex and processor the metric belongs to.
-
-Each metric instance provided belongs to a particular Hazelcast cluster member. Different cluster members can have their own versions of the same metric with different values.
-
-The metric collection runs in regular intervals on each member, but note that the metric collection on different cluster members happens at different moments in time. If you try to correlate metrics from different members, they may have different timestamps.
-
-### Hazelcast metrics
-
-There are a wide range of metrics and statistics provided by Hazelcast:
-
-- cluster-wide metrics
-- statistics of distributed data structures (see [member statistics](#member-statistics))
-- executor statistics (see [executor statistics](#executor-statistics))
-- partition related statistics (state, migration, replication)
-- garbage collection statistics
-- memory statistics for the JVM which current Hazelcast member belongs to (total physical/free OS memory, max/committed/used/free heap memory and max/committed/used/free native memory)
-- network traffic related statistics (traffic and queue sizes)
-- class loading related statistics
-- thread count information (current, peak and daemon thread counts)
-- job-specific metrics
-
-See the full list of Hazelcast metrics in [List of Metrics appendix](../../reference/list-of-metrics.mdx).
-
-### User-defined metrics
-
-User-defined metrics are actually a subset of [job metrics](../../reference/list-of-metrics.mdx#job-metrics). What distinguishes them from regular job-specific metrics is exactly what their name implies: they are not built-in, but defined when processing pipelines are written.
-
-Since user-defined metrics are also job metrics, they have all the tags job metrics have. They also have an extra tag, called `user`, which is set to `true`.
-
-:::note
-
-Because of their extra tag, user-defined metrics cannot overwrite a built-in metric, even if they have the exact same name.
-
-:::
-
-For example, to monitor your filtering step, you can write code like this:
-
-```java
-p.readFrom(source)
- .filter(l -> {
- boolean pass = l % 2 == 0;
- if (!pass) {
- Metrics.metric("dropped").increment();
- }
- Metrics.metric("total").increment();
- return pass;
- })
- .writeTo(sink);
-```
-
-User-defined metrics can be used anywhere in pipeline definitions where custom code can be added. This means (just to name the most important ones): filtering, mapping and flat-mapping functions, various constituent functions of aggregations (accumulate, create, combine, deduct, export, and finish), key extraction function when grouping, in [custom batch sources](../../develop-and-build/building-data-pipelines/ingesting-data-from-sources/custom-batch-source.mdx), [custom stream sources](../../develop-and-build/building-data-pipelines/ingesting-data-from-sources/custom-stream-source.mdx), [custom sinks](../../develop-and-build/building-data-pipelines/sending-results-to-sinks/custom-sink.mdx), processors, and so on.
-
-### Exposing metrics
-
-The following are the tools and interfaces to expose the metrics to the outside world:
-
-- Management Center
-- JMX
-- Diagnostics (see [here](#diagnostics))
-- Prometheus
-- Job API
-
-#### Management Center {/* #management-center-2 */}
-
-Management Center receives the metrics used for building its view about the Hazelcast cluster from the metrics system. The members collect their metrics with the frequency defined with `collection-frequency-seconds`, which is by default once in every 5 seconds.
-
-The member saves the collected metrics into a blob stored in an in-memory buffer. The blob then is retained for the time configured in the `retention-seconds` under the `management-center` configuration block. This is also 5 seconds by default, which means there is at most one blob stored by default. Management Center periodically reads the metrics from this buffer. A blob stays in the buffer until a newer blob replaces it.
-
-As mentioned earlier, the client metrics are also stored in these blobs on the member side with timestamps assigned to them on the client side.
-
-See the for more information .
-
-#### Over JMX
-
-Hazelcast exposes all its metrics using the JVM's standard JMX interface. You can use tools such as **Java Mission Control** or **JConsole** to display them.
-
-The Hazelcast metrics are exposed under `com.hazelcast/Metrics/$INSTANCE_NAME` where `$INSTANCE_NAME` is the name of the member or client instance to which the JMX client is connected.
-
-And the Jet engine related beans are stored under `com.hazelcast.jet/Metrics//` node and the various tags they have form further sub-nodes in the resulting tree structure.
-
-#### Prometheus
-
-Prometheus is a popular monitoring system and time series database. Setting up monitoring via Prometheus consists of two steps. The first step is exposing an HTTP endpoint with metrics. The second step is setting up Prometheus server, which pulls the metrics in a specified interval.
-
-The Prometheus Java agent is already part of the Hazelcast distribution and just needs to be enabled. Enable the agent and expose all metrics via HTTP endpoint by setting an environment variable `PROMETHEUS_PORT`, you can change the port to any available port:
-
-```bash
-PROMETHEUS_PORT=8080 bin/hz-start
-```
-
-You should see following line printed to the logs:
-
-```text
-Prometheus enabled on port 8080
-```
-
-The metrics are available on `http://localhost:8080`.
-
-:::note
-
-You need to configure Prometheus to scrape each member individually, manage changes from scaling and restarts, and collate the metrics from all members. If you are an Enterprise customer, you can configure Prometheus to scrape metrics from Management Center to collect metrics for the whole cluster. See .
-
-:::
-
-For a guide on how to set up Prometheus server go to the [Prometheus website](https://prometheus.io/docs/prometheus/latest/getting_started).
-
-#### Via Job API
-
-The `Job` class has a method which returns a instance. It contains the latest known metric values for the job.
-
-This functionality has been developed primarily to give access to metrics of finished jobs, but can in fact be used for jobs in any state.
-
-For details on how to use and filter the metric values consult the . A simple example for computing the number of data items emitted by a certain vertex (here called `vertexA`), excluding items emitted to the snapshot, looks like this:
-
-```java
-Predicate vertexOfInterest =
- MeasurementPredicates.tagValueEquals(MetricTags.VERTEX, "vertexA");
-Predicate notSnapshotEdge =
- MeasurementPredicates.tagValueEquals(MetricTags.ORDINAL, "snapshot").negate();
-
-Collection measurements = jobMetrics
- .filter(vertexOfInterest.and(notSnapshotEdge))
- .get(MetricNames.EMITTED_COUNT);
-
-long totalCount = measurements.stream().mapToLong(Measurement::value).sum();
-```
-
-### Configuration
-
-The metrics collection is enabled by default. You can configure the metrics system declaratively or programmatically. The following is an example declarative configuration with the default values, on the member side:
-
-
-
-
-```xml
-
-
- 5
-
-
- 5
-
-```
-
-
-
-
-```yaml
-metrics:
- enabled: true
- management-center:
- enabled: true
- retention-seconds: 5
- jmx:
- enabled: true
- collection-frequency-seconds: 5
-```
-
-
-
-
-Note that all the metrics configuration values can be overridden with system properties. The properties are listed below:
-
-- `hazelcast.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
-- `hazelcast.metrics.mc.enabled`: Enables buffering the collected metrics for Management Center if set to `true`, disables it otherwise.
-- `hazelcast.metrics.mc.retention`: Duration, in seconds, for which the metrics are retained for Management Center.
-- `hazelcast.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
-- `hazelcast.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
-- `hazelcast.metrics.debug.enabled`: Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this property has no element in the `metrics` configuration. It is meant to be enabled only if diagnostics is enabled, because only the diagnostics feature consumes the debug metrics.
-
-The client configuration is similar. It lacks the Management Center configuration block (`management-center` configuration element), as shown below. This is because the clients are not connected to Management Center and the client metrics are sent to Management Center through a member to which the client is connected.
-
-
-
-
-```xml
-
-
- 5
-
-```
-
-
-
-
-```yaml
-metrics:
- enabled: true
- jmx:
- enabled: true
- collection-frequency-seconds: 5
-```
-
-
-
-
-Similarly to the member configuration, the client metrics configuration can be overridden with the following system properties:
-
-- `hazelcast.client.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
-- `hazelcast.client.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
-- `hazelcast.client.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
-- `hazelcast.client.metrics.debug.enabled`: Enables collecting debug metrics if set to `true`, disables it otherwise. Note that this property has no element in the `metrics` configuration. It is meant to be enabled only if diagnostics is enabled, because only the diagnostics feature consumes the debug metrics.
-
-### Version compatibility
-
-Note that the metric names may change between MINOR versions but not between PATCH versions.
-
-### Notes on the performance
-
-The metrics system is designed with care to make the least possible impact on the performance of the cluster. Since the metrics collection takes place periodically with a few seconds frequency, the main focus is keeping allocation rates and memory footprint at minimum. Therefore, the blobs that store the metrics for Management Center are stored in the memory in a compressed format. The measurements, that use multiple `IMap`s to scale up the number of metrics, show that one blob occupies only a few KBs and it grows above 10 KB only if there are more than 1000 `IMap`s.
-
-The allocation rate of a metric collection cycle is also low. With both Management Center and JMX consumers enabled, the allocation rate with 100 `IMap`s is below 256 KB per cycle, and it grows above 1 MB with 1000 `IMap`s. This means that metrics collection does not increase the frequency of the garbage collection (GC) noticeably.
-
-While the metrics collection is considered GC friendly, it should be noted that the blobs are not recycled: configuring the retention time should be done with taking the frequency of the GC into account to prevent the blobs from getting promoted into the tenured region of the heap that in the end contributes to major GCs after time.
-
-## Member statistics
-
-You can get various statistics from your distributed data structures via the Statistics API. Since the data structures are distributed in the cluster, the Statistics API provides statistics for the local portion (1/Number of Members in the Cluster) of data on each member.
-
-### Map statistics
-
-To get local map statistics, use the `getLocalMapStats()` method from the `IMap` interface. This method returns a `LocalMapStats` object that holds local map statistics.
-
-Below is an example code where the `getLocalMapStats()` method and the `getOwnedEntryCount()` method get the number of entries owned by this member.
-
-{Ex_management_ExampleLocalMapStats_java_tag_lms}
-
-:::note
-
-The `getOwnedEntryMemoryCost()` method is also supported for NATIVE in-memory format.
-
-:::
-
-The following are some of the metrics that you can access via the `LocalMapStats` object:
-
-- Number of entries owned by the member (`getOwnedEntryCount()`).
-- Number of backup entries held by the member (`getBackupEntryCount()`).
-- Number of backups per entry (`getBackupCount()`).
-- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`).
-- Creation time of the map on the member (`getCreationTime()`).
-- Number of hits (reads) of the locally owned entries (`getHits()`).
-- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`).
-- Number of queries executed on the map (`getQueryCount()` and `getIndexedQueryCount()`) (it may be imprecise for queries involving partition predicates (`PartitionPredicate`) on the off-heap storage).
-
-See the to see all the metrics.
-
-### Map index statistics
-
-To access map index statistics, if you are using indexes to speed up map queries, use the `getIndexStats()` method of the `LocalMapStats` interface returned by `IMap.getLocalMapStats()`.
-
-Below is an example where the `getIndexStats()` method is used to examine an average selectivity of index hits:
-
-{Ex_management_ExampleLocalIndexStats_java_tag_lis}
-
-The following are some of the metrics that you can obtain via the `LocalIndexStats` interface:
-
-- Number of queries and hits into an index (`getQueryCount()` and `getHitCount()`): Number of hits and queries may differ since a single query may hit the same index more than once.
-- Average index hit latency measured in nanoseconds (`getAverageHitLatency()`)
-- Average index hit selectivity (`getAverageHitSelectivity`): Returned values are in the range from 0.0 to 1.0. Values close to 1.0 indicate a high selectivity meaning the index is efficient; values close to 0.0 indicate a low selectivity meaning the index efficiency is approaching an efficiency of a simple full scan.
-- Number of index insert, update and remove operations (`getInsertCount()`, `getUpdateCount()` and `getRemoveCount()`).
-- Total latencies of insert, update and remove operations (`getTotalInsertLatency()`, `getTotalUpdateLatency()`, `getTotalRemoveLatency()`): To compute an average latency divide the returned value by the number of operations of a corresponding type.
-- Memory cost of an index (`getMemoryCost()`): For on-heap storage, this memory cost metric value is a best-effort approximation and does not indicate a precise on-heap memory usage of an index.
-
-See the to see all the metrics.
-
-To compute an aggregated value of `getAverageHitSelectivity()` for all cluster members, you can use a simple averaging computation as shown below:
-
-```none
-(s(1) + s(2) + ... + s(n)) / n
-```
-
-In this computation, `s(i)` is an average hit selectivity on the member `i` and `n` is the total number of cluster members.
-
-A more advanced solution is to compute a weighted average as shown below:
-
-```none
-(s(1) * h(1) + s(2) * h(2) + ... + s(n) * h(n)) / (h(1) + h(2) + ... + h(n))
-```
-
-Here, `s(i)` is an average hit selectivity on the member `i`, `h(i)` is a hit count (`getHitCount()`) on the member `i` and `n` is the total number of cluster members. This more advanced solution may produce more precise results in unstable dynamic clusters where new members do not have enough statistics accumulated. The same technique may be applied to the `getAverageHitLatency()` metric.
-
-Accuracy and reliability notes:
-
-- For on-heap storage, values returned by `getAverageHitSelectivity()` may be 1% more or less than the actual selectivity. For example, if the actual selectivity is 0.9, the returned value could be between 0.89 and 0.91.
-- The values returned by `getQueryCount()` and `getHitCount()` may be imprecise for queries involving partition predicates (`PartitionPredicate`) on off-heap storage.
-- The index statistics may be imprecise after a new cluster member addition or the existing member removal until enough fresh statistics is accumulated on a new owner of an index or its partition.
-
-### Near Cache statistics
-
-To get Near Cache statistics, use the `getNearCacheStats()` method from the `LocalMapStats` object. This method returns a `NearCacheStats` object that holds Near Cache statistics.
-
-Below is an example code where the `getNearCacheStats()` method and the `getRatio` method from `NearCacheStats` get a Near Cache hit/miss ratio.
-
-{Ex_management_ExampleNearCacheStats_java_tag_ncs}
-
-The following are some of the metrics that you can access via the `NearCacheStats` object (applies to both client and member Near Caches):
-
-- creation time of the Near Cache on the member (`getCreationTime()`)
-- number of entries owned by the member (`getOwnedEntryCount()`)
-- memory cost (number of bytes) of owned entries in the Near Cache (`getOwnedEntryMemoryCost()`)
-- number of hits (reads) of the locally owned entries (`getHits()`)
-
-See the to see all the metrics.
-
-### `MultiMap` statistics
-
-To get `MultiMap` statistics, use the `getLocalMultiMapStats()` method from the `MultiMap` interface. This method returns a `LocalMultiMapStats` object that holds local `MultiMap` statistics.
-
-Below is an example code where the `getLocalMultiMapStats()` method and the `getLastUpdateTime` method from `LocalMultiMapStats` get the last update time.
-
-{Ex_management_ExampleMultiMapStats_java_tag_mms}
-
-The following are some of the metrics that you can access via the `LocalMultiMapStats` object:
-
-- number of entries owned by the member (`getOwnedEntryCount()`)
-- number of backup entries held by the member (`getBackupEntryCount()`)
-- number of backups per entry (`getBackupCount()`)
-- memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
-- creation time of the multimap on the member (`getCreationTime()`)
-- number of hits (reads) of the locally owned entries (`getHits()`)
-- number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
-
-See the to see all the metrics.
-
-### Queue statistics
-
-To get local queue statistics, use the `getLocalQueueStats()` method from the `IQueue` interface. This method returns a `LocalQueueStats` object that holds local queue statistics.
-
-Below is an example code where the `getLocalQueueStats()` method and the `getAverageAge` method from `LocalQueueStats` get the average age of items.
-
-{Ex_management_ExampleQueueStats_java_tag_qs}
-
-The following are some of the metrics that you can access via the `LocalQueueStats` object:
-
-- number of owned items in the member (`getOwnedItemCount()`)
-- number of backup items in the member (`getBackupItemCount()`)
-- minimum and maximum ages of the items in the member (`getMinAge()` and `getMaxAge()`)
-- number of offer, put and add operations (`getOfferOperationCount()`)
-
-See the to see all the metrics.
-
-### Topic statistics
-
-To get local topic statistics, use the `getLocalTopicStats()` method from the `ITopic` interface. This method returns a `LocalTopicStats` object that holds local topic statistics.
-
-Below is an example code where the `getLocalTopicStats()` method and the `getPublishOperationCount` method from `LocalTopicStats` get the number of publish operations.
-
-{Ex_management_ExampleTopicStats_java_tag_ts}
-
-The following are the metrics that you can access via the `LocalTopicStats` object:
-
-- creation time of the topic on the member (`getCreationTime()`)
-- total number of published messages of the topic on the member (`getPublishOperationCount()`)
-- total number of received messages of the topic on the member (`getReceiveOperationCount()`)
-
-See the to see all the metrics.
-
-:::note
-
-There is a known issue with the `ReliableTopic` structure whereby if a `MessageListener` is removed, it can still be called by the internal `MessageRunner`, resulting in duplicated topic statistics. As a result, these statistics are unreliable and should be used for general insights only.
-
-:::
-
-### Executor statistics
-
-To get local executor statistics, use the `getLocalExecutorStats()` method from the `IExecutorService` interface. This method returns a `LocalExecutorStats` object that holds local executor statistics.
-
-Below is an example code where the `getLocalExecutorStats()` method and the `getCompletedTaskCount` method from `LocalExecutorStats` get the number of completed operations of the executor service.
-
-{Ex_management_ExampleExecutorStats_java_tag_es}
-
-The following are some of the metrics that you can access via the `LocalExecutorStats` object:
-
-- number of pending operations of the executor service (`getPendingTaskCount()`)
-- number of started operations of the executor service (`getStartedTaskCount()`)
-- number of completed operations of the executor service (`getCompletedTaskCount()`)
-
-See the to see all the metrics.
-
-## Health check and monitoring
-
-The Hazelcast health check feature provides you with tools to monitor the health and status of your Hazelcast clusters to ensure these are running smoothly, to identify issues early, and maintain high availability and reliability.
-
-The following options are provided for monitoring the health of your Hazelcast clusters:
-
-- HTTP-based health check endpoint
-- Health check script
-- Health monitoring utility
-
-### Use the health check endpoint and script {/* #enable-hcheck */}
-
-How you enable the health check endpoint depends on whether you are using the or REST API.
-
-** REST API**
-
-If you are using the REST API, see: [Get Started with REST API using Java](../../clients-and-apis/apis/enterprise-rest-api/get-started-rest-api-with-java.mdx) for information on how to enable the health check endpoint.
-
-After enabling the REST API, you can reach all the endpoints, including the health check ones, without further configuration. To see the available endpoints, and learn more about how to make a request and the expected responses, refer to the [Swagger documentation](../../clients-and-apis/apis/enterprise-rest-api/rest-api-swagger.mdx#tag/Health-Controller).
-
-** REST API**
-
-If you are using the REST API, follow the steps below to enable the health check endpoint and use the health check script.
-
-:::caution[Deprecation Notice for the Community Edition REST API]
-
-The [Community Edition REST API](../../clients-and-apis/apis/enterprise-rest-api/rest-api.mdx) has been deprecated and will be removed as of Hazelcast version 7.0. An improved Enterprise version of this feature is available and actively being developed. For more information, see [Enterprise REST API](../../clients-and-apis/apis/enterprise-rest-api/overview.mdx).
-
-:::
-
-To use the health check endpoint and script, enable either of the following configuration options:
-
-- Using the `network` configuration element:
-
-
-
-
- ```xml
-
- ...
-
-
-
-
-
- ...
-
- ```
-
-
-
-
- ```yaml
- hazelcast:
- network:
- rest-api:
- enabled: true
- endpoint-groups:
- HEALTH_CHECK:
- enabled: true
- ```
-
-
-
-- Using the `advanced-network` configuration element:
-
-
-
-
- ```xml
-
- ...
-
-
-
-
-
-
-
- ...
-
- ```
-
-
-
-
- ```yaml
- hazelcast:
- advanced-network:
- enabled: true
- rest-server-socket-endpoint-config:
- endpoint-groups:
- HEALTH_CHECK:
- enabled: true
- ```
-
-
-
-
-### Perform health check
-
-You can use Hazelcast's HTTP-based health check implementation to get basic information about the cluster and member on which it is launched.
-
-To use the HTTP-based health check:
-
-1. Enable the [health check endpoint](#enable-hcheck).
-2. Launch the health check from your preferred browser: `http://:5701/hazelcast/health`.
-
- The health check retrieves information about your cluster's health status, such as member state, cluster state, cluster size, etc. For example:
-
- ```none
- {
- "nodeState": "ACTIVE",
- "clusterState": "ACTIVE",
- "clusterSafe": false,
- "migrationQueueSize": 0,
- "clusterSize": 3
- }
- ```
-
- - `nodeState`: State of the member on which the health check is launched. See [Cluster and Member States](./cluster-member-states.mdx#member-states) to learn more about the states of cluster members.
- - `clusterState`: State of cluster that the health-checked member belongs to. See [Cluster and Member States](./cluster-member-states.mdx#cluster-states) to learn more about cluster states.
- - `clusterSafe`: Whether the queried member is safe: there are no active partition migrations, and all backups are in sync for each partition that the member owns. See [Shutting Down Members and Clusters](./shutdown.mdx#ensuring-members-and-clusters-are-in-a-safe-state) to learn how to check the safety of active clusters.
-
- :::note
-
- The `clusterSafe` indicator is useful when your cluster is in a passive state. If the cluster is in an active state, the indicator value continually changes due to the dynamic state of the cluster. Also, checking the cluster safety triggers additional operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load may impact cluster performance.
-
- :::
- - `migrationQueueSize`: A count of the remaining migration tasks while the cluster data is being repartitioned. See [Data Partitioning](../../develop-and-build/architecture/data-partitioning.mdx) to learn about Hazelcast's partitioning mechanism.
- - `clusterSize`: A count of the cluster member count.
-
-### Use the hz-healthcheck script {/* #health-check-script */}
-
-The `hz-healthcheck` script comes with the Hazelcast package. Internally, it uses the HTTP-based health check endpoint (the REST API).
-
-To run the `hz-healthcheck` script:
-
-1. Enable the [health check endpoint](#enable-hcheck).
-2. Run the `hz-healthcheck` script with parameters using the following format:
-
- ```none
- ./hz-healthcheck
- ```
-
-You can use the following parameters to perform checks and operations on your Hazelcast clusters:
-
-
-
-
-
-
-
-
-
-| Parameter |
-Default Value |
-Description |
-
-
-
-
-| `-o` or `--operation` |
-`all` |
-
-
-Health check operation. It can be `all`, `node-state`, `cluster-state`, `cluster-safe`, `migration-queue-size` and `cluster-size`.
-
-:::note
-
-The `cluster-safe` option is useful when your cluster is in a passive state. If the cluster is in an active state, the indicator value continually changes due to the dynamic state of the cluster. Also, checking the cluster safety triggers additional operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load may impact cluster performance.
-
-:::
-
- |
-
-
-| `-a` or `--address` |
-`127.0.0.1` |
-Defines the IP address of a cluster member. If you want to manage your cluster remotely, you should use this parameter to provide the IP address of a member to this script. |
-
-
-| `-p` or `--port` |
-`5701` |
-Defines on which port Hazelcast is running on the local or remote machine. |
-
-
-| `-h` or `--help` |
-*no argument expected* |
-Lists the parameter descriptions. It works only as the first parameter. |
-
-
-| `-d` or `--debug` |
-*no argument expected* |
-Prints error output. |
-
-
-| `--https` |
-*no argument expected* |
-Uses HTTPS protocol for REST calls. |
-
-
-| `--cacert` |
-*set of well-known CA certificates* |
-Defines the path of the trusted PEM-encoded certificate file. It is used to verify member certificates. |
-
-
-| `--cert` |
-None |
-Defines the path of the PEM-encoded client certificate file. Only needed when client certificate authentication is used. |
-
-
-| `--key` |
-None |
-Defines the path of the PEM-encoded client private key file. Only needed when client certificate authentication is used. |
-
-
-| `--insecure` |
-*no argument expected* |
-Disables member certificate verification. |
-
-
-
-
-**Example 1: Checking the state of members in a healthy cluster:**
-
-If the member is deployed under the address `127.0.0.1:5701` and it is in the healthy state, the following output is expected:
-
-```none
-./hz-healthcheck -a 127.0.0.1 -p 5701 -o node-state
-ACTIVE
-```
-
-**Example 2: Checking the safety of a non-existent cluster:**
-
-If the cluster has no members running under the address `127.0.0.1:5701`, the following output is expected:
-
-```none
-./hz-healthcheck -a 127.0.0.1 -p 5701 -o cluster-safe
-Error while checking health of hazelcast cluster on ip 127.0.0.1 on port 5701.
-Please check that cluster is running and that health check is enabled in REST API configuration.
-```
-
-### Use the health monitor utility
-
-The health monitor periodically prints logs in your console to provide information about your member's state. By default, it is enabled when you start your cluster.
-
-You can set the interval of health monitoring using the `hazelcast.health.monitoring.delay.seconds` system property. Its default value is 20 seconds.
-
-The system property `hazelcast.health.monitoring.level` is used to configure the monitoring's log level. If it is set to OFF, the monitoring is disabled. If it is set to NOISY, monitoring logs are always printed for the defined intervals. When it is SILENT, which is the default value, monitoring logs are printed only when the values exceed some predefined thresholds. These thresholds are related to memory and CPU percentages, and can be configured using the `hazelcast.health.monitoring.threshold.memory.percentage` and `hazelcast.health.monitoring.threshold.cpu.percentage` system properties, whose default values are both 70. Monitoring logs are also printed when pending invocations exceed 70% or a count of 1000.
-
-The following is an example monitoring output
-
-```none vars
-Sep 08, 2017 5:02:28 PM com.hazelcast.internal.diagnostics.HealthMonitor
-
-INFO: [192.168.2.44]:5701 [host-name] [{full-version}] processors=4, physical.memory.total=16.0G, physical.memory.free=5.5G, swap.space.total=0, swap.space.free=0, heap.memory.used=102.4M,
-
-heap.memory.free=249.1M, heap.memory.total=351.5M, heap.memory.max=3.6G, heap.memory.used/total=29.14%, heap.memory.used/max=2.81%, minor.gc.count=4, minor.gc.time=68ms, major.gc.count=1,
-
-major.gc.time=41ms, load.process=0.44%, load.system=1.00%, load.systemAverage=3.15, thread.count=97, thread.peakCount=98, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0,
-
-executor.q.client.size=0, executor.q.client.query.size=0, executor.q.client.blocking.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.size=0,
-
-executor.q.priorityOperation.size=0, operations.completed.count=226, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0,
-
-operations.running.count=0, operations.pending.invocations.percentage=0.00%, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=1,
-
-connection.active.count=2, client.connection.count=1, connection.count=1
-```
-
-:::note
-
-See the [Configuring with System Properties section](../configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to set system properties.
-
-:::
-
-### Use health check on F5 BIG-IP LTM
-
-The F5® BIG-IP® Local Traffic Manager™ (LTM) can be used as a load balancer for Hazelcast cluster members. This section describes how you can configure a health monitor to check the Hazelcast member states.
-
-#### Monitor types
-
-Following types of monitors can be used to track Hazelcast cluster members:
-
-- HTTP Monitor: A custom HTTP monitor enables you to send a command to Hazelcast's Health Check API using HTTP requests. This is a good choice if SSL/TLS is not enabled in your cluster.
-- HTTPS Monitor: A custom HTTPS monitor enables you to verify the health of Hazelcast cluster members by sending a command to Hazelcast's Health Check API using Secure Socket Layer (SSL) security. This is a good choice if SSL/TLS is enabled in your cluster.
-- `TCP_HALF_OPEN` monitor: A `TCP_HALF_OPEN` monitor is a basic monitor that only checks that the TCP port used by Hazelcast is open and responding to connection requests. It does not interact with the Hazelcast Health Check API. The `TCP_HALF_OPEN` monitor can be used with or without SSL/TLS.
-
-#### Configuration {/* #configuration-2 */}
-
-After signing in to the BIG-IP LTM User Interface, follow F5's [^instructions](https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-monitors-reference-11-6-0/3.html#unique_859105660) to create a new monitor. Next, apply the following configuration according to your monitor type.
-
-##### HTTP/HTTPS monitors
-
-:::note
-
-You must enable the Hazelcast health check for HTTP/HTTPS monitors to run. Enable the endpoint by using the `advanced-network` or the `network` configuration element. See the [Health Check and Monitoring section](#health-check-and-monitoring).
-
-:::
-
-**Using a GET request:**
-
-- Set the "Send String" as follows:
-
- ```none
- GET /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
- ```
-- Set the "Receive String" as follows:
-
- ```none
- {"nodeState":"ACTIVE","clusterState":"ACTIVE","clusterSafe":true,"migrationQueueSize":0,"clusterSize":([^\s]+)}
- ```
-
-The BIG-IP LTM monitors accept regular expressions in these strings allowing you to configure them as needed. The example provided above remains green even if the cluster size changes.
-
-**Using a HEAD request:**
-
-- Set the "Send String" as follows:
-
- ```none
- HEAD /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
- ```
-- Set the "Receive String" as follows:
-
- ```none
- 200 OK
- ```
-
-As you can see, the HEAD request only checks for a `200 OK` response. A Hazelcast cluster member sends this status code whenever its REST endpoint handles the request. The status code does not depend on the member state or the cluster state. This provides a basic health check. For increased flexibility, we recommend using the GET request API.
-
-##### `TCP_HALF_OPEN` monitors
-
-- Set the "Type" as `TCP Half Open`.
-- Optionally, set the "Alias Service Port" as the port of Hazelcast cluster member if you want to specify the port in the monitor
-
-## Diagnostics
-
-Hazelcast provides diagnostic logging capabilities that help with troubleshooting and monitoring.
-
-An extended set of diagnostics plugins is provided for both Hazelcast members and clients. A dedicated log file is used to write the diagnostics content, and a rolling file approach is used to prevent this taking up too much disk space.
-
-You can configure diagnostic logging using the properties described below (known as *static* configuration) or by configuring diagnostic logging via Management Center or Operator (known as *dynamic* configuration) without having to restart the cluster.
-
-### Enable dynamic diagnostic logging
-
-Dynamic diagnostic logging allows you to switch logging on and off at runtime without requiring cluster restarts.
-
-You can also turn diagnostic logging off automatically after a set period by configuring the auto turn-off feature via Management Center or Operator.
-
-Operator also allows you to control the diagnostic plugins.
-
-For information on how to enable dynamic diagnostic logging and the auto turn-off feature, see the or documentation.
-
-:::note
-
-To use dynamic logging, do not enable or disable diagnostic logging statically via the properties as any configuration made using this method overrides any dynamic configuration settings. For example, if you set the `hazelcast.diagnostics.enabled` property to `true`, diagnostics cannot be disabled dynamically via Management Center or Operator. Similarly, if you set the `hazelcast.diagnostics.enabled` property to `false`, diagnostics cannot be enabled dynamically via Management Center or Operator. This also applies to other properties.
-
-:::
-
-### Enable diagnostic logging statically
-
-To enable diagnostic logging statically, specify the following properties on the member side:
-
-
-
-
-```xml
-
- ...
-
- true
- 30
- 30
- 30
- 60
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.enabled: true
- hazelcast.diagnostics.invocation.sample.period.seconds: 30
- hazelcast.diagnostics.pending.invocations.period.seconds: 30
- hazelcast.diagnostics.slowoperations.period.seconds: 30
- hazelcast.diagnostics.storeLatency.period.seconds: 60
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.enabled", "true" )
- .setProperty( "hazelcast.diagnostics.invocation.sample.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.pending.invocations.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.slowoperations.period.seconds", "30" )
- .setProperty( "hazelcast.diagnostics.storeLatency.period.seconds", "60" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.enabled=true
- -Dhazelcast.diagnostics.invocation.sample.period.seconds=30
- -Dhazelcast.diagnostics.pending.invocations.period.seconds=30
- -Dhazelcast.diagnostics.slowoperations.period.seconds=30
- -Dhazelcast.diagnostics.storeLatency.period.seconds=60
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.enabled=true -Dhazelcast.diagnostics.invocation.sample.period.seconds=30 -Dhazelcast.diagnostics.pending.invocations.period.seconds=30 -Dhazelcast.diagnostics.slowoperations.period.seconds=30 -Dhazelcast.diagnostics.storeLatency.period.seconds=60"
-```
-
-
-
-
-On the Java client side, set the following properties:
-
-- `hazelcast.diagnostics.enabled=true`
-
-### Diagnostics log file
-
-You can use the following property to specify the location of the diagnostics log file:
-
-
-
-
-```xml
-
- ...
-
- /your/log/directory
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.directory: /your/log/directory
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.directory", "/your/log/directory" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.directory=/your/log/directory
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.directory=/your/log/directory"
-```
-
-
-
-
-The name of the log file has the following format:
-
-```none
-diagnostics-_--.log
-```
-
-You can set a custom string prefix for the name of log file using the following property.
-
-
-
-
-```xml
-
- ...
-
- foobar
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.filename.prefix: foobar
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.filename.prefix", "foobar" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.filename.prefix=foobar
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.filename.prefix=foobar"
-```
-
-
-
-
-The content format of the diagnostics log file is depicted below:
-
-```none
- BuildInfo[
- ]
- SystemProperties[
- ]
- ConfigProperties[
- ]
- Metric[=]
- Metric[=]
- SlowOperations[
- ]
- HazelcastInstance[
- ]
-...
-...
-...
-```
-
-A rolling file approach is used to prevent creating too much data. By default 10 files of 50 MB each are allowed to exist. You can set the size of each file and number of files using the following properties.
-
-
-
-
-```xml
-
- ...
-
- 100
- 5
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.max.rolled.file.size.mb: 100
- hazelcast.diagnostics.max.rolled.file.count: 5
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.max.rolled.file.size.mb", "100" )
- .setProperty( "hazelcast.diagnostics.max.rolled.file.count", "5" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.max.rolled.file.size.mb=100
- -Dhazelcast.diagnostics.max.rolled.file.count=5
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.max.rolled.file.size.mb=100 -Dhazelcast.diagnostics.max.rolled.file.count=5"
-```
-
-
-
-
-### Diagnostics output options
-
-You can use the following property to specify the output type of diagnostics.
-
-
-
-
-```xml
-
- ...
-
- STDOUT
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.stdout: STDOUT
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.stdout", "STDOUT" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.stdout=STDOUT
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.stdout=STDOUT"
-```
-
-
-
-
-Available types:
-
-- `FILE`: Outputs the diagnostics to a [set of files](#diagnostics-log-file) managed by Hazelcast. This is the default type.
-- `STDOUT`: Outputs the diagnostics to the standard output.
-- `LOGGER`: Outputs the diagnostics to the Hazelcast logger; by this way you can use the [logging configuration](../logging.mdx) to forward the diagnostics to any output supported by the logging framework and apply additional configurations. You can see an example in the next section below.
-
- :::note
-
- Using the logging framework introduces a slight overhead in comparison to using other output types but allows for greater flexibility.
-
- :::
-
-### Diagnostics using logging frameworks
-
-Hazelcast does not enforce any logging framework. You can always use your logging framework to configure the diagnostics. You can forward the logs to a logging framework by setting the `hazelcast.diagnostics.stdout` property to `LOGGER`:
-
-
-
-
-```xml
-
- ...
-
- LOGGER
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- ...
- properties:
- hazelcast.diagnostics.stdout: LOGGER
- ...
-```
-
-
-
-
-```java
-Config config = new Config();
-config.setProperty( "hazelcast.diagnostics.stdout", "LOGGER" );
-```
-
-
-
-
-```shell title="Java command"
-java -Dhazelcast.diagnostics.stdout=LOGGER
-```
-
-```shell title="JAVA_OPTS"
-JAVA_OPTS="-Dhazelcast.diagnostics.stdout=LOGGER"
-```
-
-
-
-
-Above configuration forwards the logs to the `com.hazelcast.diagnostics` logger so you can write them to a file by referencing one of the configured appenders. The following is an example for Log4j2.
-
-```xml
-
-
-
-```
-
-By configuring [`TimeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) and [`SizeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) for the appender, you can control the size and rolling behavior as you want.
-
-:::note
-
-The diagnostic logs have the `DEBUG` level by default; if you do not want to see them in the member logs while they are running in the `DEBUG` mode for the root level appender, you need to change the level to `INFO` for the `com.hazelcast.diagnostics` logger. For Log4j2, see the [configuration documentation](https://logging.apache.org/log4j/2.x/manual/configuration.html) for more details.
-
-:::
-
-### Diagnostics plugins
-
-As it is stated in the introduction of this section and shown in the log file content above, diagnostics utility consists of plugins such as `BuildInfo`, `SystemProperties` and `HazelcastInstance`.
-
-#### `BuildInfo`
-
-It shows the detailed Hazelcast build information including the Hazelcast release number, `Git` revision number and whether you have Hazelcast or not.
-
-#### `SystemProperties`
-
-It shows all the properties and their values in your system used by and configured for your Hazelcast installation. These are the properties starting with `java` (excluding `java.awt`), `hazelcast`, `sun` and `os`. It also includes the arguments that are used to startup the JVM.
-
-#### `ConfigProperties`
-
-It shows the Hazelcast properties and their values explicitly set by you in the declarative or programmatic configuration. It does not show properties set only on the command line with `-D`.
-
-#### Metrics {/* #diagnostics-metrics */}
-
-It shows a comprehensive log of what is happening in your Hazelcast system. See the [Metrics section](#metrics) for more information.
-
-You can configure the frequency of dumping information to the log file using the following property:
-
-- `hazelcast.diagnostics.metrics.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
-
-:::note
-
-See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
-
-:::
-
-#### `SlowOperations`
-
-It shows the slow operations and invocations, See the [`SlowOperationDetector` section](../../develop-and-build/best-practices/threading.mdx#slowoperationdetector) for more information.
-
-#### Invocations
-
-It shows all kinds of statistics about current and past invocations including current pending invocations, history of invocations and slow history, i.e., all samples where the invocation took more than the defined threshold. Slow history does not only include the invocations where the operations took a lot of time, but it also includes any other invocations that have been obstructed.
-
-Using the following properties, you can configure the frequency of scanning all pending invocations and the threshold that makes an invocation to be considered as slow:
-
-- `hazelcast.diagnostics.invocation.sample.period.seconds`: Set a value in seconds. Its default value is `0`, which disables the plugin.
-- `hazelcast.diagnostics.invocation.slow.threshold.seconds`: Set a value in seconds. Its default value is `5` seconds.
-
-#### `InvocationProfiler`
-
-It shows invocation latencies for each operation. See an example output below:
-
-```none
-06-05-2019 17:15:29 1557152129944 InvocationProfiler[
- com.hazelcast.map.impl.query.QueryOperation[
- count=400
- totalTime(us)=56,000
- avg(us)=140
- max(us)=3,000
- latency-distribution[
- 64..127us=346
- 512..1023us=53
- 2048..4095us=1]]
- com.hazelcast.map.impl.operation.GetOperation[
- count=100
- totalTime(us)=19,000
- avg(us)=190
- max(us)=1,000
- latency-distribution[
- 64..127us=81
- 512..1023us=19]]]
-```
-
-You can control the frequency of scanning all invocations using the following system property:
-
-- `hazelcast.diagnostics.invocation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
-
-You can increase this period if you would like to decrease the logging noise.
-
-#### `OperationProfiler`
-
-It measures the time an operation runs on an operation thread; if the operation is a blocking one or being offloaded, only the time on the operation thread is measured. See an example output below:
-
-```none
-06-05-2021 14:53:48 1595332428248 OperationsProfiler[
- com.hazelcast.map.impl.operation.GetOperation[
- count=502,501
- totalTime(us)=1,690,645
- avg(us)=3
- max(us)=462
- latency-distribution[
- 1..2us=875
- 2..4us=359,876
- 4..8us=131,775
- 8..16us=8,720
- 16..32us=887
- 32..64us=178
- 64..128us=122
- 128..256us=62
- 256..512us=6]]
-```
-
-You can control the frequency of scanning all operations using the following system property:
-
-- `hazelcast.diagnostics.operation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
-
-#### `HazelcastInstance`
-
-It shows the basic state of your Hazelcast cluster including the count and addresses of current members and the address of oldest cluster member. It is useful to get a fast impression of the cluster without needing to analyze a lot of data.
-
-You can configure the frequency at which the cluster information is dumped to the log file using the following property:
-
-- `hazelcast.diagnostics.memberinfo.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
-
-#### `EventQueue`
-
-It checks the event queues in the data structures and samples the event types if the queue size is above a certain threshold. It is useful to figure out why the event queue is running full.
-
-- `hazelcast.diagnostics.event.queue.period.seconds`: Interval, in seconds, between the runs in which this plugin gathers information and writes it to the diagnostics log file. When set to `0` (its default value), it is disabled.
-- `hazelcast.diagnostics.event.queue.threshold`: Minimum number of events in the queue before it is being sampled. Its default value is `1000`.
-- `hazelcast.diagnostics.event.queue.samples`: Number of samples to take from the event queue. Increasing the number of samples gives more accuracy of the content, but it has a negative performance effect. Its default value is `100`.
-
-An example output for a Hazelcast map is as follows:
-
-```none
-17-04-2019 17:36:37 EventQueues[
- worker=1[
- eventCount=441
- sampleCount=100
- samples[
- IMap 'myMap' ADDED sampleCount=51 51.000%
- IMap 'myMap' REMOVED sampleCount=49 49.000%]]
-```
-
-#### `SystemLog`
-
-It shows the activities in your cluster including when a connection/member is added or removed and if there is a change in the lifecycle of the cluster. It also includes the reasons for connection closings.
-
-You can enable or disable the system log diagnostics plugin, and configure whether it shows information about partition migrations using the following properties:
-
-- `hazelcast.diagnostics.systemlog.enabled`: Its default value is `true`.
-- `hazelcast.diagnostics.systemlog.partitions`: Its default value is `false`. If you enable this, you may get a lot of log entries if you have many partitions.
-
-#### `StoreLatency`
-
-It shows statistics including the count of methods for each store (`load`, `loadAll`, `loadAllKeys`, etc.), average and maximum latencies for each store method calls and latency distributions for each store. The following is an example output snippet as part of the diagnostics log file for Hazelcast `MapStore`:
-
-:::note
-
-This plugin cannot be enabled dynamically due to its design restrictions.
-
-:::
-
-```none
-17-9-2019 13:12:34 MapStoreLatency[
- map[
- loadAllKeys[
- count=1
- totalTime(us)=8
- avg(us)=8
- max(us)=8
- latency-distribution[
- 0..99us=1]]
- load[
- count=100
- totalTime(us)=4,632,190
- avg(us)=46,321
- max(us)=99,178
- latency-distribution[
- 0..99us=1
- 1600..3199us=3
- 3200..6399us=3
- 6400..12799us=7
- 12800..25599us=13
- 25600..51199us=32
- 51200..102399us=41]]]]
-```
-
-According to your store usage, a similar output can be seen for Hazelcast JCache, `Queue`, and `Ringbuffer` data structures with persistent data stores.
-
-You can control the `StoreLatency` plugin using the following properties:
-
-- `hazelcast.diagnostics.storeLatency.period.seconds`: The frequency this plugin is writing the collected information to the disk. By default it is disabled. A sensible production value would be `60` seconds.
-- `hazelcast.diagnostics.storeLatency.reset.period.seconds`: The period of resetting the statistics. If, for example, it is set as 300 (5 minutes), all the statistics are cleared for every 5 minutes. By default it is 0, meaning that statistics are not reset.
-
-#### `OperationHeartbeats`
-
-It shows the deviation between member/member operation heartbeats. Each member, regardless if there is an operation running on behalf of that member, sends an operation heartbeat to every other member. It contains a listing of all `callId`s of the running operations from a given member. This plugin also works fine between `members/lite-members`.
-
-Because this operation heartbeat is sent periodically; by default 1/4 of the operation call timeout of 60 seconds, we would expect an operation heartbeat to be received every 15 seconds. Operation heartbeats are high priority packets (so they overtake regular packets) and are processed by an isolated thread in the invocation monitor. If there is any deviation in the frequency of receiving these packets, it may be due to the problems such as network latencies.
-
-The following shows an example of the output where an operation heartbeat has not been received for 37 seconds:
-
-```none
-20-07-2017 11:12:55 OperationHeartbeat[
- member[10.212.1.119]:5701[
- deviation(%)=146.6666717529297
- noHeartbeat(ms)=37,000
- lastHeartbeat(ms)=1,500,538,338,603
- lastHeartbeat(date-time)=20-07-2017 11:12:18
- now(ms)=1,500,538,375,603
- now(date-time)=20-07-2017 11:12:55]]
-```
-
-The `OperationHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
-
-You can control the `OperationHeartbeats` plugin using the following properties:
-
-- `hazelcast.diagnostics.operation-heartbeat.seconds`: The frequency this plugin is writing the collected information to the disk. It is configured to be 10 seconds by default. 0 disables the plugin.
-- `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is 33. For example, with a default 60 call timeout and operation heartbeat interval being 15 seconds, the maximum deviation with a deviation-percentage of 33, is 5 seconds. So there is no problem if a packet is arrived after 19 seconds, but if it arrives after 21 seconds, then the plugin renders.
-
-#### `MemberHeartbeats`
-
-This plugin looks a lot like the `OperationHeartbeats` plugin, but instead of relying on operation heartbeats to determine the deviation, it relies on member/member cluster heartbeats. Every member sends a heartbeat to other members periodically (by default every 5 seconds).
-
-Just like the `OperationHeartbeats`, the `MemberHeartbeats` plugin can be used to detect if there are networking problems long before they actually lead to problems such as split-brain syndromes.
-
-The following shows an example of the output where no member/member heartbeat has been received for 11 seconds:
-
-```none
-20-07-2017 19:32:22 MemberHeartbeats[
- member[10.212.1.119]:5701[
- deviation(%)=120.0
- noHeartbeat(ms)=11,000
- lastHeartbeat(ms)=1,500,568,331,645
- lastHeartbeat(date-time)=20-07-2017 19:32:11
- now(ms)=1,500,568,342,645
- now(date-time)=20-07-2017 19:32:22]]
-```
-
-The `MemberHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
-
-You can control the `MemberHeartbeats` plugin using the following properties:
-
-- `hazelcast.diagnostics.member-heartbeat.period.seconds`: The frequency this plugin is writing the collected information to the disk. It is configured to be 10 seconds by default. 0 disables the plugin.
-- `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is 100. For example, if the interval of member/member heartbeats is 5 seconds, a 100% deviation is fine with heartbeats arriving up to 5 seconds after they are expected. So a heartbeat arriving after 9 seconds is not rendered, but a heartbeat received after 11 seconds is rendered.
-
-#### `OperationThreadSamples`
-
-This plugin samples the operation threads and checks the running operations/tasks. Hazelcast has the [slow operation detector](../../develop-and-build/best-practices/threading.mdx#slowoperationdetector) which is useful for slow operations. But it may not be efficient for high volumes of not too slow operations. Using the `OperationThreadSamples` plugin it is more clear to see which operations are actually running.
-
-You can control the `OperationThreadSamples` plugin using the following properties:
-
-- `hazelcast.diagnostics.operationthreadsamples.period.seconds`: The frequency this plugin is writing the collected information to the disk. An efficient value for production would be 30, 60, or more seconds. 0, which is the default value, disables the plugin.
-- `hazelcast.diagnostics.operationthreadsamples.sampler.period.millis`: The period in milliseconds between taking samples. The lower the value, the higher the overhead but also the higher the precision. Its default value is 100 ms.
-- `hazelcast.diagnostics.operationthreadsamples.includeName`: Specifies whether the data structures' name pointed to by the operation (if available) should be included in the name of the samples. Its default value is false.
-
-The following shows an example of the output when the property `hazelcast.diagnostics.operationthreadsamples.includeName` is false:
-
-```none
-28-08-2019 07:40:07 1535442007330 OperationThreadSamples[
- Partition[
- com.hazelcast.map.impl.operation.MapSizeOperation=304623 85.6927%
- com.hazelcast.map.impl.operation.PutOperation=33061 9.300304%
- com.hazelcast.map.impl.operation.GetOperation=17799 5.0069904%]
- Generic[
- com.hazelcast.internal.nio.Packet=1767 27.361412%
- com.hazelcast.internal.cluster.impl.operations.JoinRequestOp=821 12.712914%
- com.hazelcast.spi.impl.operationservice.impl.operations.PartitionIteratingOperation=278 4.3047385%
- com.hazelcast.internal.cluster.impl.operations.HeartbeatOp=93 1.4400743%
- com.hazelcast.internal.cluster.impl.operations.OnJoinOp=89 1.3781357%
- com.hazelcast.internal.cluster.impl.operations.WhoisMasterOp=75 1.1613503%]]
-```
-
-As can be seen above, the `MapSizeOperations` run on the operation threads most of the time.
-
-#### `WAN`
-
-
-
-The WAN diagnostics plugin provides information about the WAN replication.
-
-It is disabled by default and can be configured using the following property:
-
-- `hazelcast.diagnostics.wan.period.seconds`: The frequency this plugin is writing the collected information to the disk. 0 disables the plugin.
-
-The following shows an example of the output for a member with the WAN replication configuration `london` and the publisher `tokyo`:
-
-```none
-01-01-2026 12:00:00 1767268800000 WAN[
- syncCount=0
- updateCount=0
- removeCount=0
- syncState[
- status=READY
- activeWanConfigName=null
- activePublisherName=null]
- london[
- tokyo[
- outboundQueueSize=0
- totalPublishedEventCount=1,000
- totalPublishLatency=2,010
- connected=true
- state=REPLICATING
- mapSentEvents-orders[
- updateCount=1,000
- removeCount=0
- syncCount=0
- droppedCount=0]
- updateCount=1,000
- removeCount=0
- syncCount=0
- droppedCount=0]]]
-```
-
-## Monitoring with JMX
-
-You can monitor your Hazelcast members via the JMX protocol.
-
-To achieve this, first add the following system properties to enable the [JMX agent](http://download.oracle.com/javase/1.5.0/docs/guide/management/agent.html):
-
-- `-Dcom.sun.management.jmxremote`
-- `-Dcom.sun.management.jmxremote.port=` (to specify JMX port, the default is `1099`) (**optional**)
-- `-Dcom.sun.management.jmxremote.authenticate=false` (to disable JMX auth) (**optional**)
-
-Then enable JMX by setting the `hazelcast.jmx` property to `true` using the following configuration:
-
-
-
-
-```xml
-
- ...
-
- true
-
- ...
-
-```
-
-
-
-
-```yaml
-hazelcast:
- properties:
- hazelcast.jmx: true
-```
-
-
-
-
-```java
-config.setProperty("hazelcast.jmx", "true");
-```
-
-
-
-
-```xml
-
- true
-
-```
-
-
-
-
-```shell
--Dhazelcast.jmx=true
-```
-
-
-
-
-### MBean naming for Hazelcast data structures
-
-Hazelcast set the naming convention for MBeans as follows:
-
-```java
-final ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
-```
-
-The MBeans name consists of the Hazelcast instance name, the type of the data structure and that data structure's name. In the above example, `_hzInstance_1_dev` is the instance name, we connect to an `IMap` with the name `trial`.
-
-### Connecting to JMX Agent
-
-One of the ways you can connect to JMX agent is using JConsole, jvisualvm (with MBean plugin) or another JMX compliant monitoring tool.
-
-The other way to connect is to use a custom JMX client.
-
-First, you need to specify the URL where the Hazelcast JMX service is running. See the following code snippet:
-
-```java
-// Parameters for connecting to the JMX Service
-int port = 1099;
-String hostname = InetAddress.getLocalHost().getHostName();
-JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://" + hostname + ":" + port + "/jndi/rmi://" + hostname + ":" + port + "/jmxrmi");
-```
-
-The `port` in the above example should be the one that you define while setting the JMX remote port number (if different than the default port `1099`).
-
-Then use the URL you acquired to connect to the JMX service and get the `JMXConnector` object. Using this object, get the `MBeanServerConnection` object. The `MBeanServerConnection` object enables you to use the MBean methods. See the example code below.
-
-```java
-// Connect to the JMX Service
-JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
-MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
-```
-
-Once you get the `MBeanServerConnection` object, you can call the getter methods of MBeans as follows:
-
-```java
-System.out.println("\nTotal entries on map " + mbsc.getAttribute(mapMBeanName, "name") + " : "
- + mbsc.getAttribute(mapMBeanName, "localOwnedEntryCount"));
-```
-
-### JMX API per member
-
-Hazelcast members expose various management beans which include statistics about distributed data structures and the states of Hazelcast member internals.
-
-The attributes whose names start with `local` are local to the member and do not reflect cluster-wide values.
-
-:::note
-
-See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
-
-:::
-
-You can find the JMX API definition below with descriptions and the API methods in parenthesis.
-
-**Atomic Long (`IAtomicLong`)**
-
-- Name ( `name` )
-- Current Value ( `currentValue` )
-- Set Value ( `set(v)` )
-- Add value and Get ( `addAndGet(v)` )
-- Compare and Set ( `compareAndSet(e,v)` )
-- Decrement and Get ( `decrementAndGet()` )
-- Get and Add ( `getAndAdd(v)` )
-- Get and Increment ( `getAndIncrement()` )
-- Get and Set ( `getAndSet(v)` )
-- Increment and Get ( `incrementAndGet()` )
-- Partition key ( `partitionKey` )
-
-**Atomic Reference ( `IAtomicReference` )**
-
-- Name ( `name` )
-- Partition key ( `partitionKey`)
-
-**Countdown Latch ( `ICountDownLatch` )**
-
-- Name ( `name` )
-- Current count ( `count`)
-- Countdown ( `countDown()` )
-- Partition key ( `partitionKey`)
-
-**Executor Service ( `IExecutorService` )**
-
-- Local pending operation count ( `localPendingTaskCount` )
-- Local started operation count ( `localStartedTaskCount` )
-- Local completed operation count ( `localCompletedTaskCount` )
-- Local cancelled operation count ( `localCancelledTaskCount` )
-- Local total start latency ( `localTotalStartLatency` )
-- Local total execution latency ( `localTotalExecutionLatency` )
-
-**List ( `IList` )**
-
-- Name ( `name` )
-- Clear list ( `clear` )
-
-**Map ( `IMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Config ( `config` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Owned entry memory cost ( `localOwnedEntryMemoryCost` )
-- Backup entry count ( `localBackupEntryCount` )
-- Backup entry cost ( `localBackupEntryMemoryCost` )
-- Backup count ( `localBackupCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Locked entry count ( `localLockedEntryCount` )
-- Dirty entry count ( `localDirtyEntryCount` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Heap Cost ( `localHeapCost` )
-- Clear ( `clear()` )
-
-**`MultiMap` ( `MultiMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Owned entry memory cost ( `localOwnedEntryMemoryCost` )
-- Backup entry count ( `localBackupEntryCount` )
-- Backup entry cost ( `localBackupEntryMemoryCost` )
-- Backup count ( `localBackupCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Locked entry count ( `localLockedEntryCount` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Clear ( `clear()` )
-
-**Replicated Map ( `ReplicatedMap` )**
-
-- Name ( `name` )
-- Size ( `size` )
-- Config ( `config` )
-- Owned entry count ( `localOwnedEntryCount` )
-- Creation time ( `localCreationTime` )
-- Last access time ( `localLastAccessTime` )
-- Last update time ( `localLastUpdateTime` )
-- Hits ( `localHits` )
-- Put operation count ( `localPutOperationCount` )
-- Get operation count ( `localGetOperationCount` )
-- Remove operation count ( `localRemoveOperationCount` )
-- Total put latency ( `localTotalPutLatency` )
-- Total get latency ( `localTotalGetLatency` )
-- Total remove latency ( `localTotalRemoveLatency` )
-- Max put latency ( `localMaxPutLatency` )
-- Max get latency ( `localMaxGetLatency` )
-- Max remove latency ( `localMaxRemoveLatency` )
-- Event count ( `localEventOperationCount` )
-- Other (keySet,entrySet etc..) operation count ( `localOtherOperationCount` )
-- Total operation count ( `localTotal` )
-- Clear ( `clear()` )
-
-**Queue ( `IQueue` )**
-
-- Name ( `name` )
-- Config ( `config` )
-- Partition key ( `partitionKey` )
-- Owned item count ( `localOwnedItemCount` )
-- Backup item count ( `localBackupItemCount` )
-- Minimum age ( `localMinAge` )
-- Maximum age ( `localMaxAge` )
-- Average age ( `localAverageAge` )
-- Offer operation count ( `localOfferOperationCount` )
-- Rejected offer operation count ( `localRejectedOfferOperationCount` )
-- Poll operation count ( `localPollOperationCount` )
-- Empty poll operation count ( `localEmptyPollOperationCount` )
-- Other operation count ( `localOtherOperationsCount` )
-- Event operation count ( `localEventOperationCount` )
-- Clear ( `clear()` )
-
-**Semaphore ( `ISemaphore` )**
-
-- Name ( `name` )
-- Available permits ( `available` )
-- Partition key ( `partitionKey` )
-- Drain ( `drain()`)
-- Shrink available permits by given number ( `reduce(v)` )
-- Release given number of permits ( `release(v)` )
-
-**Set ( `ISet` )**
-
-- Name ( `name` )
-- Partition key ( `partitionKey` )
-- Clear ( `clear()` )
-
-**Topic ( `ITopic` )**
-
-- Name ( `name` )
-- Config ( `config` )
-- Creation time ( `localCreationTime` )
-- Publish operation count ( `localPublishOperationCount` )
-- Receive operation count ( `localReceiveOperationCount` )
-
-**Hazelcast Instance ( `HazelcastInstance` )**
-
-- Name ( `name` )
-- Version ( `version` )
-- Build ( `build` )
-- Configuration ( `config` )
-- Configuration source ( `configSource` )
-- Cluster name ( `clusterName` )
-- Network Port ( `port` )
-- Cluster-wide Time ( `clusterTime` )
-- Size of the cluster ( `memberCount` )
-- List of members ( `Members` )
-- Running state ( `running` )
-- Shutdown the member ( `shutdown()` )
-- **Node ( `HazelcastInstance.Node` )**
-
- - Address ( `address` )
- - Master address ( `masterAddress` )
-- **Partition Service ( `HazelcastInstance.PartitionServiceMBean` )**
-
- - Partition count ( `partitionCount` )
- - Active partition count ( `activePartitionCount` )
- - Cluster Safe State ( `isClusterSafe` )
- - `LocalMember` Safe State ( `isLocalMemberSafe` )
-- **System Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Async Executor (`HazelcastInstance.ManagedExecutorService`)**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Scheduled Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Client Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Query Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **I/O Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-- **Vector Query Executor ( `HazelcastInstance.ManagedExecutorService` )**
-
- - Name ( `name` )
- - Work queue size ( `queueSize` )
- - Thread count of the pool ( `poolSize` )
- - Maximum thread count of the pool ( `maximumPoolSize` )
- - Remaining capacity of the work queue ( `remainingQueueCapacity` )
- - Is shutdown ( `isShutdown` )
- - Is terminated ( `isTerminated` )
- - Completed task count ( `completedTaskCount` )
-
-## Alerting
-
-Hazelcast alerts you through various channels as listed below.
-
-- Banners, warnings and exception messages on your application console.
-
- Example license warning banner:
-
- ```none
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- THIS HAZELCAST LICENSE ID AbCdE*********FgHiJ WILL EXPIRE IN 29 DAYS.
- Your Hazelcast cluster will stop working on the next re-start after
- expiry.
-
- Please contact your Hazelcast Account Executive or
- email sales@hazelcast.com.
- Phone: +1 (650) 521-5453
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- ```
-
- Example outdated API warning:
-
- ```none
- An outdated version of JCache API was located in the classpath, please use newer versions of
- JCache API rather than 1.0.0-PFD or 0.x versions.
- ```
-
- Example exception message:
-
- ```none
- com.hazelcast.sql.HazelcastSqlException: From line 1, column 15 to line 1, column 23: Object 'mapBak1HD' not found, did you forget to CREATE MAPPING?
- ```
-- Prometheus: You can use this third-party tool to filter alert metrics. See the [Prometheus section](#prometheus-2) for details.
-
-Besides the above channels, you can also benefit from Hazelcast logging mechanism as an indirect way of getting alerts. See the [Logging section](../logging.mdx) for details.
-
-To learn the possible actions on the alerts, see the [Actions and Remedies for Alerts section](../../troubleshoot/remedies-for-alerts.mdx).
-
-## Integrating with third-party tools
-
-
-
-Management Center monitors your entire Hazelcast cluster, making it much easier to integrate with third-party tools without needing to connect to individual members, manage changes from scaling and restarts, or collate metrics from all members.
-
-### Prometheus {/* #prometheus-2 */}
-
-Hazelcast Management Center can expose the metrics collected from cluster members to [Prometheus](https://prometheus.io/). This feature can be turned on by setting the `hazelcast.mc.prometheusExporter.enabled` system property to `true`.
-
-This is an feature. See for details.
-
-### AppDynamics
-
-You can use the interface to integrate the [Hazelcast Management Center](#management-center) with **AppDynamics**. To perform this integration, attach the AppDynamics Java agent to the Management Center.
-
-This is an feature. See for details.
-
-### New Relic
-
-You can use the interface to integrate the [Hazelcast Management Center](#management-center) with New Relic. To perform this integration, attach the New Relic Java agent and provide an extension file that describes which metrics are sent to New Relic.
-
-This is an feature. See for details.
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/restart-cluster.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/restart-cluster.mdx
index bf73881d..136039e0 100644
--- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/restart-cluster.mdx
+++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/restart-cluster.mdx
@@ -54,7 +54,7 @@ The [Community Edition REST API](../../clients-and-apis/apis/enterprise-rest-api
### Perform a rolling restart {/* #rolling */}
-You should check the cluster is healthy before and after making changes. The best way to do this is to run a in Management Center. For other options, see [Monitoring](./monitoring.mdx).
+You should check the cluster is healthy before and after making changes. The best way to do this is to run a in Management Center. For other options, see [Monitoring](../monitoring/overview.mdx).
To perform a rolling restart:
@@ -114,7 +114,7 @@ To perform a rolling restart:
### Perform a whole cluster restart {/* #whole */}
-You should check the cluster is healthy before and after making changes. The best way to do this is to run a in Management Center. For other options, see [Monitoring](./monitoring.mdx).
+You should check the cluster is healthy before and after making changes. The best way to do this is to run a in Management Center. For other options, see [Monitoring](../monitoring/overview.mdx).
To perform a whole cluster restart:
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/_category_.json b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/_category_.json
new file mode 100644
index 00000000..01bca847
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/_category_.json
@@ -0,0 +1,5 @@
+{
+ "label": "Monitoring",
+ "position": 4.5,
+ "link": null
+}
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/diagnostics.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/diagnostics.mdx
new file mode 100644
index 00000000..15f14d29
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/diagnostics.mdx
@@ -0,0 +1,952 @@
+---
+title: "Diagnostics"
+sidebar_position: 4
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast diagnostic logging helps you troubleshoot and monitor a cluster.
+
+Members and clients both provide a set of diagnostics plugins. Hazelcast writes the diagnostics to a dedicated log file.
+
+You can configure diagnostic logging in two ways:
+- Dynamic configuration: use Management Center or Operator, without restarting the cluster
+- Static configuration: set the properties described on this page
+
+## Enable dynamic logging
+
+With dynamic diagnostic logging, you can turn diagnostic logging on and off at runtime without restarting the cluster.
+
+You can also turn diagnostic logging off automatically after a set period by configuring the auto turn-off feature in Management Center or Operator.
+
+In Operator, you can also control the diagnostic plugins.
+
+To learn how to enable dynamic diagnostic logging and the auto turn-off feature, see the or documentation.
+
+:::important
+
+A diagnostics property that you set statically overrides the dynamic configuration of the same setting. For example, if you set the `hazelcast.diagnostics.enabled` property to `true`, you cannot disable diagnostics dynamically in Management Center or Operator. If you set it to `false`, you cannot enable diagnostics dynamically. To control a setting dynamically, do not set its property statically.
+
+:::
+
+## Enable static logging
+
+To enable diagnostic logging statically, set the following properties on the members:
+
+
+
+
+```xml
+
+ ...
+
+ true
+ 30
+ 30
+ 30
+ 60
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.enabled: true
+ hazelcast.diagnostics.invocation.sample.period.seconds: 30
+ hazelcast.diagnostics.pending.invocations.period.seconds: 30
+ hazelcast.diagnostics.slowoperations.period.seconds: 30
+ hazelcast.diagnostics.storeLatency.period.seconds: 60
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.enabled", "true" )
+ .setProperty( "hazelcast.diagnostics.invocation.sample.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.pending.invocations.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.slowoperations.period.seconds", "30" )
+ .setProperty( "hazelcast.diagnostics.storeLatency.period.seconds", "60" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.enabled=true
+ -Dhazelcast.diagnostics.invocation.sample.period.seconds=30
+ -Dhazelcast.diagnostics.pending.invocations.period.seconds=30
+ -Dhazelcast.diagnostics.slowoperations.period.seconds=30
+ -Dhazelcast.diagnostics.storeLatency.period.seconds=60
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.enabled=true -Dhazelcast.diagnostics.invocation.sample.period.seconds=30 -Dhazelcast.diagnostics.pending.invocations.period.seconds=30 -Dhazelcast.diagnostics.slowoperations.period.seconds=30 -Dhazelcast.diagnostics.storeLatency.period.seconds=60"
+```
+
+
+
+
+On a Java client, set the following property:
+- `hazelcast.diagnostics.enabled=true`
+
+## Configure the diagnostics log file
+
+To set the directory of the diagnostics log file, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ /your/log/directory
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.directory: /your/log/directory
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.directory", "/your/log/directory" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.directory=/your/log/directory
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.directory=/your/log/directory"
+```
+
+
+
+
+The name of the log file has the following format:
+
+```none
+diagnostics-_--.log
+```
+
+To add a custom prefix to the name of the log file, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ foobar
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.filename.prefix: foobar
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.filename.prefix", "foobar" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.filename.prefix=foobar
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.filename.prefix=foobar"
+```
+
+
+
+
+Each entry in the diagnostics log file starts with the date, the time, and the epoch time in milliseconds, followed by the name of the entry. To leave out the epoch time, set the `hazelcast.diagnostics.include.epoch` property to `false`. The content of the entry follows in square brackets. Some plugins write an empty entry when they have nothing to report. For example, when there are no slow operations, the `SlowOperations` plugin writes `SlowOperations[]`.
+
+The following example shows the first entries in a diagnostics log file for a member that is starting. It leaves out the content of the `SystemProperties` and `ConfigProperties` entries, and all but three of the 387 `Metric` entries:
+
+```none
+19-11-2026 15:18:44 1795101524056 BuildInfo[
+ Build=20260512
+ BuildNumber=20260512
+ Revision=b9df48a
+ Version=5.7.0
+ SerialVersion=1
+ Enterprise=false]
+19-11-2026 15:18:44 1795101524056 SystemProperties[
+ java.version=26.0.2.1]
+19-11-2026 15:18:44 1795101524057 ConfigProperties[
+ hazelcast.diagnostics.enabled=true]
+19-11-2026 15:18:44 1795101524057 OverloadedConnections[]
+19-11-2026 15:18:44 1795101524057 EventQueues[]
+19-11-2026 15:18:44 1795101524057 PendingInvocations[
+ count=0
+ invocations[]]
+19-11-2026 15:18:44 1795101524057 Metric[[metric=classloading.totalLoadedClassesCount]=7564]
+19-11-2026 15:18:44 1795101524057 Metric[[metric=os.systemLoadAverage]=2.89111328125]
+19-11-2026 15:18:44 1795101524057 Metric[[unit=bytes,metric=memory.usedHeap]=96118040]
+19-11-2026 15:18:44 1795101524081 SlowOperations[]
+19-11-2026 15:18:44 1795101524081 Invocations[
+ Pending[]
+ History[]
+ SlowHistory[]]
+19-11-2026 15:18:44 1795101524081 InvocationProfiler[]
+19-11-2026 15:18:44 1795101524081 OperationsProfiler[]
+19-11-2026 15:18:44 1795101524081 HazelcastInstance[
+ thisAddress=[127.0.0.1]:5701
+ isRunning=true
+ isLite=false
+ joined=false
+ nodeState=ACTIVE
+ clusterId=null
+ clusterSize=1
+ isMaster=false
+ masterAddress=null
+ Members[
+ [127.0.0.1]:5701]]
+19-11-2026 15:18:44 1795101524082 ClusterVersionChanged[
+ 5.7]
+19-11-2026 15:18:44 1795101524082 Lifecycle[
+ STARTING]
+```
+
+To limit the disk space that the diagnostics log files use, Hazelcast starts a new file when the current file reaches a maximum size. By default, it keeps up to 10 files of 50 MB each. To set the size of each file and the number of files, use the following properties:
+
+
+
+
+```xml
+
+ ...
+
+ 100
+ 5
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.max.rolled.file.size.mb: 100
+ hazelcast.diagnostics.max.rolled.file.count: 5
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.max.rolled.file.size.mb", "100" )
+ .setProperty( "hazelcast.diagnostics.max.rolled.file.count", "5" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.max.rolled.file.size.mb=100
+ -Dhazelcast.diagnostics.max.rolled.file.count=5
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.max.rolled.file.size.mb=100 -Dhazelcast.diagnostics.max.rolled.file.count=5"
+```
+
+
+
+
+## Set the output type
+
+To set the output type of diagnostics, use the following property:
+
+
+
+
+```xml
+
+ ...
+
+ STDOUT
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.stdout: STDOUT
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.stdout", "STDOUT" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.stdout=STDOUT
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.stdout=STDOUT"
+```
+
+
+
+
+The property accepts the following types:
+- `FILE` outputs to a [set of files](#configure-the-diagnostics-log-file) managed by Hazelcast. This is the default type.
+- `STDOUT` outputs to the standard output.
+- `LOGGER`outputs to the Hazelcast logger. You can then forward the diagnostics to any output that the logging framework supports.
+
+ :::note
+
+ The `LOGGER` type uses more CPU and memory than the other output types, because each diagnostics write passes through the logging framework. It also gives you more flexibility.
+
+ :::
+
+### Send diagnostics to a logging framework
+
+Hazelcast does not require a specific logging framework. To forward the diagnostics to your logging framework, set the `hazelcast.diagnostics.stdout` property to `LOGGER`:
+
+
+
+
+```xml
+
+ ...
+
+ LOGGER
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ ...
+ properties:
+ hazelcast.diagnostics.stdout: LOGGER
+ ...
+```
+
+
+
+
+```java
+Config config = new Config();
+config.setProperty( "hazelcast.diagnostics.stdout", "LOGGER" );
+```
+
+
+
+
+```shell title="Java command"
+java -Dhazelcast.diagnostics.stdout=LOGGER
+```
+
+```shell title="JAVA_OPTS"
+JAVA_OPTS="-Dhazelcast.diagnostics.stdout=LOGGER"
+```
+
+
+
+
+This configuration forwards the logs to the `com.hazelcast.diagnostics` logger. To write them to a file, reference one of your configured appenders from that logger. The following example does this for Log4j2:
+
+```xml
+
+
+
+```
+
+To control the file size and rolling behavior, configure [`TimeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) and [`SizeBasedTriggeringPolicy`](https://logging.apache.org/log4j/2.x/manual/configuration.html) for the appender.
+
+:::note
+
+The diagnostic logs have the `DEBUG` level by default. If the root appender uses the `DEBUG` level and you do not want the diagnostic logs in the member logs, set the level of the `com.hazelcast.diagnostics` logger to `INFO`. For Log4j2, see the [configuration documentation](https://logging.apache.org/log4j/2.x/manual/configuration.html).
+
+:::
+
+## Diagnostics plugins
+
+Each diagnostics plugin collects information and writes it to the diagnostics output. The plugins run in two ways:
+- The `BuildInfo`, `SystemProperties`, and `ConfigProperties` plugins do not run at an interval. With the `FILE` output type, their entries appear at the start of each diagnostics log file, including each new file that Hazelcast starts when a file reaches its maximum size. With the `STDOUT` and `LOGGER` output types, their entries appear once each time diagnostics start.
+- Every other plugin runs repeatedly while it is enabled. The section for each plugin lists the properties that enable and configure it. For most plugins, a property sets the interval, and a value of `0` disables the plugin.
+
+You set the plugin properties in the same way as the other diagnostics properties. In Operator, you can also set them dynamically.
+
+Most plugins write entries with the same name as the plugin. The following table lists every plugin, the name of its entries in the diagnostics output, whether it is enabled by default, and where it runs:
+
+| Plugin | Entry name | Enabled by default | Runs on |
+|---|---|---|---|
+| `BuildInfo` | `BuildInfo` | Yes | Members and clients |
+| `SystemProperties` | `SystemProperties` | Yes | Members and clients |
+| `ConfigProperties` | `ConfigProperties` | Yes | Members and clients |
+| `Metrics` | `Metric`, one entry for each metric | Yes | Members and clients |
+| `SlowOperations` | `SlowOperations` | Yes | Members |
+| `Invocations` | `Invocations` | No | Members |
+| `PendingInvocations` | `PendingInvocations` | No | Members |
+| `InvocationProfiler` | `InvocationProfiler` | Yes | Members |
+| `OperationProfiler` | `OperationsProfiler` | Yes | Members |
+| `HazelcastInstance` | `HazelcastInstance` | Yes | Members |
+| `EventQueue` | `EventQueues` | No | Members and clients |
+| `SystemLog` | `Lifecycle`, `MemberAdded`, `MemberRemoved`, `ConnectionAdded`, `ConnectionRemoved`, `ClusterVersionChanged`, `MigrationState`, `MigrationCompleted`, and `MigrationFailed` | Yes | Members and clients |
+| `StoreLatency` | `MapStoreLatency`, `QueueStoreLatency`, `RingbufferStoreLatency`, `CacheStoreLatency`, `CacheLoaderLatency`, and, in , `WanBatchSenderLatency` | No | Members |
+| `OperationHeartbeats` | `OperationHeartbeat` | Yes | Members |
+| `MemberHeartbeats` | `MemberHeartbeats` | Yes | Members |
+| `OperationThreadSamples` | `OperationThreadSamples` | No | Members |
+| `OverloadedConnections` | `OverloadedConnections` | No | Members |
+| `NetworkingImbalance` | `NetworkingImbalance` | No | Members and clients |
+| `WAN` | `WAN` | No | Members |
+
+### `BuildInfo`
+
+The `BuildInfo` plugin shows Hazelcast build information, including the release number, the Git revision number, and whether you have Hazelcast . The following example shows its output:
+
+```none
+19-11-2026 15:18:44 1795101524056 BuildInfo[
+ Build=20260512
+ BuildNumber=20260512
+ Revision=b9df48a
+ Version=5.7.0
+ SerialVersion=1
+ Enterprise=false]
+```
+
+### `SystemProperties`
+
+The `SystemProperties` plugin shows the system properties that are used by and configured for your Hazelcast installation, with their values. These are the properties whose names start with `java` (except `java.awt`), `hazelcast`, `sun`, and `os`. The plugin also shows the arguments used to start the JVM. The following example shows part of its output:
+
+```none
+19-11-2026 15:18:44 1795101524056 SystemProperties[
+ hazelcast.diagnostics.enabled=true
+ hazelcast.diagnostics.metrics.period.seconds=5
+ java.runtime.name=OpenJDK Runtime Environment
+ java.version=26.0.2.1
+ java.vm.args=--add-modules=ALL-DEFAULT
+ java.vm.name=OpenJDK 64-Bit Server VM
+ os.arch=aarch64
+ os.name=Mac OS X
+ sun.arch.data.model=64]
+```
+
+### `ConfigProperties`
+
+The `ConfigProperties` plugin shows the Hazelcast properties that you set explicitly in the declarative or programmatic configuration, with their values. It does not show properties set only on the command line with `-D`. The following example shows part of its output:
+
+```none
+19-11-2026 15:18:44 1795101524057 ConfigProperties[
+ hazelcast.diagnostics.enabled=true
+ hazelcast.diagnostics.invocation.sample.period.seconds=2
+ hazelcast.diagnostics.metrics.period.seconds=5
+ hazelcast.slow.operation.detector.threshold.millis=500]
+```
+
+### `Metrics` {/* #diagnostics-metrics */}
+
+The Metrics plugin writes a comprehensive log of what is happening in your Hazelcast system. See [Metrics](./metrics.mdx) for more information.
+
+To set how often the plugin writes to the log file, use the following property:
+- `hazelcast.diagnostics.metrics.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+The plugin writes one `Metric` entry for each metric. The entry shows the tags of the metric, such as the name of the data structure and the unit, followed by the value. The following example shows some of these entries:
+
+```none
+19-11-2026 15:18:49 1795101529047 Metric[[unit=bytes,metric=memory.usedHeap]=68306712]
+19-11-2026 15:18:49 1795101529047 Metric[[unit=count,metric=operation.queueSize]=1]
+19-11-2026 15:18:49 1795101529047 Metric[[unit=count,metric=partitions.localPartitionCount]=136]
+19-11-2026 15:18:49 1795101529047 Metric[[name=orders,unit=ms,metric=map.totalGetLatency]=1391]
+19-11-2026 15:18:49 1795101529047 Metric[[name=orders,unit=ms,metric=map.totalPutLatency]=266]
+```
+
+:::note
+
+See the [List of Hazelcast Metrics appendix](../../reference/list-of-metrics.mdx) for the full list of metrics with their descriptions.
+
+:::
+
+### `SlowOperations`
+
+The `SlowOperations` plugin shows slow operations and invocations. See the [`SlowOperationDetector` section](../../develop-and-build/best-practices/threading.mdx#slowoperationdetector) for more information.
+
+The plugin runs only when the slow operation detector is enabled. To set how often the plugin writes to the log file, use the following property:
+- `hazelcast.diagnostics.slowoperations.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+For each type of slow operation, the plugin shows the number of slow invocations, the stack trace of the operation, and details of each slow invocation. The following example shows part of its output, for a slow entry processor:
+
+```none
+19-11-2026 15:18:58 1795101538053 SlowOperations[
+ com.hazelcast.map.impl.operation.EntryOperation[
+ invocations=4
+ stackTrace[
+ com.example.OrderProcessor.process(OrderProcessor.java:53)
+ com.hazelcast.map.impl.operation.EntryOperator.process(EntryOperator.java:435)
+ com.hazelcast.map.impl.operation.EntryOperation.call(EntryOperation.java:244)
+ com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:217)
+ com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:171)]
+ slowInvocations[
+ startedAt=1,795,101,528,042
+ started(date-time)=19-11-2026 15:18:48
+ duration(ms)=1,005
+ operationDetails=com.hazelcast.map.impl.operation.EntryOperation{serviceName='hz:impl:mapService', identityHash=167125456, partitionId=11, replicaIndex=0, callId=4010, invocationTime=1795101527565 (2026-11-19 15:18:47.565), waitTimeout=-1, callTimeout=60000, tenantControl=com.hazelcast.spi.impl.tenantcontrol.NoopTenantControl@0, name=orders}]]]
+```
+
+### `Invocations`
+
+The Invocations plugin shows statistics about current and past invocations, including pending invocations, the history of invocations, and the slow history. The slow history holds every sample where an invocation took longer than the threshold. It includes the invocations whose operations took a long time, and any other invocations that were obstructed.
+
+To set how often the plugin scans all pending invocations, and the threshold above which an invocation counts as slow, use the following properties:
+- `hazelcast.diagnostics.invocation.sample.period.seconds`: Set a value in seconds. Its default value is `0`, which disables the plugin.
+- `hazelcast.diagnostics.invocation.slow.threshold.seconds`: Set a value in seconds. Its default value is `5` seconds.
+
+The following example shows its output, with a threshold of one second:
+
+```none
+19-11-2026 15:18:58 1795101538053 Invocations[
+ Pending[]
+ History[
+ com.hazelcast.map.impl.operation.EntryOperation samples=6
+ com.hazelcast.map.impl.operation.GetOperation samples=6
+ com.hazelcast.map.impl.operation.PutOperation samples=1]
+ SlowHistory[
+ com.hazelcast.map.impl.operation.EntryOperation samples=1]]
+```
+
+### `PendingInvocations`
+
+The `PendingInvocations` plugin shows the number of pending invocations on the member, and the number of pending invocations for each type of operation.
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.pending.invocations.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.pending.invocations.threshold`: Minimum number of pending invocations of a type of operation before the plugin shows that type. Its default value is `1`.
+
+The following example shows its output:
+
+```none
+19-11-2026 15:19:12 1795101552047 PendingInvocations[
+ count=9
+ invocations[
+ com.hazelcast.internal.partition.operation.MigrationRequestOperation=8
+ com.hazelcast.internal.partition.operation.PublishCompletedMigrationsOperation=1]]
+```
+
+### `InvocationProfiler`
+
+The `InvocationProfiler` plugin shows invocation latencies for each operation. The following example shows its output:
+
+```none
+06-05-2019 17:15:29 1557152129944 InvocationProfiler[
+ com.hazelcast.map.impl.query.QueryOperation[
+ count=400
+ totalTime(us)=56,000
+ avg(us)=140
+ max(us)=3,000
+ latency-distribution[
+ 64..127us=346
+ 512..1023us=53
+ 2048..4095us=1]]
+ com.hazelcast.map.impl.operation.GetOperation[
+ count=100
+ totalTime(us)=19,000
+ avg(us)=190
+ max(us)=1,000
+ latency-distribution[
+ 64..127us=81
+ 512..1023us=19]]]
+```
+
+To set how often the plugin scans all invocations, use the following system property:
+- `hazelcast.diagnostics.invocation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
+
+To reduce the number of log entries, increase this period.
+
+### `OperationProfiler`
+
+The `OperationProfiler` plugin measures how long each operation runs on an operation thread. For a blocking or offloaded operation, it measures only the time on the operation thread. The following example shows its output:
+
+```none
+06-05-2021 14:53:48 1595332428248 OperationsProfiler[
+ com.hazelcast.map.impl.operation.GetOperation[
+ count=502,501
+ totalTime(us)=1,690,645
+ avg(us)=3
+ max(us)=462
+ latency-distribution[
+ 1..2us=875
+ 2..4us=359,876
+ 4..8us=131,775
+ 8..16us=8,720
+ 16..32us=887
+ 32..64us=178
+ 64..128us=122
+ 128..256us=62
+ 256..512us=6]]
+```
+
+To set how often the plugin scans all operations, use the following system property:
+- `hazelcast.diagnostics.operation-profiler.period.seconds`: Set a value in seconds. Its default value is `5` seconds. You can set it to `0` to disable the plugin.
+
+### `HazelcastInstance`
+
+The `HazelcastInstance` plugin shows the basic state of your cluster, including the number and addresses of the current members and the address of the oldest member. Use it to see the state of the cluster without analyzing a lot of data.
+
+To set how often the plugin writes the cluster information to the log file, use the following property:
+- `hazelcast.diagnostics.memberinfo.period.seconds`: Set a value in seconds. Its default value is `60` seconds.
+
+The following example shows its output:
+
+```none
+19-11-2026 15:18:54 1795101534049 HazelcastInstance[
+ thisAddress=[127.0.0.1]:5701
+ isRunning=true
+ isLite=false
+ joined=true
+ nodeState=ACTIVE
+ clusterId=bf09cc10-e2cd-416d-a1d9-8d010552503f
+ clusterSize=2
+ isMaster=true
+ masterAddress=[127.0.0.1]:5701
+ Members[
+ [127.0.0.1]:5701
+ [127.0.0.1]:5702]]
+```
+
+### `EventQueue`
+
+The `EventQueue` plugin checks the event queues of data structures, and samples the event types when a queue holds more events than a threshold. Use it to find out why an event queue is filling up.
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.event.queue.period.seconds`: Interval, in seconds, between the runs in which this plugin gathers information and writes it to the diagnostics log file. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.event.queue.threshold`: Minimum number of events in the queue before the plugin samples it. Its default value is `1000`.
+- `hazelcast.diagnostics.event.queue.samples`: Number of samples to take from the event queue. More samples give a more accurate result, but reduce performance. Its default value is `100`.
+
+The following example shows the output for a map:
+
+```none
+17-04-2019 17:36:37 EventQueues[
+ worker=1[
+ eventCount=441
+ sampleCount=100
+ samples[
+ IMap 'myMap' ADDED sampleCount=51 51.000%
+ IMap 'myMap' REMOVED sampleCount=49 49.000%]]
+```
+
+### `SystemLog`
+
+The `SystemLog` plugin shows the activity in your cluster, such as connections and members being added or removed, and changes in the lifecycle of the cluster. It also shows why connections were closed.
+
+To enable or disable the plugin, and to set whether it shows information about partition migrations, use the following properties:
+- `hazelcast.diagnostics.systemlog.enabled`: Whether the plugin is enabled. Its default value is `true`.
+- `hazelcast.diagnostics.systemlog.partitions`: Whether the plugin shows information about partition migrations. Its default value is `false`. If you enable it on a cluster with many partitions, the plugin can write a large number of log entries.
+
+The plugin does not write entries named `SystemLog`. Each event has its own entry name, such as `MemberAdded` or `ConnectionRemoved`. The following example shows the entries for a member that joins the cluster and then leaves it:
+
+```none
+19-11-2026 15:18:46 1795101526051 MemberAdded[
+ member=[127.0.0.1]:5702
+ Members[
+ [127.0.0.1]:5701:this:master
+ [127.0.0.1]:5702]]
+19-11-2026 15:19:13 1795101553052 ConnectionRemoved[
+ Connection[id=2, /127.0.0.1:5701->/127.0.0.1:59715, qualifier=null, endpoint=[127.0.0.1]:5702, remoteUuid=12af9f38-a99b-46b8-8b16-76b488a2d0aa, alive=false, connectionType=MEMBER, planeIndex=0]
+ type=MEMBER
+ isAlive=false
+ closeReason=Connection closed by the other side
+ CloseCause[
+ java.io.EOFException: Remote socket closed!
+ com.hazelcast.internal.networking.nio.NioInboundPipeline.process(NioInboundPipeline.java:117)]]
+19-11-2026 15:19:13 1795101553052 MemberRemoved[
+ member=[127.0.0.1]:5702
+ Members[
+ [127.0.0.1]:5701:this:master]]
+```
+
+### `StoreLatency`
+
+The `StoreLatency` plugin shows statistics for each store. The statistics include the call count, the average and maximum latency, and the latency distribution of each store method, such as `load`, `loadAll`, and `loadAllKeys`.
+
+:::note
+
+You cannot enable the `StoreLatency` plugin dynamically.
+
+:::
+
+The following example shows the output in the diagnostics log file for a `MapStore`:
+
+```none
+17-9-2019 13:12:34 MapStoreLatency[
+ map[
+ loadAllKeys[
+ count=1
+ totalTime(us)=8
+ avg(us)=8
+ max(us)=8
+ latency-distribution[
+ 0..99us=1]]
+ load[
+ count=100
+ totalTime(us)=4,632,190
+ avg(us)=46,321
+ max(us)=99,178
+ latency-distribution[
+ 0..99us=1
+ 1600..3199us=3
+ 3200..6399us=3
+ 6400..12799us=7
+ 12800..25599us=13
+ 25600..51199us=32
+ 51200..102399us=41]]]]
+```
+
+The plugin writes one entry for each type of store, such as `MapStoreLatency` for map stores and loaders. It writes similar entries for JCache, `Queue`, and `Ringbuffer` data structures that use persistent data stores, such as `QueueStoreLatency` for queue stores.
+
+To configure the `StoreLatency` plugin, use the following properties:
+- `hazelcast.diagnostics.storeLatency.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The plugin is disabled by default. A sensible production value is `60` seconds.
+- `hazelcast.diagnostics.storeLatency.reset.period.seconds`: Interval, in seconds, at which the plugin resets the statistics. For example, with a value of `300`, the plugin clears all statistics every 5 minutes. Its default value is `0`, which means the plugin does not reset the statistics.
+
+### `OperationHeartbeats`
+
+The `OperationHeartbeats` plugin shows the deviation in operation heartbeats between members. Each member sends an operation heartbeat to every other member, whether or not an operation is running on behalf of that member. The heartbeat contains a list of the `callId` values of all running operations from a given member. This plugin also works between members and lite members.
+
+Members send operation heartbeats at an interval of a quarter of the operation call timeout. With the default call timeout of 60 seconds, a member expects an operation heartbeat every 15 seconds. Operation heartbeats are high-priority packets, which overtake regular packets. A separate thread in the invocation monitor processes them. If the interval between these packets deviates, the cause can be a problem such as network latency.
+
+The following example shows the output when a member has not received an operation heartbeat for 37 seconds:
+
+```none
+20-07-2017 11:12:55 OperationHeartbeat[
+ member[10.212.1.119]:5701[
+ deviation(%)=146.6666717529297
+ noHeartbeat(ms)=37,000
+ lastHeartbeat(ms)=1,500,538,338,603
+ lastHeartbeat(date-time)=20-07-2017 11:12:18
+ now(ms)=1,500,538,375,603
+ now(date-time)=20-07-2017 11:12:55]]
+```
+
+The `OperationHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
+
+To configure the `OperationHeartbeats` plugin, use the following properties:
+- `hazelcast.diagnostics.operation-heartbeat.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. Its default value is `10`. A value of `0` disables the plugin.
+- `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is `33`. For example, with the default call timeout of 60 seconds, the operation heartbeat interval is 15 seconds. A deviation percentage of 33 allows a maximum deviation of 5 seconds. A packet that arrives after 19 seconds is within the limit. If a packet arrives after 21 seconds, the plugin writes to the diagnostics file.
+
+### `MemberHeartbeats`
+
+The `MemberHeartbeats` plugin is similar to the `OperationHeartbeats` plugin, but it measures the deviation in cluster heartbeats between members instead of operation heartbeats. Every member sends a heartbeat to the other members every 5 seconds by default.
+
+Like the `OperationHeartbeats` plugin, the `MemberHeartbeats` plugin can detect networking problems long before they lead to problems such as split-brain syndrome.
+
+The following example shows the output when a member has not received a heartbeat from another member for 11 seconds:
+
+```none
+20-07-2017 19:32:22 MemberHeartbeats[
+ member[10.212.1.119]:5701[
+ deviation(%)=120.0
+ noHeartbeat(ms)=11,000
+ lastHeartbeat(ms)=1,500,568,331,645
+ lastHeartbeat(date-time)=20-07-2017 19:32:11
+ now(ms)=1,500,568,342,645
+ now(date-time)=20-07-2017 19:32:22]]
+```
+
+The `MemberHeartbeats` plugin is enabled by default because it has little overhead and only prints to the diagnostics file if the maximum deviation percentage (explained below) is exceeded.
+
+To configure the `MemberHeartbeats` plugin, use the following properties:
+- `hazelcast.diagnostics.member-heartbeat.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. Its default value is `10`. A value of `0` disables the plugin.
+- `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`: The maximum allowed deviation percentage. Its default value is `100`. For example, if members send heartbeats every 5 seconds, a 100% deviation allows heartbeats to arrive up to 5 seconds after they are expected. The plugin does not write a heartbeat that arrives after 9 seconds, but writes one that arrives after 11 seconds.
+
+### `OperationThreadSamples`
+
+The `OperationThreadSamples` plugin samples the operation threads and checks the running operations and tasks. The Hazelcast [slow operation detector](../../develop-and-build/best-practices/threading.mdx#slowoperationdetector) is useful for slow operations, but it can be inefficient for a high volume of operations that are only slightly slow. The `OperationThreadSamples` plugin shows more clearly which operations are running.
+
+To configure the `OperationThreadSamples` plugin, use the following properties:
+- `hazelcast.diagnostics.operationthreadsamples.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. An efficient value for production is 30 seconds or more. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.operationthreadsamples.sampler.period.millis`: Interval, in milliseconds, between samples. A lower value increases both the overhead and the precision. Its default value is `100`.
+- `hazelcast.diagnostics.operationthreadsamples.includeName`: Whether to include the name of the data structure that the operation targets, if available, in the name of each sample. Its default value is `false`.
+
+The following example shows the output when the `hazelcast.diagnostics.operationthreadsamples.includeName` property is `false`:
+
+```none
+28-08-2019 07:40:07 1535442007330 OperationThreadSamples[
+ Partition[
+ com.hazelcast.map.impl.operation.MapSizeOperation=304623 85.6927%
+ com.hazelcast.map.impl.operation.PutOperation=33061 9.300304%
+ com.hazelcast.map.impl.operation.GetOperation=17799 5.0069904%]
+ Generic[
+ com.hazelcast.internal.nio.Packet=1767 27.361412%
+ com.hazelcast.internal.cluster.impl.operations.JoinRequestOp=821 12.712914%
+ com.hazelcast.spi.impl.operationservice.impl.operations.PartitionIteratingOperation=278 4.3047385%
+ com.hazelcast.internal.cluster.impl.operations.HeartbeatOp=93 1.4400743%
+ com.hazelcast.internal.cluster.impl.operations.OnJoinOp=89 1.3781357%
+ com.hazelcast.internal.cluster.impl.operations.WhoisMasterOp=75 1.1613503%]]
+```
+
+In this example, `MapSizeOperation` operations run on the operation threads most of the time.
+
+### `OverloadedConnections`
+
+The `OverloadedConnections` plugin checks the outgoing packet queue of each connection on the member. When a queue holds more packets than a threshold, the plugin samples the packets and shows the types of operation in them. Use it to find out what fills a connection when pending packets use a large amount of memory.
+
+:::warning
+
+To sample a packet, the plugin deserializes it, which has a high overhead. Use this plugin only for debugging, not in production.
+
+:::
+
+To configure the plugin, use the following properties:
+- `hazelcast.diagnostics.overloaded.connections.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+- `hazelcast.diagnostics.overloaded.connections.threshold`: Minimum number of packets in the queue of a connection before the plugin samples it. Its default value is `10000`.
+- `hazelcast.diagnostics.overloaded.connections.samples`: Number of packets to sample from each overloaded connection. Its default value is `1000`.
+
+For each overloaded connection, the plugin shows the number of packets in the queue, as `packetCount` for regular packets or `urgentPacketCount` for priority packets. The following example shows its output with a threshold of `1`:
+
+```none
+19-11-2026 15:19:12 1795101552046 OverloadedConnections[
+ Connection[id=1, /127.0.0.1:59711->/127.0.0.1:5702, qualifier=null, endpoint=[127.0.0.1]:5702, remoteUuid=12af9f38-a99b-46b8-8b16-76b488a2d0aa, alive=true, connectionType=MEMBER, planeIndex=0][
+ urgentPacketCount=4
+ sampleCount=4
+ samples[
+ com.hazelcast.internal.partition.operation.MigrationRequestOperation sampleCount=4 100.000%]]]
+```
+
+### `NetworkingImbalance`
+
+The `NetworkingImbalance` plugin shows how the network load is spread across the input and output threads of a member or client. For each thread, it shows the number of frames, priority frames, bytes, events, handled events, and tasks. It also shows each value as a percentage of the total for all input or all output threads.
+
+To configure the plugin, use the following property:
+- `hazelcast.diagnostics.networking-imbalance.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. The default value `0` disables the plugin.
+
+The following example shows part of its output:
+
+```none
+19-11-2026 15:18:54 1795101534052 NetworkingImbalance[
+ InputThreads[
+ hz.example.IO.thread-in-1[
+ frames-percentage=99.99 %
+ frames=8,686
+ priority-frames-percentage=100.00 %
+ priority-frames=18
+ bytes-percentage=100.00 %
+ bytes=4,924,294
+ events-percentage=99.97 %
+ events=6,787
+ handle-count-percentage=99.97 %
+ handle-count=6,627
+ tasks-percentage=50.00 %
+ tasks=9]
+ hz.example.IO.thread-in-2[
+ frames-percentage=0.01 %
+ frames=1
+ priority-frames-percentage=0.00 %
+ priority-frames=0
+ bytes-percentage=0.00 %
+ bytes=166
+ events-percentage=0.03 %
+ events=2
+ handle-count-percentage=0.03 %
+ handle-count=2
+ tasks-percentage=50.00 %
+ tasks=9]]]
+```
+
+### `WAN`
+
+
+
+The `WAN` diagnostics plugin shows information about WAN replication.
+
+The plugin is disabled by default. To configure it, use the following property:
+- `hazelcast.diagnostics.wan.period.seconds`: Interval, in seconds, at which this plugin writes the collected information to disk. A value of `0` disables the plugin.
+
+The following shows an example of the output for a member with the WAN replication configuration `london` and the publisher `tokyo`:
+
+```none
+01-01-2026 12:00:00 1767268800000 WAN[
+ syncCount=0
+ updateCount=0
+ removeCount=0
+ syncState[
+ status=READY
+ activeWanConfigName=null
+ activePublisherName=null]
+ london[
+ tokyo[
+ outboundQueueSize=0
+ totalPublishedEventCount=1,000
+ totalPublishLatency=2,010
+ connected=true
+ state=REPLICATING
+ mapSentEvents-orders[
+ updateCount=1,000
+ removeCount=0
+ syncCount=0
+ droppedCount=0]
+ updateCount=1,000
+ removeCount=0
+ syncCount=0
+ droppedCount=0]]]
+```
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/health-check-and-monitoring.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/health-check-and-monitoring.mdx
new file mode 100644
index 00000000..a45e5758
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/health-check-and-monitoring.mdx
@@ -0,0 +1,264 @@
+---
+title: "Health check and monitoring"
+sidebar_position: 3
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast provides the following tools to check the health and status of a cluster:
+- The HTTP-based health check endpoint returns the state of a member and its cluster when another system requests it. For example, a load balancer can use it to send traffic only to active members.
+- The `hz-healthcheck` script calls the health check endpoint from the command line. Use it in your own scripts, for example to check that the cluster is safe before you shut down a member.
+- The health monitor utility writes the resource use of a member, such as memory, CPU, and garbage collection, to the member log. It is enabled by default. Use its log entries to find out why a member slowed down or failed.
+
+## Enable the health check endpoint
+
+How you enable the health check endpoint depends on whether you use the or the REST API.
+
+### REST API
+If you use the REST API, see [Get Started with REST API using Java](../../clients-and-apis/apis/enterprise-rest-api/get-started-rest-api-with-java.mdx) to learn how to enable the health check endpoint.
+
+After you enable the REST API, all its endpoints are available, including the health check endpoints, with no further configuration. For the available endpoints, how to make a request, and the expected responses, see the [Swagger documentation](../../clients-and-apis/apis/enterprise-rest-api/rest-api-swagger.mdx#tag/Health-Controller).
+
+### REST API
+If you use the REST API, enable the health check endpoint in the member configuration.
+
+:::warning[Deprecation of the Community Edition REST API]
+
+The [Community Edition REST API](../../clients-and-apis/apis/enterprise-rest-api/rest-api.mdx) has been deprecated and will be removed as of Hazelcast version 7.0. An improved Enterprise version of this feature is available and actively being developed. For more information, see [Enterprise REST API](../../clients-and-apis/apis/enterprise-rest-api/overview.mdx).
+
+:::
+
+The `hz-healthcheck` script also uses the health check endpoint. To enable the endpoint, use either of the following configuration elements:
+- The `network` configuration element:
+
+
+
+
+ ```xml
+
+ ...
+
+
+
+
+
+ ...
+
+ ```
+
+
+
+
+ ```yaml
+ hazelcast:
+ network:
+ rest-api:
+ enabled: true
+ endpoint-groups:
+ HEALTH_CHECK:
+ enabled: true
+ ```
+
+
+
+- The `advanced-network` configuration element:
+
+
+
+
+ ```xml
+
+ ...
+
+
+
+
+
+
+
+ ...
+
+ ```
+
+
+
+
+ ```yaml
+ hazelcast:
+ advanced-network:
+ enabled: true
+ rest-server-socket-endpoint-config:
+ endpoint-groups:
+ HEALTH_CHECK:
+ enabled: true
+ ```
+
+
+
+
+## Perform an HTTP-based health check
+
+The HTTP-based health check returns basic information about a member and its cluster. To use it, enable the health check endpoint, and then open `http://:5701/hazelcast/health` in a browser.
+
+The response shows the health status of the member and its cluster, such as the member state, the cluster state, and the cluster size. For example:
+
+```json
+{
+ "nodeState": "ACTIVE",
+ "clusterState": "ACTIVE",
+ "clusterSafe": false,
+ "migrationQueueSize": 0,
+ "clusterSize": 3
+}
+```
+
+The response has the following fields:
+- `nodeState`: State of the member that you query. See [Cluster and Member States](../maintaining-a-cluster/cluster-member-states.mdx#member-states) to learn more about the states of cluster members.
+- `clusterState`: State of the cluster that the member belongs to. See [Cluster and Member States](../maintaining-a-cluster/cluster-member-states.mdx#cluster-states) to learn more about cluster states.
+- `clusterSafe`: Whether the queried member is safe: there are no active partition migrations, and all backups are in sync for each partition that the member owns. See [Shutting Down Members and Clusters](../maintaining-a-cluster/shutdown.mdx#ensuring-members-and-clusters-are-in-a-safe-state) to learn how to check the safety of active clusters.
+
+ :::note
+
+ The `clusterSafe` indicator is useful when your cluster is in a passive state. If the cluster is in an active state, the value changes continually because the state of the cluster changes. Checking the cluster safety also triggers extra operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load can affect cluster performance.
+
+ :::
+- `migrationQueueSize`: Number of remaining migration tasks while the cluster data is being repartitioned. See [Data Partitioning](../../develop-and-build/architecture/data-partitioning.mdx) to learn about Hazelcast's partitioning mechanism.
+- `clusterSize`: Number of members in the cluster.
+
+## Use the `hz-healthcheck` script {/* #health-check-script */}
+
+The Hazelcast package includes the `hz-healthcheck` script. The script calls the HTTP-based health check endpoint of the REST API.
+
+To run the script, enable the health check endpoint, and then run the script with the parameters that you need:
+
+```bash
+./hz-healthcheck
+```
+
+The script accepts the following parameters:
+
+| Parameter | Default value | Description |
+|---|---|---|
+| `-o` or `--operation` | `all` | Health check operation. It can be `all`, `node-state`, `cluster-state`, `cluster-safe`, `migration-queue-size`, or `cluster-size`.
The `cluster-safe` operation is useful when your cluster is in a passive state. If the cluster is in an active state, the value changes continually because the state of the cluster changes. Checking the cluster safety also triggers extra operations for each backup replica of the partitions that the queried member owns. Frequent safety checks of a cluster under load can affect cluster performance. |
+| `-a` or `--address` | `127.0.0.1` | IP address of the member to query. To check a remote cluster, set it to the IP address of one of its members. |
+| `-p` or `--port` | `5701` | Port of the member on the local or remote machine. |
+| `-h` or `--help` | No argument | Lists the parameter descriptions. It works only as the first parameter. |
+| `-d` or `--debug` | No argument | Prints error output. |
+| `--https` | No argument | Uses HTTPS for REST calls. |
+| `--cacert` | Set of well-known CA certificates | Path of the trusted PEM-encoded certificate file. The script uses it to verify member certificates. |
+| `--cert` | None | Path of the PEM-encoded client certificate file. Required only for client certificate authentication. |
+| `--key` | None | Path of the PEM-encoded client private key file. Required only for client certificate authentication. |
+| `--insecure` | No argument | Disables member certificate verification. |
+
+The following example checks the state of a healthy member at the address `127.0.0.1:5701`:
+
+```none
+./hz-healthcheck -a 127.0.0.1 -p 5701 -o node-state
+ACTIVE
+```
+
+The following example checks the safety of a cluster that has no member at the address `127.0.0.1:5701`. The script prints an error:
+
+```none
+./hz-healthcheck -a 127.0.0.1 -p 5701 -o cluster-safe
+Error while checking health of hazelcast cluster on ip 127.0.0.1 on port 5701.
+Please check that cluster is running and that health check is enabled in REST API configuration.
+```
+
+## Use the health monitor utility
+
+The health monitor regularly prints log entries with information about the state of the member. It is enabled by default.
+
+To set the interval between log entries, use the `hazelcast.health.monitoring.delay.seconds` system property. Its default value is 20 seconds.
+
+To set the level of the health monitor, use the `hazelcast.health.monitoring.level` system property. It accepts the following values:
+- `OFF`: Disables the health monitor.
+- `NOISY`: Prints log entries at every interval.
+- `SILENT`: Prints log entries only when a value exceeds a threshold. This is the default value.
+
+In the `SILENT` level, the health monitor prints log entries when one of the following values exceeds its threshold:
+- Memory percentage, set with the `hazelcast.health.monitoring.threshold.memory.percentage` system property. Its default value is `70`.
+- CPU percentage, set with the `hazelcast.health.monitoring.threshold.cpu.percentage` system property. Its default value is `70`.
+- Pending invocations, when they exceed 70% or a count of 1000.
+
+The following example shows the output of the health monitor:
+
+```none vars
+Sep 08, 2017 5:02:28 PM com.hazelcast.internal.diagnostics.HealthMonitor
+
+INFO: [192.168.2.44]:5701 [host-name] [{full-version}] processors=4, physical.memory.total=16.0G, physical.memory.free=5.5G, swap.space.total=0, swap.space.free=0, heap.memory.used=102.4M,
+
+heap.memory.free=249.1M, heap.memory.total=351.5M, heap.memory.max=3.6G, heap.memory.used/total=29.14%, heap.memory.used/max=2.81%, minor.gc.count=4, minor.gc.time=68ms, major.gc.count=1,
+
+major.gc.time=41ms, load.process=0.44%, load.system=1.00%, load.systemAverage=3.15, thread.count=97, thread.peakCount=98, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0,
+
+executor.q.client.size=0, executor.q.client.query.size=0, executor.q.client.blocking.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.size=0,
+
+executor.q.priorityOperation.size=0, operations.completed.count=226, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0,
+
+operations.running.count=0, operations.pending.invocations.percentage=0.00%, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=1,
+
+connection.active.count=2, client.connection.count=1, connection.count=1
+```
+
+:::note
+
+See [Configuring with System Properties](../configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to set system properties.
+
+:::
+
+## Use health check on F5 BIG-IP LTM
+
+You can use the F5® BIG-IP® Local Traffic Manager™ (LTM) as a load balancer for Hazelcast members. To check the state of each member, configure an LTM monitor.
+
+
+You can use the following types of LTM monitor to track Hazelcast members:
+- HTTP monitor: Sends a request to the Hazelcast health check endpoint over HTTP. Use it when SSL/TLS is not enabled in your cluster.
+- HTTPS monitor: Sends a request to the Hazelcast health check endpoint over HTTPS. Use it when SSL/TLS is enabled in your cluster.
+- `TCP_HALF_OPEN` monitor: Checks only that the TCP port that Hazelcast uses is open and accepts connections. It does not call the health check endpoint. You can use it with or without SSL/TLS.
+
+
+Sign in to the BIG-IP LTM user interface, and create a monitor as described in the [F5 documentation on LTM monitors](https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-monitors-reference-11-6-0/3.html#unique_859105660). Then apply the configuration for your monitor type.
+
+### HTTP/HTTPS monitors
+
+:::note
+
+HTTP and HTTPS Local Traffic Manager monitors need the Hazelcast health check endpoint. Enable it with the `advanced-network` or the `network` configuration element.
+
+:::
+
+To use a GET request, set the following fields:
+- Set **Send String** to the following:
+
+ ```none
+ GET /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
+ ```
+- Set **Receive String** to the following:
+
+ ```none
+ {"nodeState":"ACTIVE","clusterState":"ACTIVE","clusterSafe":true,"migrationQueueSize":0,"clusterSize":([^\s]+)}
+ ```
+
+LTM monitors accept regular expressions in these strings. The **Receive String** in this example matches any cluster size. The monitor therefore stays green when the cluster size changes.
+
+To use a HEAD request, set the following fields:
+- Set **Send String** to the following:
+
+ ```none
+ HEAD /hazelcast/health HTTP/1.1\r\n\nHost: [HOST-ADDRESS-OF-HAZELCAST-MEMBER] \r\nConnection: Close\r\n\r\n
+ ```
+- Set **Receive String** to the following:
+
+ ```none
+ 200 OK
+ ```
+
+A HEAD request checks only for a `200 OK` response. A member sends this status code whenever its REST endpoint handles the request. The status code does not depend on the member state or the cluster state. A HEAD request therefore checks only that the endpoint responds. For a check that also covers the member state and the cluster state, we recommend a GET request.
+
+### `TCP_HALF_OPEN` monitors
+
+To use a `TCP_HALF_OPEN` monitor, set the following fields:
+- **Type**: `TCP Half Open`
+- **Alias Service Port**: Optional. The port of the Hazelcast member, if you want to set the port in the monitor
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/instance-tracking.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/instance-tracking.mdx
new file mode 100644
index 00000000..b047a42b
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/instance-tracking.mdx
@@ -0,0 +1,136 @@
+---
+title: "Instance tracking"
+sidebar_position: 6
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Instance tracking writes a file of metadata about a Hazelcast instance when the instance starts. The metadata includes the product name, the version, and the process ID. Other programs can read these files to find out which Hazelcast instances have run on a machine. Members and clients of both and support instance tracking. It is disabled by default.
+
+The instance does not delete the file when it shuts down. The file therefore remains on the machine as a record that the instance ran. If the instance cannot write the file, it logs a warning and starts anyway.
+
+## Configure instance tracking {/* #instance-tracking-configuration */}
+
+You configure instance tracking in the member configuration. The following example enables instance tracking, sets the path of the file, and sets a pattern for its contents:
+
+```java
+Config config = new Config();
+config.getInstanceTrackingConfig()
+ .setEnabled(true)
+ .setFileName("/tmp/hz-tracking.txt")
+ .setFormatPattern("$HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}");
+```
+
+The equivalent declarative configuration is as follows:
+
+
+
+
+```xml
+
+
+ /tmp/hz-tracking.txt
+ $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
+
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ instance-tracking:
+ enabled: true
+ file-name: /tmp/hz-tracking.txt
+ format-pattern: $HZ_INSTANCE_TRACKING{product}:$HZ_INSTANCE_TRACKING{version}
+```
+
+
+
+
+Instance tracking has the following settings:
+
+| Setting | Description | Default |
+| --- | --- | --- |
+| `enabled` | Whether the instance writes a tracking file | `false` |
+| `file-name` | The path of the tracking file | `Hazelcast.process` in the directory that the `java.io.tmpdir` system property names |
+| `format-pattern` | The pattern for the contents of the file | All the metadata as JSON |
+
+To configure instance tracking for a client, add the same settings to the client configuration.
+
+An instance overwrites any existing file at the configured path. To give each instance its own file, add placeholders to the filename. For example, the filename `Hazelcast-$HZ_INSTANCE_TRACKING{pid}-$HZ_INSTANCE_TRACKING{start_timestamp}.process` contains the process ID and the start time. The filename is therefore different each time an instance starts.
+
+## Use placeholders
+
+The filename and the format pattern can contain placeholders in the form `$HZ_INSTANCE_TRACKING{}`. The `HZ_INSTANCE_TRACKING` prefix distinguishes them from other placeholders in the configuration. When the instance writes the file, it replaces each placeholder with its value.
+
+The following placeholders are available:
+
+| Placeholder | Value |
+| --- | --- |
+| `product` | The product name: `Hazelcast`, `Hazelcast Enterprise`, `Hazelcast Client`, or `Hazelcast Client Enterprise` |
+| `version` | The Hazelcast version of the instance |
+| `mode` | `server` for a member started with the `hz-start` or `hz-start.bat` script, `embedded` for a member embedded in another Java program, or `client` for a client |
+| `start_timestamp` | The time the instance started, in milliseconds since the Unix epoch |
+| `licensed` | `1` if the instance uses a license, or `0` if it does not |
+| `pid` | The process ID of the instance |
+
+If a placeholder name is not in this table, the instance writes the placeholder unchanged and continues with the next one. If a placeholder has no closing brace, the instance writes the rest of the pattern unchanged, including any placeholders that follow.
+
+For example, the following format pattern contains a placeholder name that does not exist and a placeholder with no closing brace:
+
+```java
+String format = "mode: $HZ_INSTANCE_TRACKING{mode}\n"
+ + "product: $HZ_INSTANCE_TRACKING{product}\n"
+ + "licensed: $HZ_INSTANCE_TRACKING{licensed}\n"
+ + "missing: $HZ_INSTANCE_TRACKING{missing}\n"
+ + "broken: $HZ_INSTANCE_TRACKING{broken ";
+```
+
+An embedded member with no license writes the following file:
+
+```properties
+mode: embedded
+product: Hazelcast
+licensed: 0
+missing: $HZ_INSTANCE_TRACKING{missing}
+broken: $HZ_INSTANCE_TRACKING{broken
+```
+
+## Read the default file contents
+
+If you do not set a format pattern, the file contains every placeholder and its value as JSON.
+
+A client writes a file such as the following:
+
+```json vars
+{"product":"Hazelcast", "version":"{version}", "pid":27746, "mode":"client", "start_timestamp":1595851430741, "licensed":0}
+```
+
+A member started with the `hz-start` script writes a file such as the following:
+
+```json vars
+{"product":"Hazelcast", "version":"{version}", "pid":27746, "mode":"server", "start_timestamp":1595851430741, "licensed":1}
+```
+
+A member embedded in another Java program writes a file such as the following:
+
+```json vars
+{"product":"Hazelcast", "version":"{version}", "pid":27746, "mode":"embedded", "start_timestamp":1595851430741, "licensed":1}
+```
+
+## Find the tracking file of a running instance
+
+When an instance writes its tracking file, it sets the `hazelcast.config.instance.tracking.file` system property of its JVM to the full path of the file. To check that each running instance writes its file to the right path, read this property with the [`jcmd`](https://docs.oracle.com/en/java/javase/13/docs/specs/man/jcmd.html) utility. Replace `` with the process ID of the JVM:
+
+```shell
+jcmd VM.system_properties | grep hazelcast.config.instance.tracking.file
+```
+
+The output is similar to the following:
+
+```shell
+hazelcast.config.instance.tracking.file=/tmp/Hazelcast.process
+```
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/metrics.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/metrics.mdx
new file mode 100644
index 00000000..ca34d039
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/metrics.mdx
@@ -0,0 +1,404 @@
+---
+title: "Metrics"
+sidebar_position: 2
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+import CodeBlock from "@theme/CodeBlock";
+import Ex_management_ExampleLocalMapStats_java_tag_lms from "../../examples/management/ExampleLocalMapStats.java?tag=lms";
+import Ex_management_ExampleLocalIndexStats_java_tag_lis from "../../examples/management/ExampleLocalIndexStats.java?tag=lis";
+import Ex_management_ExampleNearCacheStats_java_tag_ncs from "../../examples/management/ExampleNearCacheStats.java?tag=ncs";
+import Ex_management_ExampleMultiMapStats_java_tag_mms from "../../examples/management/ExampleMultiMapStats.java?tag=mms";
+import Ex_management_ExampleQueueStats_java_tag_qs from "../../examples/management/ExampleQueueStats.java?tag=qs";
+import Ex_management_ExampleTopicStats_java_tag_ts from "../../examples/management/ExampleTopicStats.java?tag=ts";
+import Ex_management_ExampleExecutorStats_java_tag_es from "../../examples/management/ExampleExecutorStats.java?tag=es";
+import Ex_management_MetricsConfiguration_java_tag_member from "../../examples/management/MetricsConfiguration.java?tag=member";
+import Ex_management_MetricsConfiguration_java_tag_client from "../../examples/management/MetricsConfiguration.java?tag=client";
+
+Hazelcast exposes various metrics to facilitate monitoring of the cluster state. They are `` key-value pairs of data that capture the runtime information about the members and clients in a Hazelcast cluster. Such a metric can be the number of entries stored in a particular `IMap` on a given member, JVM metrics like used heap, OS metrics like load average, and so on.
+
+The metrics system is responsible for collecting these metrics and making them available for the [consumers](#exposing-metrics) of the metrics. There are a few hundred metrics collected during every metrics collection cycle by default, and this number grows as more features and data structures are used. This is because every data structure provides its own metrics. For example, if there are two `IMap`s used in a cluster, both `IMap`s produce their metrics on every member.
+
+Metrics have associated tags which describe which object the metric applies to. For example, the tags for job metrics typically indicate the specific DAG vertex and processor the metric belongs to.
+
+Each metric instance provided belongs to a particular Hazelcast cluster member. Different cluster members can have their own versions of the same metric with different values.
+
+The metric collection runs in regular intervals on each member, but note that the metric collection on different cluster members happens at different moments in time. If you try to correlate metrics from different members, they may have different timestamps.
+
+## Hazelcast metrics
+
+There is a wide range of metrics and statistics provided by Hazelcast:
+- Cluster-wide metrics
+- Statistics of distributed data structures
+- Executor statistics
+- Partition-related statistics (state, migration, replication)
+- Garbage collection statistics
+- Memory statistics for the JVM that the current Hazelcast member belongs to, for example total physical/free OS memory, max/committed/used/free heap memory, or max/committed/used/free native memory
+- Network traffic-related statistics (traffic and queue sizes)
+- Class loading-related statistics
+- Thread count information (current, peak and daemon thread counts)
+- Job-specific metrics
+
+See the full list of Hazelcast metrics in [List of Hazelcast Metrics](../../reference/list-of-metrics.mdx).
+
+:::note
+
+Metric names can change between minor versions, but not between patch versions. For the compatibility guarantees of each Hazelcast component, see [Supported versions](../../install-and-upgrade/overview/versioning-compatibility.mdx#versioning-and-compatibility-guarantees).
+
+:::
+
+### User-defined metrics
+
+User-defined metrics are actually a subset of [job metrics](../../reference/list-of-metrics.mdx#job-metrics). What distinguishes them from regular job-specific metrics is exactly what their name implies: they are not built-in, but defined when processing pipelines are written.
+
+Since user-defined metrics are also job metrics, they have all the tags job metrics have. They also have an extra tag, called `user`, which is set to `true`.
+
+:::note
+
+Because of their extra tag, user-defined metrics cannot overwrite a built-in metric, even if they have the exact same name.
+
+:::
+
+For example, to monitor your filtering step, you can write code like this:
+
+```java
+p.readFrom(source)
+ .filter(l -> {
+ boolean pass = l % 2 == 0;
+ if (!pass) {
+ Metrics.metric("dropped").increment();
+ }
+ Metrics.metric("total").increment();
+ return pass;
+ })
+ .writeTo(sink);
+```
+
+User-defined metrics can be used anywhere in pipeline definitions where custom code can be added. The most important places are filtering, mapping, and flat-mapping functions, various constituent functions of aggregations (accumulate, create, combine, deduct, export, and finish), and the key extraction function when grouping. They can also be used in [custom batch sources](../../develop-and-build/building-data-pipelines/ingesting-data-from-sources/custom-batch-source.mdx), [custom stream sources](../../develop-and-build/building-data-pipelines/ingesting-data-from-sources/custom-stream-source.mdx), [custom sinks](../../develop-and-build/building-data-pipelines/sending-results-to-sinks/custom-sink.mdx), processors, and so on.
+
+## Exposing metrics
+
+Use these tools and interfaces to expose the metrics to the outside world:
+-
+- JMX
+- [Diagnostics](./diagnostics.mdx)
+- Prometheus
+- Job API
+
+### Management Center
+
+Management Center receives the metrics used for building its view about the Hazelcast cluster from the metrics system. The members collect their metrics with the frequency defined with `collection-frequency-seconds`, which is by default once in every 5 seconds.
+
+The member saves the collected metrics into a blob stored in an in-memory buffer. The blob then is retained for the time configured in the `retention-seconds` under the `management-center` configuration block. This is also 5 seconds by default, which means there is at most one blob stored by default. Management Center periodically reads the metrics from this buffer. A blob stays in the buffer until a newer blob replaces it.
+
+The client metrics are also stored in these blobs on the member side with timestamps assigned to them on the client side.
+
+See the for more information.
+
+### JMX
+
+Hazelcast exposes all its metrics using the JVM's standard JMX interface. You can use tools such as Java Mission Control or JConsole to display them.
+
+To connect a JMX client to a member, see [Monitoring with JMX](./monitoring-with-jmx.mdx). That page also describes a separate set of MBeans for data structures and internal services, which you enable with the `hazelcast.jmx` property. The metrics do not need that property. The `jmx` element of the `metrics` configuration controls them, and it is enabled by default.
+
+The Hazelcast metrics are exposed under `com.hazelcast/Metrics/$INSTANCE_NAME` where `$INSTANCE_NAME` is the name of the member or client instance to which the JMX client is connected.
+
+[Jet engine](../../develop-and-build/building-data-pipelines/overview.mdx#what-is-the-jet-engine)-related beans are stored under `com.hazelcast.jet/Metrics//` node, and the various tags they have form further sub-nodes in the resulting tree structure.
+
+### Prometheus
+
+[Prometheus](https://prometheus.io/docs/prometheus/latest/getting_started) is a monitoring system and time series database. Setting up monitoring via Prometheus consists of two steps. The first step is exposing an HTTP endpoint with metrics. The second step is setting up Prometheus server, which pulls the metrics in a specified interval.
+
+The Prometheus Java agent is already part of the Hazelcast distribution. Enable the agent and expose all metrics via HTTP endpoint by setting an environment variable `PROMETHEUS_PORT`. You can change the port to any available port:
+
+```bash
+PROMETHEUS_PORT=8080 bin/hz-start
+```
+
+You should see the following line printed to the logs:
+
+```text
+Prometheus enabled on port 8080
+```
+
+The metrics are available on `http://localhost:8080`.
+
+:::note
+
+You need to configure Prometheus to scrape each member individually, manage changes from scaling and restarts, and collate the metrics from all members.
+
+If you are an Enterprise customer, you can configure Prometheus to scrape metrics from Management Center to collect metrics for the whole cluster. See .
+
+:::
+
+### Job API
+
+The `Job` class has a method which returns a instance. It contains the latest known metric values for the job.
+
+This functionality has been developed primarily to give access to metrics of finished jobs, but can in fact be used for jobs in any state. For details on how to use and filter the metric values consult the .
+
+A simple example for computing the number of data items emitted by a certain vertex, `vertexA`, excluding items emitted to the snapshot, looks like this:
+
+```java
+Predicate vertexOfInterest =
+ MeasurementPredicates.tagValueEquals(MetricTags.VERTEX, "vertexA");
+Predicate notSnapshotEdge =
+ MeasurementPredicates.tagValueEquals(MetricTags.ORDINAL, "snapshot").negate();
+
+Collection measurements = jobMetrics
+ .filter(vertexOfInterest.and(notSnapshotEdge))
+ .get(MetricNames.EMITTED_COUNT);
+
+long totalCount = measurements.stream().mapToLong(Measurement::value).sum();
+```
+
+## Configuration
+
+Metrics collection is enabled by default. You can configure the metrics system declaratively, in the XML or YAML [configuration file](../configuration/static-configuration/configuring-declaratively.mdx), or programmatically, with the [Java API](../configuration/static-configuration/configuring-programmatically.mdx). The following example shows the member configuration with the default values:
+
+
+
+
+```xml
+
+
+ 5
+
+
+ 5
+
+```
+
+
+
+
+```yaml
+metrics:
+ enabled: true
+ management-center:
+ enabled: true
+ retention-seconds: 5
+ jmx:
+ enabled: true
+ collection-frequency-seconds: 5
+```
+
+
+
+
+{Ex_management_MetricsConfiguration_java_tag_member}
+
+
+
+
+You can override each setting in the `metrics` configuration with a [Hazelcast property](../../reference/system-properties.mdx). Set the property in the `properties` section of the member configuration, or as a JVM system property, such as `-Dhazelcast.metrics.enabled=false`. If you set both, the member uses the value from the `properties` section. The member logs each override when it starts. The following properties override the `metrics` configuration:
+- `hazelcast.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
+- `hazelcast.metrics.mc.enabled`: Enables buffering the collected metrics for Management Center if set to `true`, disables it otherwise.
+- `hazelcast.metrics.mc.retention`: Duration, in seconds, for which the metrics are retained for Management Center.
+- `hazelcast.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
+- `hazelcast.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
+
+The `hazelcast.metrics.debug.enabled` property has no element in the `metrics` configuration. If it is `true`, the member collects debug metrics. Enable it only if [diagnostics](./diagnostics.mdx) is enabled, because only the diagnostics feature consumes the debug metrics.
+
+The client configuration is similar. It lacks the Management Center configuration block (`management-center` configuration element), as shown below. This is because the clients are not connected to Management Center and the client metrics are sent to Management Center through a member to which the client is connected.
+
+
+
+
+```xml
+
+
+ 5
+
+```
+
+
+
+
+```yaml
+metrics:
+ enabled: true
+ jmx:
+ enabled: true
+ collection-frequency-seconds: 5
+```
+
+
+
+
+{Ex_management_MetricsConfiguration_java_tag_client}
+
+
+
+
+You can override the client `metrics` configuration in the same way, with the following properties:
+- `hazelcast.client.metrics.enabled`: Enables the metrics collection if set to `true`, disables it otherwise.
+- `hazelcast.client.metrics.jmx.enabled`: Enables exposing the collected metrics over JMX if set to `true`, disables it otherwise.
+- `hazelcast.client.metrics.collection.frequency`: Frequency, in seconds, of the metrics collection cycle.
+
+The `hazelcast.client.metrics.debug.enabled` property has no element in the `metrics` configuration. If it is `true`, the client collects debug metrics. Enable it only if [diagnostics](./diagnostics.mdx) is enabled, because only the diagnostics feature consumes the debug metrics.
+
+## Performance
+
+The metrics system is designed to make the least possible impact on the performance of the cluster. Since the metrics collection takes place periodically with a few seconds frequency, the main focus is keeping allocation rates and memory footprint at minimum. Therefore, the blobs that store the metrics for Management Center are stored in the memory in a compressed format. The measurements that use multiple `IMap`s to scale up the number of metrics show that one blob occupies only a few kilobytes. It grows above 10 KB only if there are more than 1000 `IMap`s.
+
+The allocation rate of a metric collection cycle is also low. With both Management Center and JMX consumers enabled, the allocation rate with 100 `IMap`s is below 256 KB per cycle, and it grows above 1 MB with 1000 `IMap`s. This means that metrics collection does not increase the frequency of the garbage collection (GC) noticeably.
+
+While the metrics collection is considered GC friendly, the blobs are not recycled. Take the frequency of the GC into account when you configure the retention time. This prevents the blobs from getting promoted into the tenured region of the heap, where they contribute to major GCs over time.
+
+
+## Member statistics
+
+You can get various statistics from your distributed data structures with the `getLocalStats()` method of each data structure, such as `IMap.getLocalMapStats()`. These methods return statistics from the member that you call them on, not from the whole cluster.
+
+Entry statistics, such as the owned entry count, cover the data in the [partitions](../../develop-and-build/architecture/data-partitioning.mdx) that the member owns. Backup statistics cover the backups that the member holds. For maps, operation statistics, such as put counts and latencies, cover the calls that go through the member, whichever member owns the data. These calls come from the member's own code or from clients connected to it.
+
+Each data structure has a `statistics-enabled` configuration setting, which is `true` by default. If you set it to `false`, the member leaves the data structure out of the statistics that it reports to the metrics system and . The effect on the local statistics that the API returns depends on the data structure:
+
+| Data structure | Effect on local statistics |
+| --- | --- |
+| `IMap` | The member does not record operation counts, latencies, or index statistics. Entry counts and memory costs are still available. |
+| `MultiMap` | The member does not record operation counts or latencies, except for `putAll()` calls, transactional puts, and received events. Entry counts are still available. |
+| Queue | None. The member still records all queue statistics. |
+| Topic and reliable topic | None. The member still records publish and receive counts. |
+| Executor service | The member does not record any statistics. The `getLocalExecutorStats()` method returns zero values. |
+
+### Map statistics
+
+To get local map statistics, use the `getLocalMapStats()` method from the `IMap` interface. This method returns a `LocalMapStats` object that holds local map statistics.
+
+This example code shows how `getLocalMapStats()` and `getOwnedEntryCount()` can get the number of entries owned by this member:
+
+{Ex_management_ExampleLocalMapStats_java_tag_lms}
+
+
+For more details on map statistics, see [Reading Map Metrics](../../develop-and-build/distributed-data-structures/ap-data-structures/map/reading-map-metrics.mdx).
+
+### Map index statistics
+
+To access map index statistics, if you are using indexes to speed up map queries, use the `getIndexStats()` method of the `LocalMapStats` interface returned by `IMap.getLocalMapStats()`.
+
+Below is an example where the `getIndexStats()` method is used to examine an average selectivity of index hits:
+
+{Ex_management_ExampleLocalIndexStats_java_tag_lis}
+
+The following are some of the metrics that you can obtain via the `LocalIndexStats` interface:
+- Number of queries and hits into an index (`getQueryCount()` and `getHitCount()`). The number of hits and queries may differ since a single query may hit the same index more than once.
+- Average index hit latency measured in nanoseconds (`getAverageHitLatency()`).
+- Average index hit selectivity (`getAverageHitSelectivity`). Returned values are in the range from 0.0 to 1.0. Values close to 1.0 indicate a high selectivity meaning the index is efficient; values close to 0.0 indicate a low selectivity meaning the index efficiency is approaching an efficiency of a simple full scan.
+- Number of index insert, update and remove operations (`getInsertCount()`, `getUpdateCount()` and `getRemoveCount()`).
+- Total latencies of insert, update and remove operations (`getTotalInsertLatency()`, `getTotalUpdateLatency()`, `getTotalRemoveLatency()`). To compute an average latency, divide the returned value by the number of operations of a corresponding type.
+- Memory cost of an index (`getMemoryCost()`). For on-heap storage, this memory cost metric value is a best-effort approximation and does not indicate a precise on-heap memory usage of an index.
+
+See the to see all the metrics.
+
+To compute an aggregated value of `getAverageHitSelectivity()` for all cluster members, you can use a simple averaging computation as shown below:
+
+```none
+(s(1) + s(2) + ... + s(n)) / n
+```
+
+In this computation, `s(i)` is an average hit selectivity on the member `i` and `n` is the total number of cluster members.
+
+A more advanced solution is to compute a weighted average as shown below:
+
+```none
+(s(1) * h(1) + s(2) * h(2) + ... + s(n) * h(n)) / (h(1) + h(2) + ... + h(n))
+```
+
+Here, `s(i)` is an average hit selectivity on the member `i`, `h(i)` is a hit count (`getHitCount()`) on the member `i` and `n` is the total number of cluster members. This more advanced solution may produce more precise results in unstable dynamic clusters where new members do not have enough statistics accumulated. The same technique may be applied to the `getAverageHitLatency()` metric.
+
+Note the following about accuracy and reliability:
+- For on-heap storage, values returned by `getAverageHitSelectivity()` may be 1% more or less than the actual selectivity. For example, if the actual selectivity is 0.9, the returned value could be between 0.89 and 0.91.
+- The values returned by `getQueryCount()` and `getHitCount()` may be imprecise for queries involving partition predicates (`PartitionPredicate`) on off-heap storage.
+- The index statistics may be imprecise after a new cluster member addition or the existing member removal. They stay imprecise until enough fresh statistics are accumulated on a new owner of an index or its partition.
+
+### Near Cache statistics
+
+To get Near Cache statistics, use the `getNearCacheStats()` method from the `LocalMapStats` object. This method returns a `NearCacheStats` object that holds Near Cache statistics.
+
+Below is an example where the `getNearCacheStats()` method and the `getRatio()` method from `NearCacheStats` get a Near Cache hit/miss ratio.
+
+{Ex_management_ExampleNearCacheStats_java_tag_ncs}
+
+The following are some of the metrics that you can access via the `NearCacheStats` object (applies to both client and member Near Caches):
+- Creation time of the Near Cache on the member (`getCreationTime()`)
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Memory cost (number of bytes) of owned entries in the Near Cache (`getOwnedEntryMemoryCost()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+
+See the to see all the metrics.
+
+### `MultiMap` statistics
+
+To get `MultiMap` statistics, use the `getLocalMultiMapStats()` method from the `MultiMap` interface. This method returns a `LocalMultiMapStats` object that holds local `MultiMap` statistics.
+
+Below is an example where the `getLocalMultiMapStats()` method and the `getLastUpdateTime()` method from `LocalMultiMapStats` get the last update time.
+
+{Ex_management_ExampleMultiMapStats_java_tag_mms}
+
+The following are some of the metrics that you can access via the `LocalMultiMapStats` object:
+- Number of entries owned by the member (`getOwnedEntryCount()`)
+- Number of backup entries held by the member (`getBackupEntryCount()`)
+- Number of backups per entry (`getBackupCount()`)
+- Memory cost (number of bytes) of owned entries in the member (`getOwnedEntryMemoryCost()`)
+- Creation time of the `MultiMap` on the member (`getCreationTime()`)
+- Number of hits (reads) of the locally owned entries (`getHits()`)
+- Number of get and put operations on the map (`getPutOperationCount()` and `getGetOperationCount()`)
+
+See the to see all the metrics.
+
+### Queue statistics
+
+To get local queue statistics, use the `getLocalQueueStats()` method from the `IQueue` interface. This method returns a `LocalQueueStats` object that holds local queue statistics.
+
+Below is an example where the `getLocalQueueStats()` method and the `getAverageAge()` method from `LocalQueueStats` get the average age of items.
+
+{Ex_management_ExampleQueueStats_java_tag_qs}
+
+The following are some of the metrics that you can access via the `LocalQueueStats` object:
+- Number of owned items in the member (`getOwnedItemCount()`)
+- Number of backup items in the member (`getBackupItemCount()`)
+- Minimum and maximum ages of the items in the member (`getMinAge()` and `getMaxAge()`)
+- Number of offer, put and add operations (`getOfferOperationCount()`)
+
+See the to see all the metrics.
+
+### Topic statistics
+
+To get local topic statistics, use the `getLocalTopicStats()` method from the `ITopic` interface. This method returns a `LocalTopicStats` object that holds local topic statistics.
+
+Below is an example where the `getLocalTopicStats()` method and the `getPublishOperationCount()` method from `LocalTopicStats` get the number of publish operations.
+
+{Ex_management_ExampleTopicStats_java_tag_ts}
+
+The following are the metrics that you can access via the `LocalTopicStats` object:
+- Creation time of the topic on the member (`getCreationTime()`)
+- Total number of published messages of the topic on the member (`getPublishOperationCount()`)
+- Total number of received messages of the topic on the member (`getReceiveOperationCount()`)
+
+See the to see all the metrics.
+
+:::note
+
+If you remove a `MessageListener` from a `ReliableTopic`, the member can still count the messages that the listener's last pending read returns.
+
+The received-message count can therefore be higher than the number of messages that listeners processed. The count can be too high by up to the [`read-batch-size`](../../develop-and-build/distributed-data-structures/ap-data-structures/reliable-topic.mdx#configuring-reliable-topic) of the topic, which is 10 by default, for each listener that you remove.
+
+:::
+
+### Executor statistics
+
+To get local executor statistics, use the `getLocalExecutorStats()` method from the `IExecutorService` interface. This method returns a `LocalExecutorStats` object that holds local executor statistics.
+
+Below is an example where the `getLocalExecutorStats()` method and the `getCompletedTaskCount()` method from `LocalExecutorStats` get the number of completed operations of the executor service.
+
+{Ex_management_ExampleExecutorStats_java_tag_es}
+
+The following are some of the metrics that you can access via the `LocalExecutorStats` object:
+- Number of pending operations of the executor service (`getPendingTaskCount()`)
+- Number of started operations of the executor service (`getStartedTaskCount()`)
+- Number of completed operations of the executor service (`getCompletedTaskCount()`)
+
+See the to see all the metrics.
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/monitoring-with-jmx.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/monitoring-with-jmx.mdx
new file mode 100644
index 00000000..a954ec18
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/monitoring-with-jmx.mdx
@@ -0,0 +1,396 @@
+---
+title: "Monitoring with JMX"
+sidebar_position: 5
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+You can monitor Hazelcast members with JMX. When you enable JMX, each member registers MBeans for its distributed data structures and its internal services. Any JMX client, such as JConsole, can read the attributes of these MBeans and call their operations.
+
+Hazelcast also exposes its [metrics](./metrics.mdx#jmx) over JMX. The metrics MBeans do not need the `hazelcast.jmx` property. The `jmx` element of the `metrics` configuration controls them, and it is enabled by default.
+
+## Enable JMX
+
+To monitor a member with JMX, enable the JMX agent of the member's JVM, and then enable JMX in Hazelcast.
+
+Start the JVM with the following system properties to enable the [JMX agent](https://docs.oracle.com/en/java/javase/17/management/monitoring-and-management-using-jmx-technology.html):
+
+| System property | Effect |
+| --- | --- |
+| `-Dcom.sun.management.jmxremote` | Enables the JMX agent |
+| `-Dcom.sun.management.jmxremote.port=` | Optional. Accepts remote connections on the given port. |
+| `-Dcom.sun.management.jmxremote.authenticate=false` | Optional. Turns off password authentication of JMX connections. |
+
+Then set the `hazelcast.jmx` property to `true`. The default is `false`.
+
+
+
+
+```xml
+
+ ...
+
+ true
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ properties:
+ hazelcast.jmx: true
+```
+
+
+
+
+```java
+config.setProperty("hazelcast.jmx", "true");
+```
+
+
+
+
+```xml
+
+ true
+
+```
+
+
+
+
+```shell
+-Dhazelcast.jmx=true
+```
+
+
+
+
+## MBean names
+
+Each Hazelcast MBean has an object name in the `com.hazelcast` domain. The object name has the following keys:
+
+| Key | Value |
+| --- | --- |
+| `instance` | The name of the Hazelcast instance |
+| `type` | The type of the MBean, such as `IMap` or `HazelcastInstance.Node` |
+| `name` | The name of the data structure or service |
+
+For example, the following object name identifies the MBean of the map `trial` on the instance `_hzInstance_1_dev`:
+
+```java
+ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
+```
+
+If a value contains any of the characters `:`, `"`, `,`, `=`, `*`, or `?`, or a line break, Hazelcast quotes it with `ObjectName.quote()`. For example, the MBean of a map named `orders:eu` has the object name `com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name="orders:eu"`.
+
+## Connect to the JMX agent
+
+To connect to a member, use a JMX client such as JConsole or VisualVM with the VisualVM-MBeans plugin. You can also connect from your own Java code.
+
+To connect from Java code, first create a `JMXServiceURL` with the host of the member and the port that you set in `com.sun.management.jmxremote.port`:
+
+```java
+int port = 1099;
+String hostname = InetAddress.getLocalHost().getHostName();
+JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://" + hostname + ":" + port + "/jndi/rmi://" + hostname + ":" + port + "/jmxrmi");
+```
+
+Then connect to the URL, and get an `MBeanServerConnection` from the connection:
+
+```java
+JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
+MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
+```
+
+Use the `MBeanServerConnection` to read attributes and call operations. The following example reads the name of a map and the number of its entries that the member owns:
+
+```java
+ObjectName mapMBeanName = new ObjectName("com.hazelcast:instance=_hzInstance_1_dev,type=IMap,name=trial");
+System.out.println("Total entries on map " + mbsc.getAttribute(mapMBeanName, "name") + " : "
+ + mbsc.getAttribute(mapMBeanName, "localOwnedEntryCount"));
+```
+
+## MBeans of a member
+
+The following sections list the MBeans that a member registers. Each section lists the attributes and operations of one MBean. Operation names end with parentheses. Attributes whose names start with `local` describe only the member that you connect to, not the whole cluster. For the metrics behind many of these attributes, see [List of Hazelcast metrics](../../reference/list-of-metrics.mdx).
+
+### Instance (`HazelcastInstance`)
+
+The `HazelcastInstance` MBean describes the member and its cluster. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the instance |
+| `version` | Hazelcast version |
+| `build` | Hazelcast build |
+| `config` | Configuration of the member, as a string |
+| `configSource` | Source of the configuration |
+| `clusterName` | Name of the cluster |
+| `port` | Network port |
+| `clusterTime` | Cluster-wide time |
+| `memberCount` | Number of members in the cluster |
+| `Members` | List of members |
+| `running` | Whether the member is running |
+| `shutdown()` | Shuts down the member |
+
+### Node (`HazelcastInstance.Node`)
+
+The `HazelcastInstance.Node` MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `address` | Address of the member |
+| `masterAddress` | Address of the master member of the cluster |
+
+### Partition service (`HazelcastInstance.PartitionServiceMBean`)
+
+The `HazelcastInstance.PartitionServiceMBean` MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `partitionCount` | Number of partitions |
+| `activePartitionCount` | Number of active partitions |
+| `isClusterSafe` | Whether the cluster is in a safe state |
+| `isLocalMemberSafe` | Whether the member is safe to shut down |
+
+### Logging service (`HazelcastInstance.LoggingService`)
+
+The `HazelcastInstance.LoggingService` MBean has the following attribute and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `level` | Log level that is set on the member |
+| `setLevel(level)` | Sets the log level of the member |
+| `resetLevel()` | Resets the log level of the member |
+
+### License (`HazelcastInstance.LicenseInfo`)
+
+The `HazelcastInstance.LicenseInfo` MBean holds the details of the member's license. For its attributes, see [Get license details with JMX API](../../install-and-upgrade/enterprise-edition/enterprise-licenses.mdx#jmx).
+
+### Internal executors (`HazelcastInstance.ManagedExecutorService`)
+
+A member registers one `HazelcastInstance.ManagedExecutorService` MBean for each of the following internal executors. The `name` key of the object name is the name of the executor:
+- `hz:system`
+- `hz:async`
+- `hz:scheduled`
+- `hz:client`
+- `hz:client-query`
+- `hz:client-blocking-tasks`
+- `hz:query`
+- `hz:io`
+- `hz:offloadable`
+- `hz:vector-query` , if vector collections are enabled
+
+Each executor MBean has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the executor |
+| `queueSize` | Number of tasks in the work queue |
+| `poolSize` | Number of threads in the pool |
+| `maximumPoolSize` | Maximum number of threads in the pool |
+| `remainingQueueCapacity` | Remaining capacity of the work queue |
+| `isShutdown` | Whether the executor is shut down |
+| `isTerminated` | Whether the executor is terminated |
+| `completedTaskCount` | Number of tasks that the executor has completed |
+
+### WAN publisher (`WanPublisher`)
+
+A member registers one `WanPublisher` MBean for each WAN replication publisher. The `name` key of the object name is the name of the WAN replication and the ID of the publisher, separated by a period. The MBean has the following attribute:
+
+| Attribute | Description |
+| --- | --- |
+| `state` | State of the publisher: `REPLICATING`, `PAUSED`, or `STOPPED` |
+
+### Map (`IMap`)
+
+A member registers an `IMap` MBean for each map. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the map |
+| `size` | Number of entries in the map |
+| `config` | Configuration of the map |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localOwnedEntryMemoryCost` | Memory cost of the owned entries, in bytes |
+| `localBackupEntryCount` | Number of backup entries that the member holds |
+| `localBackupEntryMemoryCost` | Memory cost of the backup entries, in bytes |
+| `localBackupCount` | Number of backups of each entry |
+| `localCreationTime` | Time the map was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localLockedEntryCount` | Number of owned keys that are locked |
+| `localDirtyEntryCount` | Number of owned entries that are updated but not yet written to the map store |
+| `localPutOperationCount` | Number of put operations |
+| `localSetOperationCount` | Number of set operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localValuesOperationCount` | Number of `values()` calls |
+| `localEntrySetOperationCount` | Number of `entrySet()` calls |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalSetLatency` | Total latency of set operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxSetLatency` | Maximum latency of a set operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `localHeapCost` | Heap cost of the map, including its Near Cache |
+| `clear()` | Removes all entries from the map |
+
+To get the average latency of an operation type, divide its total latency by its operation count.
+
+### `MultiMap` (`MultiMap`)
+
+A member registers a `MultiMap` MBean for each `MultiMap`. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the `MultiMap` |
+| `size` | Number of entries in the `MultiMap` |
+| `config` | Configuration of the `MultiMap` |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localOwnedEntryMemoryCost` | Memory cost of the owned entries, in bytes |
+| `localBackupEntryCount` | Number of backup entries that the member holds |
+| `localBackupEntryMemoryCost` | Memory cost of the backup entries, in bytes |
+| `localBackupCount` | Number of backups of each entry |
+| `localCreationTime` | Time the `MultiMap` was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localLockedEntryCount` | Number of owned keys that are locked |
+| `localDirtyEntryCount` | Number of owned entries that are dirty |
+| `localPutOperationCount` | Number of put operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `clear()` | Removes all entries from the `MultiMap` |
+
+### Replicated map (`ReplicatedMap`)
+
+A member registers a `ReplicatedMap` MBean for each replicated map. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the replicated map |
+| `size` | Number of entries in the replicated map |
+| `config` | Configuration of the replicated map |
+| `localOwnedEntryCount` | Number of entries that the member owns |
+| `localCreationTime` | Time the replicated map was created on the member |
+| `localLastAccessTime` | Time an owned entry was last read |
+| `localLastUpdateTime` | Time an owned entry was last updated |
+| `localHits` | Number of reads of owned entries |
+| `localPutOperationCount` | Number of put operations |
+| `localGetOperationCount` | Number of get operations |
+| `localRemoveOperationCount` | Number of remove operations |
+| `localValuesOperationCount` | Number of `values()` calls |
+| `localEntrySetOperationCount` | Number of `entrySet()` calls |
+| `localTotalPutLatency` | Total latency of put operations |
+| `localTotalGetLatency` | Total latency of get operations |
+| `localTotalRemoveLatency` | Total latency of remove operations |
+| `localMaxPutLatency` | Maximum latency of a put operation |
+| `localMaxGetLatency` | Maximum latency of a get operation |
+| `localMaxRemoveLatency` | Maximum latency of a remove operation |
+| `localEventOperationCount` | Number of events received |
+| `localOtherOperationCount` | Number of other operations |
+| `localTotal` | Total number of operations |
+| `clear()` | Removes all entries from the replicated map |
+
+### Queue (`IQueue`)
+
+A member registers an `IQueue` MBean for each queue. It has the following attributes and operations:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the queue |
+| `config` | Configuration of the queue |
+| `partitionKey` | Partition key of the queue |
+| `localOwnedItemCount` | Number of items that the member owns |
+| `localBackupItemCount` | Number of backup items that the member holds |
+| `localMinAge` | Minimum age of the items |
+| `localMaxAge` | Maximum age of the items |
+| `localAverageAge` | Average age of the items |
+| `localOfferOperationCount` | Number of offer, put, and add operations |
+| `localRejectedOfferOperationCount` | Number of rejected offers |
+| `localPollOperationCount` | Number of poll, take, and remove operations |
+| `localEmptyPollOperationCount` | Number of poll operations that returned `null` |
+| `localOtherOperationsCount` | Number of other operations |
+| `localEventOperationCount` | Number of event operations |
+| `clear()` | Removes all items from the queue |
+
+### List (`IList`)
+
+A member registers an `IList` MBean for each list. It has the following attribute and operation:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the list |
+| `clear()` | Removes all items from the list |
+
+### Set (`ISet`)
+
+A member registers an `ISet` MBean for each set. It has the following attributes and operation:
+
+| Attribute or operation | Description |
+| --- | --- |
+| `name` | Name of the set |
+| `partitionKey` | Partition key of the set |
+| `clear()` | Removes all items from the set |
+
+### Topic (`ITopic`)
+
+A member registers an `ITopic` MBean for each topic. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the topic |
+| `config` | Configuration of the topic |
+| `localCreationTime` | Time the topic was created on the member |
+| `localPublishOperationCount` | Number of messages published on the member |
+| `localReceiveOperationCount` | Number of messages received on the member |
+
+### Reliable topic (`ReliableTopic`)
+
+A member registers a `ReliableTopic` MBean for each reliable topic. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the reliable topic |
+| `config` | Configuration of the reliable topic |
+| `localCreationTime` | Time the reliable topic was created on the member |
+| `localPublishOperationCount` | Number of messages published on the member |
+| `localReceiveOperationCount` | Number of messages received on the member |
+
+### Executor service (`IExecutorService`)
+
+A member registers an `IExecutorService` MBean for each executor service. It has the following attributes:
+
+| Attribute | Description |
+| --- | --- |
+| `name` | Name of the executor service |
+| `localCreationTime` | Time the executor service was created on the member |
+| `localPendingTaskCount` | Number of pending tasks |
+| `localStartedTaskCount` | Number of started tasks |
+| `localCompletedTaskCount` | Number of completed tasks |
+| `localCancelledTaskCount` | Number of cancelled tasks |
+| `localTotalStartLatency` | Total start latency of the started tasks |
+| `localTotalExecutionLatency` | Total execution time of the completed tasks |
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/overview.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/overview.mdx
new file mode 100644
index 00000000..de7407ce
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/monitoring/overview.mdx
@@ -0,0 +1,82 @@
+---
+title: "Overview"
+sidebar_position: 1
+slug: /maintain-cluster/monitoring
+---
+
+Hazelcast provides the following ways to monitor a cluster:
+
+| Page | What it provides |
+| --- | --- |
+| [Metrics](./metrics.mdx) | Runtime statistics about members and clients, such as the number of entries in a map, the used heap, and the load average |
+| [Health check and monitoring](./health-check-and-monitoring.mdx) | An HTTP endpoint that reports the state of a member, and a health monitor that writes resource use to the member log |
+| [Diagnostics](./diagnostics.mdx) | A dedicated log file with detailed information for troubleshooting |
+| [Monitoring with JMX](./monitoring-with-jmx.mdx) | MBeans that any JMX client can read |
+| [Instance tracking](./instance-tracking.mdx) | A file that records each instance that starts on a machine |
+| [Management Center](../securing-a-cluster/management-center.mdx) | A tool for monitoring and managing a cluster, which can also export metrics to other tools |
+
+Follow these practices when you run a cluster:
+- Review the log entries of the health monitor and the Hazelcast logs regularly for failure messages. Investigate and record each incident.
+- Set up alerts for long garbage collection pauses and for network problems that make a member unreachable. The failure detectors set how long the cluster tolerates these problems before it removes the member. For the settings, see [Failure Detector Configuration](../fault-tolerance/detecting-failures/failure-detector-configuration.mdx).
+- Use `jstat`, keep verbose GC logging turned on, and monitor GC behavior with a log scraping tool such as Splunk. Raise an alarm on back-to-back full GCs, and on heap occupancy above 90% after a full GC.
+- Make sure that each member can reach every other member through the network and their ports. Make sure that the clients can reach every member as well.
+- Start the members before the clients. This is not required, but clients that start first can time out or report that they cannot find a Hazelcast member.
+- Turn on a system monitoring tool, such as [`nmon`](http://nmon.sourceforge.net/pmwiki.php).
+- To add a member to a running cluster, start it with a configuration similar to that of the other members. You might also need to add the IP address of the new member to the configuration. You do not need a maintenance window to add members to a running cluster.
+
+ - When a member joins or leaves the cluster, the clients can pause briefly while the members rebalance the data. This is expected.
+ - You do not need to change anything on the clients when you add members to a running cluster. In the default `ALL_MEMBERS` routing mode, the clients connect to a new member after it joins the cluster.
+ - The members rebalance the primary and backup data automatically when a member joins or leaves the cluster, including when a member is forced to leave. In the default `ACTIVE` cluster state, you do not need to do anything.
+ - You can promote lite members to data members with the [Cluster API](../maintaining-a-cluster/lite-members.mdx#promoting-lite-members-to-data-members) or with Management Center.
+ - If you set `hazelcast.initial.min.cluster.size`, for example to 4, and start members one by one in an empty cluster, the members initialize the partition table when the cluster reaches that size. They do this even though the cluster has no data. In a cluster of more than 100 members, each member that joins after that causes partition assignment work that is not needed.
+- Check that the backup count is adequate for your SLAs.
+- If you use distributed computing features, such as the executor service or entry processors, keep the members up to date. Apply each change to your client application logic, or to your implementation of these features, to the members as well. Unless you use , which requires , restart all the members after you deploy the new code. Use the usual redeployment process: shut down the members, add the new application JARs to the classpath of the members, and start the members.
+
+## Alerting
+
+Hazelcast writes banners, warnings, and exception messages to the console of your application. For example, the following banner warns that a license is about to expire:
+
+```none
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+THIS HAZELCAST LICENSE ID AbCdE*********FgHiJ WILL EXPIRE IN 29 DAYS.
+Your Hazelcast cluster will stop working on the next re-start after
+expiry.
+
+Please contact your Hazelcast Account Executive or
+email sales@hazelcast.com.
+Phone: +1 (650) 521-5453
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+```
+
+The following warning reports an outdated API on the classpath:
+
+```none
+An outdated version of JCache API was located in the classpath, please use newer versions of
+JCache API rather than 1.0.0-PFD or 0.x versions.
+```
+
+The following exception message reports an SQL query that refers to a mapping that does not exist:
+
+```none
+com.hazelcast.sql.HazelcastSqlException: From line 1, column 15 to line 1, column 23: Object 'mapBak1HD' not found, did you forget to CREATE MAPPING?
+```
+
+You can also export metrics from Management Center to Prometheus, and filter them there to create alerts. Hazelcast logging is another, indirect source of alerts. For more information, see [Configuring logging](../logging.mdx).
+
+For the actions to take on each alert, see [Actions and remedies for alerts](../../troubleshoot/remedies-for-alerts.mdx).
+
+## Integrate with third-party tools
+
+ collects metrics from all the members of a cluster. To send these metrics to a third-party tool, integrate the tool with Management Center instead of with each member. You then do not need to connect to each member, handle members that scale or restart, or combine the metrics of several members.
+
+### Prometheus
+
+Management Center can expose the metrics that it collects from the members to [Prometheus](https://prometheus.io/). To turn on this feature, set the `hazelcast.mc.prometheusExporter.enabled` system property of Management Center to `true`. For details, see .
+
+### AppDynamics
+
+To integrate [Management Center](../securing-a-cluster/management-center.mdx) with AppDynamics, use the interface of Management Center, and attach the AppDynamics Java agent to Management Center. For details, see .
+
+### New Relic
+
+To integrate [Management Center](../securing-a-cluster/management-center.mdx) with New Relic, use the interface of Management Center. Attach the New Relic Java agent to Management Center, and provide an extension file that describes which metrics Management Center sends to New Relic. For details, see .
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx
index 09f3e1ab..85cc33fc 100644
--- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx
+++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/hardening-recommendations.mdx
@@ -37,4 +37,4 @@ In addition to the above, we recommend the following hardening recommendations f
- Hazelcast uses Java serialization for some objects transferred over the network. To avoid deserialization of objects from untrusted sources, Hazelcast offers some protection mechanisms; we recommend enabling [mutual TLS authentication](./tls/tls-ssl.mdx#mutual-authentication) and disabling [multicast join](../partition-groups-and-networking/network-configuration.mdx#multicast-element) configuration. We recommend using Java serialization filter configuration for whitelisting the set of trusted classes or packages which are allowed for deserialization. Configure these restrictions on both members and clients. The configuration does not have to be the same on each. Bear in mind that a class blocked on a given member or client cannot be used there.
- Hazelcast can use zero-configuration Compact serialization for eligible classes that have no explicit serializer. We recommend restricting the classes allowed to use zero-config Compact serialization by defining an allowlist of only the classes your application needs, rather than relying on the default behavior, and configuring this on both members and clients. See [Restricting Classes for Zero-Config Compact Serialization](../../develop-and-build/serialization/compact-serialization/overview.mdx#zero-config-filter). If you do not want to use zero-config Compact serialization, disable it by disabling the defaults and configuring an empty allowlist.
- Hazelcast uses Java reflection during SQL execution when the object format is set to `java`. We recommend using [Java reflection filter configuration](../../develop-and-build/sql/sql-reflection-configuration.mdx#disallowing-reflection-of-untrusted-java-classes) to whitelist the set of trusted classes or packages that are allowed to create through reflection.
-- You can disable script executions on the Hazelcast members. Scripts executed from Management center have access to system resources (files, etc.) with privileges of user running Hazelcast. We recommend that scripting be [disabled](../maintaining-a-cluster/monitoring.mdx#toggle-scripting-support) on members.
+- You can disable script executions on the Hazelcast members. Scripts executed from Management center have access to system resources (files, etc.) with privileges of user running Hazelcast. We recommend that scripting be [disabled](./management-center.mdx#toggle-scripting-support) on members.
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/management-center.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/management-center.mdx
new file mode 100644
index 00000000..98f1a1fe
--- /dev/null
+++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/management-center.mdx
@@ -0,0 +1,156 @@
+---
+title: "Management Center"
+sidebar_position: 9
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+Hazelcast is a tool for monitoring and managing a cluster. In Management Center, you can monitor the state of your clusters, browse your data structures, update map configurations, and take thread dumps from members. With its scripting and console modules, you can also run scripts, such as JavaScript or Groovy, and commands on your members. A script runs only if the classpath of the member contains a scripting engine for the language of the script.
+
+For more information, including the clustered JMX and clustered REST APIs of Management Center, see the .
+
+Management Center is a client of the cluster. You therefore control the following features of Management Center in the member configuration:
+- Scripting
+- The console
+- Access to data
+- The IP addresses that Management Center can connect from
+
+## Enable scripting {/* #managing-scripting-support */}
+
+
+
+Management Center can run scripts that automate interactions with the cluster. Scripting is disabled by default, because a scripting engine gives code access to the files and other resources of the members. The code runs with the permissions of the user that runs the member.
+
+:::important
+
+Scripting gives full, unrestricted access to the cluster. The permissions of individual Management Center users do **not** limit it. Enable scripting with caution, especially in production. If you need fine-grained access control, leave scripting disabled. For details, see in the Management Center documentation.
+
+:::
+
+To enable scripting, set `scripting-enabled` to `true` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ scripting-enabled: true
+```
+
+
+
+
+Hazelcast supports scripting through the API that [Java Specification Request (JSR) 223](https://jcp.org/en/jsr/detail?id=223) defines.
+
+## Enable the console {/* #managing-console-support */}
+
+Management Center can run client operations from its user interface, with a built-in Hazelcast Command-Line Client (CLC). The console is useful for testing and development. It is disabled by default.
+
+:::important
+
+The console gives full access to the cluster through CLC. The permissions of individual Management Center users do **not** limit it. Enable the console with caution, especially in production. If you need fine-grained access control, leave the console disabled.
+
+:::
+
+To enable the console, set `console-enabled` to `true` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ console-enabled: true
+```
+
+
+
+
+For more information, see in the Management Center documentation.
+
+## Disable access to data {/* #managing-data-access */}
+
+In its SQL Browser and Map Browser, Management Center can show the contents of data structures, such as map entries. If your cluster stores sensitive data, such as financial or personal information, you can stop Management Center from reading it. Access to data is enabled by default. Management Center reads data only if every member allows it.
+
+To disable access to data, set `data-access-enabled` to `false` in the member configuration:
+
+
+
+
+```xml
+
+ ...
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ data-access-enabled: false
+```
+
+
+
+
+## Limit source addresses
+
+By default, any Management Center instance that can authenticate can connect to the cluster. To accept connections only from trusted Management Center instances, list their IP addresses in `trusted-interfaces`. The addresses can contain wildcards (`*`) and ranges (`-`).
+
+The following example accepts connections only from Management Center instances with an address that starts with `192.168.1.`:
+
+
+
+
+```xml
+
+ ...
+
+
+ 192.168.1.*
+
+
+ ...
+
+```
+
+
+
+
+```yaml
+hazelcast:
+ management-center:
+ trusted-interfaces:
+ - 192.168.1.*
+```
+
+
+
diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx
index 8e7e82e8..ce4590cf 100644
--- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx
+++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/synchronizing-data-across-clusters/advanced-features.mdx
@@ -421,7 +421,7 @@ The average entries per leaf number above assumes perfect distribution of the en
### WAN Synchronization Statistics
-Both Full and Delta WAN Synchronization processes write statistics into the [diagnostics](../maintaining-a-cluster/monitoring.mdx#diagnostics) subsystem and send them to Hazelcast Management Center. Using these statistics you can measure the efficiency of your configuration.
+Both Full and Delta WAN Synchronization processes write statistics into the [diagnostics](../monitoring/diagnostics.mdx) subsystem and send them to Hazelcast Management Center. Using these statistics you can measure the efficiency of your configuration.
Full WAN Synchronization reports the following:
@@ -464,7 +464,7 @@ Merkle synchronization statistics:
Maximum records per Merkle tree node: 7
```
-See the [Diagnostics section](../maintaining-a-cluster/monitoring.mdx#diagnostics) to learn how to enable diagnostics and locate its log file to see the above statistics.
+See the [Diagnostics section](../monitoring/diagnostics.mdx) to learn how to enable diagnostics and locate its log file to see the above statistics.
## Dynamically Adding WAN Publishers
diff --git a/hazelcast_versioned_docs/version-5.7/reference/faq.mdx b/hazelcast_versioned_docs/version-5.7/reference/faq.mdx
index 7ff005ae..9ae4a846 100644
--- a/hazelcast_versioned_docs/version-5.7/reference/faq.mdx
+++ b/hazelcast_versioned_docs/version-5.7/reference/faq.mdx
@@ -210,9 +210,9 @@ Yes. But note that Hazelcast's main design focus is multi-member clusters to be
is what you use to monitor and manage the members running Hazelcast. In addition to monitoring the overall state of a cluster, you can analyze and browse data structures in detail, you can update map configurations and you can take thread dumps from members.
-You can also use Hazelcast's HTTP based health check implementation and health monitoring utility. See the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). There is also a [diagnostics tool](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics) where you can see detailed logs enhanced with diagnostic plugins.
+You can also use Hazelcast's HTTP based health check implementation and health monitoring utility. See the [Health Check and Monitoring section](../operate-and-manage/monitoring/health-check-and-monitoring.mdx). There is also a [diagnostics tool](../operate-and-manage/monitoring/diagnostics.mdx) where you can see detailed logs enhanced with diagnostic plugins.
-Moreover, JMX monitoring is also provided. See the [Monitoring with JMX section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) for details.
+Moreover, JMX monitoring is also provided. See the [Monitoring with JMX section](../operate-and-manage/monitoring/monitoring-with-jmx.mdx) for details.
## How can I see debug level logs?
diff --git a/hazelcast_versioned_docs/version-5.7/reference/list-of-metrics.mdx b/hazelcast_versioned_docs/version-5.7/reference/list-of-metrics.mdx
index b513c705..9ab2ad30 100644
--- a/hazelcast_versioned_docs/version-5.7/reference/list-of-metrics.mdx
+++ b/hazelcast_versioned_docs/version-5.7/reference/list-of-metrics.mdx
@@ -153,7 +153,7 @@ Details on whether the user canceled the job. Potential values:
- 1 - canceled by the user
- 0 - means the job is either running, completed successfully, or failed due to an error other than user cancellation
-Exposed via [Job API](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#via-job-api) only.
+Exposed via [Job API](../operate-and-manage/monitoring/metrics.mdx#job-api) only.
diff --git a/hazelcast_versioned_docs/version-5.7/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.7/reference/system-properties.mdx
index b5bad581..94be2b94 100644
--- a/hazelcast_versioned_docs/version-5.7/reference/system-properties.mdx
+++ b/hazelcast_versioned_docs/version-5.7/reference/system-properties.mdx
@@ -168,7 +168,7 @@ When you want to reconfigure a system property, you need to [restart](../operate
`hazelcast.config.instance.tracking.file` |
|
string |
-The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking) |
+The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/monitoring/instance-tracking.mdx) |
| `hazelcast.connect.all.wait.seconds` |
@@ -204,7 +204,7 @@ Output directory of the diagnostic log files.
:::note
-For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics).
+For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-and-manage/monitoring/diagnostics.mdx).
:::
@@ -388,7 +388,7 @@ For detailed information about the diagnostic tool, along with this and the foll
`hazelcast.health.monitoring.delay.seconds` |
20 |
int |
-Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). |
+Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/monitoring/health-check-and-monitoring.mdx). |
| `hazelcast.health.monitoring.level` |
@@ -568,7 +568,7 @@ This property should only be used as a last resort. Hazelcast uses the XXE prote
`hazelcast.jmx` |
false |
bool |
-Enable [JMX](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent. |
+Enable [JMX](../operate-and-manage/monitoring/monitoring-with-jmx.mdx) agent. |
| `hazelcast.jet.custom.lib.dir` |
@@ -818,7 +818,7 @@ Setting this value too low may cause members to be evicted from the cluster when
`hazelcast.metrics.collection.frequency` |
5 |
int |
-Frequency, in seconds, of the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Frequency, in seconds, of the [metrics](../operate-and-manage/monitoring/metrics.mdx) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.datastructures.enabled` |
@@ -836,25 +836,25 @@ Setting this value too low may cause members to be evicted from the cluster when
`hazelcast.metrics.enabled` |
true |
bool |
-Enables the [metrics collection](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables the [metrics collection](../operate-and-manage/monitoring/metrics.mdx) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.mc.enabled` |
true |
bool |
-Enables buffering the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables buffering the collected [metrics](../operate-and-manage/monitoring/metrics.mdx) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.mc.retention` |
5 |
int |
-Duration, in seconds, that the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Duration, in seconds, that the [metrics](../operate-and-manage/monitoring/metrics.mdx) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.metrics.jmx.enabled` |
true |
bool |
-Enables exposing the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). |
+Enables exposing the collected [metrics](../operate-and-manage/monitoring/metrics.mdx) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/monitoring/metrics.mdx#configuration). |
| `hazelcast.multicast.group` |
diff --git a/management-center/cluster/administration/diagnostic-logging.mdx b/management-center/cluster/administration/diagnostic-logging.mdx
index 357bacd9..56dbe192 100644
--- a/management-center/cluster/administration/diagnostic-logging.mdx
+++ b/management-center/cluster/administration/diagnostic-logging.mdx
@@ -104,4 +104,4 @@ To disable diagnostic logging, click the `Disable` button and wait until the pro
If auto turn-off is enabled, diagnostic logging will be disabled automatically when the configured duration expires.
-For more information about diagnostic logging configuration and available logging options, see .
+For more information about diagnostic logging configuration and available logging options, see .
diff --git a/management-center/deploy-and-manage/configuration/configuring.mdx b/management-center/deploy-and-manage/configuration/configuring.mdx
index 73598b67..af36e9ae 100644
--- a/management-center/deploy-and-manage/configuration/configuring.mdx
+++ b/management-center/deploy-and-manage/configuration/configuring.mdx
@@ -91,4 +91,4 @@ However, Management Center does not allow you to override the following settings
### Member-side configuration
-On a Hazelcast member, you can also use the `management-center` setting to enable or disable both scripting and the console as well as setting up trusted interfaces. See in the Platform documentation.
+On a Hazelcast member, you can also use the `management-center` setting to enable or disable both scripting and the console as well as setting up trusted interfaces. See in the Platform documentation.
diff --git a/management-center/deploy-and-manage/production-checklist.mdx b/management-center/deploy-and-manage/production-checklist.mdx
index 45e53322..885e762a 100644
--- a/management-center/deploy-and-manage/production-checklist.mdx
+++ b/management-center/deploy-and-manage/production-checklist.mdx
@@ -47,7 +47,7 @@ Scripting engines give code access to the underlying system on the members (file
For security, scripting and the console are disabled in the member configuration by default.
-If you enabled scripting or the console, be sure to disable it before going into production. See in the Platform documentation.
+If you enabled scripting or the console, be sure to disable it before going into production. See in the Platform documentation.
## Persist Management Center data in Docker
diff --git a/management-center/get-started/get-support.mdx b/management-center/get-started/get-support.mdx
index a405b89f..1ad9e692 100644
--- a/management-center/get-started/get-support.mdx
+++ b/management-center/get-started/get-support.mdx
@@ -27,7 +27,7 @@ When submitting a ticket to the team, please provide as much information and dat
:::tip
-Make sure that all your environments are capturing Hazelcast diagnostics logs. This is key to diagnosing issues with Hazelcast environments. If your environments are not capturing diagnostics logs, update them to capture these. See in the Platform documentation.
+Make sure that all your environments are capturing Hazelcast diagnostics logs. This is key to diagnosing issues with Hazelcast environments. If your environments are not capturing diagnostics logs, update them to capture these. See in the Platform documentation.
:::
diff --git a/management-center/install-and-upgrade/release-notes.mdx b/management-center/install-and-upgrade/release-notes.mdx
index 37f5909b..c02c579b 100644
--- a/management-center/install-and-upgrade/release-notes.mdx
+++ b/management-center/install-and-upgrade/release-notes.mdx
@@ -2,6 +2,7 @@
title: "Release Notes"
sidebar_position: 3
slug: /release-notes/release-notes
+hide_in_snapshot: true
---
These release notes list any new features, enhancements, fixes, security issues and breaking changes that were made for Hazelcast Management Center.
diff --git a/management-center/storage-compute-messaging/map.mdx b/management-center/storage-compute-messaging/map.mdx
index d739720e..96835798 100644
--- a/management-center/storage-compute-messaging/map.mdx
+++ b/management-center/storage-compute-messaging/map.mdx
@@ -62,7 +62,7 @@ If you are using a serialization mechanism other than standard Java serializatio
:::note
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/maintain-cluster/monitoring#managing-data-access) section.
+Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/operate-and-manage/securing-a-cluster/management-center#managing-data-access) section.
:::
diff --git a/management-center/tools/console.mdx b/management-center/tools/console.mdx
index 119f683d..2200faaa 100644
--- a/management-center/tools/console.mdx
+++ b/management-center/tools/console.mdx
@@ -16,11 +16,11 @@ For further information on these features, refer to the to enable or disable it.
+The console is not recommended for production use. If granular access control is critical, consider leaving the console disabled. See to enable or disable it.
:::
-Console is disabled by default, and you need to enable it in your cluster's configuration. See for details. The member list shows whether the console is enabled or disabled for each member.
+Console is disabled by default, and you need to enable it in your cluster's configuration. See for details. The member list shows whether the console is enabled or disabled for each member.
1. Open a console window by clicking on the **Console** button located on the Side Bar.
diff --git a/management-center/tools/scripting.mdx b/management-center/tools/scripting.mdx
index bd695aa9..fda3af99 100644
--- a/management-center/tools/scripting.mdx
+++ b/management-center/tools/scripting.mdx
@@ -10,13 +10,13 @@ You can use the scripting feature of the Management Center to execute scripts on
When scripting is enabled, it grants full, unrestricted access to the cluster. Scripts run arbitrary code on cluster members with the same permissions as the member process, and are **not** limited by the permissions assigned to the Management Center user or principal that runs them. Any user who can access scripting can therefore perform any operation on the cluster.
-Use scripting with caution, especially in production environments. If granular access control is critical, consider leaving scripting disabled. See to enable or disable it.
+Use scripting with caution, especially in production environments. If granular access control is critical, consider leaving scripting disabled. See to enable or disable it.
:::
## Before you begin
-Scripting is disabled by default, and you need to enable it in your cluster's configuration. See the for details. The member list shows whether scripting is enabled or disabled for each member.
+Scripting is disabled by default, and you need to enable it in your cluster's configuration. See the for details. The member list shows whether scripting is enabled or disabled for each member.
:::note
diff --git a/management-center/tools/sql-browser.mdx b/management-center/tools/sql-browser.mdx
index e8c14dea..198cb29c 100644
--- a/management-center/tools/sql-browser.mdx
+++ b/management-center/tools/sql-browser.mdx
@@ -158,7 +158,7 @@ To remove the query results, click **Clear Query Result**.
:::note
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/maintain-cluster/monitoring#managing-data-access) section.
+Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/operate-and-manage/securing-a-cluster/management-center#managing-data-access) section.
:::
diff --git a/management-center_versioned_docs/version-5.10/cluster/administration/diagnostic-logging.mdx b/management-center_versioned_docs/version-5.10/cluster/administration/diagnostic-logging.mdx
index dcea1370..2cb47a38 100644
--- a/management-center_versioned_docs/version-5.10/cluster/administration/diagnostic-logging.mdx
+++ b/management-center_versioned_docs/version-5.10/cluster/administration/diagnostic-logging.mdx
@@ -105,4 +105,4 @@ To disable diagnostic logging, click the `Disable` button and wait until the pro
If auto turn-off is enabled, diagnostic logging will be disabled automatically when the configured duration expires.
-For more information about diagnostic logging configuration and available logging options, see .
+For more information about diagnostic logging configuration and available logging options, see .
diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/configuring.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/configuring.mdx
index 11306c15..3617febc 100644
--- a/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/configuring.mdx
+++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/configuring.mdx
@@ -86,4 +86,4 @@ However, Management Center does not allow you to override the following settings
### Member-side configuration
-On a Hazelcast member, you can also use the `management-center` setting to enable or disable both scripting and the console as well as setting up trusted interfaces. See in the Platform documentation.
+On a Hazelcast member, you can also use the `management-center` setting to enable or disable both scripting and the console as well as setting up trusted interfaces. See in the Platform documentation.
diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/production-checklist.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/production-checklist.mdx
index 45e53322..885e762a 100644
--- a/management-center_versioned_docs/version-5.10/deploy-and-manage/production-checklist.mdx
+++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/production-checklist.mdx
@@ -47,7 +47,7 @@ Scripting engines give code access to the underlying system on the members (file
For security, scripting and the console are disabled in the member configuration by default.
-If you enabled scripting or the console, be sure to disable it before going into production. See in the Platform documentation.
+If you enabled scripting or the console, be sure to disable it before going into production. See in the Platform documentation.
## Persist Management Center data in Docker
diff --git a/management-center_versioned_docs/version-5.10/get-started/get-support.mdx b/management-center_versioned_docs/version-5.10/get-started/get-support.mdx
index a405b89f..1ad9e692 100644
--- a/management-center_versioned_docs/version-5.10/get-started/get-support.mdx
+++ b/management-center_versioned_docs/version-5.10/get-started/get-support.mdx
@@ -27,7 +27,7 @@ When submitting a ticket to the team, please provide as much information and dat
:::tip
-Make sure that all your environments are capturing Hazelcast diagnostics logs. This is key to diagnosing issues with Hazelcast environments. If your environments are not capturing diagnostics logs, update them to capture these. See in the Platform documentation.
+Make sure that all your environments are capturing Hazelcast diagnostics logs. This is key to diagnosing issues with Hazelcast environments. If your environments are not capturing diagnostics logs, update them to capture these. See in the Platform documentation.
:::
diff --git a/management-center_versioned_docs/version-5.10/storage-compute-messaging/map.mdx b/management-center_versioned_docs/version-5.10/storage-compute-messaging/map.mdx
index d739720e..96835798 100644
--- a/management-center_versioned_docs/version-5.10/storage-compute-messaging/map.mdx
+++ b/management-center_versioned_docs/version-5.10/storage-compute-messaging/map.mdx
@@ -62,7 +62,7 @@ If you are using a serialization mechanism other than standard Java serializatio
:::note
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/maintain-cluster/monitoring#managing-data-access) section.
+Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/operate-and-manage/securing-a-cluster/management-center#managing-data-access) section.
:::
diff --git a/management-center_versioned_docs/version-5.10/tools/console.mdx b/management-center_versioned_docs/version-5.10/tools/console.mdx
index 119f683d..2200faaa 100644
--- a/management-center_versioned_docs/version-5.10/tools/console.mdx
+++ b/management-center_versioned_docs/version-5.10/tools/console.mdx
@@ -16,11 +16,11 @@ For further information on these features, refer to the to enable or disable it.
+The console is not recommended for production use. If granular access control is critical, consider leaving the console disabled. See to enable or disable it.
:::
-Console is disabled by default, and you need to enable it in your cluster's configuration. See for details. The member list shows whether the console is enabled or disabled for each member.
+Console is disabled by default, and you need to enable it in your cluster's configuration. See for details. The member list shows whether the console is enabled or disabled for each member.
1. Open a console window by clicking on the **Console** button located on the Side Bar.
diff --git a/management-center_versioned_docs/version-5.10/tools/scripting.mdx b/management-center_versioned_docs/version-5.10/tools/scripting.mdx
index bd695aa9..fda3af99 100644
--- a/management-center_versioned_docs/version-5.10/tools/scripting.mdx
+++ b/management-center_versioned_docs/version-5.10/tools/scripting.mdx
@@ -10,13 +10,13 @@ You can use the scripting feature of the Management Center to execute scripts on
When scripting is enabled, it grants full, unrestricted access to the cluster. Scripts run arbitrary code on cluster members with the same permissions as the member process, and are **not** limited by the permissions assigned to the Management Center user or principal that runs them. Any user who can access scripting can therefore perform any operation on the cluster.
-Use scripting with caution, especially in production environments. If granular access control is critical, consider leaving scripting disabled. See to enable or disable it.
+Use scripting with caution, especially in production environments. If granular access control is critical, consider leaving scripting disabled. See to enable or disable it.
:::
## Before you begin
-Scripting is disabled by default, and you need to enable it in your cluster's configuration. See the for details. The member list shows whether scripting is enabled or disabled for each member.
+Scripting is disabled by default, and you need to enable it in your cluster's configuration. See the for details. The member list shows whether scripting is enabled or disabled for each member.
:::note
diff --git a/management-center_versioned_docs/version-5.10/tools/sql-browser.mdx b/management-center_versioned_docs/version-5.10/tools/sql-browser.mdx
index e8c14dea..198cb29c 100644
--- a/management-center_versioned_docs/version-5.10/tools/sql-browser.mdx
+++ b/management-center_versioned_docs/version-5.10/tools/sql-browser.mdx
@@ -158,7 +158,7 @@ To remove the query results, click **Clear Query Result**.
:::note
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/maintain-cluster/monitoring#managing-data-access) section.
+Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/operate-and-manage/securing-a-cluster/management-center#managing-data-access) section.
:::
diff --git a/management-center_versioned_docs/version-5.11/cluster/administration/diagnostic-logging.mdx b/management-center_versioned_docs/version-5.11/cluster/administration/diagnostic-logging.mdx
index 357bacd9..56dbe192 100644
--- a/management-center_versioned_docs/version-5.11/cluster/administration/diagnostic-logging.mdx
+++ b/management-center_versioned_docs/version-5.11/cluster/administration/diagnostic-logging.mdx
@@ -104,4 +104,4 @@ To disable diagnostic logging, click the `Disable` button and wait until the pro
If auto turn-off is enabled, diagnostic logging will be disabled automatically when the configured duration expires.
-For more information about diagnostic logging configuration and available logging options, see .
+For more information about diagnostic logging configuration and available logging options, see .
diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/configuring.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/configuring.mdx
index 11306c15..3617febc 100644
--- a/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/configuring.mdx
+++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/configuring.mdx
@@ -86,4 +86,4 @@ However, Management Center does not allow you to override the following settings
### Member-side configuration
-On a Hazelcast member, you can also use the `management-center` setting to enable or disable both scripting and the console as well as setting up trusted interfaces. See in the Platform documentation.
+On a Hazelcast member, you can also use the `management-center` setting to enable or disable both scripting and the console as well as setting up trusted interfaces. See in the Platform documentation.
diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/production-checklist.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/production-checklist.mdx
index 45e53322..885e762a 100644
--- a/management-center_versioned_docs/version-5.11/deploy-and-manage/production-checklist.mdx
+++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/production-checklist.mdx
@@ -47,7 +47,7 @@ Scripting engines give code access to the underlying system on the members (file
For security, scripting and the console are disabled in the member configuration by default.
-If you enabled scripting or the console, be sure to disable it before going into production. See in the Platform documentation.
+If you enabled scripting or the console, be sure to disable it before going into production. See in the Platform documentation.
## Persist Management Center data in Docker
diff --git a/management-center_versioned_docs/version-5.11/get-started/get-support.mdx b/management-center_versioned_docs/version-5.11/get-started/get-support.mdx
index a405b89f..1ad9e692 100644
--- a/management-center_versioned_docs/version-5.11/get-started/get-support.mdx
+++ b/management-center_versioned_docs/version-5.11/get-started/get-support.mdx
@@ -27,7 +27,7 @@ When submitting a ticket to the team, please provide as much information and dat
:::tip
-Make sure that all your environments are capturing Hazelcast diagnostics logs. This is key to diagnosing issues with Hazelcast environments. If your environments are not capturing diagnostics logs, update them to capture these. See in the Platform documentation.
+Make sure that all your environments are capturing Hazelcast diagnostics logs. This is key to diagnosing issues with Hazelcast environments. If your environments are not capturing diagnostics logs, update them to capture these. See in the Platform documentation.
:::
diff --git a/management-center_versioned_docs/version-5.11/storage-compute-messaging/map.mdx b/management-center_versioned_docs/version-5.11/storage-compute-messaging/map.mdx
index d739720e..96835798 100644
--- a/management-center_versioned_docs/version-5.11/storage-compute-messaging/map.mdx
+++ b/management-center_versioned_docs/version-5.11/storage-compute-messaging/map.mdx
@@ -62,7 +62,7 @@ If you are using a serialization mechanism other than standard Java serializatio
:::note
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/maintain-cluster/monitoring#managing-data-access) section.
+Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/operate-and-manage/securing-a-cluster/management-center#managing-data-access) section.
:::
diff --git a/management-center_versioned_docs/version-5.11/tools/console.mdx b/management-center_versioned_docs/version-5.11/tools/console.mdx
index 119f683d..2200faaa 100644
--- a/management-center_versioned_docs/version-5.11/tools/console.mdx
+++ b/management-center_versioned_docs/version-5.11/tools/console.mdx
@@ -16,11 +16,11 @@ For further information on these features, refer to the to enable or disable it.
+The console is not recommended for production use. If granular access control is critical, consider leaving the console disabled. See to enable or disable it.
:::
-Console is disabled by default, and you need to enable it in your cluster's configuration. See for details. The member list shows whether the console is enabled or disabled for each member.
+Console is disabled by default, and you need to enable it in your cluster's configuration. See for details. The member list shows whether the console is enabled or disabled for each member.
1. Open a console window by clicking on the **Console** button located on the Side Bar.
diff --git a/management-center_versioned_docs/version-5.11/tools/scripting.mdx b/management-center_versioned_docs/version-5.11/tools/scripting.mdx
index bd695aa9..fda3af99 100644
--- a/management-center_versioned_docs/version-5.11/tools/scripting.mdx
+++ b/management-center_versioned_docs/version-5.11/tools/scripting.mdx
@@ -10,13 +10,13 @@ You can use the scripting feature of the Management Center to execute scripts on
When scripting is enabled, it grants full, unrestricted access to the cluster. Scripts run arbitrary code on cluster members with the same permissions as the member process, and are **not** limited by the permissions assigned to the Management Center user or principal that runs them. Any user who can access scripting can therefore perform any operation on the cluster.
-Use scripting with caution, especially in production environments. If granular access control is critical, consider leaving scripting disabled. See to enable or disable it.
+Use scripting with caution, especially in production environments. If granular access control is critical, consider leaving scripting disabled. See to enable or disable it.
:::
## Before you begin
-Scripting is disabled by default, and you need to enable it in your cluster's configuration. See the for details. The member list shows whether scripting is enabled or disabled for each member.
+Scripting is disabled by default, and you need to enable it in your cluster's configuration. See the for details. The member list shows whether scripting is enabled or disabled for each member.
:::note
diff --git a/management-center_versioned_docs/version-5.11/tools/sql-browser.mdx b/management-center_versioned_docs/version-5.11/tools/sql-browser.mdx
index e8c14dea..198cb29c 100644
--- a/management-center_versioned_docs/version-5.11/tools/sql-browser.mdx
+++ b/management-center_versioned_docs/version-5.11/tools/sql-browser.mdx
@@ -158,7 +158,7 @@ To remove the query results, click **Clear Query Result**.
:::note
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/maintain-cluster/monitoring#managing-data-access) section.
+Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/operate-and-manage/securing-a-cluster/management-center#managing-data-access) section.
:::
diff --git a/management-center_versioned_docs/version-5.12/cluster/administration/diagnostic-logging.mdx b/management-center_versioned_docs/version-5.12/cluster/administration/diagnostic-logging.mdx
index 357bacd9..56dbe192 100644
--- a/management-center_versioned_docs/version-5.12/cluster/administration/diagnostic-logging.mdx
+++ b/management-center_versioned_docs/version-5.12/cluster/administration/diagnostic-logging.mdx
@@ -104,4 +104,4 @@ To disable diagnostic logging, click the `Disable` button and wait until the pro
If auto turn-off is enabled, diagnostic logging will be disabled automatically when the configured duration expires.
-For more information about diagnostic logging configuration and available logging options, see .
+For more information about diagnostic logging configuration and available logging options, see .
diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/configuring.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/configuring.mdx
index ce6c1cab..7f3421e3 100644
--- a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/configuring.mdx
+++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/configuring.mdx
@@ -91,4 +91,4 @@ However, Management Center does not allow you to override the following settings
### Member-side configuration
-On a Hazelcast member, you can also use the `management-center` setting to enable or disable both scripting and the console as well as setting up trusted interfaces. See in the Platform documentation.
+On a Hazelcast member, you can also use the `management-center` setting to enable or disable both scripting and the console as well as setting up trusted interfaces. See in the Platform documentation.
diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/production-checklist.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/production-checklist.mdx
index 45e53322..885e762a 100644
--- a/management-center_versioned_docs/version-5.12/deploy-and-manage/production-checklist.mdx
+++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/production-checklist.mdx
@@ -47,7 +47,7 @@ Scripting engines give code access to the underlying system on the members (file
For security, scripting and the console are disabled in the member configuration by default.
-If you enabled scripting or the console, be sure to disable it before going into production. See in the Platform documentation.
+If you enabled scripting or the console, be sure to disable it before going into production. See in the Platform documentation.
## Persist Management Center data in Docker
diff --git a/management-center_versioned_docs/version-5.12/get-started/get-support.mdx b/management-center_versioned_docs/version-5.12/get-started/get-support.mdx
index a405b89f..1ad9e692 100644
--- a/management-center_versioned_docs/version-5.12/get-started/get-support.mdx
+++ b/management-center_versioned_docs/version-5.12/get-started/get-support.mdx
@@ -27,7 +27,7 @@ When submitting a ticket to the team, please provide as much information and dat
:::tip
-Make sure that all your environments are capturing Hazelcast diagnostics logs. This is key to diagnosing issues with Hazelcast environments. If your environments are not capturing diagnostics logs, update them to capture these. See in the Platform documentation.
+Make sure that all your environments are capturing Hazelcast diagnostics logs. This is key to diagnosing issues with Hazelcast environments. If your environments are not capturing diagnostics logs, update them to capture these. See in the Platform documentation.
:::
diff --git a/management-center_versioned_docs/version-5.12/storage-compute-messaging/map.mdx b/management-center_versioned_docs/version-5.12/storage-compute-messaging/map.mdx
index d739720e..96835798 100644
--- a/management-center_versioned_docs/version-5.12/storage-compute-messaging/map.mdx
+++ b/management-center_versioned_docs/version-5.12/storage-compute-messaging/map.mdx
@@ -62,7 +62,7 @@ If you are using a serialization mechanism other than standard Java serializatio
:::note
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/maintain-cluster/monitoring#managing-data-access) section.
+Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/operate-and-manage/securing-a-cluster/management-center#managing-data-access) section.
:::
diff --git a/management-center_versioned_docs/version-5.12/tools/console.mdx b/management-center_versioned_docs/version-5.12/tools/console.mdx
index 119f683d..2200faaa 100644
--- a/management-center_versioned_docs/version-5.12/tools/console.mdx
+++ b/management-center_versioned_docs/version-5.12/tools/console.mdx
@@ -16,11 +16,11 @@ For further information on these features, refer to the to enable or disable it.
+The console is not recommended for production use. If granular access control is critical, consider leaving the console disabled. See to enable or disable it.
:::
-Console is disabled by default, and you need to enable it in your cluster's configuration. See for details. The member list shows whether the console is enabled or disabled for each member.
+Console is disabled by default, and you need to enable it in your cluster's configuration. See for details. The member list shows whether the console is enabled or disabled for each member.
1. Open a console window by clicking on the **Console** button located on the Side Bar.
diff --git a/management-center_versioned_docs/version-5.12/tools/scripting.mdx b/management-center_versioned_docs/version-5.12/tools/scripting.mdx
index bd695aa9..fda3af99 100644
--- a/management-center_versioned_docs/version-5.12/tools/scripting.mdx
+++ b/management-center_versioned_docs/version-5.12/tools/scripting.mdx
@@ -10,13 +10,13 @@ You can use the scripting feature of the Management Center to execute scripts on
When scripting is enabled, it grants full, unrestricted access to the cluster. Scripts run arbitrary code on cluster members with the same permissions as the member process, and are **not** limited by the permissions assigned to the Management Center user or principal that runs them. Any user who can access scripting can therefore perform any operation on the cluster.
-Use scripting with caution, especially in production environments. If granular access control is critical, consider leaving scripting disabled. See to enable or disable it.
+Use scripting with caution, especially in production environments. If granular access control is critical, consider leaving scripting disabled. See to enable or disable it.
:::
## Before you begin
-Scripting is disabled by default, and you need to enable it in your cluster's configuration. See the for details. The member list shows whether scripting is enabled or disabled for each member.
+Scripting is disabled by default, and you need to enable it in your cluster's configuration. See the for details. The member list shows whether scripting is enabled or disabled for each member.
:::note
diff --git a/management-center_versioned_docs/version-5.12/tools/sql-browser.mdx b/management-center_versioned_docs/version-5.12/tools/sql-browser.mdx
index e8c14dea..198cb29c 100644
--- a/management-center_versioned_docs/version-5.12/tools/sql-browser.mdx
+++ b/management-center_versioned_docs/version-5.12/tools/sql-browser.mdx
@@ -158,7 +158,7 @@ To remove the query results, click **Clear Query Result**.
:::note
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/maintain-cluster/monitoring#managing-data-access) section.
+Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/operate-and-manage/securing-a-cluster/management-center#managing-data-access) section.
:::
diff --git a/management-center_versioned_docs/version-5.9/cluster/administration/diagnostic-logging.mdx b/management-center_versioned_docs/version-5.9/cluster/administration/diagnostic-logging.mdx
index 477d4462..a539a4e9 100644
--- a/management-center_versioned_docs/version-5.9/cluster/administration/diagnostic-logging.mdx
+++ b/management-center_versioned_docs/version-5.9/cluster/administration/diagnostic-logging.mdx
@@ -105,4 +105,4 @@ To disable diagnostic logging, click the `Disable` button and wait until the pro
If auto turn-off is enabled, diagnostic logging will be disabled automatically when the configured duration expires.
-For more information about diagnostic logging configuration and available logging options, see .
+For more information about diagnostic logging configuration and available logging options, see .
diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/configuring.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/configuring.mdx
index 11306c15..3617febc 100644
--- a/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/configuring.mdx
+++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/configuring.mdx
@@ -86,4 +86,4 @@ However, Management Center does not allow you to override the following settings
### Member-side configuration
-On a Hazelcast member, you can also use the `management-center` setting to enable or disable both scripting and the console as well as setting up trusted interfaces. See in the Platform documentation.
+On a Hazelcast member, you can also use the `management-center` setting to enable or disable both scripting and the console as well as setting up trusted interfaces. See in the Platform documentation.
diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/production-checklist.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/production-checklist.mdx
index 23809233..656988b8 100644
--- a/management-center_versioned_docs/version-5.9/deploy-and-manage/production-checklist.mdx
+++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/production-checklist.mdx
@@ -40,7 +40,7 @@ Scripting engines give code access to the underlying system on the members (file
For security, scripting and the console are disabled in the member configuration by default.
-If you enabled scripting or the console, be sure to disable it before going into production. See in the Platform documentation.
+If you enabled scripting or the console, be sure to disable it before going into production. See in the Platform documentation.
## Persist Management Center data in Docker
diff --git a/management-center_versioned_docs/version-5.9/get-started/get-support.mdx b/management-center_versioned_docs/version-5.9/get-started/get-support.mdx
index a405b89f..1ad9e692 100644
--- a/management-center_versioned_docs/version-5.9/get-started/get-support.mdx
+++ b/management-center_versioned_docs/version-5.9/get-started/get-support.mdx
@@ -27,7 +27,7 @@ When submitting a ticket to the team, please provide as much information and dat
:::tip
-Make sure that all your environments are capturing Hazelcast diagnostics logs. This is key to diagnosing issues with Hazelcast environments. If your environments are not capturing diagnostics logs, update them to capture these. See in the Platform documentation.
+Make sure that all your environments are capturing Hazelcast diagnostics logs. This is key to diagnosing issues with Hazelcast environments. If your environments are not capturing diagnostics logs, update them to capture these. See in the Platform documentation.
:::
diff --git a/management-center_versioned_docs/version-5.9/storage-compute-messaging/map.mdx b/management-center_versioned_docs/version-5.9/storage-compute-messaging/map.mdx
index d739720e..96835798 100644
--- a/management-center_versioned_docs/version-5.9/storage-compute-messaging/map.mdx
+++ b/management-center_versioned_docs/version-5.9/storage-compute-messaging/map.mdx
@@ -62,7 +62,7 @@ If you are using a serialization mechanism other than standard Java serializatio
:::note
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/maintain-cluster/monitoring#managing-data-access) section.
+Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/operate-and-manage/securing-a-cluster/management-center#managing-data-access) section.
:::
diff --git a/management-center_versioned_docs/version-5.9/tools/console.mdx b/management-center_versioned_docs/version-5.9/tools/console.mdx
index 119f683d..2200faaa 100644
--- a/management-center_versioned_docs/version-5.9/tools/console.mdx
+++ b/management-center_versioned_docs/version-5.9/tools/console.mdx
@@ -16,11 +16,11 @@ For further information on these features, refer to the to enable or disable it.
+The console is not recommended for production use. If granular access control is critical, consider leaving the console disabled. See to enable or disable it.
:::
-Console is disabled by default, and you need to enable it in your cluster's configuration. See for details. The member list shows whether the console is enabled or disabled for each member.
+Console is disabled by default, and you need to enable it in your cluster's configuration. See for details. The member list shows whether the console is enabled or disabled for each member.
1. Open a console window by clicking on the **Console** button located on the Side Bar.
diff --git a/management-center_versioned_docs/version-5.9/tools/scripting.mdx b/management-center_versioned_docs/version-5.9/tools/scripting.mdx
index bd695aa9..fda3af99 100644
--- a/management-center_versioned_docs/version-5.9/tools/scripting.mdx
+++ b/management-center_versioned_docs/version-5.9/tools/scripting.mdx
@@ -10,13 +10,13 @@ You can use the scripting feature of the Management Center to execute scripts on
When scripting is enabled, it grants full, unrestricted access to the cluster. Scripts run arbitrary code on cluster members with the same permissions as the member process, and are **not** limited by the permissions assigned to the Management Center user or principal that runs them. Any user who can access scripting can therefore perform any operation on the cluster.
-Use scripting with caution, especially in production environments. If granular access control is critical, consider leaving scripting disabled. See to enable or disable it.
+Use scripting with caution, especially in production environments. If granular access control is critical, consider leaving scripting disabled. See to enable or disable it.
:::
## Before you begin
-Scripting is disabled by default, and you need to enable it in your cluster's configuration. See the for details. The member list shows whether scripting is enabled or disabled for each member.
+Scripting is disabled by default, and you need to enable it in your cluster's configuration. See the for details. The member list shows whether scripting is enabled or disabled for each member.
:::note
diff --git a/management-center_versioned_docs/version-5.9/tools/sql-browser.mdx b/management-center_versioned_docs/version-5.9/tools/sql-browser.mdx
index e8c14dea..198cb29c 100644
--- a/management-center_versioned_docs/version-5.9/tools/sql-browser.mdx
+++ b/management-center_versioned_docs/version-5.9/tools/sql-browser.mdx
@@ -158,7 +158,7 @@ To remove the query results, click **Clear Query Result**.
:::note
-Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/maintain-cluster/monitoring#managing-data-access) section.
+Management Center allows you to access contents of Hazelcast data structures (for instance map entries) via SQL Browser or Map Browser. It may be useful to restrict data access for Management Center if sensitive financial or personal information is stored in the cluster. Management Center cannot access the data if at least one member has the data access disabled. You can disable data access for Management Center in the member configuration file. See the [Managing Data Access](/hazelcast/latest/operate-and-manage/securing-a-cluster/management-center#managing-data-access) section.
:::
diff --git a/operator/get-started/release-notes.mdx b/operator/get-started/release-notes.mdx
index 88f52b16..e6418687 100644
--- a/operator/get-started/release-notes.mdx
+++ b/operator/get-started/release-notes.mdx
@@ -2,6 +2,7 @@
title: "Release notes"
sidebar_position: 3
slug: /release-notes
+hide_in_snapshot: true
---
These release notes list any new features, enhancements, fixes, and breaking changes implemented between version 5.19.0 and version 5.20.0 of Hazelcast Platform Operator.
diff --git a/operator/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx b/operator/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
index 263616d4..7ffffbde 100644
--- a/operator/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
+++ b/operator/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
@@ -40,7 +40,7 @@ The following properties are supported:
For more information, see: [Diagnostics](../../reference/api-ref.mdx#diagnostics).
-The diagnostics file rolls by default (10 files, 50MB each) and contains plugin sections. For information about the default plugins, see [Diagnostics plugins](/hazelcast/latest/maintain-cluster/monitoring#diagnostics-plugins).
+The diagnostics file rolls by default (10 files, 50MB each) and contains plugin sections. For information about the default plugins, see [Diagnostics plugins](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#diagnostics-plugins).
## Configure auto turn-off
@@ -52,7 +52,7 @@ You can combine this with rolling limits: `maxRolledFileSize` and `maxRolledFile
Instead of file output, you can forward diagnostics to your logging framework by setting `outputType` to `LOGGER`.
-You can then configure the `com.hazelcast.diagnostics` logger (e.g. a Log4j2 logger and rolling appender) to control size and rollover using time/size policies. For more information, see [Diagnostics using logging frameworks](/hazelcast/latest/maintain-cluster/monitoring#diagnostics-using-logging-frameworks).
+You can then configure the `com.hazelcast.diagnostics` logger (e.g. a Log4j2 logger and rolling appender) to control size and rollover using time/size policies. For more information, see [Diagnostics using logging frameworks](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#send-diagnostics-to-a-logging-framework).
## Persist diagnostics to a persistent volume
@@ -85,7 +85,7 @@ spec:
:::note
-System log diagnostics (cluster activity and optional partition migration details) can be enabled and tuned using `hazelcast.diagnostics.systemlog.enabled` and `hazelcast.diagnostics.systemlog.partitions` if needed. For more information, see [`SystemLog`](/hazelcast/latest/maintain-cluster/monitoring#systemlog).
+System log diagnostics (cluster activity and optional partition migration details) can be enabled and tuned using `hazelcast.diagnostics.systemlog.enabled` and `hazelcast.diagnostics.systemlog.partitions` if needed. For more information, see [`SystemLog`](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#systemlog).
:::
@@ -95,4 +95,4 @@ Diagnostic logging can also be configured *statically* using system properties s
However, if you enable or disable diagnostic logging *statically*, this will override any configuration settings applied using the CRD and you will be unable to switch logging on and off *dynamically* at runtime.
-For more information about system properties, see [Enable diagnostics](/hazelcast/latest/maintain-cluster/monitoring#diagnostics).
+For more information about system properties, see [Enable diagnostics](/hazelcast/latest/operate-and-manage/monitoring/diagnostics).
diff --git a/operator_versioned_docs/version-5.16/configure/configure-diagnostic-logging.mdx b/operator_versioned_docs/version-5.16/configure/configure-diagnostic-logging.mdx
index 48da0d92..171b042a 100644
--- a/operator_versioned_docs/version-5.16/configure/configure-diagnostic-logging.mdx
+++ b/operator_versioned_docs/version-5.16/configure/configure-diagnostic-logging.mdx
@@ -39,7 +39,7 @@ The following properties are available for configuration:
- `pvcName`: bind diagnostics to a PVC (see below).
- `fileNamePrefix`: add a custom prefix.
-For more information, see: [Diagnostics](../reference/api-ref.mdx#diagnostics). The diagnostics file rolls by default (10 files, 50 MB each) and contains plugin sections. For information about the default plugins, see [Diagnostics Plugins](/hazelcast/latest/maintain-cluster/monitoring#diagnostics-plugins).
+For more information, see: [Diagnostics](../reference/api-ref.mdx#diagnostics). The diagnostics file rolls by default (10 files, 50 MB each) and contains plugin sections. For information about the default plugins, see [Diagnostics Plugins](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#diagnostics-plugins).
## Configure auto turn-off
@@ -51,7 +51,7 @@ You can combine this with rolling limits: `maxRolledFileSize`, `maxRolledFileCou
Instead of file output, you can forward diagnostics to your logging framework by setting the value of `outputType` to `LOGGER`.
-Then configure the `com.hazelcast.diagnostics` logger (e.g. a Log4j2 logger and rolling appender) to control size and rollover using time/size policies. For information, see [Diagnostics using Logging Frameworks](/hazelcast/latest/maintain-cluster/monitoring#diagnostics-using-logging-frameworks).
+Then configure the `com.hazelcast.diagnostics` logger (e.g. a Log4j2 logger and rolling appender) to control size and rollover using time/size policies. For information, see [Diagnostics using Logging Frameworks](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#send-diagnostics-to-a-logging-framework).
## Persist diagnostics to a PVC
@@ -84,7 +84,7 @@ spec:
:::note
-System log diagnostics (cluster activity and optional partition migration details) can be enabled/tuned via `hazelcast.diagnostics.systemlog.enabled` and `hazelcast.diagnostics.systemlog.partitions` if needed. For more information, see [`SystemLog`](/hazelcast/latest/maintain-cluster/monitoring#systemlog).
+System log diagnostics (cluster activity and optional partition migration details) can be enabled/tuned via `hazelcast.diagnostics.systemlog.enabled` and `hazelcast.diagnostics.systemlog.partitions` if needed. For more information, see [`SystemLog`](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#systemlog).
:::
@@ -94,4 +94,4 @@ Diagnostic logging can also be configured *statically* via system properties set
However, if you enable or disable diagnostic logging using system properties, these settings will override any configuration settings applied using the CRD, and you will be unable to switch logging on and off *dynamically* at runtime.
-For more information about system properties, see [Enable diagnostics](/hazelcast/latest/maintain-cluster/monitoring#diagnostics).
+For more information about system properties, see [Enable diagnostics](/hazelcast/latest/operate-and-manage/monitoring/diagnostics).
diff --git a/operator_versioned_docs/version-5.17/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx b/operator_versioned_docs/version-5.17/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
index 263616d4..7ffffbde 100644
--- a/operator_versioned_docs/version-5.17/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
+++ b/operator_versioned_docs/version-5.17/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
@@ -40,7 +40,7 @@ The following properties are supported:
For more information, see: [Diagnostics](../../reference/api-ref.mdx#diagnostics).
-The diagnostics file rolls by default (10 files, 50MB each) and contains plugin sections. For information about the default plugins, see [Diagnostics plugins](/hazelcast/latest/maintain-cluster/monitoring#diagnostics-plugins).
+The diagnostics file rolls by default (10 files, 50MB each) and contains plugin sections. For information about the default plugins, see [Diagnostics plugins](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#diagnostics-plugins).
## Configure auto turn-off
@@ -52,7 +52,7 @@ You can combine this with rolling limits: `maxRolledFileSize` and `maxRolledFile
Instead of file output, you can forward diagnostics to your logging framework by setting `outputType` to `LOGGER`.
-You can then configure the `com.hazelcast.diagnostics` logger (e.g. a Log4j2 logger and rolling appender) to control size and rollover using time/size policies. For more information, see [Diagnostics using logging frameworks](/hazelcast/latest/maintain-cluster/monitoring#diagnostics-using-logging-frameworks).
+You can then configure the `com.hazelcast.diagnostics` logger (e.g. a Log4j2 logger and rolling appender) to control size and rollover using time/size policies. For more information, see [Diagnostics using logging frameworks](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#send-diagnostics-to-a-logging-framework).
## Persist diagnostics to a persistent volume
@@ -85,7 +85,7 @@ spec:
:::note
-System log diagnostics (cluster activity and optional partition migration details) can be enabled and tuned using `hazelcast.diagnostics.systemlog.enabled` and `hazelcast.diagnostics.systemlog.partitions` if needed. For more information, see [`SystemLog`](/hazelcast/latest/maintain-cluster/monitoring#systemlog).
+System log diagnostics (cluster activity and optional partition migration details) can be enabled and tuned using `hazelcast.diagnostics.systemlog.enabled` and `hazelcast.diagnostics.systemlog.partitions` if needed. For more information, see [`SystemLog`](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#systemlog).
:::
@@ -95,4 +95,4 @@ Diagnostic logging can also be configured *statically* using system properties s
However, if you enable or disable diagnostic logging *statically*, this will override any configuration settings applied using the CRD and you will be unable to switch logging on and off *dynamically* at runtime.
-For more information about system properties, see [Enable diagnostics](/hazelcast/latest/maintain-cluster/monitoring#diagnostics).
+For more information about system properties, see [Enable diagnostics](/hazelcast/latest/operate-and-manage/monitoring/diagnostics).
diff --git a/operator_versioned_docs/version-5.18/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx b/operator_versioned_docs/version-5.18/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
index 263616d4..7ffffbde 100644
--- a/operator_versioned_docs/version-5.18/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
+++ b/operator_versioned_docs/version-5.18/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
@@ -40,7 +40,7 @@ The following properties are supported:
For more information, see: [Diagnostics](../../reference/api-ref.mdx#diagnostics).
-The diagnostics file rolls by default (10 files, 50MB each) and contains plugin sections. For information about the default plugins, see [Diagnostics plugins](/hazelcast/latest/maintain-cluster/monitoring#diagnostics-plugins).
+The diagnostics file rolls by default (10 files, 50MB each) and contains plugin sections. For information about the default plugins, see [Diagnostics plugins](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#diagnostics-plugins).
## Configure auto turn-off
@@ -52,7 +52,7 @@ You can combine this with rolling limits: `maxRolledFileSize` and `maxRolledFile
Instead of file output, you can forward diagnostics to your logging framework by setting `outputType` to `LOGGER`.
-You can then configure the `com.hazelcast.diagnostics` logger (e.g. a Log4j2 logger and rolling appender) to control size and rollover using time/size policies. For more information, see [Diagnostics using logging frameworks](/hazelcast/latest/maintain-cluster/monitoring#diagnostics-using-logging-frameworks).
+You can then configure the `com.hazelcast.diagnostics` logger (e.g. a Log4j2 logger and rolling appender) to control size and rollover using time/size policies. For more information, see [Diagnostics using logging frameworks](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#send-diagnostics-to-a-logging-framework).
## Persist diagnostics to a persistent volume
@@ -85,7 +85,7 @@ spec:
:::note
-System log diagnostics (cluster activity and optional partition migration details) can be enabled and tuned using `hazelcast.diagnostics.systemlog.enabled` and `hazelcast.diagnostics.systemlog.partitions` if needed. For more information, see [`SystemLog`](/hazelcast/latest/maintain-cluster/monitoring#systemlog).
+System log diagnostics (cluster activity and optional partition migration details) can be enabled and tuned using `hazelcast.diagnostics.systemlog.enabled` and `hazelcast.diagnostics.systemlog.partitions` if needed. For more information, see [`SystemLog`](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#systemlog).
:::
@@ -95,4 +95,4 @@ Diagnostic logging can also be configured *statically* using system properties s
However, if you enable or disable diagnostic logging *statically*, this will override any configuration settings applied using the CRD and you will be unable to switch logging on and off *dynamically* at runtime.
-For more information about system properties, see [Enable diagnostics](/hazelcast/latest/maintain-cluster/monitoring#diagnostics).
+For more information about system properties, see [Enable diagnostics](/hazelcast/latest/operate-and-manage/monitoring/diagnostics).
diff --git a/operator_versioned_docs/version-5.19/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx b/operator_versioned_docs/version-5.19/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
index 263616d4..7ffffbde 100644
--- a/operator_versioned_docs/version-5.19/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
+++ b/operator_versioned_docs/version-5.19/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
@@ -40,7 +40,7 @@ The following properties are supported:
For more information, see: [Diagnostics](../../reference/api-ref.mdx#diagnostics).
-The diagnostics file rolls by default (10 files, 50MB each) and contains plugin sections. For information about the default plugins, see [Diagnostics plugins](/hazelcast/latest/maintain-cluster/monitoring#diagnostics-plugins).
+The diagnostics file rolls by default (10 files, 50MB each) and contains plugin sections. For information about the default plugins, see [Diagnostics plugins](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#diagnostics-plugins).
## Configure auto turn-off
@@ -52,7 +52,7 @@ You can combine this with rolling limits: `maxRolledFileSize` and `maxRolledFile
Instead of file output, you can forward diagnostics to your logging framework by setting `outputType` to `LOGGER`.
-You can then configure the `com.hazelcast.diagnostics` logger (e.g. a Log4j2 logger and rolling appender) to control size and rollover using time/size policies. For more information, see [Diagnostics using logging frameworks](/hazelcast/latest/maintain-cluster/monitoring#diagnostics-using-logging-frameworks).
+You can then configure the `com.hazelcast.diagnostics` logger (e.g. a Log4j2 logger and rolling appender) to control size and rollover using time/size policies. For more information, see [Diagnostics using logging frameworks](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#send-diagnostics-to-a-logging-framework).
## Persist diagnostics to a persistent volume
@@ -85,7 +85,7 @@ spec:
:::note
-System log diagnostics (cluster activity and optional partition migration details) can be enabled and tuned using `hazelcast.diagnostics.systemlog.enabled` and `hazelcast.diagnostics.systemlog.partitions` if needed. For more information, see [`SystemLog`](/hazelcast/latest/maintain-cluster/monitoring#systemlog).
+System log diagnostics (cluster activity and optional partition migration details) can be enabled and tuned using `hazelcast.diagnostics.systemlog.enabled` and `hazelcast.diagnostics.systemlog.partitions` if needed. For more information, see [`SystemLog`](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#systemlog).
:::
@@ -95,4 +95,4 @@ Diagnostic logging can also be configured *statically* using system properties s
However, if you enable or disable diagnostic logging *statically*, this will override any configuration settings applied using the CRD and you will be unable to switch logging on and off *dynamically* at runtime.
-For more information about system properties, see [Enable diagnostics](/hazelcast/latest/maintain-cluster/monitoring#diagnostics).
+For more information about system properties, see [Enable diagnostics](/hazelcast/latest/operate-and-manage/monitoring/diagnostics).
diff --git a/operator_versioned_docs/version-5.20/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx b/operator_versioned_docs/version-5.20/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
index 263616d4..7ffffbde 100644
--- a/operator_versioned_docs/version-5.20/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
+++ b/operator_versioned_docs/version-5.20/operate-and-manage/configuration-properties/configure-diagnostic-logging.mdx
@@ -40,7 +40,7 @@ The following properties are supported:
For more information, see: [Diagnostics](../../reference/api-ref.mdx#diagnostics).
-The diagnostics file rolls by default (10 files, 50MB each) and contains plugin sections. For information about the default plugins, see [Diagnostics plugins](/hazelcast/latest/maintain-cluster/monitoring#diagnostics-plugins).
+The diagnostics file rolls by default (10 files, 50MB each) and contains plugin sections. For information about the default plugins, see [Diagnostics plugins](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#diagnostics-plugins).
## Configure auto turn-off
@@ -52,7 +52,7 @@ You can combine this with rolling limits: `maxRolledFileSize` and `maxRolledFile
Instead of file output, you can forward diagnostics to your logging framework by setting `outputType` to `LOGGER`.
-You can then configure the `com.hazelcast.diagnostics` logger (e.g. a Log4j2 logger and rolling appender) to control size and rollover using time/size policies. For more information, see [Diagnostics using logging frameworks](/hazelcast/latest/maintain-cluster/monitoring#diagnostics-using-logging-frameworks).
+You can then configure the `com.hazelcast.diagnostics` logger (e.g. a Log4j2 logger and rolling appender) to control size and rollover using time/size policies. For more information, see [Diagnostics using logging frameworks](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#send-diagnostics-to-a-logging-framework).
## Persist diagnostics to a persistent volume
@@ -85,7 +85,7 @@ spec:
:::note
-System log diagnostics (cluster activity and optional partition migration details) can be enabled and tuned using `hazelcast.diagnostics.systemlog.enabled` and `hazelcast.diagnostics.systemlog.partitions` if needed. For more information, see [`SystemLog`](/hazelcast/latest/maintain-cluster/monitoring#systemlog).
+System log diagnostics (cluster activity and optional partition migration details) can be enabled and tuned using `hazelcast.diagnostics.systemlog.enabled` and `hazelcast.diagnostics.systemlog.partitions` if needed. For more information, see [`SystemLog`](/hazelcast/latest/operate-and-manage/monitoring/diagnostics#systemlog).
:::
@@ -95,4 +95,4 @@ Diagnostic logging can also be configured *statically* using system properties s
However, if you enable or disable diagnostic logging *statically*, this will override any configuration settings applied using the CRD and you will be unable to switch logging on and off *dynamically* at runtime.
-For more information about system properties, see [Enable diagnostics](/hazelcast/latest/maintain-cluster/monitoring#diagnostics).
+For more information about system properties, see [Enable diagnostics](/hazelcast/latest/operate-and-manage/monitoring/diagnostics).
diff --git a/src/docsPlugins.ts b/src/docsPlugins.ts
index 9f142151..1bf4ba47 100644
--- a/src/docsPlugins.ts
+++ b/src/docsPlugins.ts
@@ -6,7 +6,7 @@
// _versioned_sidebars/ sidebar stubs, gitignored (see ensureVersionedSidebars)
import fs from 'fs';
import path from 'path';
-import type {PluginConfig} from '@docusaurus/types';
+import type {ParseFrontMatter, PluginConfig} from '@docusaurus/types';
import type {Options} from '@docusaurus/plugin-content-docs';
import latestLinks, {type LatestSegs} from './remark/latestLinks';
import headingVariables from './remark/headingVariables';
@@ -48,6 +48,17 @@ export function canonicalSitemapItems(items: T[]): T[]
});
}
+// `markdown.parseFrontMatter` hook: a page with `hide_in_snapshot: true` in a component's unreleased snapshot becomes `unlisted`.
+// The release script copies frontmatter into each release, so writing `unlisted` in the file would hide the page in releases too.
+export const parseFrontMatter: ParseFrontMatter = async (params) => {
+ const result = await params.defaultParseFrontMatter(params);
+ const [id] = path.relative(siteDir, params.filePath).split(path.sep);
+ if (result.frontMatter.hide_in_snapshot === true && id !== undefined && id in snapshotSegs) {
+ result.frontMatter.unlisted = true;
+ }
+ return result;
+};
+
// `caution`/`important` are not default Docusaurus admonition keywords; fidelity Layer 2 compares admonition types.
const admonitions = {keywords: ['caution', 'important'], extendDefaults: true};
diff --git a/src/redirects.ts b/src/redirects.ts
index e51a4127..37c9bd3e 100644
--- a/src/redirects.ts
+++ b/src/redirects.ts
@@ -110,7 +110,7 @@ export const redirects: {from: string; to: string}[] = [
{ from: "/hazelcast/5.3/query/querying-maps-predicates", to: "/hazelcast/5.3/query/predicate-overview" },
{ from: "/hazelcast/5.3/query/querying-maps-sql", to: "/hazelcast/5.3/sql/querying-maps-sql" },
{ from: "/hazelcast/5.3/query/sql-overview", to: "/hazelcast/5.3/sql/sql-overview" },
- { from: "/hazelcast/5.3/security/management-center", to: "/hazelcast/5.3/maintain-cluster/monitoring" },
+ { from: "/hazelcast/5.3/security/management-center", to: "/hazelcast/5.3/configure-and-manage-clusters/securing-a-cluster/management-center" },
{ from: "/hazelcast/5.3/serialization/comparing-interfaces", to: "/hazelcast/5.3/serialization/serialization" },
{ from: "/hazelcast/5.3/serialization/interface-types", to: "/hazelcast/5.3/serialization/serialization" },
{ from: "/hazelcast/5.3/serialization/overriding-built-in-serializers", to: "/hazelcast/5.3/serialization/serialization-configuration" },
@@ -201,7 +201,7 @@ export const redirects: {from: string; to: string}[] = [
{ from: "/hazelcast/5.4/release-notes/5-4-3", to: "/hazelcast/5.4/release-notes/enterprise" },
{ from: "/hazelcast/5.4/release-notes/5-4-4", to: "/hazelcast/5.4/release-notes/enterprise" },
{ from: "/hazelcast/5.4/release-notes/5-4-5", to: "/hazelcast/5.4/release-notes/enterprise" },
- { from: "/hazelcast/5.4/security/management-center", to: "/hazelcast/5.4/maintain-cluster/monitoring" },
+ { from: "/hazelcast/5.4/security/management-center", to: "/hazelcast/5.4/operate-manage/securing-a-cluster/management-center" },
{ from: "/hazelcast/5.4/serialization/comparing-interfaces", to: "/hazelcast/5.4/serialization/serialization" },
{ from: "/hazelcast/5.4/serialization/interface-types", to: "/hazelcast/5.4/serialization/serialization" },
{ from: "/hazelcast/5.4/serialization/overriding-built-in-serializers", to: "/hazelcast/5.4/serialization/serialization-configuration" },
@@ -309,7 +309,7 @@ export const redirects: {from: string; to: string}[] = [
{ from: "/hazelcast/5.5/secure-cluster/security-best-practices", to: "/hazelcast/5.5/cluster-performance/security-best-practices" },
{ from: "/hazelcast/5.5/security/cluster-member-security", to: "/hazelcast/5.5/security/overview" },
{ from: "/hazelcast/5.5/security/enabling-jaas", to: "/hazelcast/5.5/security/enable-security" },
- { from: "/hazelcast/5.5/security/management-center", to: "/hazelcast/5.5/maintain-cluster/monitoring" },
+ { from: "/hazelcast/5.5/security/management-center", to: "/hazelcast/5.5/operate-and-manage/securing-a-cluster/management-center" },
{ from: "/hazelcast/5.5/security/native-client-security", to: "/hazelcast/5.5/clients/java" },
{ from: "/hazelcast/5.5/security/security-realms", to: "/hazelcast/5.5/security/authentication-overview" },
{ from: "/hazelcast/5.5/serialization/comparing-interfaces", to: "/hazelcast/5.5/serialization/serialization" },
@@ -410,7 +410,7 @@ export const redirects: {from: string; to: string}[] = [
{ from: "/hazelcast/5.6/secure-cluster/security-best-practices", to: "/hazelcast/5.6/cluster-performance/security-best-practices" },
{ from: "/hazelcast/5.6/security/cluster-member-security", to: "/hazelcast/5.6/security/overview" },
{ from: "/hazelcast/5.6/security/enabling-jaas", to: "/hazelcast/5.6/security/enable-security" },
- { from: "/hazelcast/5.6/security/management-center", to: "/hazelcast/5.6/maintain-cluster/monitoring" },
+ { from: "/hazelcast/5.6/security/management-center", to: "/hazelcast/5.6/operate-and-manage/securing-a-cluster/management-center" },
{ from: "/hazelcast/5.6/security/native-client-security", to: "/hazelcast/5.6/clients/java" },
{ from: "/hazelcast/5.6/security/security-realms", to: "/hazelcast/5.6/security/authentication-overview" },
{ from: "/hazelcast/5.6/serialization/comparing-interfaces", to: "/hazelcast/5.6/serialization/serialization" },
@@ -511,7 +511,7 @@ export const redirects: {from: string; to: string}[] = [
{ from: "/hazelcast/5.7/secure-cluster/security-best-practices", to: "/hazelcast/5.7/cluster-performance/security-best-practices" },
{ from: "/hazelcast/5.7/security/cluster-member-security", to: "/hazelcast/5.7/security/overview" },
{ from: "/hazelcast/5.7/security/enabling-jaas", to: "/hazelcast/5.7/security/enable-security" },
- { from: "/hazelcast/5.7/security/management-center", to: "/hazelcast/5.7/maintain-cluster/monitoring" },
+ { from: "/hazelcast/5.7/security/management-center", to: "/hazelcast/5.7/operate-and-manage/securing-a-cluster/management-center" },
{ from: "/hazelcast/5.7/security/native-client-security", to: "/hazelcast/5.7/clients/java" },
{ from: "/hazelcast/5.7/security/security-realms", to: "/hazelcast/5.7/security/authentication-overview" },
{ from: "/hazelcast/5.7/serialization/comparing-interfaces", to: "/hazelcast/5.7/serialization/serialization" },
@@ -611,7 +611,7 @@ export const redirects: {from: string; to: string}[] = [
{ from: "/hazelcast/6.0-snapshot/secure-cluster/security-best-practices", to: "/hazelcast/6.0-snapshot/cluster-performance/security-best-practices" },
{ from: "/hazelcast/6.0-snapshot/security/cluster-member-security", to: "/hazelcast/6.0-snapshot/security/overview" },
{ from: "/hazelcast/6.0-snapshot/security/enabling-jaas", to: "/hazelcast/6.0-snapshot/security/enable-security" },
- { from: "/hazelcast/6.0-snapshot/security/management-center", to: "/hazelcast/6.0-snapshot/maintain-cluster/monitoring" },
+ { from: "/hazelcast/6.0-snapshot/security/management-center", to: "/hazelcast/6.0-snapshot/operate-and-manage/securing-a-cluster/management-center" },
{ from: "/hazelcast/6.0-snapshot/security/native-client-security", to: "/hazelcast/6.0-snapshot/clients/java" },
{ from: "/hazelcast/6.0-snapshot/security/security-realms", to: "/hazelcast/6.0-snapshot/security/authentication-overview" },
{ from: "/hazelcast/6.0-snapshot/serialization/comparing-interfaces", to: "/hazelcast/6.0-snapshot/serialization/serialization" },
diff --git a/src/test/docsPlugins.test.js b/src/test/docsPlugins.test.js
index 776f0384..f0a925a9 100644
--- a/src/test/docsPlugins.test.js
+++ b/src/test/docsPlugins.test.js
@@ -120,6 +120,21 @@ test('a category takes the badge of its landing page, nested items are tagged, a
assert.equal(noLanding.items[0].className, 'nav-badge-beta')
})
+test('hide_in_snapshot makes a page unlisted in an unreleased snapshot only', async () => {
+ const unlisted = async (file, frontMatter = {hide_in_snapshot: true}) => {
+ const {frontMatter: parsed} = await docsPlugins.parseFrontMatter({
+ filePath: path.join(site, file),
+ fileContent: '',
+ defaultParseFrontMatter: async () => ({frontMatter: {...frontMatter}, content: ''}),
+ })
+ return parsed.unlisted === true
+ }
+ assert.equal(await unlisted('hazelcast/page.mdx'), true, 'snapshot main')
+ assert.equal(await unlisted('hazelcast_versioned_docs/version-5.7/page.mdx'), false, 'release')
+ assert.equal(await unlisted('clc/page.mdx'), false, 'main that is the newest release')
+ assert.equal(await unlisted('hazelcast/page.mdx', {}), false, 'no flag')
+})
+
// Version names are dotted numbers, compared numerically: 5.10 is newer than 5.9.
const compareVersions = (a, b) => {
const pa = a.split('.').map(Number)
diff --git a/src/theme/ContentVisibility/index.tsx b/src/theme/ContentVisibility/index.tsx
new file mode 100644
index 00000000..efb9ef80
--- /dev/null
+++ b/src/theme/ContentVisibility/index.tsx
@@ -0,0 +1,15 @@
+import React, {type ReactNode} from 'react';
+import ContentVisibility from '@theme-original/ContentVisibility';
+import type ContentVisibilityType from '@theme/ContentVisibility';
+import type {WrapperProps} from '@docusaurus/types';
+import {UnlistedMetadata} from '@docusaurus/theme-common';
+
+type Props = WrapperProps;
+
+// Shows the unlisted banner in development environments only
+export default function ContentVisibilityWrapper(props: Props): ReactNode {
+ if (process.env.NODE_ENV === 'production') {
+ return props.metadata.unlisted ? : null;
+ }
+ return ;
+}