[id='statistics']
:context: server
= Configuring {brandname} Server Statistics
Enable statistics that {brandname} exports to a `metrics` endpoint or via JMX MBeans.
Registering JMX MBeans also exposes management operations that you can perform remotely.

include::{topics}/proc_enabling_statistics.adoc[leveloffset=+1]
include::{topics}/proc_configuring_metrics.adoc[leveloffset=+1]
include::{topics}/proc_collecting_metrics.adoc[leveloffset=+1]
include::{topics}/proc_enabling_jmx.adoc[leveloffset=+1]
include::{topics}/proc_enabling_jmx_port.adoc[leveloffset=+2]
include::{topics}/ref_jmx_mbeans.adoc[leveloffset=+2]

// Restore the parent context.
ifdef::parent-context[:context: {parent-context}]
ifndef::parent-context[:!context:]
