Publish InfluxDB 2.0.7 docs (#2654)
* Update swagger for InfluxDB OSS 2.0.7 (#2655) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>pull/2678/head
parent
8daba93771
commit
42d6288c71
File diff suppressed because it is too large
Load Diff
|
@ -48,7 +48,6 @@ influx restore [flags]
|
|||
| `-h` | `--help` | Help for the `restore` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` |
|
||||
| | `--input` | ({{< req >}}) Path to local backup directory | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--new-bucket` | Name of the bucket to restore to | string | |
|
||||
| | `--new-org` | Name of the organization to restore to | string | |
|
||||
|
@ -67,20 +66,20 @@ influx restore [flags]
|
|||
|
||||
##### Restore and replace all data
|
||||
```sh
|
||||
influx restore --full --input /path/to/backup/dir/
|
||||
influx restore --full /path/to/backup/dir/
|
||||
```
|
||||
|
||||
##### Restore backup data to an existing bucket
|
||||
```sh
|
||||
influx restore \
|
||||
--bucket example-bucket \
|
||||
--input /path/to/backup/dir/
|
||||
/path/to/backup/dir/
|
||||
```
|
||||
|
||||
##### Create a bucket and restore data to it
|
||||
```sh
|
||||
influx restore \
|
||||
--new-bucket new-example-bucket \
|
||||
--input /path/to/backup/dir/
|
||||
/path/to/backup/dir/
|
||||
```
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ The following sample data sets are used as examples in [InfluxDB query guides](/
|
|||
|
||||
- [Air sensor sample data](#air-sensor-sample-data)
|
||||
- [Bird migration sample data](#bird-migration-sample-data)
|
||||
- [NOAA water sample data](#noaa-water-sample-data)
|
||||
- [USGS earthquake data](#usgs-earthquake-data)
|
||||
|
||||
### Air sensor sample data
|
||||
|
|
|
@ -52,8 +52,7 @@ To restore all time series data from a backup directory, provide the following:
|
|||
- backup directory path
|
||||
|
||||
```sh
|
||||
influx restore \
|
||||
--input /backups/2020-01-20_12-00/
|
||||
influx restore /backups/2020-01-20_12-00/
|
||||
```
|
||||
|
||||
### Restore data from a specific bucket
|
||||
|
@ -64,13 +63,13 @@ To restore data from a specific backup bucket, provide the following:
|
|||
|
||||
```sh
|
||||
influx restore \
|
||||
--input /backups/2020-01-20_12-00/ \
|
||||
/backups/2020-01-20_12-00/ \
|
||||
--bucket example-bucket
|
||||
|
||||
# OR
|
||||
|
||||
influx restore \
|
||||
--input /backups/2020-01-20_12-00/ \
|
||||
/backups/2020-01-20_12-00/ \
|
||||
--bucket-id 000000000000
|
||||
```
|
||||
|
||||
|
@ -80,7 +79,7 @@ restore data into it.
|
|||
|
||||
```sh
|
||||
influx restore \
|
||||
--input /backups/2020-01-20_12-00/ \
|
||||
/backups/2020-01-20_12-00/ \
|
||||
--bucket example-bucket \
|
||||
--new-bucket new-example-bucket
|
||||
```
|
||||
|
@ -94,7 +93,7 @@ tokens, users, dashboards, etc., include the following:
|
|||
|
||||
```sh
|
||||
influx restore \
|
||||
--input /backups/2020-01-20_12-00/ \
|
||||
/backups/2020-01-20_12-00/ \
|
||||
--full
|
||||
```
|
||||
|
||||
|
@ -113,7 +112,7 @@ If using a backup to populate a new InfluxDB server:
|
|||
|
||||
```sh
|
||||
influx restore \
|
||||
--input /backups/2020-01-20_12-00/ \
|
||||
/backups/2020-01-20_12-00/ \
|
||||
--full
|
||||
```
|
||||
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
title: Install InfluxDB
|
||||
description: Download, install, and set up InfluxDB OSS.
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
name: Install
|
||||
menu: influxdb_2_0
|
||||
weight: 2
|
||||
influxdb/v2.0/tags: [install]
|
||||
---
|
||||
|
@ -12,11 +10,11 @@ The InfluxDB 2.0 time series platform is purpose-built to collect, store,
|
|||
process and visualize metrics and events.
|
||||
Download, install, and set up InfluxDB OSS.
|
||||
|
||||
The primary differences between InfluxDB OSS 2.0 and InfluxDB Cloud are:
|
||||
<!-- The primary differences between InfluxDB OSS 2.0 and InfluxDB Cloud are:
|
||||
|
||||
- [InfluxDB scrapers](/influxdb/v2.0/write-data/no-code/scrape-data/) that collect data from specified
|
||||
targets are not available in {{< cloud-name "short" >}}.
|
||||
- {{< cloud-name "short" >}} instances are currently limited to a single organization.
|
||||
- {{< cloud-name "short" >}} instances are currently limited to a single organization. -->
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
|
|
|
@ -7,7 +7,7 @@ description: >
|
|||
menu:
|
||||
influxdb_2_0:
|
||||
name: Process data
|
||||
weight: 4
|
||||
weight: 5
|
||||
influxdb/v2.0/tags: [tasks]
|
||||
---
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ description: >
|
|||
menu:
|
||||
influxdb_2_0:
|
||||
name: Query data
|
||||
weight: 3
|
||||
weight: 4
|
||||
influxdb/v2.0/tags: [query, flux]
|
||||
---
|
||||
|
||||
|
|
|
@ -52,7 +52,6 @@ influx restore [flags]
|
|||
| `-h` | `--help` | Help for the `restore` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` |
|
||||
| | `--input` | ({{< req >}}) Path to local backup directory | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--new-bucket` | Name of the bucket to restore to | string | |
|
||||
| | `--new-org` | Name of the organization to restore to | string | |
|
||||
|
@ -71,8 +70,7 @@ influx restore [flags]
|
|||
|
||||
##### Restore backup data
|
||||
```sh
|
||||
influx restore \
|
||||
--input /path/to/backup/dir/
|
||||
influx restore /path/to/backup/dir/
|
||||
```
|
||||
|
||||
##### Restore backup data for a specific bucket into a new bucket
|
||||
|
@ -80,7 +78,7 @@ influx restore \
|
|||
influx restore \
|
||||
--bucket example-bucket \
|
||||
--new-bucket new-example-bucket \
|
||||
--input /path/to/backup/dir/
|
||||
/path/to/backup/dir/
|
||||
```
|
||||
|
||||
##### Restore and replace all data
|
||||
|
@ -90,5 +88,5 @@ data such as tokens, dashboards, users, etc.
|
|||
{{% /note %}}
|
||||
|
||||
```sh
|
||||
influx restore --full --input /path/to/backup/dir/
|
||||
influx restore --full /path/to/backup/dir/
|
||||
```
|
||||
|
|
|
@ -147,8 +147,8 @@ To configure InfluxDB, use the following configuration options when starting the
|
|||
- [vault-capath](#vault-capath)
|
||||
- [vault-client-cert](#vault-client-cert)
|
||||
- [vault-client-key](#vault-client-key)
|
||||
- [vault-max-retries](#vault-max-retries)
|
||||
- [vault-client-timeout](#vault-client-timeout)
|
||||
- [vault-max-retries](#vault-max-retries)
|
||||
- [vault-skip-verify](#vault-skip-verify)
|
||||
- [vault-tls-server-name](#vault-tls-server-name)
|
||||
- [vault-token](#vault-token)
|
||||
|
@ -1469,13 +1469,65 @@ session-renew-disabled = true
|
|||
|
||||
---
|
||||
|
||||
|
||||
<!--
|
||||
### sqlite-path
|
||||
|
||||
Path to the SQLite database file.
|
||||
The SQLite database is used to store metadata for notebooks and annotations.
|
||||
|
||||
**Default:** _`influxd.sqlite` in the same directory as the [bolt-path](#bolt-path)._
|
||||
|
||||
| influxd flag | Environment variable | Configuration key |
|
||||
|:----------------|:----------------------|:------------------|
|
||||
| `--sqlite-path` | `INFLUXD_SQLITE_PATH` | `sqlite-path` |
|
||||
|
||||
###### influxd flag
|
||||
```sh
|
||||
influxd --sqlite-path ~/.influxdbv2/influxd.sqlite
|
||||
```
|
||||
|
||||
###### Environment variable
|
||||
```sh
|
||||
export INFLUXD_SQLITE_PATH=~/.influxdbv2/influxd.sqlite
|
||||
```
|
||||
|
||||
###### Configuration file
|
||||
{{< code-tabs-wrapper >}}
|
||||
{{% code-tabs %}}
|
||||
[YAML](#)
|
||||
[TOML](#)
|
||||
[JSON](#)
|
||||
{{% /code-tabs %}}
|
||||
{{% code-tab-content %}}
|
||||
```yml
|
||||
sqlite_path: /users/user/.influxdbv2/influxd.sqlite
|
||||
```
|
||||
{{% /code-tab-content %}}
|
||||
{{% code-tab-content %}}
|
||||
```toml
|
||||
sqlite_path = "/users/user/.influxdbv2/influxd.sqlite"
|
||||
```
|
||||
{{% /code-tab-content %}}
|
||||
{{% code-tab-content %}}
|
||||
```json
|
||||
{
|
||||
"sqlite_path": "/users/user/.influxdbv2/influxd.sqlite"
|
||||
}
|
||||
```
|
||||
{{% /code-tab-content %}}
|
||||
{{< /code-tabs-wrapper >}}
|
||||
|
||||
---
|
||||
-->
|
||||
|
||||
### storage-cache-max-memory-size
|
||||
Maximum size (in bytes) a shard's cache can reach before it starts rejecting writes.
|
||||
|
||||
**Default:** `1073741824`
|
||||
|
||||
| influxd flag | Environment variable | Configuration key |
|
||||
|:------------ |:-------------------- |:----------------- |
|
||||
|:----------------------------------|:----------------------------------------|:--------------------------------|
|
||||
| `--storage-cache-max-memory-size` | `INFLUXD_STORAGE_CACHE_MAX_MEMORY_SIZE` | `storage-cache-max-memory-size` |
|
||||
|
||||
###### influxd flag
|
||||
|
|
|
@ -8,6 +8,32 @@ menu:
|
|||
weight: 101
|
||||
---
|
||||
|
||||
## v2.0.7 [2021-06-04]
|
||||
|
||||
### Features
|
||||
|
||||
- Optimize [`table.fill()`](/influxdb/v2.0/reference/flux/stdlib/experimental/table/fill/)
|
||||
execution within Flux aggregate windows.
|
||||
- Upgrade Flux to [v0.117.0](/influxdb/v2.0/reference/release-notes/flux/#v01171-2021-06-01).
|
||||
- Upgrade UI to v2.0.7.
|
||||
- Upgrade `flux-lsp-browser` to v0.5.47.
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Fix query range calculation (off by one) over partially compacted data.
|
||||
- Deprecate the unsupported `PostSetupUser` API.
|
||||
- Add limits to the `/api/v2/delete` endpoint for start and stop times with error messages.
|
||||
- Add logging to NATS streaming server to help debug startup failures.
|
||||
- Accept `--input` instead of a positional argument in `influx restore`.
|
||||
- Print error instead of panicking when `influx restore` fails to find backup manifests.
|
||||
- Set last-modified time of empty shard directory to the directory's last-modified time, instead of the Unix epoch.
|
||||
- Remove deadlock in `influx org members list` when an organization has greater than 10 members.
|
||||
- Replace telemetry file name with slug for `ttf`, `woff`, and `eot` files.
|
||||
- Enable use of absolute path for `--upgrade-log` when running `influxd upgrade` on Windows.
|
||||
- Make InfluxQL meta queries respect query timeouts.
|
||||
|
||||
---
|
||||
|
||||
## v2.0.6 General Availability [2021-04-29]
|
||||
|
||||
### Bug Fixes
|
||||
|
|
|
@ -19,6 +19,7 @@ and can be used with **InfluxDB OSS** or **InfluxDB Cloud**.
|
|||
|
||||
- [Air sensor sample data](#air-sensor-sample-data)
|
||||
- [Bird migration sample data](#bird-migration-sample-data)
|
||||
- [NOAA water sample data](#noaa-water-sample-data)
|
||||
|
||||
### Air sensor sample data
|
||||
Air sensor sample data represents an "Internet of Things" (IoT) use case by simulating
|
||||
|
|
|
@ -3,7 +3,7 @@ title: Upgrade InfluxDB
|
|||
description: >
|
||||
Upgrade your version of InfluxDB
|
||||
menu: influxdb_2_0
|
||||
weight: 2
|
||||
weight: 3
|
||||
aliases:
|
||||
- /influxdb/v2.0/reference/upgrading/
|
||||
influxdb/v2.0/tags: [upgrade]
|
||||
|
|
|
@ -3,7 +3,7 @@ title: Write data to InfluxDB
|
|||
list_title: Write data
|
||||
description: >
|
||||
Collect and write time series data to InfluxDB Cloud and InfluxDB OSS.
|
||||
weight: 2
|
||||
weight: 3
|
||||
aliases:
|
||||
- /influxdb/v2.0/write-data/quick-start/
|
||||
- /influxdb/v2.0/write-data/sample-data/demo-data/
|
||||
|
|
|
@ -7,7 +7,7 @@ influxdb:
|
|||
latest: v2.0
|
||||
latest_override: v2.0
|
||||
latest_patches:
|
||||
"2.0": 6
|
||||
"2.0": 7
|
||||
|
||||
influxdb_cloud:
|
||||
name: InfluxDB Cloud
|
||||
|
|
|
@ -49,8 +49,8 @@
|
|||
- [\--tls-strict-ciphers](/influxdb/v2.0/reference/config-options/#tls-strict-ciphers)
|
||||
- [\--tracing-type](/influxdb/v2.0/reference/config-options/#tracing-type)
|
||||
- [\--vault-client-key](/influxdb/v2.0/reference/config-options/#vault-client-key)
|
||||
- [\--vault-max-retries](/influxdb/v2.0/reference/config-options/#vault-max-retries)
|
||||
- [\--vault-client-timeout](/influxdb/v2.0/reference/config-options/#vault-client-timeout)
|
||||
- [\--vault-max-retries](/influxdb/v2.0/reference/config-options/#vault-max-retries)
|
||||
- [\--vault-skip-verify](/influxdb/v2.0/reference/config-options/#vault-skip-verify)
|
||||
- [\--vault-tls-server-name](/influxdb/v2.0/reference/config-options/#vault-tls-server-name)
|
||||
- [\--vault-token](/influxdb/v2.0/reference/config-options/#vault-token)
|
||||
|
|
Loading…
Reference in New Issue