INFLUXDB.FETCH
The INFLUXDB.FETCH
function fetches time series from an InfluxDB instance and produces Geo Time Series which can then be manipulated just as if they had been retrieved from a Warp 10 instance.
The resulting GTS will be named measurement.field
and will have their labels populated with the tags stored in InfluxDB.
The parameter map must contain the following entries:
Key | Description |
---|---|
url | URL of the InfluxDB endpoint to use. |
db | Name of the InfluxDB database to access. |
user | User used for authentification. |
password | Password associated with user . |
influxql | InfluxQL queries, separated by semi-colons. Queries should contain a GROUP BY clause otherwise tags will be interpreted as fields and produce GTS of their own. |
readTimeout | Read timeout used to execute read InfluxDB queries (in milliseconds). Optional - Default value from OkHttp lib. |
writeTimeout | Write timeout used to execute write InfluxDB queries (in milliseconds). Optional - Default value from OkHttp lib. |