x-pack/metricbeat/module/stan/_meta/docs.md
:::::{admonition} Prefer to use {{agent}} for this use case? Refer to the Elastic Integrations documentation.
::::{dropdown} Learn more {{agent}} is a single, unified way to add monitoring for logs, metrics, and other types of data to a host. It can also protect hosts from security threats, query data from operating systems, forward data from remote services or hardware, and more. Refer to the documentation for a detailed comparison of {{beats}} and {{agent}}.
::::
:::::
The STAN module uses STAN monitoring server APIs to collect metrics.
The default metricsets are channels, stats and subscriptions.
The STAN module is tested with STAN 0.15.1.
Dashboards for topic message count and queue depth are included: