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

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