0.42.1 • Published 3 years ago

@sugarcube/plugin-statsd v0.42.1

Weekly downloads
19
License
GPL-3.0
Repository
github
Last release
3 years ago

@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 to localhost.
  • statsd.port: The port of the StatsD server. Defaults to 8125.
  • statsd.telegraf: Set to true if using Telegraf as a StatsD server. Defaults to true.

Example:

sugarcube -I statsd_metrics -p youtube_channel

License

GPL3 @ Christo

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