Skip to content

Any example of querying InfluxDB (InfluxQL)? #251

@ccamacho

Description

@ccamacho

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions