WARNING: Version 6.0 of Metricbeat has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Golang heap metricset
editGolang heap metricset
editThe heap
metricset of the Golang module collects the memstats information from the expvar API.
Fields
editFor a description of each field in the metricset, see the exported fields section.
Here is an example document generated by this metricset:
{ "@timestamp": "2017-02-22T08:29:22.819Z", "beat": { "hostname": "MacBook-Pro.local", "name": "MacBook-Pro.local", "version": "6.0.0-alpha1" }, "golang": { "heap": { "allocations": { "active": 20619264, "allocated": 19317104, "frees": 56786, "idle": 2383872, "mallocs": 77939, "objects": 21153, "total": 42590064 }, "cmdline": "./bin/gopa --pprof", "gc": { "cpu_fraction": 0.000006, "next_gc_limit": 33694576, "pause": { "avg": { "ns": 0 }, "count": 0, "max": { "ns": 0 }, "sum": { "ns": 0 } }, "total_count": 7, "total_pause": { "ns": 527378 } }, "system": { "optained": 23003136, "released": 0, "stack": 1114112, "total": 28956920 } } }, "metricset": { "host": "localhost:6060", "module": "golang", "name": "heap", "rtt": 1159 }, "type": "metricsets" }