Skip to content

Commit ee9ba66

Browse files
authored
Update Grafana token instructions for Core and Entperprise (#5910)
* update core and enterprise grafana token instructions, closes influxdata/DAR#491 * updated md to pass lint
1 parent 1ac88a6 commit ee9ba66

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

content/shared/influxdb3-visualize/grafana.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,13 @@ When creating an InfluxDB data source that uses SQL to query data:
6868
2. Under **InfluxDB Details**:
6969
7070
- **Database**: Provide a default database name to query.
71-
- **Token**: Provide an arbitrary string.
71+
- **Token**: Provide an arbitrary, non-empty string.
7272
7373
> [!Note]
7474
> While in beta, {{< product-name >}} does not require an authorization token.
75+
> However, if you included a `--token` option or defined the
76+
> `INFLUXDB3_AUTH_TOKEN` environment variable when starting your
77+
> {{< product-name >}} server, provide that token.
7578
7679
- **Insecure Connection**: If _not_ using HTTPS, enable this option.
7780
@@ -107,8 +110,8 @@ When creating an InfluxDB data source that uses InfluxQL to query data:
107110
108111
- **HTTP Method**: Choose one of the available HTTP request methods to use when querying data:
109112
110-
- **POST** ({{< req text="Recommended" >}})
111-
- **GET**
113+
- **POST** ({{< req text="Recommended" >}})
114+
- **GET**
112115
113116
3. Click **Save & test**.
114117
@@ -135,9 +138,10 @@ use Grafana to build, run, and inspect queries against {{< product-name >}}.
135138
> {{% sql/sql-schema-intro %}}
136139
> To learn more, see [Query Data](/influxdb3/version/query-data/sql/).
137140
138-
1. Click **Explore**.
139-
2. In the dropdown, select the saved InfluxDB data source to query.
140-
3. Use the SQL query form to build your query:
141+
1. Click **Explore**.
142+
2. In the dropdown, select the saved InfluxDB data source to query.
143+
3. Use the SQL query form to build your query:
144+
141145
- **Table**: Select the measurement to query.
142146
- **Column**: Select one or more fields and tags to return as columns in query results.
143147
@@ -161,7 +165,8 @@ use Grafana to build, run, and inspect queries against {{< product-name >}}.
161165
You can sort by time and multiple fields or tags.
162166
To sort in descending order, select **DESC**.
163167
164-
4. {{< req text="Recommended" color="green" >}}: Change format to **Time series**.
168+
4. {{< req text="Recommended" color="green" >}}: Change format to **Time series**.
169+
165170
- Use the **Format** dropdown to change the format of the query results.
166171
For example, to visualize the query results as a time series, select **Time series**.
167172
@@ -172,9 +177,10 @@ use Grafana to build, run, and inspect queries against {{< product-name >}}.
172177
{{% tab-content %}}
173178
<!------------------------------- BEGIN INFLUXQL ------------------------------>
174179
175-
1. Click **Explore**.
176-
2. In the dropdown, select the **InfluxDB** data source that you want to query.
177-
3. Use the InfluxQL query form to build your query:
180+
1. Click **Explore**.
181+
2. In the dropdown, select the **InfluxDB** data source that you want to query.
182+
3. Use the InfluxQL query form to build your query:
183+
178184
- **FROM**: Select the measurement that you want to query.
179185
- **WHERE**: To filter the query results, enter a conditional expression.
180186
- **SELECT**: Select fields to query and an aggregate function to apply to each.
@@ -183,6 +189,7 @@ use Grafana to build, run, and inspect queries against {{< product-name >}}.
183189
- **GROUP BY**: By default, Grafana groups data by time to downsample results
184190
and improve query performance.
185191
You can also add other tags to group by.
192+
186193
4. Click **Run query** to execute the query.
187194
188195
<!-------------------------------- END INFLUXQL ------------------------------->

0 commit comments

Comments
 (0)