[id='enabling-statistics-remote_{context}']
= Enabling statistics in remote caches

{brandname} Server automatically enables statistics for the default cache manager.
However, you must explicitly enable statistics for your caches.

.Procedure

. Open your {brandname} configuration for editing.
. Add the `statistics` attribute or field and specify `true` as the value.
. Save and close your {brandname} configuration.

[discrete]
== Remote cache statistics

.XML
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
include::xml/statistics_remote.xml[]
----

.JSON
[source,json,options="nowrap",subs=attributes+,role="secondary"]
----
include::json/statistics_remote.json[]
----

.YAML
[source,yaml,options="nowrap",subs=attributes+,role="secondary"]
----
include::yaml/statistics_remote.yaml[]
----
