A TCP/UDP Telegraf/InfluxDB client for Twisted.
Project description
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 [[inputs.tcp_listener]] service_address = ":8094" allowed_pending_messages = 10000 max_tcp_connections = 250 data_format = "influx" # Generic UDP listener [[inputs.udp_listener]] service_address = ":8092" allowed_pending_messages = 10000 data_format = "influx" # This output is good for testing. Point it at Influx DB otherwise! [[outputs.file]] files = ["stdout", "metrics.out"] data_format = "influx"
Run telegraf
telegraf -config telegraf.conf
Clone the repo and run the example
git clone https://github.com/offero/txtelegraf.git cd txtelegraf pip install . python examples/client.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file txtelegraf-0.3.0.tar.gz.
File metadata
- Download URL: txtelegraf-0.3.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b94674b65e5a73c761a8cafb983516a108ccd23bd108a1dffdffb979362eace9
|
|
| MD5 |
86b9ae21ad420389ec841a13a86988f9
|
|
| BLAKE2b-256 |
da934ffd80c0aeab25e138b70db69e0fcc92477b05fcfacbef6da53895f495c1
|
File details
Details for the file txtelegraf-0.3.0-py3-none-any.whl.
File metadata
- Download URL: txtelegraf-0.3.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2e44b1033caab4cb2502ef88c5b32e29463ec491cee2b23db6d5ee374734f13
|
|
| MD5 |
151954449d0edd02f060dae61afc0beb
|
|
| BLAKE2b-256 |
f9a635030c90af7e6604eeb3dd6122d3159882a9a7d8a4055ae0e497088a04e2
|