0.42.1 • Published 3 years ago
@sugarcube/plugin-statsd v0.42.1
@sugarcube/plugin-statsd
A Sugarcube plugin that uses StatsD.
Installation
npm install --save @sugarcube/plugin-statsd
Instruments
statsd_metrics
Store collected metrics in a StatsD backend. Each plugin can collect a series of counts and timers and this instrument allows to send those metrics to a StatsD backend. Theoretically any StatsD backend should work, but it has been tested using Telegraf. Metrics send by this instrument have the following data translation template:
"sugarcube.* app.project.pipeline.measurement.field"
The measurement is named after the plugin that sends it. The field is a specific counter or timer.
Configuration:
statsd.host
: The hostname or IP address of the StatsD server. Defaults tolocalhost
.statsd.port
: The port of the StatsD server. Defaults to8125
.statsd.telegraf
: Set totrue
if using Telegraf as a StatsD server. Defaults totrue
.
Example:
sugarcube -I statsd_metrics -p youtube_channel
License
0.42.1
3 years ago
0.42.0
4 years ago
0.41.0
4 years ago
0.40.0
4 years ago
0.39.0
4 years ago
0.38.0
4 years ago
0.37.0
4 years ago
0.36.0
4 years ago
0.35.0
4 years ago
0.34.0
4 years ago
0.33.0
4 years ago
0.32.1
4 years ago
0.32.0
4 years ago
0.31.0
5 years ago
0.30.0
5 years ago
0.29.0
5 years ago
0.28.0
5 years ago
0.27.2
5 years ago
0.27.1
5 years ago