Skip to content

robinhood/tsd-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Various helper scripts in our OpenTSDB pipeline.

  • kafka_dumper.py: Takes the incoming metric stream (stdin) and pushes the metrics into a kafka cluster. The script hard-codes the topic to metrics and find the brokers using the ZNode passed as the first argument.

  • tcollector_sink.py: We use Statsite locally on every box to collect statsd metrics. We also have a tcollector running on every machine in our infrastructure. This helper dumps the statsd metrics from statsite into the local tcollector's UDP listener.

  • opentsdb_trimmer.py: We currently don't salt metrics when we store them in HBase. For such setups, this script uses the HBase Thrift interface to clean up metrics older than some (configurable) timestamp. This timestamp is passed as an unix epoch time to the trimmer.

About

OpenTSDB helpers

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages