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

Graphite

365
368
+ 1
39
StatsD

262
256
+ 1
31
Add tool

Graphite vs StatsD: What are the differences?

Developers describe Graphite as "A highly scalable real-time graphing system". Graphite does two things: 1) Store numeric time-series data and 2) Render graphs of this data on demand. On the other hand, StatsD is detailed as "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).

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

Some of the features offered by Graphite are:

  • carbon - a Twisted daemon that listens for time-series data
  • whisper - a simple database library for storing time-series data (similar in design to RRD)
  • graphite webapp - A Django webapp that renders graphs on-demand using Cairo

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.

"Render any graph" is the primary reason why developers consider Graphite over the competitors, whereas "Single responsibility" was stated as the key factor in picking StatsD.

Graphite and StatsD are both open source tools. StatsD with 14.2K GitHub stars and 1.83K forks on GitHub appears to be more popular than Graphite with 4.59K GitHub stars and 1.2K GitHub forks.

Uber Technologies, Twilio SendGrid, and Shutterstock are some of the popular companies that use Graphite, whereas StatsD is used by Lyft, Kickstarter, and Sauce Labs. Graphite has a broader approval, being mentioned in 97 company stacks & 21 developers stacks; compared to StatsD, which is listed in 72 company stacks and 16 developer stacks.

Advice on Graphite and StatsD
Susmita Meher
Senior SRE at African Bank | 4 upvotes 路 397.8K views
Needs advice
on
PrometheusPrometheusGraphiteGraphite
and
GrafanaGrafana

Looking for a tool which can be used for mainly dashboard purposes, but here are the main requirements:

  • Must be able to get custom data from AS400,
  • Able to display automation test results,
  • System monitoring / Nginx API,
  • Able to get data from 3rd parties DB.

Grafana is almost solving all the problems, except AS400 and no database to get automation test results.

See more
Replies (1)
Sakti Behera
Technical Specialist, Software Engineering at AT&T | 3 upvotes 路 195.7K views

You can look out for Prometheus Instrumentation (https://prometheus.io/docs/practices/instrumentation/) Client Library available in various languages https://prometheus.io/docs/instrumenting/clientlibs/ to create the custom metric you need for AS4000 and then Grafana can query the newly instrumented metric to show on the dashboard.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Graphite
Pros of StatsD
  • 16
    Render any graph
  • 9
    Great functions to apply on timeseries
  • 7
    Well supported integrations
  • 5
    Includes event tracking
  • 2
    Rolling aggregation makes storage managable
  • 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 Graphite
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

    What is Graphite?

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

    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 Graphite?
    What companies use StatsD?
    See which teams inside your own company are using Graphite or StatsD.
    Sign up for Private StackShareLearn More

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

    What tools integrate with Graphite?
    What tools integrate with StatsD?

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

    Blog Posts

    Jun 26 2018 at 3:26AM

    Twilio SendGrid

    GitHubDockerKafka+10
    11
    9293
    JavaScriptGitHubNode.js+29
    15
    11507
    GitHubPythonReact+42
    47
    39386
    GitHubSlackNGINX+15
    28
    20106
    JavaScriptGitHubPython+42
    52
    19895
    What are some alternatives to Graphite and StatsD?
    Grafana
    Grafana is a general purpose dashboard and graph composer. It's focused on providing rich ways to visualize time series metrics, mainly though graphs but supports other ways to visualize data through a pluggable panel architecture. It currently has rich support for for Graphite, InfluxDB and OpenTSDB. But supports other data sources via plugins.
    Graphene
    Graphene is a Python library for building GraphQL schemas/types fast and easily.
    Pencil
    A web application microframework for Rust
    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.
    Kibana
    Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elasticsearch.
    See all alternatives