Docs » Integrations Guide » Integrations Reference » Expvar

../../_images/integration_expvar.png Expvar 🔗

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+

INSTALLATION 🔗

Install the latest version of the SignalFx Smart Agent as described here.

CONFIGURATION 🔗

Find the SignalFx Smart Agent configuration file agent.yaml. Edit it and configure the expvar monitor as described here.

USAGE 🔗

Sample of built-in dashboard in SignalFx:

../../_images/expvar_processes_memory_dashboard.pngProcesses Memory

../../_images/expvar_process_memory_dashboard.pngProcess Memory