grabana
grabana copied to clipboard
Any example of querying InfluxDB (InfluxQL)?
Hi, I'm trying to query an influxdb datasource with some specific parameters in the targets.
I'm always getting a 500 error. The main difference between using Grabana and other libraries like grafanalib of grafonnet is that at least I need to set up in the target at least 2 parameters (query, and rawQuery)
For instance:
query: 'SELECT value FROM autogen.cpu_idle WHERE value::field > 1 GROUP BY hostName::tag ORDER BY time ASC',
rawQuery: true,
Do you have a working example of using influxdb as a datasource (InfluxQL) in the dashboard YAML definitions? @K-Phoen this is a really nice project!
Thanks!