Merge pull request #627 from influxdata/alpha-20

Alpha 20
pull/631/head
noramullen1 2019-11-20 16:21:18 -08:00 committed by GitHub
commit 4f6c46e614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
96 changed files with 514 additions and 306 deletions

View File

@ -4,7 +4,7 @@ jobs:
docker:
- image: circleci/node:latest
environment:
HUGO_VERSION: "0.56.3"
HUGO_VERSION: "0.59.1"
S3DEPLOY_VERSION: "2.3.2"
steps:
- checkout

View File

@ -1654,19 +1654,19 @@ paths:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: org
description: Specifies the organization that owns the bucket.
description: Specifies the organization to delete data from.
schema:
type: string
description: All points within batch are written to this organization.
description: Only points from this organization are deleted.
- in: query
name: bucket
description: Specifies the bucket to delete data from.
schema:
type: string
description: Points are only deleted from this bucket.
description: Only points from this bucket are deleted.
- in: query
name: orgID
description: Specifies the organization ID that owns the bucket.
description: Specifies the organization ID of the resource.
schema:
type: string
- in: query
@ -1674,7 +1674,7 @@ paths:
description: Specifies the bucket ID to delete data from.
schema:
type: string
description: Points are only deleted from this bucket.
description: Only points from this bucket ID are deleted.
responses:
'204':
description: delete has been accepted
@ -4241,6 +4241,73 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Error"
/packages:
post:
operationId: CreatePkg
tags:
- InfluxPackages
summary: Create a new Influx package
requestBody:
description: Influx package to create.
required: false
content:
application/json:
schema:
$ref: "#/components/schemas/PkgCreate"
responses:
'200':
description: Influx package created
content:
application/json:
schema:
$ref: "#/components/schemas/Pkg"
default:
description: Unexpected error
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
/packages/apply:
post:
operationId: ApplyPkg
tags:
- InfluxPackages
summary: Apply or dry-run an Influx package
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/PkgApply"
text/yml:
schema:
$ref: "#/components/schemas/PkgApply"
responses:
'200':
description: >
Influx package dry-run successful, no new resources created.
The provided diff and summary will not have IDs for resources
that do not exist at the time of the dry run.
content:
application/json:
schema:
$ref: "#/components/schemas/PkgSummary"
'201':
description: >
Influx package applied successfully. Newly created resources created
available in summary. The diff compares the state of the world before
the package is applied with the changes the application will impose.
This corresponds to `"dryRun": true`
content:
application/json:
schema:
$ref: "#/components/schemas/PkgSummary"
default:
description: Unexpected error
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
/tasks:
get:
operationId: GetTasks
@ -6235,7 +6302,7 @@ components:
path:
$ref: "#/components/schemas/StringLiteral"
DeletePredicateRequest:
description: The delete predicate request
description: The delete predicate request.
type: object
required: [start, stop]
properties:
@ -6246,8 +6313,8 @@ components:
description: RFC3339Nano
type: string
predicate:
description: SQL-like predicate expression
example: tag1="value1" and tag2="value2"
description: InfluxQL-like delete statement
example: tag1="value1" and (tag2="value2" and tag3!="value3")
type: string
Node:
oneOf:
@ -6712,6 +6779,14 @@ components:
- $ref: "#/components/schemas/AuthorizationUpdateRequest"
- type: object
properties:
createdAt:
type: string
format: date-time
readOnly: true
updatedAt:
type: string
format: date-time
readOnly: true
orgID:
type: string
description: ID of org that authorization is scoped to.
@ -7013,6 +7088,244 @@ components:
type: array
items:
$ref: "#/components/schemas/Organization"
PkgApply:
type: object
properties:
apply:
type: boolean
package:
$ref: "#/components/schemas/Pkg"
PkgCreate:
type: object
properties:
pkgName:
type: string
pkgDescription:
type: string
pkgVersion:
type: string
resources:
type: object
properties:
id:
type: string
kind:
type: string
enum:
- bucket
- dashboard
- label
- variable
name:
type: string
required: [id, kind]
Pkg:
type: object
properties:
apiVersion:
type: string
kind:
type: string
enum:
- package
meta:
type: object
properties:
description:
type: string
pkgName:
type: string
pkgVersion:
type: string
spec:
type: object
properties:
resources:
type: array
items:
type: object
PkgSummary:
type: object
properties:
summary:
type: object
properties:
buckets:
type: array
items:
allOf:
- $ref: "#/components/schemas/Bucket"
- type: object
properties:
labelAssociations:
type: array
items:
$ref: "#/components/schemas/Label"
labels:
type: array
items:
$ref: "#/components/schemas/Label"
dashboards:
type: array
items:
type: object
properties:
id:
type: "string"
orgID:
type: "string"
name:
type: "string"
description:
type: "string"
labelAssociations:
type: array
items:
$ref: "#/components/schemas/Label"
charts:
type: array
items:
$ref: "#/components/schemas/PkgChart"
labelMappings:
type: array
items:
type: object
properties:
resourceName:
type: string
resourceID:
type: string
resourceType:
type: string
labelName:
type: string
labelID:
type: string
variables:
type: array
items:
allOf:
- $ref: "#/components/schemas/Variable"
- type: object
properties:
labelAssociations:
type: array
items:
$ref: "#/components/schemas/Label"
diff:
type: object
properties:
buckets:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
oldDescription:
type: string
newDescription:
type: string
oldRP:
type: string
newRP:
type: string
dashboards:
type: array
items:
type: object
properties:
name:
type: string
description:
type: string
charts:
type: array
items:
$ref: "#/components/schemas/PkgChart"
labels:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
oldDescription:
type: string
newDescription:
type: string
oldColor:
type: string
newColor:
type: string
labelMappings:
type: array
items:
type: object
properties:
isNew:
type: boolean
resourceType:
type: string
resourceID:
type: string
resourceName:
type: string
labelID:
type: string
labelName:
type: string
variables:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
oldDescription:
type: string
newDescription:
type: string
oldArgs:
$ref: "#/components/schemas/VariableProperties"
newArgs:
$ref: "#/components/schemas/VariableProperties"
errors:
type: array
items:
type: object
properties:
kind:
type: string
reason:
type: string
fields:
type: array
items:
type: string
indexes:
type: array
items:
type: integer
PkgChart:
type: object
properties:
xPos:
type: integer
yPos:
type: integer
height:
type: integer
width:
type: integer
properties: # field name is properties
ref: "#/components/schemas/ViewProperties"
Runs:
type: object
properties:
@ -8208,11 +8521,7 @@ components:
labels:
$ref: "#/components/schemas/Labels"
arguments:
type: object
oneOf:
- $ref: "#/components/schemas/QueryVariableProperties"
- $ref: "#/components/schemas/ConstantVariableProperties"
- $ref: "#/components/schemas/MapVariableProperties"
$ref: "#/components/schemas/VariableProperties"
createdAt:
type: string
format: date-time
@ -8258,6 +8567,12 @@ components:
type: array
items:
$ref: "#/components/schemas/Variable"
VariableProperties:
type: object
oneOf:
- $ref: "#/components/schemas/QueryVariableProperties"
- $ref: "#/components/schemas/ConstantVariableProperties"
- $ref: "#/components/schemas/MapVariableProperties"
ViewProperties:
oneOf:
- $ref: "#/components/schemas/LinePlusSingleStatProperties"
@ -9471,7 +9786,7 @@ components:
- inactive
labels:
type: array
description: List of label IDs to associate with check
description: List of label ids to associate with check
items:
type: string
Checks:
@ -9538,6 +9853,7 @@ components:
labels: "/api/v2/checks/1/labels"
members: "/api/v2/checks/1/members"
owners: "/api/v2/checks/1/owners"
query: "/api/v2/checks/1/query"
properties:
self:
description: URL for this check
@ -9694,7 +10010,7 @@ components:
- inactive
labels:
type: array
description: List of label IDs to associate with notification rule
description: List of label IDs to associate with notification rule.
items:
type: string
NotificationRules:
@ -9779,6 +10095,7 @@ components:
labels: "/api/v2/notificationRules/1/labels"
members: "/api/v2/notificationRules/1/members"
owners: "/api/v2/notificationRules/1/owners"
query: "/api/v2/notificationRules/1/query"
properties:
self:
description: URL for this endpoint.
@ -9913,7 +10230,7 @@ components:
- inactive
labels:
type: array
description: List of label IDs to associate with check
description: List of label IDs to associate with check.
items:
type: string
NotificationEndpoints:

View File

@ -27,7 +27,7 @@ This article describes how to get started with InfluxDB OSS. To get started with
### Download and install InfluxDB v2.0 alpha
Download InfluxDB v2.0 alpha for macOS.
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-alpha.19_darwin_amd64.tar.gz" download>InfluxDB v2.0 alpha (macOS)</a>
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-alpha.20_darwin_amd64.tar.gz" download>InfluxDB v2.0 alpha (macOS)</a>
### Unpackage the InfluxDB binaries
To unpackage the downloaded archive, **double click the archive file in Finder**
@ -36,7 +36,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-alpha.19_darwin_amd64.tar.gz
tar zxvf ~/Downloads/influxdb_2.0.0-alpha.20_darwin_amd64.tar.gz
```
#### (Optional) Place the binaries in your $PATH
@ -45,7 +45,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-alpha.19_darwin_amd64/{influx,influxd} /usr/local/bin/
sudo cp influxdb_2.0.0-alpha.20_darwin_amd64/{influx,influxd} /usr/local/bin/
```
{{% note %}}
@ -105,8 +105,8 @@ influxd --reporting-disabled
### Download and install InfluxDB v2.0 alpha
Download the InfluxDB v2.0 alpha package appropriate for your chipset.
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-alpha.19_linux_amd64.tar.gz" download >InfluxDB v2.0 alpha (amd64)</a>
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-alpha.19_linux_arm64.tar.gz" download >InfluxDB v2.0 alpha (arm)</a>
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-alpha.20_linux_amd64.tar.gz" download >InfluxDB v2.0 alpha (amd64)</a>
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-alpha.20_linux_arm64.tar.gz" download >InfluxDB v2.0 alpha (arm)</a>
### Place the executables in your $PATH
Unpackage the downloaded archive and place the `influx` and `influxd` executables in your system `$PATH`.
@ -115,10 +115,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-alpha.19_linux_amd64.tar.gz
tar xvzf path/to/influxdb_2.0.0-alpha.20_linux_amd64.tar.gz
# Copy the influx and influxd binary to your $PATH
sudo cp influxdb_2.0.0-alpha.19_linux_amd64/{influx,influxd} /usr/local/bin/
sudo cp influxdb_2.0.0-alpha.20_linux_amd64/{influx,influxd} /usr/local/bin/
```
{{% note %}}

View File

@ -64,7 +64,7 @@ in a specified amount of time.
To see the raw query results, click the **{{< icon "toggle" >}} View Raw Data** toggle.
#### Configure the check
1. Click **2. Check** near the top of the window.
1. Click **2. Configure Check** near the top of the window.
2. In the **Properties** column, configure the following:
##### Schedule Every

View File

@ -7,13 +7,15 @@ menu:
name: Add a member
parent: Manage members
weight: 201
draft: true
---
Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI)
to add a member to an organization.
Use the `influx` command line interface (CLI) to add a member to an organization.
## Add a member to an organization in the InfluxDB UI
{{% cloud-msg %}}
Adding members is currently unavailable in {{< cloud-name >}}.
{{% /cloud-msg %}}
<!-- ## Add a member to an organization in the InfluxDB UI
1. Click the **Settings** tab in the navigation bar.
@ -21,11 +23,20 @@ to add a member to an organization.
2. Click on the name of an organization, then select the **Members** tab.
_Complete content coming soon_
_Complete content coming soon_ -->
## Add a member to an organization using the influx CLI
Use the [`influx org members add` command](/v2.0/reference/cli/influx/org/members/add)
to add a user to an organization. Adding a user requires the following:
1. Get a list of users and their IDs by running the following:
_Complete content coming soon_
```sh
influx user find
```
2. To add a user to an organization, run the following command:
```sh
influx org members add -n <org-name> -o <user-ID>
```
For more information, see the [`influx org members add` command](/v2.0/reference/cli/influx/org/members/add).

View File

@ -367,8 +367,8 @@ Table: keys: [_time]
```
{{% /truncate %}}
Because each timestamp is a structured as a separate table, when visualized, they appear as individual, unconnected points.
Even though there are multiple records per timestamp, it will only visualize the last record of group's table.
Because each timestamp is structured as a separate table, when visualized, all
points that share the same timestamp appear connected.
![Group by time](/img/grouping-by-time.png)

View File

@ -58,10 +58,9 @@ retrieving authentication tokens._
| [user](/v2.0/reference/cli/influx/user) | User management commands |
| [write](/v2.0/reference/cli/influx/write) | Write points to InfluxDB |
{{% influx-cli-global-flags %}}
## Flags
| Flag | Description | Input type |
|:---- |:----------- |:----------:|
| `-h`, `--help` | Help for the influx command | |
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
| Flag | Description |
|:---------------|:------------------------------|
| `-h`, `--help` | Help for the `influx` command |

View File

@ -34,9 +34,4 @@ influx auth [command]
|:---- |:----------- |
| `-h`, `--help` | Help for the `auth` command |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -21,9 +21,4 @@ influx auth active [flags]
| `-h`, `--help` | Help for the `active` command | |
| `-i`, `--id` | The authorization ID **(Required)** | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -36,9 +36,4 @@ influx auth create [flags]
| `--write-telegrafs` | Grants the permission to create telegraf configs | |
| `--write-user` | Grants the permission to perform mutative actions against organization users | |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -21,9 +21,4 @@ influx auth delete [flags]
| `-h`, `--help` | Help for the `delete` command | |
| `-i`, `--id` | The authorization ID **(Required)** | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -25,9 +25,4 @@ influx auth find [flags]
| `-u`, `--user` | The user | string |
| `--user-id` | The user ID | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -21,9 +21,4 @@ influx auth inactive [flags]
| `-h`, `--help` | Help for the `inactive` command | |
| `-i`, `--id` | The authorization ID **(Required)** | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -30,9 +30,4 @@ influx bucket [command]
|:---- |:----------- |
| `-h`, `--help` | Help for the `bucket` command |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -23,9 +23,4 @@ influx bucket create [flags]
| `--org-id` | The ID of the organization that owns the bucket | string |
| `-r`, `--retention` | Duration in nanoseconds data will live in bucket | duration |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -21,9 +21,4 @@ influx bucket delete [flags]
| `-h`, `--help` | Help for the `delete` command | |
| `-i`, `--id` | The bucket ID **(Required)** | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -24,9 +24,4 @@ influx bucket find [flags]
| `-o`, `--org` | The bucket organization name | string |
| `--org-id` | The bucket organization ID | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -23,9 +23,4 @@ influx bucket update [flags]
| `-n`, `--name` | New bucket name | string |
| `-r`, `--retention` | New duration data will live in bucket | duration |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -34,9 +34,4 @@ timestamps between the specified `--start` and `--stop` times in the specified b
| `--start` | The start time in RFC3339 format (i.e. `2009-01-02T23:00:00Z`) | string |
| `--stop` | The stop time in RFC3339 format (i.e. `2009-01-02T23:00:00Z`) | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -20,9 +20,4 @@ influx help [command] [flags]
|:---- |:----------- |
| `-h`, `--help` | Help for help |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -34,9 +34,4 @@ influx org [command]
|:---- |:----------- |
| `-h`, `--help` | Help for the `org` command |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -21,9 +21,4 @@ influx org create [flags]
| `-h`, `--help` | Help for `create` | |
| `-n`, `--name` | The name of organization that will be created | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -21,9 +21,4 @@ influx org delete [flags]
| `-h`, `--help` | Help for `delete` | |
| `-i`, `--id` | The organization ID **(Required)** | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -22,9 +22,4 @@ influx org find [flags]
| `-i`, `--id` | The organization ID | string |
| `-n`, `--name` | The organization name | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -29,9 +29,4 @@ influx org members [command]
|:---- |:----------- |
| `-h`, `--help` | Help for `members` |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -23,9 +23,4 @@ influx org members add [flags]
| `-o`, `--member` | The member ID | string |
| `-n`, `--name` | The organization name | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -22,9 +22,4 @@ influx org members list [flags]
| `-i`, `--id` | The organization ID | string |
| `-n`, `--name` | The organization name | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -23,9 +23,4 @@ influx org members remove [flags]
| `-o`, `--member` | The member ID | string |
| `-n`, `--name` | The organization name | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -22,9 +22,4 @@ influx org update [flags]
| `-i`, `--id` | The organization ID **(Required)** | string |
| `-n`, `--name` | The organization name | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -25,9 +25,4 @@ influx ping [flags]
|:---- |:----------- |
| `-h`, `--help` | Help for the `ping` command |
## Global Flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -25,9 +25,4 @@ influx query [query literal or @/path/to/query.flux] [flags]
| `-h`, `--help` | Help for the query command | |
| `--org-id` | The organization ID | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -32,9 +32,4 @@ To use the Flux REPL, you must first authenticate with a [token](/v2.0/security/
| `-o`, `--org` | The name of the organization | string |
| `--org-id` | The ID of organization to query | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -24,9 +24,4 @@ influx setup [flags]
|:---- |:----------- |
| `-h`, `--help` | Help for the `setup` command |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -33,9 +33,4 @@ influx task [command]
|:---- |:----------- |
| `-h`, `--help` | Help for the `task` command |
### Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -22,9 +22,4 @@ influx task create [query literal or @/path/to/query.flux] [flags]
| `--org` | Organization name | string |
| `--org-id` | ID of the organization that owns the task | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -21,9 +21,4 @@ influx task delete [flags]
| `-h`, `--help` | Help for `delete` | |
| `-i`, `--id` | Task id **(Required)** | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -25,9 +25,4 @@ influx task find [flags]
| `--org-id` | Task organization ID | string |
| `-n`, `--user-id` | Task owner ID | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -27,9 +27,4 @@ influx task log [command]
|:---- |:----------- |
| `-h`, `--help` | Help for `log` |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -23,9 +23,4 @@ influx task log find [flags]
| `--run-id` | Run ID | string |
| `--task-id` | Task ID **(Required)** | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -22,9 +22,4 @@ influx task retry [flags]
| `-r`, `--run-id` | Run id **(Required)** | string |
| `-i`, `--task-id` | Task id **(Required)** | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -28,9 +28,4 @@ influx task run [command]
|:---- |:----------- |
| `-h`, `--help` | Help for `run` |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -26,9 +26,4 @@ influx task run find [flags]
| `--run-id` | Run ID | string |
| `--task-id` | Task ID **(Required)** | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -22,9 +22,4 @@ influx task update [flags]
| `-i`, `--id` | Task ID **(Required)** | string |
| `--status` | Update task status | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -30,9 +30,4 @@ influx user [command]
|:---- |:----------- |
| `-h`, `--help` | Help for the `user` command |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -16,14 +16,11 @@ influx user create [flags]
```
## Flags
| Flag | Description | Input type |
|:---- |:----------- |:----------: |
| `-h`, `--help` | Help for `create` | |
| `-n`, `--name` | The user name **(Required)** | string |
| Flag | Description | Input type |
|:---- |:----------- |:----------: |
| `-h`, `--help` | Help for `create` | |
| `-n`, `--name` | The user name **(Required)** | string |
| `-o`, `--org-id` | The organization ID to add the user to<br/> _(Required if password is provided)_ | string |
| `-p`, `--password` | The user password | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -21,9 +21,4 @@ influx user delete [flags]
| `-h`, `--help` | Help for `delete` | |
| `-i`, `--id` | The user ID **(Required)** | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -22,9 +22,4 @@ influx user find [flags]
| `-i`, `--id` | The user ID | string |
| `-n`, `--name` | The user name | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -23,9 +23,4 @@ influx user update [flags]
| `-i`, `--id` | The user ID **(Required)** | string |
| `-n`, `--name` | The user name | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -29,9 +29,4 @@ influx write [line protocol or @/path/to/points.txt] [flags]
| `--org-id` | The ID of the organization that owns the bucket | string |
| `-p`, `--precision` | Precision of the timestamps of the lines (default `ns`) | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
{{% influx-cli-global-flags %}}

View File

@ -11,11 +11,30 @@ aliases:
---
{{% note %}}
_The latest release of InfluxDB v2.0 alpha includes **Flux v0.52.0**.
_The latest release of InfluxDB v2.0 alpha includes **Flux v0.54.0**.
Though newer versions of Flux may be available, they will not be included with
InfluxDB until the next InfluxDB v2.0 release._
{{% /note %}}
## v0.54.0 [2019-11-11]
### Features
- Expose function to analyze from string.
- Added semantic expression constraints to libflux.
- Custom `PartialEq` for polytypes.
- Extensible record unification.
- `Semantic.Walk`.
### Bug fixes
- Do not constrain type variables with empty kinds.
- Update usage tests to filter on `_field`.
- Record labels are scoped and fields are ordered.
- Parse row variables.
- Update make release to confirm remote and local are in sync.
- Make `walk_rc` public.
---
## v0.53.0 [2019-11-05]
### Breaking changes

View File

@ -7,6 +7,38 @@ menu:
parent: Release notes
weight: 101
---
## v2.0.0-alpha.20 [2019-11-20]
### Features
- Add TLS insecure skip verify to influx CLI.
- Extend influx cli user create to allow for organization ID and user passwords to be set on user.
- Autopopulate organization IDs in the code samples.
- Expose bundle analysis tools for front end resources.
- Allow users to view just the output section of a Telegraf config.
- Allow users to see string data in single stat graph type.
### Bug Fixes
- Fix long startup when running `influx help`.
- Mock missing Flux dependencies when creating tasks.
- Ensure array cursor iterator stats accumulate all cursor stats.
- Hide Members section in Cloud environments.
- Change how cloud mode is enabled.
- Merge front end development environments.
- Refactor table state logic on the front end.
- Arrows in tables show data in ascending and descending order.
- Sort by retention rules now sorts by second.
- Horizontal scrollbar no longer covering data;
- Allow table columns to be draggable in table settings.
- Light up the home page icon when active.
- Make numeric inputs first-class citizens.
- Prompt users to make a dashboard when dashboards are empty.
- Remove name editing from query definition during threshold check creation.
- Wait until user stops dragging and releases marker before zooming in after threshold changes.
### UI Improvements
- Redesign cards and animations on Getting Started page.
- Allow users to filter with labels in Telegraf input search.
## v2.0.0-alpha.19 [2019-10-30]
### Features

View File

@ -149,6 +149,20 @@ myMeasurement fieldKey=12485903i
myMeasurement fieldKey=-12485903i
```
### UInteger
Unsigned 64-bit integers.
Trailing `u` on the number specifies an unsigned integer.
| Minimum uinteger | Maximum uinteger |
| ---------------- | ---------------- |
| `0u` | `18446744073709551615u` |
##### UInteger field value examples
```js
myMeasurement fieldKey=1u
myMeasurement fieldKey=12485903u
```
### String
Plain text string.
Length limit 64KB.

View File

@ -32,3 +32,18 @@ influx user create -n <username>
# Example
influx user create -n johndoe
```
### Create a user with a password and organization
To create a new user with a password and add the user as a member of an organization,
include a password and organization ID with the `influx user create` command.
_Use the [`influx org find` command](/v2.0/reference/cli/influx/org/find/)
to retrieve your organization ID._
```sh
# Pattern
influx user create -n <username> -p <password> -o <org-id>
# Example
influx user create -n johndoe -p PaSsWoRd -o 0o0x00o0x0000oo0
```

View File

@ -31,13 +31,13 @@ For details on using the Data Explorer, see [Explore metrics](/v2.0/visualize-da
Click the timezone dropdown to select a timezone to use for the dashboard. Select either the local time (default) or UTC.
{{< img-hd src="/img/timezone.png" alt="Select timezone" />}}
{{< img-hd src="/img/2-0-controls-timezone.png" alt="Select timezone" />}}
### Select auto-refresh interval
Select how frequently to refresh the dashboard's data. By default, refreshing is paused.
{{< img-hd src="/img/refresh-interval.png" alt="Select refresh interval" />}}
{{< img-hd src="/img/2-0-controls-refresh-interval.png" alt="Select refresh interval" />}}
### Manually refresh dashboard
@ -47,7 +47,7 @@ Click the refresh button ({{< icon "refresh" >}}) to manually refresh the dashbo
1. Select from the time range options in the dropdown menu.
{{< img-hd src="/img/time-range.png" alt="Select time range" />}}
{{< img-hd src="/img/2-0-controls-time-range.png" alt="Select time range" />}}
2. Select **Custom Time Range** to enter a custom time range with precision up to nanoseconds.
The default time range is 5 minutes.

View File

@ -54,13 +54,14 @@ Select from available [visualization types](/v2.0/visualize-data/visualization-t
## Control your dashboard cell
From the cell editor overlay, use the controls in the lower pane to control your dashboard.
To open the cell editor overlay, click the gear icon in the upper right of a cell and select **Configure**.
The cell editor overlay opens.
### View raw data
Toggle the **View Raw data** {{< icon "toggle" >}} option to see your data in table format instead of a graph. Use this option when data can't be visualized using a visualization type.
Toggle the **View Raw Data** {{< icon "toggle" >}} option to see your data in table format instead of a graph. Use this option when data can't be visualized using a visualization type.
{{< img-hd src="/img/view-raw-data.png" alt="View raw data" />}}
{{< img-hd src="/img/2-0-controls-view-raw-data.png" alt="View raw data" />}}
### Save as CSV
@ -70,7 +71,7 @@ Click the CSV icon to save the cells contents as a CSV file.
Select how frequently to refresh the dashboard's data. By default, refreshing is paused.
{{< img-hd src="/img/refresh-interval.png" alt="Select refresh interval" />}}
{{< img-hd src="/img/2-0-controls-refresh-interval.png" alt="Select refresh interval" />}}
### Manually refresh dashboard
@ -80,7 +81,7 @@ Click the refresh button ({{< icon "refresh" >}}) to manually refresh the dashbo
1. Select from the time range options in the dropdown menu.
{{< img-hd src="/img/time-range.png" alt="Select time range" />}}
{{< img-hd src="/img/2-0-controls-time-range.png" alt="Select time range" />}}
2. Select **Custom Time Range** to enter a custom time range with precision up to nanoseconds.
The default time range is 5m.

View File

@ -0,0 +1,8 @@
## Global Flags
| Flag | Description | Input type |
|:----------------|:--------------------------------------------------------------------------------------------|:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |
| `--skip-verify` | Skip certificate verification (use when connecting over TLS with a self-signed certificate) | |

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 KiB

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 471 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 311 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 330 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 326 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

After

Width:  |  Height:  |  Size: 380 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 KiB

After

Width:  |  Height:  |  Size: 282 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB