Kuzzle statistical probe listener plugin
Plugin allowing to add probes, collecting data and events to calculate data metrics and send them to KDC (Kuzzle Data Collector). This plugin must be used in conjonction with a KDC instance where the plugin kuzzle-plugin-probe is installed. Refer to the kuzzle-plugin-probe documentation for more information.
Place the plugin directory under plugins/available
, then create a symbolic link pointing to it under plugins/enabled
.
After a fresh installation, the plugin configuration looks like this:
{
"kdcAddress": "kdc-proxy",
"probes": {}
}
monitor
probesPlease refer to the documentation of the plugin-plugin-probe for more information about the monitor
probe.
Probe configuration example:
{
"probes": {
"probe_monitor_1": {
"type": "monitor",
"hooks": ["some:event", "some:otherevent", "andyet:anotherone"]
}
}
}
counter
probesPlease refer to the documentation of the plugin-plugin-probe for more information about the counter
probe.
Probe configuration example:
{
"probes": {
"probe_counter_1": {
"type": "counter",
"increasers": ["list:of", "counterIncreasing:events"],
"decreasers": ["anotherlist:of", "counterDecreasing:events"]
}
}
}
watcher
probesPlease refer to the documentation of the plugin-plugin-probe for more information about the watcher
probe.
Probe configuration example:
{
"probes": {
"probe_watcher_1": {
"type": "watcher",
"index": "some index",
"collection": "some collection"
}
}
}
sampler
probesPlease refer to the documentation of the plugin-plugin-probe for more information about the sampler
probe.
Probe configuration example:
{
"probes": {
"probe_sampler": {
"type": "sampler",
"index": "some index",
"collection": "some collection"
}
}
}