Skip to main content

A TCP/UDP Telegraf/InfluxDB client for Twisted.

Project description


A TCP/UDP Telegraf/InfluxDB client for Twisted using the Influx Line Format.

Tested with Telegraf 1.0.1 and Twisted 15.1.0 on Python 2.7.10.

Please let me know success/failures testing with other versions of Telegraf/Influx, Twisted, and Python.

How To

Add the following to your Telegraf config.

# Generic TCP listener
service_address = ":8094"
allowed_pending_messages = 10000
max_tcp_connections = 250
data_format = "influx"

# Generic UDP listener
service_address = ":8092"
allowed_pending_messages = 10000
data_format = "influx"

# This output is good for testing. Point it at Influx DB otherwise!
files = ["stdout", "metrics.out"]
data_format = "influx"

Run telegraf

telegraf -config telegraf.conf

Clone the repo and run the example

git clone
cd txtelegraf
pip install .
python examples/

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
txtelegraf-0.2.2.tar.gz (5.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page