diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 177a4a422..93c3bfbb3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -649,7 +649,7 @@ When a user selects an InfluxDB product and region, example URLs in code blocks throughout the documentation are updated to match their product and region. InfluxDB URLs are configured in `/data/influxdb_urls.yml`. -By default, the InfluxDB URL replaced inside of code blocks is `http://localhost:9999`. +By default, the InfluxDB URL replaced inside of code blocks is `http://localhost:9999`. Use this URL in all code examples that should be updated with a selected provider and region. For example: @@ -657,14 +657,14 @@ For example: ~~~ ```sh # This URL will get updated -http://localhost:9999 +http://localhost:9999 # This URL will NOT get updated http://example.com ``` ~~~ -If the user selects the **US West (Oregon)** region, all occurrences of `http://localhost:9999` +If the user selects the **US West (Oregon)** region, all occurrences of `http://localhost:9999` in code blocks will get updated to `https://us-west-2-1.aws.cloud2.influxdata.com`. ### Exempt URLs from getting updated @@ -675,7 +675,7 @@ just before the code block. {{< keep-url >}} ``` // This URL won't get updated -http://localhost:9999 +http://localhost:9999 ``` ~~~ diff --git a/data/telegraf_plugins.yml b/data/telegraf_plugins.yml index f7dcb6075..25d83d561 100644 --- a/data/telegraf_plugins.yml +++ b/data/telegraf_plugins.yml @@ -613,7 +613,7 @@ input: ```toml [[inputs.prometheus]] ## An array of urls to scrape metrics from. - urls = ["http://localhost:9999/metrics"] + urls = ["http://localhost:9999/metrics"] ``` introduced: 1.8.0 diff --git a/layouts/shortcodes/cli/influxd-flags.md b/layouts/shortcodes/cli/influxd-flags.md index af210a1a9..4f7152843 100644 --- a/layouts/shortcodes/cli/influxd-flags.md +++ b/layouts/shortcodes/cli/influxd-flags.md @@ -5,7 +5,7 @@ | | `--e2e-testing` | Add /debug/flush endpoint to clear stores; used for end-to-end tests (default `false`) | | `INFLUXD_E2E_TESTING` | | | `--engine-path` | Path to persistent engine files (default `~/.influxdbv2/engine`) | string | `INFLUXD_ENGINE_PATH` | | `-h` | `--help` | Help for the `influxd` command | | | -| | `--http-bind-address` | Bind address for the REST HTTP API (default `:9999`) | string | `INFLUXD_HTTP_BIND_ADDRESS` | +| | `--http-bind-address` | Bind address for the REST HTTP API (default `:9999`) | string | `INFLUXD_HTTP_BIND_ADDRESS` | | | `--log-level` | Supported log levels are debug, info, and error (default `info`) | string | `INFLUXD_LOG_LEVEL` | | | `--new-meta-store` | Enables the new meta store | | `INFLUXD_NEW_META_STORE` | | | `--new-meta-store-read-only` | Toggle read-only mode for the new meta store and duplicate reads between old and new store (default `true`) | | `INFLUXD_NEW_META_STORE_READ_ONLY` | diff --git a/static/downloads/air-sensor-data.rb b/static/downloads/air-sensor-data.rb index 70fd9136f..caaa44083 100755 --- a/static/downloads/air-sensor-data.rb +++ b/static/downloads/air-sensor-data.rb @@ -8,7 +8,7 @@ require "uri" options = { protocol: "http", host: "localhost", - port: "9999", + port: "9999", interval: 5 } @@ -31,7 +31,7 @@ OptionParser.new do |opt| options[:host] = host end - opt.on("-p","--port port","Your InfluxDB port. Defaults to '9999'") do |port| + opt.on("-p","--port port","Your InfluxDB port. Defaults to '9999'") do |port| options[:port] = port end diff --git a/static/downloads/influxdb-k8-minikube.yaml b/static/downloads/influxdb-k8-minikube.yaml index 42f1c2698..4c5444eb9 100644 --- a/static/downloads/influxdb-k8-minikube.yaml +++ b/static/downloads/influxdb-k8-minikube.yaml @@ -26,7 +26,7 @@ spec: - image: quay.io/influxdb/influxdb:2.0.0-beta name: influxdb ports: - - containerPort: 9999 + - containerPort: 9999 name: influxdb volumeMounts: - mountPath: /root/.influxdbv2 @@ -50,8 +50,8 @@ metadata: spec: ports: - name: influxdb - port: 9999 - targetPort: 9999 + port: 9999 + targetPort: 9999 selector: app: influxdb type: ClusterIP