Personal tools
Skip to content. | Skip to navigation
This plugin can send data to OpenTSDB.
Grafana is an open source, feature rich metrics dashboard and graph editor for Graphite, InfluxDB & OpenTSDB. Features Graphite Target Editor Graphite target expression parser Feature rich query composer Quickly add and edit functions & parameters Templated queries See it in action Graphing Fast rendering, even over large timespans Click and drag to zoom Multiple Y-axis, logarithmic scales Bars, Lines, Points Smart Y-axis formating Series toggles & color selector Legend values, and formatting options Grid thresholds, axis labels Annotations Any panel can be rendered to PNG (server side using phantomjs) Dashboards Create, edit, save & search dashboards Change column spans and row heights Drag and drop panels to rearrange Templating Scripted dashboards Dashboard playlists Time range controls Share snapshots publicly InfluxDB Use InfluxDB as a metric data source, annotation source Query editor with series and column typeahead, easy group by and function selection OpenTSDB Use as metric data source Query editor with metric name typeahead and tag filtering
OpenTSDB is a distributed, scalable Time Series Database (TSDB) written on top of HBase. OpenTSDB was written to address a common need: store, index and serve metrics collected from computer systems (network gear, operating systems, applications) at a large scale, and make this data easily accessible and graphable. Thanks to HBase's scalability, OpenTSDB allows you to collect many thousands of metrics from thousands of hosts and applications, at a high rate (every few seconds). OpenTSDB will never delete or downsample data and can easily store billions of data points.
Python client to OpenTSDB This was designed with a long running parent program in mind, where sending metrics was something that happens on the side. Implemented such that sending the metric "put" message to the Time Series Database API does not block the calling application. This is achieved by creating a background worker thread which takes metrics off the Queue, then sending them on a TCP socket to HOST. The client.log method simply sets up and puts the metric on the Queue, then returns. When the client object is instantiated, a temporary socket is created to the target HOST, PORT combination to check for connectivity. This may fail with a timeout error. However if the background thread encounters socket communication problems like timeout further down the line (in the sending metrics loop) then it will silenty keep trying to reconnect forever. Keep in mind that if you send a bunch of metrics through .log then immediately quit, the background thread will also terminate, without having had enough time to send your metrics properly. Rate limiting for sending metrics over TCP is by default set to 100 Metrics Per Second. This can be overwritten upon instantiation.
This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program.