Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. InfluxDB
  3. metrics-influxdb

metrics-influxdb

NOASSERTIONJava

A lightweight Java reporter that sends metrics from the Metrics library to an InfluxDB server.

GitHubGitHub
273 stars100 forks0 contributors

What is metrics-influxdb?

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.

Target Audience

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.

Value Proposition

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.

Overview

A reporter for metrics which announces measurements to an InfluxDB server.

Use Cases

Best For

  • Sending Metrics library data to InfluxDB for time-series analysis
  • Building lightweight monitoring pipelines for Java applications
  • Adding custom tags and transformations to metric data before ingestion
  • Supporting both InfluxDB v0.8 and v0.9+ protocols in metric reporting
  • Reducing dependency overhead compared to full InfluxDB Java clients
  • Configuring scheduled metric reporting with flexible units and filters

Not Ideal For

  • Projects not using the Metrics library for application instrumentation
  • Applications requiring a full-featured InfluxDB client with query or management capabilities
  • Teams needing support for InfluxDB versions beyond 0.9+ without protocol compatibility checks
  • Environments where managed metric services or SaaS solutions are preferred over self-hosted setups

Pros & Cons

Pros

Lightweight Design

It's explicitly described as a lighter alternative to influxdb-java, focusing only on pushing metrics to reduce dependency overhead and complexity.

Seamless Metrics Integration

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.

Flexible Configuration Options

Offers extensive customization via builder methods for protocol, authentication, tags, rate/duration units, and metric filtering, demonstrated in the detailed configuration snippet.

Multi-Version Protocol Support

Compatible with both InfluxDB v0.8 and v0.9+ line protocols, with specific methods like .v08() to accommodate different server versions.

Cons

Limited to Metrics Library

Only works with the Metrics library, making it unsuitable for projects using alternative metric frameworks like Micrometer or OpenTelemetry without additional bridging.

Lack of Robust Error Handling

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.

Potentially Outdated Support

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.

Frequently Asked Questions

Quick Stats

Stars273
Forks100
Contributors0
Open Issues8
Last commit3 years ago
CreatedSince 2014

Tags

#observability#java#monitoring#time-series#reporter#influxdb#performance-metrics#metrics

Built With

S
SLF4J
J
Java

Included in

InfluxDB817
Auto-fetched 19 hours ago

Related Projects

kafka-influxdbkafka-influxdb

High performance Kafka consumer for InfluxDB. Supports collectd message formats.

Stars218
Forks53
Last commit3 years ago
statsd-influxdb-backendstatsd-influxdb-backend

A naive InfluxDB backend for StatsD

Stars169
Forks66
Last commit8 years ago
fluent-plugin-influxdbfluent-plugin-influxdb

A buffered output plugin for fluentd and InfluxDB

Stars109
Forks64
Last commit1 year ago
logstash-output-influxdblogstash-output-influxdb

This is a community-maintained Logstash plugin that enables users to output metrics data from Logstash processing pipelines directly into InfluxDB. It provides a seamless integration between Logstash's log and event processing capabilities and InfluxDB's specialized time-series data storage, allowing for efficient metric collection and monitoring. ## Key Features - **InfluxDB Integration** — Directly outputs processed metrics from Logstash to InfluxDB databases - **Time-Series Data Support** — Optimized for storing and managing time-stamped metric data - **Logstash Pipeline Compatibility** — Works within existing Logstash configurations as an output plugin - **Apache 2.0 Licensed** — Fully open source with permissive licensing for commercial and personal use ## Philosophy The plugin follows the Logstash plugin architecture philosophy, providing a standardized way to extend Logstash's output capabilities while maintaining compatibility with the broader Logstash ecosystem.

Stars59
Forks70
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub