Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct the default port desc to 8086 #20809

Merged
merged 4 commits into from
Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions ui/src/shared/constants/fluxFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/',
Expand Down Expand Up @@ -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/',
Expand Down