I’m using Flux within the C# client.
I’m trying to query on a single time point but cannot get it to work. There’s a lot of data involved so I need to keep the range to a single time point if possible
Let’s say I have an absolute time
myTimeStamp = 2024-09-12T20:01:13Z
This will work but the query takes too long and is canceled by the system:
…+ $" |> range(start: {myTimeStamp}, stop: now())" + …
This generates an error because it’s not seen as a range:
…+ $" |> range(start: {myTimeStamp}, stop: {myTimeStamp})" + …
Adding a r._time condition to the filter returns an empty result because that equality is always false it seems:
…+ $" |> range(start: {myTimeStamp}, stop: now())" + …
…+ $" filter(fn: (r) => … r._time == {myTimeStamp} …)" + …
Obtaining the timestamps as a string and using time(v: timeStampString) produces the same results.
What can I do to query a single time point?
Thanks.