A tiny and very limited python client to send metrics to telegraf through an unix socket
from telegraf_unixsocket_client import TelegrafUnixSocketClient
client = TelegrafUnixSocketClient("/tmp/telegraf.socket")
client.connect()
client.send_measurement("foo", {"field1": 1.23, "field2": 4.56})
client.close()
This repository includes some MIT licensed code about influxdb line protocol borrowed from the influxdb-python project.