-
Under
Developer Command Prompt for VS 2019
, runcmake .
Visual Studio
solutions and projects will be generated. -
Next , build the generated
Visual Studio
solution.StatsDClient.lib
will be built.
See header file for more api detail.
** Notice: this client is not thread-safe **
This simple demo shows how the use this client.
This is a daemon for monitoring a Linux system. It'll wake up every minute and monitor the following:
- load
- cpu
- free memory
- free swap (disabled)
- received bytes
- transmitted bytes
- procs
- uptime
The stats sent to statsd will be in "host.MACAddress" namespace.
Usage:
system_monitor statsd-host interface-to-monitor
e.g.
`system_monitor 172.16.42.1 eth0`