Merge branch 'master' into monitor-alert

pull/427/head
Scott Anderson 2019-09-09 19:49:40 -06:00
commit f25d24aee0
9 changed files with 382 additions and 251 deletions

View File

@ -4,6 +4,13 @@ This repository contains the InfluxDB 2.x documentation published at [docs.influ
## Contributing ## Contributing
We welcome and encourage community contributions. For information about contributing to the InfluxData documentation, see [Contribution guidelines](CONTRIBUTING.md). We welcome and encourage community contributions. For information about contributing to the InfluxData documentation, see [Contribution guidelines](CONTRIBUTING.md).
## Reporting a Vulnerability
InfluxData takes security and our users' trust very seriously.
If you believe you have found a security issue in any of our open source projects,
please responsibly disclose it by contacting security@influxdata.com.
More details about security vulnerability reporting,
including our GPG key, can be found here. https://www.influxdata.com/how-to-report-security-vulnerabilities/
## Run the docs locally ## Run the docs locally
The InfluxData documentation uses [Hugo](https://gohugo.io/), a static site The InfluxData documentation uses [Hugo](https://gohugo.io/), a static site
generator built in Go. generator built in Go.

11
SECURITY.md Normal file
View File

@ -0,0 +1,11 @@
# Security Policy
## Reporting a Vulnerability
Reporting a Vulnerability
InfluxData takes security and our users' trust very seriously.
If you believe you have found a security issue in any of our open source projects,
please responsibly disclose it by contacting security@influxdata.com.
More details about security vulnerability reporting, including our GPG key,
can be found here. https://www.influxdata.com/how-to-report-security-vulnerabilities/

View File

@ -8,6 +8,7 @@ menu:
name: intervals name: intervals
parent: built-in-misc parent: built-in-misc
weight: 401 weight: 401
draft: true
--- ---
The `intervals()` function generates a set of time intervals over a range of time. The `intervals()` function generates a set of time intervals over a range of time.

View File

@ -75,7 +75,7 @@ _**Data type:** String_
The assumed minimum value of the dataset. The assumed minimum value of the dataset.
When the quantile falls below the lowest upper bound, interpolation is performed between `minValue` and the lowest upper bound. When the quantile falls below the lowest upper bound, interpolation is performed between `minValue` and the lowest upper bound.
When `minValue` is equal to negative infinity, the lowest upper bound is used. When `minValue` is equal to negative infinity, the lowest upper bound is used.
Defaults to `0`. Defaults to `0.0`.
_**Data type:** Float_ _**Data type:** Float_

View File

@ -10,7 +10,8 @@ menu:
weight: 501 weight: 501
--- ---
The `increase()` function calculates the total non-negative difference between values in a table. The `increase()` function calculates the total non-negative difference between
subsequent values.
A main use case is tracking changes in counter values which may wrap over time A main use case is tracking changes in counter values which may wrap over time
when they hit a threshold or are reset. when they hit a threshold or are reset.
In the case of a wrap/reset, we can assume that the absolute delta between two In the case of a wrap/reset, we can assume that the absolute delta between two
@ -20,16 +21,16 @@ _**Function type:** Aggregate_
_**Output data type:** Float_ _**Output data type:** Float_
```js ```js
increase(column: "_values") increase(columns: ["_value"])
``` ```
## Parameters ## Parameters
### column ### columns
The column for which the increase is calculated. The columns to use in the operation.
Defaults to `"_value"`. Defaults to `["_value"]`.
_**Data type:** Strings_ _**Data type:** Array of strings_
## Examples ## Examples
```js ```js

View File

@ -66,7 +66,7 @@ A selector method that returns the data point for which at least `q` points are
### compression ### compression
Indicates how many centroids to use when compressing the dataset. Indicates how many centroids to use when compressing the dataset.
A larger number produces a more accurate result at the cost of increased memory requirements. A larger number produces a more accurate result at the cost of increased memory requirements.
Defaults to 1000. Defaults to `1000.0`.
_**Data type:** Float_ _**Data type:** Float_

View File

@ -2,8 +2,8 @@
title: Flux date package title: Flux date package
list_title: Date package list_title: Date package
description: > description: >
The Flux math package provides basic constants and mathematical functions. The Flux date package provides date and time constants and functions.
Import the `math` package. Import the `date` package.
aliases: aliases:
- /v2.0/reference/flux/language/built-ins/time-constants/ - /v2.0/reference/flux/language/built-ins/time-constants/
menu: menu:

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,2 @@
stable_version: v2.0 stable_version: v2.0
telegraf_version: 1.11.0 telegraf_version: 1.12.0