https://github.com/robinhood/tsd-helpers
OpenTSDB helpers
https://github.com/robinhood/tsd-helpers
Last synced: 8 months ago
JSON representation
OpenTSDB helpers
- Host: GitHub
- URL: https://github.com/robinhood/tsd-helpers
- Owner: robinhood
- License: lgpl-3.0
- Created: 2017-03-29T18:25:54.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-30T22:29:02.000Z (almost 9 years ago)
- Last Synced: 2025-04-09T15:51:42.851Z (9 months ago)
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 9
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# 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](https://github.com/statsite/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.