Example plugin written using the meter plugin SDK for C.
Collects meterics from example application that presents metrics via a UDP interface called metric-daemon
OS | Linux | Windows | SmartOS | OS X |
---|---|---|---|---|
Supported | v | v | v | v |
- TrueSight Pulse Meter Plugin SDK for C
- metric-daemon running on a host that is reachable from the host that is running the plugin.
Install the Metric Daemon according to the instructions here.
For this plugin to run the TrueSight Pulse Meter Plugin SDK for C must be installed on the same host where the plugin is running.
-
Download plugin distribution to the target platform:
$ wget https://github.com/boundary/meter-plugin-udp/releases/download/v1.0.0/meter-plugin-udp-1.0.0.tar.gz
-
Extract distribution:
$ tar xvf meter-plugin-udp-1.0.0.tar.gz
-
Change directory to extracted plugin distribution:
$ cd meter-plugin-udp-1.0.0
-
Configure plugin for compilation:
$ ./configure
-
Compile meter plugin executable:
$ make
-
Install meter plugin executable:
$ sudo make install
Field Name | Description |
---|---|
Host | Host running the metric daemon |
Port | Listening port of the metric daemon |
Source | Label to display in the legend for the measurement. |
Interval | How often should the plugin poll for metrics. |
Metric Name | Description |
---|---|
EXAMPLE_BYTECOUNT | A metric to track counts of bytes. |
EXAMPLE_DURATION | A metric to track a duration of time |
EXAMPLE_NUMBER | A metric to track a number value |
EXAMPLE_PERCENT | A metric to track a percentage value |
- Example Count