Merge branch 'update-grafana-screenshots' of github.com:influxdata/docs-v2 into update-grafana-screenshots
commit
12b0b423a5
|
|
@ -232,7 +232,7 @@ When you select **InfluxQL** as the query language, configure the following fiel
|
|||
{{% show-in "cloud-serverless" %}}{{< img-hd src="/img/grafana/influxdb3-cloud-serverless-grafana-influxql.png" alt="InfluxQL configuration for {{% product-name %}} with DBRP warning" />}}{{% /show-in %}}
|
||||
{{% show-in "cloud-dedicated" %}}{{< img-hd src="/img/grafana/influxdb3-cloud-dedicated-grafana-influxql.png" alt="InfluxQL configuration for {{% product-name %}} with DBRP warning" />}}{{% /show-in %}}
|
||||
{{% show-in "clustered" %}}{{< img-hd src="/img/grafana/influxdb3-clustered-grafana-influxql.png" alt="InfluxQL configuration for {{% product-name %}} with DBRP warning" />}}{{% /show-in %}}
|
||||
{{% show-in "core" %}}{{< img-hd src="/img/grafana/influxdb3-core-grafana-influxql.png" alt="SQL configuration for {{% product-name %}}" />}}{{% /show-in %}}
|
||||
{{% show-in "core" %}}{{< img-hd src="/img/grafana/influxdb3-core-grafana-influxql.png" alt="InfluxQL configuration for {{% product-name %}}" />}}{{% /show-in %}}
|
||||
{{% show-in "enterprise" %}}{{< img-hd src="/img/grafana/influxdb3-enterprise-grafana-influxql.png" alt="InfluxQL configuration for {{% product-name %}} with DBRP warning" />}}{{% /show-in %}}
|
||||
|
||||
Click **Save & test**. Grafana attempts to connect to {{% product-name %}} and returns the result of the test.
|
||||
|
|
|
|||
|
|
@ -84,11 +84,15 @@ exports.handler = (event, context, callback) => {
|
|||
'.txt': true,
|
||||
'.woff': true,
|
||||
'.woff2': true,
|
||||
'.xml': true,
|
||||
'.yaml': true,
|
||||
'.yml': true,
|
||||
'.zip': true,
|
||||
};
|
||||
|
||||
// Remove multiple slashes from path
|
||||
// permanentRedirect(/\/{2,}/.test(request.uri), request.uri.replace(/\/{2,}/, `/`));
|
||||
|
||||
// Remove index.html from path
|
||||
permanentRedirect(
|
||||
request.uri.endsWith('index.html'),
|
||||
|
|
@ -143,7 +147,7 @@ exports.handler = (event, context, callback) => {
|
|||
////////////// CLI InfluxQL link (catch before latest redirect) //////////////
|
||||
permanentRedirect(
|
||||
/\/influxdb\/latest\/query_language\/spec/.test(request.uri),
|
||||
request.uri.replace(/latest/, 'v1')
|
||||
request.uri.replace(/latest/, 'v1.8')
|
||||
);
|
||||
|
||||
////////////////////////// Latest version redirects //////////////////////////
|
||||
|
|
|
|||
|
|
@ -3,4 +3,5 @@ User-agent: *
|
|||
{{- else }}{{ range where .Site.Pages ".Params.noindex" true }}
|
||||
Disallow: {{ .RelPermalink }}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
Sitemap: {{ .Site.BaseURL }}sitemap.xml
|
||||
Loading…
Reference in New Issue