Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON format support #17

Open
guanucoluis opened this issue Jun 10, 2021 · 0 comments
Open

JSON format support #17

guanucoluis opened this issue Jun 10, 2021 · 0 comments

Comments

@guanucoluis
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant