Skip to content

A tiny and very limited python client to send metrics to telegraf through an unix socket

License

Notifications You must be signed in to change notification settings

metwork-framework/telegraf-unixsocket-python-client

Repository files navigation

telegraf-unixsocket-python-client

Status

GitHub CI License

What is it ?

A tiny and very limited python client to send metrics to telegraf through an unix socket

Example

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()

Notes

This repository includes some MIT licensed code about influxdb line protocol borrowed from the influxdb-python project.

About

A tiny and very limited python client to send metrics to telegraf through an unix socket

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages