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
Metadata
Release files for txtelegraf 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| txtelegraf-0.2.0.tar.gz | 5.1 kB | Details |
Release files / txtelegraf-0.2.0.tar.gz
| Download URL | txtelegraf-0.2.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4b846683032fd0d832e013c8d018ea3dcc3a98870cad5857b6d5ae5364c1f86
|
|
BLAKE2b-256 checksum How to use checksums |
becb45f49178188e4ecfe8c0d80a1e397d913c8c35c2972255ef367b7dadb278
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |