A StatsD backend that forwards metrics to InfluxDB using either aggregated flush or raw proxy strategies.
StatsD InfluxDB Backend is a Node.js plugin for StatsD that forwards application metrics to InfluxDB. It solves the problem of integrating StatsD-based metric collection with InfluxDB's time-series database, enabling developers to store and analyze metrics in a scalable time-series store. The plugin supports both aggregated metric flushes and raw event streaming to accommodate different use cases.
DevOps engineers and developers who use StatsD for application metrics and want to store them in InfluxDB for long-term retention, visualization, or analysis. It's particularly useful for teams already invested in the StatsD ecosystem but seeking a more powerful time-series database backend.
Developers choose this backend because it provides a straightforward, configurable bridge between StatsD and InfluxDB without requiring major changes to existing StatsD setups. Its dual-strategy approach offers flexibility in how metrics are stored, balancing aggregation efficiency with raw data fidelity.
A naive InfluxDB backend for StatsD
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports both aggregated flushes and raw event streaming, allowing users to choose between efficient rollups or detailed event storage based on their needs, as detailed in the README's configuration options.
Translates all core StatsD metric types (counters, timers, gauges, sets) into structured InfluxDB events with specific naming conventions, evidenced by the extensive examples in the README's event mapping section.
Offers flexible settings for InfluxDB connection, authentication, database selection, and strategy-specific parameters like flush intervals, making it easy to adapt to existing setups without code changes.
Provides backend metrics such as flush time and HTTP response time, enabling self-monitoring of the plugin's health and performance, which can be sent to InfluxDB when enabled in configuration.
The proxy strategy explicitly does not support counters with sampling, signed gauges, or sets, restricting its use for certain metric types as admitted in the README's 'Unsupported Metric Types' section.
Default configuration targets InfluxDB version 0.8, and the README warns of potential breaking changes until version 1.0, making it unreliable for modern InfluxDB deployments without modifications.
The project is actively seeking a maintainer, indicating lack of active development and potential abandonment, which poses risks for bug fixes, security updates, and compatibility with newer StatsD or InfluxDB versions.