A lightweight Java reporter that sends metrics from the Metrics library to an InfluxDB server.
metrics-influxdb is a Java library that acts as a reporter for the Metrics library, sending application performance measurements to an InfluxDB time-series database. It solves the problem of efficiently collecting and transmitting metrics from Java applications to InfluxDB for monitoring and analysis, offering a lightweight alternative to general-purpose InfluxDB clients.
Java developers and DevOps engineers who use the Metrics library for application instrumentation and need to export those metrics to InfluxDB for centralized monitoring and visualization.
Developers choose metrics-influxdb because it provides a specialized, minimal reporter that integrates seamlessly with the Metrics library, reduces dependencies compared to full InfluxDB clients, and offers flexible configuration for different InfluxDB versions and deployment scenarios.
A reporter for metrics which announces measurements to an InfluxDB server.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
It's explicitly described as a lighter alternative to influxdb-java, focusing only on pushing metrics to reduce dependency overhead and complexity.
Provides a direct reporter for the Metrics library with a builder API that automates measurement collection and announcement, as shown in the simple usage example.
Offers extensive customization via builder methods for protocol, authentication, tags, rate/duration units, and metric filtering, demonstrated in the detailed configuration snippet.
Compatible with both InfluxDB v0.8 and v0.9+ line protocols, with specific methods like .v08() to accommodate different server versions.
Only works with the Metrics library, making it unsuitable for projects using alternative metric frameworks like Micrometer or OpenTelemetry without additional bridging.
The README does not mention built-in retry logic, error management, or fallback mechanisms for failed transmissions to InfluxDB, which could lead to data loss in unreliable networks.
With references to InfluxDB v0.8/v0.9 and old CI badges, it may not natively support newer InfluxDB versions or protocols without community updates or forks.