-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
InfluxDB-Python client not working for Telegraf v1.3.2 #2948
Comments
What is in test.py? Can you also add the relevant part of your Telegraf config? |
Here is the content of that script.
|
The format of the data is different...you'll need to change your json_body to the following:
|
I think this is actually a bug in http_listener when no timestamp is specified. |
danielnelson
added
bug
unexpected problem or unintended behavior
and removed
need more info
labels
Jun 22, 2017
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OS: RedHat 7.2
Python: 2.7.5
InfluxDB-Python: v4.1.1 (https://github.com/influxdata/influxdb-python)
Telegraf: 1.3.2
Basically this is script that send a datapoint using the influxdb-python client to Telegraf port 8186 (HTTP)
[root@ip-***** ~]# ./test.py
InfluxDBClientError = 400: {"error":"http: bad request"}
When testing using the same script sending to Telegraf v1.2.1, it works fine without any error.
The text was updated successfully, but these errors were encountered: