Need advice about which tool to choose?Ask the StackShare community!
Sensu vs StatsD: What are the differences?
What is Sensu? Open source monitoring framework. A monitoring framework that aims to be simple, malleable, and scalable. Essentially, Sensu takes the results of “check” scripts run across many systems, and if certain conditions are met; passes their information to one or more “handlers”. Checks are used, for example, to determine if a service like Apache is up or down.
What is 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).
Sensu and StatsD belong to "Monitoring Tools" category of the tech stack.
Some of the features offered by Sensu are:
- Execute service checks
- Send notifications
- Collect metrics
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.
"Support for almost anything" is the top reason why over 11 developers like Sensu, while over 6 developers mention "Single responsibility" as the leading cause for choosing StatsD.
Sensu 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 Sensu with 2.96K GitHub stars and 389 GitHub forks.
Lyft, Kickstarter, and Sauce Labs are some of the popular companies that use StatsD, whereas Sensu is used by Twilio SendGrid, Airbrake, and SimpleCrypto. StatsD has a broader approval, being mentioned in 72 company stacks & 16 developers stacks; compared to Sensu, which is listed in 33 company stacks and 7 developer stacks.
Pros of Sensu
- Support for almost anything13
- Easy setup11
- Message routing9
- Devs can code their own checks7
- Ease of use5
- Price4
- Nagios plugin compatibility3
- Easy configuration, scales well and performance is good3
- Written in Go1
Pros of StatsD
- Open source9
- Single responsibility7
- Efficient wire format5
- Handles aggregation3
- Loads of integrations3
- Many implementations1
- Scales well1
- Simple to use1
- NodeJS1
Sign up to add or upvote prosMake informed product decisions
Cons of Sensu
- Plugins1
- Written in Go1
Cons of StatsD
- No authentication; cannot be used over Internet1