I’m trying to import a package within the Flux plugin on chronograf.
Actually, I’m just interested in using “date” package.
For that, I put the following statement at the beginning of the query:
However, an error occurs when running the query saying the import path “date” is unknown.
The same happens for the “math” package.
What is even stranger is the fact to be able to use math directly without import.
But this doesn’t hold for “date” package…
I failed to find any information about this behavior on internet.