Golang module

This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.

The golang module collects metrics by submitting HTTP GET requests to golang-expvar-api.

Example configuration

The Golang module supports the standard configuration options that are described in Specify which modules to run. Here is an example configuration:

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

Metricsets

The following metricsets are available: