Grafana 7.4.5 datasource configuration InfluxQL for InfluxDB 2.x

What happened:
InfluxDB v2 OSS now supports both Flux and InfluxQL.
However, selecting InfluxQL in the datasource configuration does not allow specifying token, organization and bucket for InfluxDB v2.
Instead, it only gives parameters to connect to InfluxDB 1.x (database, user, password).

What you expected to happen:
Token, organization and bucket for InfluxDB v2 configurable when selecting InfluxQL.

How to reproduce it (as minimally and precisely as possible):
User scenario: you have InfluxDB 2.0 and want to use InfluxQL as query language instead of Flux.

Create a new datasource, select InfluxQL:
image

Gives you:
image

But for InfluxDB v2 you want the following parameters:
image

Anything else we need to know?:

Environment:

  • Grafana version: 7.4.5
  • Data source type & version: InfluxDB 2.0.4
  • OS Grafana is installed on: official docker image (latest (7.4.5))
  • User OS & Browser: Windows 10 & Brave
  • Grafana plugins: grafana-clock-panel,grafana-simple-json-datasource,grafana-piechart-panel,grafana-worldmap-panel
  • Others:

1 possible answer(s) on “Grafana 7.4.5 datasource configuration InfluxQL for InfluxDB 2.x