robinhood / tsd-helpers

OpenTSDB helpers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:GNU Lesser General Public License v3.0


Languages

Language:Python 100.0%