-
Notifications
You must be signed in to change notification settings - Fork 44
Monitoring GSN performances
Julien Eberle edited this page Aug 31, 2015
·
2 revisions
GSN exposes an interface for collecting statistics about its various internal parts. It can be accessed through the http interface at the address: http://localhost:22001/stat . It is represented in simple text, one metric per line, the name separated from its value by a white space.
The metrics naming scheme is the following:
gsn.<module>.<module_name>?.<submodule>?.<submodule_name>?.<property>.<parameters>*.<data_type>
- module: the main modules of GSN: core, vs (for the virtual sensors)
- module_name: In the case of vs, the virtual sensor name
- submodule: can be memory, cputime, input, output, error, anomaly,...
- submodule_name: in case of input, the input stream name and in case of anomaly, the anomaly type
- property: the measured property, specific to the module/submodule
- parameters: a list of parameters, used for splitting properties
- data_type: the type of data: gauge (just a value), counter (always incremented value, its derivative needs to be taken for graphs)
It can be integrated in various monitoring solutions, such as collectd or munin.