Commit f7f30b5
Shan Desai
Refactor
- `time` key should be within each datapoint
- This PR addresses influxdata#788 regarding the structure of the data when
inserting via UDP.
- The original documentation contributed by me took the structure of
the `tutorial.py` as base. However, upon testing, the timestamp in the
example are not written (2020 is written as opposed to 2009).
- Tested for `influxdb-python` v5.2.3 and InfluxDB v1.6.1tutorial_udp example for timestamps (influxdata#808)1 parent 351b98a commit f7f30b5
1 file changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments