Skip to content

Metrics Command Examples

For the complete documentation index see: llms.txt

All documentation pages available in markdown.

See the full metrics reference here.

Statistics

Statistics is a container for overall database health and service metrics, which can be displayed with asadm or asinfo:

Terminal window
asadm -e 'show statistics service'

Namespace

Namespace contains health metrics for a particular namespace:

All namespace statistics

Terminal window
asadm -e 'show statistics namespace'

Specific namespace statistics

Terminal window
asadm -e 'show statistics namespace for NAMESPACE_NAME'

Set statistics

All set statistics

Terminal window
asadm -e 'show statistics set'

Set statistics for a specific namespace

Terminal window
asadm -e 'show statistics set for NAMESPACE_NAME'

Specific set statistics for a specific namespace

Terminal window
asadm -e 'show statistics set for NAMESPACE_NAME for SET_NAME'

Secondary index statistics

All secondary index statistics

Terminal window
asadm -e 'show statistics sindex'

Secondary index statistics for a specific namespace

Terminal window
asadm -e 'show statistics sindex for NAMESPACE_NAME'

Secondary index statistics for a specific secondary index in a specific namespace. Partial names can be used instead of full names

Terminal window
asadm -e 'show statistics sindex for NAMESPACE_NAME for SINDEX_NAME'

XDR

XDR includes health and service metrics for Cross-Datacenter Replication.

Do not use the XDR statistics to verify if a namespace is enabled. XDR statistics are still displayed even if the namespace is not currently enabled. After the namespace is enabled, gathering of statistics resumes where it had left off.

There are no independent namespace-level XDR statistics.

Statistics are per-datacenter or per-datacenter/per-namespace.

Display XDR statistics for an entire datacenter:

Terminal window
asadm -e 'show statistics xdr for DC_NAME'