Skip to content

Commit 4e84819

Browse files
committed
fix(products): Match when extracting product name from the URL. Add more custom AI example questions.
1 parent dd7dc94 commit 4e84819

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

assets/js/page-context.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function getCurrentProductData() {
1818
{ pattern: /\/kapacitor\//, product: products.kapacitor, urls: influxdb_urls.oss },
1919
{ pattern: /\/telegraf\//, product: products.telegraf, urls: influxdb_urls.oss },
2020
{ pattern: /\/chronograf\//, product: products.chronograf, urls: influxdb_urls.oss },
21+
{ pattern: /\/flux\//, product: products.flux, urls: influxdb_urls.oss },
2122
];
2223

2324
for (const { pattern, product, urls } of mappings) {

data/products.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ chronograf:
129129
latest: v1.10
130130
latest_patches:
131131
v1: 1.10.6
132+
ai_sample_questions:
133+
- How do I configure Chronograf for InfluxDB v1?
134+
- How do I create a dashboard in Chronograf?
135+
- How do I use Grafana to visualize data stored in InfluxDB 3?
132136

133137
kapacitor:
134138
name: Kapacitor
@@ -139,6 +143,10 @@ kapacitor:
139143
latest: v1.7
140144
latest_patches:
141145
v1: 1.7.6
146+
ai_sample_questions:
147+
- How do I configure Kapacitor for InfluxDB v1?
148+
- How do I write a custom Kapacitor task?
149+
- How do I create tasks using InfluxDB 3 Core?
142150

143151
enterprise_influxdb:
144152
name: "InfluxDB Enterprise"
@@ -161,3 +169,7 @@ flux:
161169
list_order: 8
162170
versions: [v0]
163171
latest: v0.x
172+
ai_sample_questions:
173+
- How do I write a Flux query for InfluxDB v2 (TSM)?
174+
- How do I use Flux to transform data stored in InfluxDB v2?
175+
- How do I query data stored in InfluxDB 3?

0 commit comments

Comments
 (0)