docs: updating install granafa section for OSS v2
parent
18667b6336
commit
b9c3a7979c
|
|
@ -5,20 +5,18 @@ to visualize data from your **InfluxDB {{< current-version >}}** instance.
|
|||
The instructions in this guide require **Grafana Cloud** or **Grafana 10.3+**.
|
||||
{{% /note %}}
|
||||
|
||||
1. {{% show-in "cloud,cloud-serverless" %}}[Log into InfluxDB Cloud](https://cloud2.influxdata.com).{{% /show-in %}}
|
||||
{{% show-in "v2" %}}[Start InfluxDB](/influxdb/version/install/#configure-and-start-influxdb).{{% /show-in %}}
|
||||
2. [Sign up for Grafana Cloud](https://grafana.com/products/cloud/) or
|
||||
[download and install Grafana](https://grafana.com/grafana/download).
|
||||
3. Visit your **Grafana Cloud user interface** (UI) or, if running Grafana locally,
|
||||
[start Grafana](https://grafana.com/docs/grafana/latest/installation/) and visit
|
||||
<http://localhost:3000> in your browser.
|
||||
4. In the left navigation of the Grafana UI, open the **Connections** section
|
||||
and select **Add new connection**.
|
||||
5. Select **InfluxDB** from the list of available data sources and click
|
||||
**Add new data source**.
|
||||
6. On the **Data Source configuration page**, enter a **name** for your InfluxDB data source.
|
||||
7. In the **Query Language** drop-down menu, select one of the query languages
|
||||
supported by InfluxDB {{< current-version >}} (Flux or InfluxQL):
|
||||
- [Install Grafana](#install-grafana)
|
||||
- [Create an InfluxDB data source](#create-an-influxdb-data-source)
|
||||
- [Query and visualize data](#query-and-visualize-data)
|
||||
|
||||
## Install Grafana
|
||||
|
||||
1. [Start InfluxDB OSS 2.x](/influxdb/v2/install/#configure-and-start-influxdb).
|
||||
2. [Sign up for Grafana Cloud](https://grafana.com/products/cloud/) or
|
||||
[download and install Grafana](https://grafana.com/grafana/download).
|
||||
3. Visit your **Grafana Cloud user interface** (UI) or, if running Grafana locally,
|
||||
[start Grafana](https://grafana.com/docs/grafana/latest/installation/) and visit
|
||||
<http://localhost:3000> in your browser.
|
||||
|
||||
{{% note %}}
|
||||
SQL is only supported in InfluxDB 3.
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ When you select **SQL** as the query language, configure the following:
|
|||
When you select **InfluxQL** as the query language, configure the following:
|
||||
|
||||
- **Database**: Your [database](/influxdb3/version/admin/databases/) name
|
||||
- **User**: An arbitrary string. This field is required but the value is ignored by {{% product-name %}}.
|
||||
- **User**: Enter a username.
|
||||
- **Password**: A [database token](/influxdb3/version/admin/tokens/#database-tokens) with read access to the database
|
||||
- **HTTP Method**: Select **POST** (recommended) or **GET**
|
||||
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ When you select **InfluxQL** as the query language, configure the following fiel
|
|||
|
||||
- **Database**: {{% show-in "cloud-serverless" %}}The database name mapped to your InfluxDB bucket.{{% /show-in %}}{{% hide-in "cloud-serverless" %}}Your [database](/influxdb3/version/admin/databases/) name.{{% /hide-in %}}
|
||||
|
||||
- **User**: An arbitrary string. This field is required but the value is ignored by {{% product-name %}}.
|
||||
- **User**: Enter a username.
|
||||
|
||||
- **Password**: {{% show-in "cloud-serverless" %}}Your [API token](/influxdb3/version/admin/tokens/) with read access to the bucket.{{% /show-in %}}{{% hide-in "cloud-serverless" %}}Your [database token](/influxdb3/version/admin/tokens/#database-tokens) with read access to the database.{{% /hide-in %}}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue