pytelegraf icon indicating copy to clipboard operation
pytelegraf copied to clipboard

JSON format support

Open guanucoluis opened this issue 4 years ago • 0 comments

I'm using pytelegraf library but I want to send JSON format to telegraf agent. Is possible to support it? I think the command could be this:

client.metric("IMU_Acel",{"x": imu.get_x, "y": imu.get_y(), "z": imu.get_z()}, tags={'server_name': 'my-server'}, "timestamp"= 1458229140))

guanucoluis avatar Jun 10 '21 15:06 guanucoluis