Hey,
I've found that assigning DateTime.Now to info.Timestamp the field.Value is not getting written to InfluxDB2.0 using the v1 compatibility API. (Only tagKeyValue-Pairs and fieldKey appears in InfluxDB)
When I do not assign the TimeStamp, then the value of the field is beeing written.
Hey, I've found that assigning DateTime.Now to info.Timestamp the field.Value is not getting written to InfluxDB2.0 using the v1 compatibility API. (Only tagKeyValue-Pairs and fieldKey appears in InfluxDB) When I do not assign the TimeStamp, then the value of the field is beeing written.
Debug log of InfluxDB2.0 for writing:
2021-09-22T20:30:45.520092Z debug Request {"log_id": "0Wko35_G000", "service": "http", "method": "POST", "host": "localhost:8086", "path": "/write", "query": "consistency=all&db=myDatabaseName&precision=ns", "proto": "HTTP/1.1", "status_code": 204, "response_size": 0, "content_length": 38, "referrer": "", "remote": "[::1]:61889", "user_agent": "unknown", "took": "50.035ms"}
My problematic #code: