//// This file is generated! See scripts/docs_collector.py //// [[metricbeat-module-golang]] == Golang module beta[] The golang module collects metrics by submitting HTTP GET requests to https://golang.org/pkg/expvar/[golang-expvar-api]. [float] === Example configuration The Golang module supports the standard configuration options that are described in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: - module: golang #metricsets: # - expvar # - heap period: 10s hosts: ["localhost:6060"] heap.path: "/debug/vars" expvar: namespace: "example" path: "/debug/vars" ---- This module supports TLS connections when using `ssl` config field, as described in <>. It also supports the options described in <>. [float] === Metricsets The following metricsets are available: * <> * <> include::golang/expvar.asciidoc[] include::golang/heap.asciidoc[]