Merge pull request #700 from influxdata/beta-1

Beta 1
pull/703/head
Scott Anderson 2020-01-08 14:43:18 -07:00 committed by GitHub
commit ddffe943a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 151 additions and 25 deletions

View File

@ -110,7 +110,7 @@
border-radius: $radius;
&.oss:after {
content: 'alpha';
content: 'beta';
display: inline-block;
vertical-align: top;
font-style: italic;

View File

@ -25,10 +25,10 @@ This article describes how to get started with InfluxDB OSS. To get started with
<!-------------------------------- BEGIN macOS -------------------------------->
{{% tab-content %}}
### Download and install InfluxDB v2.0 alpha
Download InfluxDB v2.0 alpha for macOS.
### 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-alpha.21_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-beta.1_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**
@ -37,7 +37,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.21_darwin_amd64.tar.gz
tar zxvf ~/Downloads/influxdb_2.0.0-beta.1_darwin_amd64.tar.gz
```
#### (Optional) Place the binaries in your $PATH
@ -46,7 +46,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.21_darwin_amd64/{influx,influxd} /usr/local/bin/
sudo cp influxdb_2.0.0-beta.1_darwin_amd64/{influx,influxd} /usr/local/bin/
```
{{% note %}}
@ -103,11 +103,11 @@ influxd --reporting-disabled
<!-------------------------------- BEGIN Linux -------------------------------->
{{% tab-content %}}
### Download and install InfluxDB v2.0 alpha
Download the InfluxDB v2.0 alpha package appropriate for your chipset.
### 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-alpha.21_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.21_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-beta.1_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.1_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`.
@ -116,10 +116,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.21_linux_amd64.tar.gz
tar xvzf path/to/influxdb_2.0.0-beta.1_linux_amd64.tar.gz
# Copy the influx and influxd binary to your $PATH
sudo cp influxdb_2.0.0-alpha.21_linux_amd64/{influx,influxd} /usr/local/bin/
sudo cp influxdb_2.0.0-beta.1_linux_amd64/{influx,influxd} /usr/local/bin/
```
{{% note %}}
@ -162,13 +162,13 @@ influxd --reporting-disabled
<!-------------------------------- BEGIN Docker ------------------------------->
{{% tab-content %}}
### Download and run InfluxDB v2.0 alpha
Use `docker run` to download and run the InfluxDB v2.0 alpha Docker image.
### Download and run InfluxDB v2.0 beta
Use `docker run` to download and run the InfluxDB v2.0 beta Docker image.
Expose port `9999`, which InfluxDB uses for client-server communication over
the [InfluxDB HTTP API](/v2.0/reference/api/).
```sh
docker run --name influxdb -p 9999:9999 quay.io/influxdb/influxdb:2.0.0-alpha
docker run --name influxdb -p 9999:9999 quay.io/influxdb/influxdb:2.0.0-beta
```
{{% note %}}
@ -181,7 +181,7 @@ To opt-out of sending telemetry data back to InfluxData, include the
`--reporting-disabled` flag when starting the InfluxDB container.
```bash
docker run -p 9999:9999 quay.io/influxdb/influxdb:2.0.0-alpha --reporting-disabled
docker run -p 9999:9999 quay.io/influxdb/influxdb:2.0.0-beta --reporting-disabled
```
{{% /note %}}

View File

@ -19,7 +19,10 @@ _**Function type:** Transformation_
_**Output data type:** Object_
```js
filter(fn: (r) => r._measurement == "cpu")
filter(
fn: (r) => r._measurement == "cpu",
onEmpty: "drop"
)
```
## Parameters
@ -41,6 +44,19 @@ _**Data type:** Function_
Objects evaluated in `fn` functions are represented by `r`, short for "record" or "row".
{{% /note %}}
### onEmpty
Defines the behavior for empty tables.
Potential values are `keep` and `drop`.
Defaults to `drop`.
##### drop
Empty tables are dropped.
##### keep
Empty tables are output to the next transformation.
_**Data type:** String_
## Examples
##### Filter based on measurement, field, and tag

View File

@ -11,11 +11,67 @@ aliases:
---
{{% note %}}
_The latest release of InfluxDB v2.0 alpha includes **Flux v0.57.0**.
_The latest release of InfluxDB v2.0 alpha includes **Flux v0.58.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.58.4 [2020-01-07]
### Bug fixes
- Skip stdlib symlink was removed erroneously.
---
## v0.58.3 [2020-01-07]
### Bug fixes
- Ensure stdlib directory is created.
---
## v0.58.2 [2020-01-07]
### Bug fixes
- Correctly skip the stdlib symlink in libflux.
---
## v0.58.1 [2020-01-07]
### Bug fixes
- Ensure that stdlib is present when building with flux-config.
---
## v0.58.0 [2020-01-06]
### Features
- Serialize semantic graph flatbuffers.
- Implement `onEmpty` parameter for `filter()`.
- Serialize Flux standard library types as part of build process.
- Add type declarations for universe.
- Methods for type checking package dependencies.
- Add type declarations for strings.
### Bug fixes
- Expose tracing flag.
- Update `count` builtin type.
- Update `experimental.set` builtin type.
- Update the type of `influxdb.to` to be a passthrough.
- Update `fill` builtin type.
- Remove redundant clones found by a new version of clippy.
- Fix durations in Rust semantic graph.
- Removes unnecessary rc clone in semantic serializer.
- Do not stall forever in flux-config when an error happens with verbose.
- Update function block return statements to produce a stmt and not an expression.
- Fix token location for `scan_with_regex`.
- Cache environment variable for performance.
- Fix a couple errors in builtin types.
- Annotate variable assignment with polytype (not monotype).
---
## v0.57.0 [2019-12-10]
### Features

View File

@ -7,7 +7,61 @@ menu:
parent: Release notes
weight: 101
---
## v2.0.0-alpha.21 [2019-12-12]
## v2.0.0-beta.1 [2019-01-08]
### Features
- Add support for notification endpoints to `influx` templates and packages.
- Drop `id` prefix for secret key requirement for notification endpoints.
- Add support for check resource to `pkger` parser.
- Add support for check resource `pkger` dry run functionality
- Add support for check resource `pkger` apply functionality
- Add support for check resource `pkger` export functionality
- Add new `kv.ForwardCursor` interface.
- Add support for notification rule to `pkger` parser.
- Add support for notification rule `pkger` dry run functionality
- Add support for notification rule `pkger` apply functionality.
- Add support for notification rule `pkger` export functionality.
- Add support for tasks to `pkger` parser.
- Add support for tasks to `pkger` dry run functionality
- Add support for tasks to `pkger` apply functionality.
- Add support for tasks to `pkger` export functionality.
- Add `group()` to Query Builder.
- Add last run status to check and notification rules.
- Add last run status to tasks.
- Extend `pkger` apply functionality with ability to provide secrets outside of package.
- Add hide headers flag to `influx` CLI task find command.
- Manual overrides for readiness endpoint.
- Drop legacy inmem service implementation in favor of KV service with inmem dependency.
- Drop legacy bolt service implementation in favor of KV service with bolt dependency.
- While creating check, also display notification rules that would match check based on tag rules.
- Increase default bucket retention period to 30 days.
- Add toggle to table thresholds to allow users to choose between setting threshold colors to text or background.
- Add developer documentation.
- Capture User-Agent header as query source for logging purposes.
### Bug Fixes
- Ensure environment variables are applied consistently across command and fixes issue where `INFLUX_` environment variable prefix was not set globally.
- Remove default frontend sorting when flux queries specify sorting.
- Store canceled task runs in the correct bucket.
- Update `sortby` functionality for table frontend sorts to sort numbers correctly.
- Prevent potential infinite loop when finding tasks by organization.
- Retain user input when parsing invalid JSON during import.
- Fix test issues due to multiple flush/sign-ins being called in the same test suite.
- Update `influx` CLI to show only "see help" message, instead of the whole usage.
- Fix notification tag-matching rules and enable tests to verify.
- Extend y-axis when stacked graph is selected.
- Fix query reset bug that was resetting query in script editor whenever dates were changed.
- Fix table threshold bug defaulting set colors to the background.
- Time labels no longer squished to the left.
- Fix underlying issue with disappearing queries made in Advanced Mode.
- Prevent negative zero and allow zero to have decimal places.
- Limit data loader bucket selection to non system buckets.
### UI Improvements
- Add honeybadger reporting to create checks.
## v2.0.0-alpha.21 [2019-12-13]
### Features
- Add stacked line layer option to graphs.

View File

@ -15,7 +15,7 @@ to create a user.
## Create a user in the InfluxDB UI
{{% note %}}
Currently, additional users cannot be created in the InfluxDB UI.
Additional users cannot be created in the InfluxDB UI.
{{% /note %}}
## Create a user using the influx CLI

View File

@ -21,7 +21,7 @@ To remove a user from an organization without deleting the user entirely, see
## Delete a user from the InfluxDB UI
{{% note %}}
Currently, users cannot be deleted from the InfluxDB UI.
Users cannot be deleted from the InfluxDB UI.
{{% /note %}}
## Delete a user using the influx CLI

View File

@ -15,7 +15,7 @@ to update a user.
## Update a user in the InfluxDB UI
{{% note %}}
While in alpha, user information cannot be updated in the InfluxDB UI.
User information cannot be updated in the InfluxDB UI.
{{% /note %}}
## Update a user using the influx CLI

View File

@ -15,7 +15,7 @@ to view users.
## View users in the InfluxDB UI
{{% note %}}
While in alpha, there is no list of users in the InfluxDB UI.
There is no list of users in the InfluxDB UI.
{{% /note %}}
## View users using the influx CLI

View File

@ -11,7 +11,7 @@
{{ if in .RelPermalink "/cloud/"}}
{{ partial "article/_cloud-feedback.html" . }}
{{ else }}
{{ partial "article/_alpha-feedback.html" . }}
{{ partial "article/_feedback.html" . }}
{{ end }}
</article>
</div>

View File

@ -2,7 +2,7 @@
<div class="feedback block">
<h4>Bug Reports and Feedback</h4>
<p>
Thank you for being willing to help test InfluxDB v2.0 alpha!
Thank you for being willing to help test InfluxDB v2.0 beta!
Feedback and bug reports are welcome and encouraged both for InfluxDB and this documentation.
Submit feedback using one of the following methods:
</p>