add spaces after 9999 ports to highlight
parent
e130607357
commit
7dde55ff08
|
@ -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
|
||||
```
|
||||
~~~
|
||||
|
||||
|
|
|
@ -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"]
|
||||
```
|
||||
</div>
|
||||
introduced: 1.8.0
|
||||
|
|
|
@ -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` |
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue