Need advice about which tool to choose?Ask the StackShare community!

collectd

96
153
+ 1
5
StatsD

1.2K
286
+ 1
31
Add tool

collectd vs StatsD: What are the differences?

collectd: System and applications metrics collector. 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; StatsD: Simple daemon for easy stats aggregation. StatsD is a front-end proxy for the Graphite/Carbon metrics server, originally written by Etsy's Erik Kastner. StatsD is a network daemon that runs on the Node.js platform and listens for statistics, like counters and timers, sent over UDP and sends aggregates to one or more pluggable backend services (e.g., Graphite).

collectd and StatsD can be categorized as "Monitoring" tools.

Some of the features offered by collectd are:

  • fast
  • simple
  • integrated

On the other hand, StatsD provides the following key features:

  • buckets: Each stat is in its own "bucket". They are not predefined anywhere. Buckets can be named anything that will translate to Graphite (periods make folders, etc)
  • values: Each stat will have a value. How it is interpreted depends on modifiers. In general values should be integer.
  • flush: After the flush interval timeout (defined by config.flushInterval, default 10 seconds), stats are aggregated and sent to an upstream backend service.

collectd and StatsD are both open source tools. It seems that StatsD with 14.2K GitHub stars and 1.83K forks on GitHub has more adoption than collectd with 2.26K GitHub stars and 1.08K GitHub forks.

Decisions about collectd and StatsD
Leonardo Henrique da Paixão
Student, Trainee QA Tester at SolarView Business · | 15 upvotes · 326.4K views

The objective of this work was to develop a system to monitor the materials of a production line using IoT technology. Currently, the process of monitoring and replacing parts depends on manual services. For this, load cells, microcontroller, Broker MQTT, Telegraf, InfluxDB, and Grafana were used. It was implemented in a workflow that had the function of collecting sensor data, storing it in a database, and visualizing it in the form of weight and quantity. With these developed solutions, he hopes to contribute to the logistics area, in the replacement and control of materials.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of collectd
Pros of StatsD
  • 2
    Open Source
  • 2
    Modular, plugins
  • 1
    KISS
  • 9
    Open source
  • 7
    Single responsibility
  • 5
    Efficient wire format
  • 3
    Loads of integrations
  • 3
    Handles aggregation
  • 1
    Many implementations
  • 1
    Scales well
  • 1
    Simple to use
  • 1
    NodeJS

Sign up to add or upvote prosMake informed product decisions

Cons of collectd
Cons of StatsD
    Be the first to leave a con
    • 1
      No authentication; cannot be used over Internet

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is 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.

    What is StatsD?

    It is a network daemon that runs on the Node.js platform and listens for statistics, like counters and timers, sent over UDP or TCP and sends aggregates to one or more pluggable backend services (e.g., Graphite).

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use collectd?
    What companies use StatsD?
    See which teams inside your own company are using collectd or StatsD.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with collectd?
    What tools integrate with StatsD?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    JavaScriptGitHubNode.js+29
    14
    13235
    GitHubPythonReact+42
    49
    40500
    GitHubSlackNGINX+15
    28
    20787
    JavaScriptGitHubPython+42
    53
    21343
    What are some alternatives to collectd and StatsD?
    Nagios
    Nagios is a host/service/network monitoring program written in C and released under the GNU General Public License.
    Ganglia
    It is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids. It is based on a hierarchical design targeted at federations of clusters.
    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.
    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.
    Munin
    Munin is a networked resource monitoring tool that can help analyze resource trends and "what just happened to kill our performance?" problems. It is designed to be very plug and play. A default installation provides a lot of graphs with almost no work.
    See all alternatives