-
Notifications
You must be signed in to change notification settings - Fork 39
Home
CollectdWin is a MS Windows service which collects, aggregates and publishes both application and system metrics periodically. These application and system metrics can be used for performance analysis and capacity planning. CollectdWin is very similar to Collectd (https://collectd.org). It was developed because Collectd does not support Windows.
Everything in CollectdWin is done via plugins. There are two types of plugins, read and write plugins. Read plugin's role is to collect metrics, for example: StatsdPlugin and WindowsPerformanceCounterPlugin. Write plugin's role is to publish metrics, for example: AmqpPlugin and ConsolePlugin. New plugins can be developed very easily.
The plugin registry maintains a catalog of plugins and it is responsible for creating a plugin instance.
The metrics collector is the core module that manages plugins, threads and an internal queue. The metrics collector component is responsible for the following:
- loads configuration information from app.config
- creates a queue that is used by reader and writer threads
- configures and starts all reader and writer plugins
- creates and starts three threads : aggregatorThread, readThread and writeThread
CollectdWin supports four data types (gauge, counter, derive and absolute) like Collectd data types. Aggregator converts COUNTER, DERIVE and ABSOLUTE values to rates (GAUGE). This feature can be enabled via StoreRates property in general settings.