Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

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

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Prometheus
  3. StatsD exporter

StatsD exporter

Apache-2.0Gov0.30.0

A Prometheus exporter that receives StatsD-style metrics and converts them into Prometheus metrics via configurable mapping rules.

GitHubGitHub
982 stars258 forks0 contributors

What is StatsD exporter?

StatsD exporter is a bridge for monitoring systems that translates StatsD metrics into Prometheus format. It serves as a drop-in replacement for StatsD, enabling a gradual transition to native Prometheus instrumentation while supporting existing StatsD-based applications. It converts StatsD gauges, counters, timers, histograms, and distributions into Prometheus metrics (gauges, counters, summaries, or histograms) with flexible mapping rules.

Target Audience

DevOps engineers and SREs who are migrating from StatsD-based monitoring (e.g., using Librato, InfluxDB, DogStatsD, or SignalFX) to Prometheus, or who need to run both systems concurrently during a transition. It is also for teams deploying applications in sidecar patterns, such as in Kubernetes pods.

Value Proposition

Developers choose this exporter because it provides a seamless bridge with extensive tagging support for multiple StatsD variants, flexible metric mapping via glob or regex, and relay mode for gradual migration without disrupting existing workflows. Its sidecar-friendly design ensures per-instance metrics and maintains high performance with configurable caching and event flushing.

Overview

StatsD to Prometheus metrics exporter

Use Cases

Best For

  • Gradually migrating from a centralized StatsD server to Prometheus without losing existing metric data.
  • Running as a sidecar in Kubernetes pods to collect per-instance StatsD metrics and export them to Prometheus.
  • Translating StatsD metrics with Librato, InfluxDB, DogStatsD, or SignalFX-style tags into labeled Prometheus metrics.
  • Relaying StatsD metrics to an existing StatsD server while simultaneously exporting them to Prometheus for comparison.
  • High-throughput environments needing tunable event flushing and LRU or random-replacement caching for metric mapping performance.
  • Dynamically mapping dot-separated StatsD metric names into Prometheus metrics with structured labels using glob or regex rules.

Not Ideal For

  • Projects already fully instrumented with native Prometheus client libraries and no StatsD dependencies
  • Environments where StatsD metrics frequently mix different tagging styles (e.g., Librato with DogStatsD), as this causes undefined behavior
  • Teams needing sub-millisecond metric delivery without any batching, due to configurable event flushing that can introduce latency
  • Centralized StatsD setups without per-instance metric requirements, as the sidecar pattern adds deployment overhead

Pros & Cons

Pros

Flexible Metric Mapping

Supports both glob and regex-based mapping rules to transform dot-separated StatsD metrics into labeled Prometheus metrics, allowing dynamic label extraction via wildcard references like $1.

Broad Tagging Compatibility

Parses Librato, InfluxDB, DogStatsD, and SignalFX-style tags, converting them into Prometheus labels, though individual formats can be disabled via command-line flags for control.

Gradual Migration Support

Offers a relay mode to forward metrics to existing StatsD servers, enabling side-by-side operation during transition without disrupting current workflows, as shown in the sidecar diagram.

Performance Optimization

Includes configurable caching (LRU or random replacement), event queue sizing, and flushing intervals, allowing tuning for high-throughput environments as noted in the event flushing configuration section.

Cons

Tag Style Incompatibility

Mixing different tagging formats (e.g., Librato with DogStatsD) is considered an error with undefined behavior, limiting use in heterogeneous environments with diverse StatsD clients.

Configuration Complexity

Requires YAML mapping files for advanced transformations, with careful ordering needed for glob rules and slower regex matching that is executed after glob mappings, increasing setup complexity.

Interim Solution Limitation

Explicitly recommended as a temporary bridge in the README, urging users to switch to native Prometheus instrumentation long-term, which may necessitate future rework.

Frequently Asked Questions

Quick Stats

Stars982
Forks258
Contributors0
Open Issues24
Last commit7 days ago
CreatedSince 2013

Tags

#hacktoberfest#observability#monitoring#time-series#docker#statsd#prometheus-exporter#go#sidecar#prometheus#metrics

Built With

K
Kingpin
G
Go
D
Docker

Included in

Prometheus74
Auto-fetched 1 day ago

Related Projects

JMX exporterJMX exporter

A process for collecting metrics using JMX MBeans for Prometheus consumption

Stars3,312
Forks1,224
Last commit1 day ago
SNMP exporterSNMP exporter

SNMP Exporter for Prometheus

Stars2,141
Forks733
Last commit2 days ago
AWS CloudWatch exporterAWS CloudWatch exporter

Metrics exporter for Amazon AWS CloudWatch

Stars976
Forks337
Last commit6 days ago
Graphite exporterGraphite exporter

Server that accepts metrics via the Graphite protocol and exports them as Prometheus metrics

Stars399
Forks110
Last commit4 days 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