InfluxDB.Client.Net
InfluxDB.Client.Net copied to clipboard
I'm facing error when trying to send an InfluxDB float field.
I'm facing this error when trying to send an InfluxDB float field.. "only invariant culture is supported in invariant mode of globalization"
In a quick google I found this link talking about the problem, occurring recently with .NET6 https://docs.microsoft.com/en-us/dotnet/core/compatibility/globalization/6.0/culture-creation-invariant-mode
Reviewing the code it's 3 point where it uses "en-US" to get CultureInfo and parse float/double data to string. If we use InvariantCulture to solve this problem. It's possible?
Version Lib: 0.25.0
hi @viictoorantonio sorry, missed this in the feed. that "en-US" came because InfluxDB expects floating point in the line protocol to be a .
. do you have a sample data that is giving you this problem? can you create a testcase for me recreate the issue?