fix(ui): correct the default port used in UI examples (#20809)

pull/20818/head
Jincheng Sun 2021-03-03 00:59:10 +08:00 committed by GitHub
parent 9bda089627
commit 12b1dc6c2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -18,6 +18,7 @@
1. [20797](https://github.com/influxdata/influxdb/pull/20797): Fix data race in TSM cache. Thanks @StoneYunZhao!
1. [20798](https://github.com/influxdata/influxdb/pull/20798): Deprecate misleading `retentionPeriodHrs` key in onboarding API.
1. [20819](https://github.com/influxdata/influxdb/pull/20819): Fix Single Stat graphs with thresholds crashing on negative values.
1. [20809](https://github.com/influxdata/influxdb/pull/20809): Fix InfluxDB port in Flux function UI examples. Thanks @sunjincheng121!
## v2.0.4 [2021-02-08]

View File

@ -73,7 +73,7 @@ Once setup is complete, a configuration profile is created to allow you to inter
```bash
$ bin/$(uname -s | tr '[:upper:]' '[:lower:]')/influx config
Active Name URL Org
* default http://localhost:9999 InfluxData
* default http://localhost:8086 InfluxData
```
## Writing Data

View File

@ -2063,7 +2063,7 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
desc:
'Submits an HTTP POST request to the specified URL with headers and data and returns the HTTP status code.',
example:
'http.post(url: "http://localhost:9999/", headers: {x:"a", y:"b"}, data: bytes(v: "body"))',
'http.post(url: "http://localhost:8086/", headers: {x:"a", y:"b"}, data: bytes(v: "body"))',
category: 'Transformations',
link:
'https://docs.influxdata.com/influxdb/latest/reference/flux/stdlib/http/post/',
@ -3804,7 +3804,7 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
],
package: 'experimental/prometheus',
desc: 'Retrieves Prometheus-formatted metrics from a specified URL.',
example: 'prometheus.scrape(url: "http://localhost:9999/metrics")',
example: 'prometheus.scrape(url: "http://localhost:8086/metrics")',
category: 'Inputs',
link:
'https://docs.influxdata.com/influxdb/latest/reference/flux/stdlib/experimental/prometheus/scrape/',