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

- module: golang
  #metricsets:
  #  - expvar
  #  - heap
  period: 10s
  hosts: ["localhost:6060"]
  heap.path: "/debug/vars"
  expvar:
    namespace: "example"
    path: "/debug/vars"
