commit
8d0346693d
|
@ -4375,6 +4375,84 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/Error"
|
||||
/packages/stacks:
|
||||
get:
|
||||
operationId: ListStacks
|
||||
tags:
|
||||
- InfluxPackages
|
||||
summary: Grab a list of installed Influx packages
|
||||
parameters:
|
||||
- in: query
|
||||
name: orgID
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: The organization id of the stacks
|
||||
- in: query
|
||||
name: name
|
||||
schema:
|
||||
type: string
|
||||
description: A collection of names to filter the list by.
|
||||
- in: query
|
||||
name: stackID
|
||||
schema:
|
||||
type: string
|
||||
description: A collection of stackIDs to filter the list by.
|
||||
responses:
|
||||
'200':
|
||||
description: Influx stacks found
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
orgID:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
urls:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
createdAt:
|
||||
type: string
|
||||
format: date-time
|
||||
readOnly: true
|
||||
updatedAt:
|
||||
type: string
|
||||
format: date-time
|
||||
readOnly: true
|
||||
resources:
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
resourceID:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
pkgName:
|
||||
type: string
|
||||
associations:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
kind:
|
||||
type: string
|
||||
pkgName:
|
||||
type: string
|
||||
default:
|
||||
description: Unexpected error
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/Error"
|
||||
post:
|
||||
operationId: CreateStack
|
||||
tags:
|
||||
|
@ -4432,6 +4510,34 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/Error"
|
||||
/packages/stacks/{stack_id}:
|
||||
delete:
|
||||
operationId: DeleteStack
|
||||
tags:
|
||||
- InfluxPackages
|
||||
summary: Delete a stack and remove all its associated resources
|
||||
parameters:
|
||||
- in: path
|
||||
name: stack_id
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: The stack id to be removed
|
||||
- in: query
|
||||
name: orgID
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: The organization id of the user
|
||||
responses:
|
||||
'204':
|
||||
description: Stack and all its associated resources are deleted
|
||||
default:
|
||||
description: Unexpected error
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/Error"
|
||||
/tasks:
|
||||
get:
|
||||
operationId: GetTasks
|
||||
|
@ -4936,6 +5042,27 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/Error"
|
||||
/flags:
|
||||
get:
|
||||
operationId: GetFlags
|
||||
tags:
|
||||
- Users
|
||||
summary: Return the feature flags for the currently authenticated user
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/TraceSpan'
|
||||
responses:
|
||||
'200':
|
||||
description: Feature flags for the currently authenticated user
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/Flags"
|
||||
default:
|
||||
description: Unexpected error
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/Error"
|
||||
/me:
|
||||
get:
|
||||
operationId: GetMe
|
||||
|
@ -8138,6 +8265,9 @@ components:
|
|||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/User"
|
||||
Flags:
|
||||
type: object
|
||||
additionalProperties: true
|
||||
ResourceMember:
|
||||
allOf:
|
||||
- $ref: "#/components/schemas/User"
|
||||
|
@ -8223,6 +8353,9 @@ components:
|
|||
me:
|
||||
type: string
|
||||
format: uri
|
||||
flags:
|
||||
type: string
|
||||
format: uri
|
||||
orgs:
|
||||
type: string
|
||||
format: uri
|
||||
|
|
|
@ -116,7 +116,7 @@ executables, and running the initial setup process.
|
|||
### Download and install InfluxDB v2.0 beta
|
||||
Download InfluxDB v2.0 beta for macOS.
|
||||
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.9_darwin_amd64.tar.gz" download>InfluxDB v2.0 beta (macOS)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.10_darwin_amd64.tar.gz" download>InfluxDB v2.0 beta (macOS)</a>
|
||||
|
||||
### Unpackage the InfluxDB binaries
|
||||
To unpackage the downloaded archive, **double click the archive file in Finder**
|
||||
|
@ -125,7 +125,7 @@ or run the following command in a macOS command prompt application such
|
|||
|
||||
```sh
|
||||
# Unpackage contents to the current working directory
|
||||
tar zxvf ~/Downloads/influxdb_2.0.0-beta.9_darwin_amd64.tar.gz
|
||||
tar zxvf ~/Downloads/influxdb_2.0.0-beta.10_darwin_amd64.tar.gz
|
||||
```
|
||||
|
||||
#### (Optional) Place the binaries in your $PATH
|
||||
|
@ -134,7 +134,7 @@ prefix the executables with `./` to run then in place.
|
|||
|
||||
```sh
|
||||
# (Optional) Copy the influx and influxd binary to your $PATH
|
||||
sudo cp influxdb_2.0.0-beta.9_darwin_amd64/{influx,influxd} /usr/local/bin/
|
||||
sudo cp influxdb_2.0.0-beta.10_darwin_amd64/{influx,influxd} /usr/local/bin/
|
||||
```
|
||||
|
||||
{{% note %}}
|
||||
|
@ -198,8 +198,8 @@ influxd --reporting-disabled
|
|||
### Download and install InfluxDB v2.0 beta
|
||||
Download the InfluxDB v2.0 beta package appropriate for your chipset.
|
||||
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.9_linux_amd64.tar.gz" download >InfluxDB v2.0 beta (amd64)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.9_linux_arm64.tar.gz" download >InfluxDB v2.0 beta (arm)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.10_linux_amd64.tar.gz" download >InfluxDB v2.0 beta (amd64)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.10_linux_arm64.tar.gz" download >InfluxDB v2.0 beta (arm)</a>
|
||||
|
||||
### Place the executables in your $PATH
|
||||
Unpackage the downloaded archive and place the `influx` and `influxd` executables in your system `$PATH`.
|
||||
|
@ -208,10 +208,10 @@ _**Note:** The following commands are examples. Adjust the file names, paths, an
|
|||
|
||||
```sh
|
||||
# Unpackage contents to the current working directory
|
||||
tar xvzf path/to/influxdb_2.0.0-beta.9_linux_amd64.tar.gz
|
||||
tar xvzf path/to/influxdb_2.0.0-beta.10_linux_amd64.tar.gz
|
||||
|
||||
# Copy the influx and influxd binary to your $PATH
|
||||
sudo cp influxdb_2.0.0-beta.9_linux_amd64/{influx,influxd} /usr/local/bin/
|
||||
sudo cp influxdb_2.0.0-beta.10_linux_amd64/{influx,influxd} /usr/local/bin/
|
||||
```
|
||||
|
||||
{{% note %}}
|
||||
|
|
|
@ -14,6 +14,10 @@ to create a bucket.
|
|||
|
||||
## Create a bucket in the InfluxDB UI
|
||||
|
||||
There are two places you can create a bucket in the UI.
|
||||
|
||||
### Create a bucket from the Load Data menu
|
||||
|
||||
1. In the navigation menu on the left, select **Data (Load Data)** > **Buckets**.
|
||||
|
||||
{{< nav-icon "data" >}}
|
||||
|
@ -25,6 +29,20 @@ to create a bucket.
|
|||
- **Older than** to choose a specific retention policy.
|
||||
5. Click **Create** to create the bucket.
|
||||
|
||||
### Create a bucket in the Data Explorer
|
||||
|
||||
1. In the navigation menu on the left, select **Explore* (**Data Explorer**).
|
||||
|
||||
{{< nav-icon "data-explorer" >}}
|
||||
|
||||
2. In the **From** panel in the Flux Builder, select `+ Create Bucket`.
|
||||
3. Enter a **Name** for the bucket.
|
||||
4. Select when to **Delete Data**:
|
||||
- **Never** to retain data forever.
|
||||
- **Older than** to choose a specific retention policy.
|
||||
5. Click **Create** to create the bucket.
|
||||
|
||||
|
||||
## Create a bucket using the influx CLI
|
||||
|
||||
Use the [`influx bucket create` command](/v2.0/reference/cli/influx/bucket/create)
|
||||
|
|
|
@ -8,6 +8,25 @@ menu:
|
|||
weight: 101
|
||||
---
|
||||
|
||||
## v2.0.0-beta.10 [2020-05-07]
|
||||
|
||||
### Features
|
||||
|
||||
- Add ability to delete a stack and all associated resources.
|
||||
- Enforce DNS name compliance on the `metadata.name` field in all `pkger` resources.
|
||||
- Add stateful `pkg` management with stacks.
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Ensure `UpdateUser` cleans up the index when updating names.
|
||||
- Ensure Checks can be set for zero values.
|
||||
|
||||
### UI Improvements
|
||||
|
||||
- Create buckets in the Data Explorer and Cell Editor.
|
||||
|
||||
---
|
||||
|
||||
## v2.0.0-beta.9 [2020-04-23]
|
||||
|
||||
### Bug Fixes
|
||||
|
@ -20,6 +39,8 @@ weight: 101
|
|||
- Sort dashboards on Getting Started page by recently modified.
|
||||
- Add single-color schemes for visualizations: Solid Red, Solid Blue, Solid Yellow, Solid Green, and Solid Purple.
|
||||
|
||||
---
|
||||
|
||||
## v2.0.0-beta.8 [2020-04-10]
|
||||
|
||||
### Features
|
||||
|
@ -40,6 +61,8 @@ weight: 101
|
|||
- Update layout of Alerts page to work on all screen sizes.
|
||||
- Sort dashboards on Getting Started page by recently modified.
|
||||
|
||||
---
|
||||
|
||||
## v2.0.0-beta.7 [2020-03-27]
|
||||
|
||||
### Features
|
||||
|
@ -131,6 +154,8 @@ weight: 101
|
|||
- Remove pkger gauge chart requirement for color threshold type.
|
||||
- Remove secret confirmation from `influx secret update`.
|
||||
|
||||
---
|
||||
|
||||
## v2.0.0-beta.4 [2020-02-14]
|
||||
|
||||
### Features
|
||||
|
|
|
@ -31,7 +31,7 @@ See [Get started with Flux](/v2.0/query-data/get-started) to learn more about Fl
|
|||
{{< nav-icon "data-explorer" >}}
|
||||
|
||||
2. Use the Flux builder in the bottom panel to create a Flux query:
|
||||
- Select a bucket to define your data source.
|
||||
- Select a bucket to define your data source or select `+ Create Bucket` to add a new bucket.
|
||||
- Edit your time range with the [time range option](#select-time-range) in the dropdown menu.
|
||||
- Add filters to narrow your data by selecting attributes or columns in the dropdown menu.
|
||||
- Select **Group** from the **Filter** dropdown menu to group data into tables. For more about how grouping data in Flux works, see [Group data](/v2.0/query-data/flux/group-data/).
|
||||
|
|
|
@ -35,6 +35,10 @@ in the **Variables** tab next to the Functions tab.
|
|||
|
||||
Click a variable name to add it to your query and select a value from the **Value** dropdown.
|
||||
|
||||
## Link to dashboards with variables defined in the URL
|
||||
|
||||
When you apply a variable to your dashboard, `&vars[variable_name]=value` is appended to the URL so you can share the link with the variables included.
|
||||
|
||||
## Predefined dashboard variables
|
||||
The InfluxDB user interface (UI) provides the following predefined dashboard variables:
|
||||
|
||||
|
|
|
@ -44,7 +44,15 @@ To send data to an InfluxDB v2.0 instance, enable in the
|
|||
[`influxdb_v2` output plugin](https://github.com/influxdata/telegraf/blob/master/plugins/outputs/influxdb_v2/README.md)
|
||||
in the `telegraf.conf`.
|
||||
|
||||
Specify the following:
|
||||
To find an example InfluxDB v2 output plugin configuration in the UI:
|
||||
1. In the navigation menu on the left, select **Data (Load Data)** > **Telegraf**.
|
||||
|
||||
{{< nav-icon "disks" >}}
|
||||
2. Click **InfluxDB Output Plugin**.
|
||||
3. Click **Copy to Clipboard** to copy the example configuration or **Download Config** to save a copy.
|
||||
4. Paste the example configuration into your `telegraf.conf` and specify the options below.
|
||||
|
||||
The InfluxDB output plugin configuration contains the following options:
|
||||
|
||||
##### urls
|
||||
An array of URLs for your InfluxDB v2.0 instances.
|
||||
|
|
Loading…
Reference in New Issue