Alternatives to StatsD logo

Alternatives to StatsD

collectd, Prometheus, InfluxDB, Telegraf, and Logstash are the most popular alternatives and competitors to StatsD.
302
291
+ 1
31

What is StatsD and what are its top alternatives?

StatsD is a network daemon that runs on the Node.js platform and is used for collecting, aggregating, and monitoring application metrics. It is designed to be efficient and easy to set up, allowing for real-time monitoring of key performance metrics. However, one limitation of StatsD is that it does not offer advanced features such as anomaly detection or complex metric analysis.

  1. Prometheus: Prometheus is an open-source monitoring and alerting toolkit that is designed for reliability, scalability, and flexibility. It provides a multi-dimensional data model, a powerful query language, and integrations with various services and tools. Unlike StatsD, Prometheus offers built-in support for service discovery and more advanced monitoring capabilities.

  2. InfluxDB: InfluxDB is a time-series database specifically designed for handling high write and query loads. It is commonly used for storing and querying metrics data, making it a suitable alternative to StatsD. InfluxDB provides features such as data retention policies, continuous queries, and a SQL-like query language.

  3. Grafana: Grafana is an open-source visualization tool that can be used in conjunction with other monitoring systems like Prometheus or InfluxDB. It allows users to create and share dynamic dashboards to visualize and analyze data. Grafana provides support for a wide range of data sources and includes features like alerting and annotations.

  4. Telegraf: Telegraf is a plugin-driven server agent for collecting and reporting metrics. It is part of the TICK stack (Telegraf, InfluxDB, Chronograf, and Kapacitor) provided by InfluxData. Telegraf supports a wide range of inputs and outputs, making it a versatile tool for collecting metrics data.

  5. Wavefront: Wavefront is a cloud-native monitoring and analytics platform that allows for real-time visibility into applications and infrastructure. It provides features like distributed tracing, anomaly detection, and intelligent alerting. Wavefront offers a highly scalable and flexible solution for monitoring performance metrics.

  6. Graphite: Graphite is an open-source monitoring tool that specializes in time-series data. It allows users to store and query numerical time-series data, making it suitable for monitoring metrics. Graphite offers a web-based interface for visualization and analysis of data.

  7. OpenTSDB: OpenTSDB is a distributed, scalable time-series database built on top of Apache HBase. It is designed for storing and analyzing large amounts of time-series data in real-time. OpenTSDB provides features like data aggregation, automatic downsampling, and built-in querying capabilities.

  8. New Relic: New Relic is a SaaS-based application performance monitoring tool that provides end-to-end visibility into applications and infrastructure. It offers features like distributed tracing, error detection, and real user monitoring. New Relic includes pre-built integrations for monitoring various technologies and platforms.

  9. Datadog: Datadog is a cloud-based monitoring and analytics platform that combines infrastructure monitoring, application performance monitoring, and log management into a single integrated solution. It provides features like real-time dashboards, anomaly detection, and machine learning-based alerts.

  10. Dynatrace: Dynatrace is an application performance management tool that uses AI and automation to provide full-stack monitoring of applications and infrastructure. It offers features like root cause analysis, performance optimization, and real user monitoring. Dynatrace provides deep visibility into complex environments and helps in optimizing application performance.

Top Alternatives to StatsD

  • collectd
    collectd

    collectd gathers statistics about the system it is running on and stores this information. Those statistics can then be used to find current performance bottlenecks (i.e. performance analysis) and predict future system load (i.e. capacity planning). Or if you just want pretty graphs of your private server and are fed up with some homegrown solution you're at the right place, too. ...

  • Prometheus
    Prometheus

    Prometheus is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true. ...

  • InfluxDB
    InfluxDB

    InfluxDB is a scalable datastore for metrics, events, and real-time analytics. It has a built-in HTTP API so you don't have to write any server side code to get up and running. InfluxDB is designed to be scalable, simple to install and manage, and fast to get data in and out. ...

  • Telegraf
    Telegraf

    It is an agent for collecting, processing, aggregating, and writing metrics. Design goals are to have a minimal memory footprint with a plugin system so that developers in the community can easily add support for collecting metrics. ...

  • Logstash
    Logstash

    Logstash is a tool for managing events and logs. You can use it to collect logs, parse them, and store them for later use (like, for searching). If you store them in Elasticsearch, you can view and analyze them with Kibana. ...

  • Graphite
    Graphite

    Graphite does two things: 1) Store numeric time-series data and 2) Render graphs of this data on demand ...

  • Datadog
    Datadog

    Datadog is the leading service for cloud-scale monitoring. It is used by IT, operations, and development teams who build and operate applications that run on dynamic or hybrid cloud infrastructure. Start monitoring in minutes with Datadog! ...

  • Fluentd
    Fluentd

    Fluentd collects events from various data sources and writes them to files, RDBMS, NoSQL, IaaS, SaaS, Hadoop and so on. Fluentd helps you unify your logging infrastructure. ...

StatsD alternatives & related posts

collectd logo

collectd

98
156
5
System and applications metrics collector
98
156
+ 1
5
PROS OF COLLECTD
  • 2
    Open Source
  • 2
    Modular, plugins
  • 1
    KISS
CONS OF COLLECTD
    Be the first to leave a con

    related collectd posts

    Łukasz Korecki
    CTO & Co-founder at EnjoyHQ · | 7 upvotes · 305.5K views

    We use collectd because of it's low footprint and great capabilities. We use it to monitor our Google Compute Engine machines. More interestingly we setup collectd as StatsD replacement - all our Clojure services push application-level metrics using our own metrics library and collectd pushes them to Stackdriver

    See more
    Prometheus logo

    Prometheus

    4.2K
    3.8K
    239
    An open-source service monitoring system and time series database, developed by SoundCloud
    4.2K
    3.8K
    + 1
    239
    PROS OF PROMETHEUS
    • 47
      Powerful easy to use monitoring
    • 38
      Flexible query language
    • 32
      Dimensional data model
    • 27
      Alerts
    • 23
      Active and responsive community
    • 22
      Extensive integrations
    • 19
      Easy to setup
    • 12
      Beautiful Model and Query language
    • 7
      Easy to extend
    • 6
      Nice
    • 3
      Written in Go
    • 2
      Good for experimentation
    • 1
      Easy for monitoring
    CONS OF PROMETHEUS
    • 12
      Just for metrics
    • 6
      Bad UI
    • 6
      Needs monitoring to access metrics endpoints
    • 4
      Not easy to configure and use
    • 3
      Supports only active agents
    • 2
      Written in Go
    • 2
      TLS is quite difficult to understand
    • 2
      Requires multiple applications and tools
    • 1
      Single point of failure

    related Prometheus posts

    Matt Menzenski
    Senior Software Engineering Manager at PayIt · | 16 upvotes · 995.5K views

    Grafana and Prometheus together, running on Kubernetes , is a powerful combination. These tools are cloud-native and offer a large community and easy integrations. At PayIt we're using exporting Java application metrics using a Dropwizard metrics exporter, and our Node.js services now use the prom-client npm library to serve metrics.

    See more
    Conor Myhrvold
    Tech Brand Mgr, Office of CTO at Uber · | 15 upvotes · 4.5M views

    Why we spent several years building an open source, large-scale metrics alerting system, M3, built for Prometheus:

    By late 2014, all services, infrastructure, and servers at Uber emitted metrics to a Graphite stack that stored them using the Whisper file format in a sharded Carbon cluster. We used Grafana for dashboarding and Nagios for alerting, issuing Graphite threshold checks via source-controlled scripts. While this worked for a while, expanding the Carbon cluster required a manual resharding process and, due to lack of replication, any single node’s disk failure caused permanent loss of its associated metrics. In short, this solution was not able to meet our needs as the company continued to grow.

    To ensure the scalability of Uber’s metrics backend, we decided to build out a system that provided fault tolerant metrics ingestion, storage, and querying as a managed platform...

    https://eng.uber.com/m3/

    (GitHub : https://github.com/m3db/m3)

    See more
    InfluxDB logo

    InfluxDB

    1K
    1.2K
    175
    An open-source distributed time series database with no external dependencies
    1K
    1.2K
    + 1
    175
    PROS OF INFLUXDB
    • 59
      Time-series data analysis
    • 30
      Easy setup, no dependencies
    • 24
      Fast, scalable & open source
    • 21
      Open source
    • 20
      Real-time analytics
    • 6
      Continuous Query support
    • 5
      Easy Query Language
    • 4
      HTTP API
    • 4
      Out-of-the-box, automatic Retention Policy
    • 1
      Offers Enterprise version
    • 1
      Free Open Source version
    CONS OF INFLUXDB
    • 4
      Instability
    • 1
      Proprietary query language
    • 1
      HA or Clustering is only in paid version

    related InfluxDB posts

    Hi everyone. I'm trying to create my personal syslog monitoring.

    1. To get the logs, I have uncertainty to choose the way: 1.1 Use Logstash like a TCP server. 1.2 Implement a Go TCP server.

    2. To store and plot data. 2.1 Use Elasticsearch tools. 2.2 Use InfluxDB and Grafana.

    I would like to know... Which is a cheaper and scalable solution?

    Or even if there is a better way to do it.

    See more
    Shared insights
    on
    InfluxDBInfluxDBJSONJSON

    Hi all, I am trying to decide on a database for time-series data. The data could be tracking some simple series like statistics over time or could be a nested JSON (multi-level nested). I have been experimenting with InfluxDB for the former case of a simple list of variables over time. The continuous queries are powerful too. But for the latter case, where InfluxDB requires to flatten out a nested JSON before saving it into the database the complexity arises. The nested JSON could be objects or a list of objects and objects under objects in which a complete flattening doesn't leave the data in a state for the queries I'm thinking.

    [ 
      { "timestamp": "2021-09-06T12:51:00Z",
        "name": "Name1",
        "books": [
            { "title": "Book1", "page": 100 },
            { "title": "Book2", "page": 280 },
        ]
      },
     { "timestamp": "2021-09-06T12:52:00Z",
       "name": "Name2",
       "books": [
           { "title": "Book1", "page": 320},
           { "title": "Book2", "page": 530 },
           { "title": "Book3", "page": 150 },
       ]
     }
    ]
    

    Sample query: With a time range, for name xyz, find all the book title for which # of page < 400.

    If I flatten it completely, it will result in fields like books_0_title, books_0_page, books_1_title, books_1_page, ... And by losing the nested context it will be hard to return one field (title) where some condition for another field (page) satisfies.

    Appreciate any suggestions. Even a piece of generic advice on handling the time-series and choosing the database is welcome!

    See more
    Telegraf logo

    Telegraf

    275
    319
    16
    The plugin-driven server agent for collecting & reporting metrics
    275
    319
    + 1
    16
    PROS OF TELEGRAF
    • 5
      One agent can work as multiple exporter with min hndlng
    • 5
      Cohesioned stack for monitoring
    • 2
      Open Source
    • 2
      Metrics
    • 1
      Supports custom plugins in any language
    • 1
      Many hundreds of plugins
    CONS OF TELEGRAF
      Be the first to leave a con

      related Telegraf posts

      Logstash logo

      Logstash

      11.2K
      8.6K
      103
      Collect, Parse, & Enrich Data
      11.2K
      8.6K
      + 1
      103
      PROS OF LOGSTASH
      • 69
        Free
      • 18
        Easy but powerful filtering
      • 12
        Scalable
      • 2
        Kibana provides machine learning based analytics to log
      • 1
        Great to meet GDPR goals
      • 1
        Well Documented
      CONS OF LOGSTASH
      • 4
        Memory-intensive
      • 1
        Documentation difficult to use

      related Logstash posts

      Tymoteusz Paul
      Devops guy at X20X Development LTD · | 23 upvotes · 8.3M views

      Often enough I have to explain my way of going about setting up a CI/CD pipeline with multiple deployment platforms. Since I am a bit tired of yapping the same every single time, I've decided to write it up and share with the world this way, and send people to read it instead ;). I will explain it on "live-example" of how the Rome got built, basing that current methodology exists only of readme.md and wishes of good luck (as it usually is ;)).

      It always starts with an app, whatever it may be and reading the readmes available while Vagrant and VirtualBox is installing and updating. Following that is the first hurdle to go over - convert all the instruction/scripts into Ansible playbook(s), and only stopping when doing a clear vagrant up or vagrant reload we will have a fully working environment. As our Vagrant environment is now functional, it's time to break it! This is the moment to look for how things can be done better (too rigid/too lose versioning? Sloppy environment setup?) and replace them with the right way to do stuff, one that won't bite us in the backside. This is the point, and the best opportunity, to upcycle the existing way of doing dev environment to produce a proper, production-grade product.

      I should probably digress here for a moment and explain why. I firmly believe that the way you deploy production is the same way you should deploy develop, shy of few debugging-friendly setting. This way you avoid the discrepancy between how production work vs how development works, which almost always causes major pains in the back of the neck, and with use of proper tools should mean no more work for the developers. That's why we start with Vagrant as developer boxes should be as easy as vagrant up, but the meat of our product lies in Ansible which will do meat of the work and can be applied to almost anything: AWS, bare metal, docker, LXC, in open net, behind vpn - you name it.

      We must also give proper consideration to monitoring and logging hoovering at this point. My generic answer here is to grab Elasticsearch, Kibana, and Logstash. While for different use cases there may be better solutions, this one is well battle-tested, performs reasonably and is very easy to scale both vertically (within some limits) and horizontally. Logstash rules are easy to write and are well supported in maintenance through Ansible, which as I've mentioned earlier, are at the very core of things, and creating triggers/reports and alerts based on Elastic and Kibana is generally a breeze, including some quite complex aggregations.

      If we are happy with the state of the Ansible it's time to move on and put all those roles and playbooks to work. Namely, we need something to manage our CI/CD pipelines. For me, the choice is obvious: TeamCity. It's modern, robust and unlike most of the light-weight alternatives, it's transparent. What I mean by that is that it doesn't tell you how to do things, doesn't limit your ways to deploy, or test, or package for that matter. Instead, it provides a developer-friendly and rich playground for your pipelines. You can do most the same with Jenkins, but it has a quite dated look and feel to it, while also missing some key functionality that must be brought in via plugins (like quality REST API which comes built-in with TeamCity). It also comes with all the common-handy plugins like Slack or Apache Maven integration.

      The exact flow between CI and CD varies too greatly from one application to another to describe, so I will outline a few rules that guide me in it: 1. Make build steps as small as possible. This way when something breaks, we know exactly where, without needing to dig and root around. 2. All security credentials besides development environment must be sources from individual Vault instances. Keys to those containers should exist only on the CI/CD box and accessible by a few people (the less the better). This is pretty self-explanatory, as anything besides dev may contain sensitive data and, at times, be public-facing. Because of that appropriate security must be present. TeamCity shines in this department with excellent secrets-management. 3. Every part of the build chain shall consume and produce artifacts. If it creates nothing, it likely shouldn't be its own build. This way if any issue shows up with any environment or version, all developer has to do it is grab appropriate artifacts to reproduce the issue locally. 4. Deployment builds should be directly tied to specific Git branches/tags. This enables much easier tracking of what caused an issue, including automated identifying and tagging the author (nothing like automated regression testing!).

      Speaking of deployments, I generally try to keep it simple but also with a close eye on the wallet. Because of that, I am more than happy with AWS or another cloud provider, but also constantly peeking at the loads and do we get the value of what we are paying for. Often enough the pattern of use is not constantly erratic, but rather has a firm baseline which could be migrated away from the cloud and into bare metal boxes. That is another part where this approach strongly triumphs over the common Docker and CircleCI setup, where you are very much tied in to use cloud providers and getting out is expensive. Here to embrace bare-metal hosting all you need is a help of some container-based self-hosting software, my personal preference is with Proxmox and LXC. Following that all you must write are ansible scripts to manage hardware of Proxmox, similar way as you do for Amazon EC2 (ansible supports both greatly) and you are good to go. One does not exclude another, quite the opposite, as they can live in great synergy and cut your costs dramatically (the heavier your base load, the bigger the savings) while providing production-grade resiliency.

      See more

      Hi everyone. I'm trying to create my personal syslog monitoring.

      1. To get the logs, I have uncertainty to choose the way: 1.1 Use Logstash like a TCP server. 1.2 Implement a Go TCP server.

      2. To store and plot data. 2.1 Use Elasticsearch tools. 2.2 Use InfluxDB and Grafana.

      I would like to know... Which is a cheaper and scalable solution?

      Or even if there is a better way to do it.

      See more
      Graphite logo

      Graphite

      390
      419
      42
      A highly scalable real-time graphing system
      390
      419
      + 1
      42
      PROS OF GRAPHITE
      • 16
        Render any graph
      • 9
        Great functions to apply on timeseries
      • 8
        Well supported integrations
      • 6
        Includes event tracking
      • 3
        Rolling aggregation makes storage managable
      CONS OF GRAPHITE
        Be the first to leave a con

        related Graphite posts

        Conor Myhrvold
        Tech Brand Mgr, Office of CTO at Uber · | 15 upvotes · 4.5M views

        Why we spent several years building an open source, large-scale metrics alerting system, M3, built for Prometheus:

        By late 2014, all services, infrastructure, and servers at Uber emitted metrics to a Graphite stack that stored them using the Whisper file format in a sharded Carbon cluster. We used Grafana for dashboarding and Nagios for alerting, issuing Graphite threshold checks via source-controlled scripts. While this worked for a while, expanding the Carbon cluster required a manual resharding process and, due to lack of replication, any single node’s disk failure caused permanent loss of its associated metrics. In short, this solution was not able to meet our needs as the company continued to grow.

        To ensure the scalability of Uber’s metrics backend, we decided to build out a system that provided fault tolerant metrics ingestion, storage, and querying as a managed platform...

        https://eng.uber.com/m3/

        (GitHub : https://github.com/m3db/m3)

        See more

        A huge part of our continuous deployment practices is to have granular alerting and monitoring across the platform. To do this, we run Sentry on-premise, inside our VPCs, for our event alerting, and we run an awesome observability and monitoring system consisting of StatsD, Graphite and Grafana. We have dashboards using this system to monitor our core subsystems so that we can know the health of any given subsystem at any moment. This system ties into our PagerDuty rotation, as well as alerts from some of our Amazon CloudWatch alarms (we’re looking to migrate all of these to our internal monitoring system soon).

        See more
        Datadog logo

        Datadog

        9.2K
        7.9K
        860
        Unify logs, metrics, and traces from across your distributed infrastructure.
        9.2K
        7.9K
        + 1
        860
        PROS OF DATADOG
        • 139
          Monitoring for many apps (databases, web servers, etc)
        • 107
          Easy setup
        • 87
          Powerful ui
        • 84
          Powerful integrations
        • 70
          Great value
        • 54
          Great visualization
        • 46
          Events + metrics = clarity
        • 41
          Notifications
        • 41
          Custom metrics
        • 39
          Flexibility
        • 19
          Free & paid plans
        • 16
          Great customer support
        • 15
          Makes my life easier
        • 10
          Adapts automatically as i scale up
        • 9
          Easy setup and plugins
        • 8
          Super easy and powerful
        • 7
          In-context collaboration
        • 7
          AWS support
        • 6
          Rich in features
        • 5
          Docker support
        • 4
          Cute logo
        • 4
          Source control and bug tracking
        • 4
          Monitor almost everything
        • 4
          Cost
        • 4
          Full visibility of applications
        • 4
          Simple, powerful, great for infra
        • 4
          Easy to Analyze
        • 4
          Best than others
        • 4
          Automation tools
        • 3
          Best in the field
        • 3
          Free setup
        • 3
          Good for Startups
        • 3
          Expensive
        • 2
          APM
        CONS OF DATADOG
        • 19
          Expensive
        • 4
          No errors exception tracking
        • 2
          External Network Goes Down You Wont Be Logging
        • 1
          Complicated

        related Datadog posts

        Noah Zoschke
        Engineering Manager at Segment · | 30 upvotes · 268.9K views

        We just launched the Segment Config API (try it out for yourself here) — a set of public REST APIs that enable you to manage your Segment configuration. Behind the scenes the Config API is built with Go , GRPC and Envoy.

        At Segment, we build new services in Go by default. The language is simple so new team members quickly ramp up on a codebase. The tool chain is fast so developers get immediate feedback when they break code, tests or integrations with other systems. The runtime is fast so it performs great at scale.

        For the newest round of APIs we adopted the GRPC service #framework.

        The Protocol Buffer service definition language makes it easy to design type-safe and consistent APIs, thanks to ecosystem tools like the Google API Design Guide for API standards, uber/prototool for formatting and linting .protos and lyft/protoc-gen-validate for defining field validations, and grpc-gateway for defining REST mapping.

        With a well designed .proto, its easy to generate a Go server interface and a TypeScript client, providing type-safe RPC between languages.

        For the API gateway and RPC we adopted the Envoy service proxy.

        The internet-facing segmentapis.com endpoint is an Envoy front proxy that rate-limits and authenticates every request. It then transcodes a #REST / #JSON request to an upstream GRPC request. The upstream GRPC servers are running an Envoy sidecar configured for Datadog stats.

        The result is API #security , #reliability and consistent #observability through Envoy configuration, not code.

        We experimented with Swagger service definitions, but the spec is sprawling and the generated clients and server stubs leave a lot to be desired. GRPC and .proto and the Go implementation feels better designed and implemented. Thanks to the GRPC tooling and ecosystem you can generate Swagger from .protos, but it’s effectively impossible to go the other way.

        See more
        Robert Zuber

        Our primary source of monitoring and alerting is Datadog. We’ve got prebuilt dashboards for every scenario and integration with PagerDuty to manage routing any alerts. We’ve definitely scaled past the point where managing dashboards is easy, but we haven’t had time to invest in using features like Anomaly Detection. We’ve started using Honeycomb for some targeted debugging of complex production issues and we are liking what we’ve seen. We capture any unhandled exceptions with Rollbar and, if we realize one will keep happening, we quickly convert the metrics to point back to Datadog, to keep Rollbar as clean as possible.

        We use Segment to consolidate all of our trackers, the most important of which goes to Amplitude to analyze user patterns. However, if we need a more consolidated view, we push all of our data to our own data warehouse running PostgreSQL; this is available for analytics and dashboard creation through Looker.

        See more
        Fluentd logo

        Fluentd

        598
        687
        37
        Unified logging layer
        598
        687
        + 1
        37
        PROS OF FLUENTD
        • 11
          Open-source
        • 9
          Great for Kubernetes node container log forwarding
        • 9
          Lightweight
        • 8
          Easy
        CONS OF FLUENTD
          Be the first to leave a con

          related Fluentd posts