Skip to main content
Loading

Metrics Command Examples

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:

asadm -e 'show statistics service'

Namespace

Namespace contains health metrics for a particular namespace:

All namespace statistics

asadm -e 'show statistics namespace'

Specific namespace statistics

asadm -e 'show statistics namespace for <namespace name>'

Set statistics

All set statistics

asadm -e 'show statistics set'

Set statistics for a specific namespace

asadm -e 'show statistics set for <namespace name>'

Specific set statistics for a specific namespace

asadm -e 'show statistics set for <namespace name> for <set name>'

Secondary index statistics

All secondary index statistics

asadm -e 'show statistics sindex'

Secondary index statistics for a specific namespace

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

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:

asadm -e 'show statistics xdr for <dc name>'