# Module: stan
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/8.10/metricbeat-module-stan.html

- module: stan
  metricsets: ["stats", "subscriptions", "channels"]
  period: 60s
  hosts: ["localhost:8222"]
  #stats.metrics_path: "/streaming/serverz"
  #channels.metrics_path: "/streaming/channelsz"
  #subscriptions.metrics_path: "/streaming/channelsz" # we retrieve streaming subscriptions with a detailed query param to the channelsz endpoint
