🔗
DESCRIPTION 🔗
expvar is a standard Go package for exposing variables at an HTTP endpoint in JSON format.
The name expvar is derived from expose variables. The default HTTP endpoint path is /debug/vars
. An expvar instrumented Go process
exposes variables memstat
and cmdline
out of the box by default. memstat
contains statistics about memory allocation and cmdline
has the command
that started the process.
The SignalFx Smart Agent monitor expvar scrapes expvar variables and exports them as metrics to SignalFx.
REQUIREMENTS AND DEPENDENCIES 🔗
Software | Version |
---|---|
Go | 1+ |