Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InfluxDB 2.0.4 #2134

Merged
merged 34 commits into from
Feb 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
bbdc3de
Changelog for 2.0.4
noramullen1 Feb 4, 2021
c41b739
Update influxdb.md
noramullen1 Feb 4, 2021
3210341
New influxd commands, flags, and config options (#2139)
sanderson Feb 4, 2021
cf81c0f
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
70ec0af
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
3d60b13
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
0586431
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
5184b12
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
64b271f
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
9c37aa8
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
e1a95ac
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
d3d4de8
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
bb239c3
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
54ddd8a
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
a3de1f4
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
07be7c6
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
6283932
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
f096106
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
16179a7
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 4, 2021
0d7d94f
Update upgrade docs to note removal of inmem option (#2138)
noramullen1 Feb 4, 2021
552b89f
Apply suggestions from code review
sanderson Feb 4, 2021
7c46f81
Swagger files for InfluxDB 2.0.4 (#2145)
sanderson Feb 5, 2021
45614e8
Update content/influxdb/v2.0/reference/release-notes/influxdb.md
noramullen1 Feb 5, 2021
f9360de
Apply suggestions from code review
sanderson Feb 5, 2021
acb1001
Apply suggestions from code review
sanderson Feb 5, 2021
db0ed2a
removed geo ref from oss swagger
sanderson Feb 5, 2021
6e2f92a
Add new items
noramullen1 Feb 5, 2021
7d7432b
Merge branch '204-changelog' of https://github.com/influxdata/docs-v2…
noramullen1 Feb 5, 2021
3420698
InfluxDB 2.0.4 binaries (#2144)
sanderson Feb 5, 2021
52a9bb4
removed unsupported tag matching operators from swagger, closes influ…
sanderson Feb 10, 2021
971fb05
Merge branch '204-changelog' of github.com:influxdata/docs-v2 into 20…
sanderson Feb 10, 2021
16eb9a0
Update influxdb-k8-minikube.yaml (#2171)
pierwill Feb 10, 2021
fe1d059
update v1-compat swagger with timestamp info, closes influxdata/DAR#1…
sanderson Feb 11, 2021
cb78f17
resolved merge conflicts
sanderson Feb 11, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
186 changes: 185 additions & 1 deletion api-docs/cloud/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6749,6 +6749,7 @@ components:
Expression:
oneOf:
- $ref: "#/components/schemas/ArrayExpression"
- $ref: "#/components/schemas/DictExpression"
- $ref: "#/components/schemas/FunctionExpression"
- $ref: "#/components/schemas/BinaryExpression"
- $ref: "#/components/schemas/CallExpression"
Expand Down Expand Up @@ -6781,6 +6782,27 @@ components:
type: array
items:
$ref: "#/components/schemas/Expression"
DictExpression:
description: Used to create and directly specify the elements of a dictionary
type: object
properties:
type:
$ref: "#/components/schemas/NodeType"
elements:
description: Elements of the dictionary
type: array
items:
$ref: "#/components/schemas/DictItem"
DictItem:
description: A key/value pair in a dictionary
type: object
properties:
type:
$ref: "#/components/schemas/NodeType"
key:
$ref: "#/components/schemas/Expression"
val:
$ref: "#/components/schemas/Expression"
FunctionExpression:
description: Function expression
type: object
Expand Down Expand Up @@ -9745,6 +9767,167 @@ components:
format: float
legendOrientationThreshold:
type: integer
GeoViewLayer:
type: object
oneOf:
- $ref: "#/components/schemas/GeoCircleViewLayer"
- $ref: "#/components/schemas/GeoHeatMapViewLayer"
- $ref: "#/components/schemas/GeoPointMapViewLayer"
- $ref: "#/components/schemas/GeoTrackMapViewLayer"
GeoViewLayerProperties:
type: object
required: [type]
properties:
type:
type: string
enum: [heatmap, circleMap, pointMap, trackMap]
GeoCircleViewLayer:
allOf:
- $ref: "#/components/schemas/GeoViewLayerProperties"
- type: object
required: [radiusField, radiusDimension, colorField, colorDimension, colors]
properties:
radiusField:
type: string
description: Radius field
radiusDimension:
$ref: '#/components/schemas/Axis'
colorField:
type: string
description: Circle color field
colorDimension:
$ref: '#/components/schemas/Axis'
colors:
description: Colors define color encoding of data into a visualization
type: array
items:
$ref: "#/components/schemas/DashboardColor"
radius:
description: Maximum radius size in pixels
type: integer
interpolateColors:
description: Interpolate circle color based on displayed value
type: boolean
GeoPointMapViewLayer:
allOf:
- $ref: "#/components/schemas/GeoViewLayerProperties"
- type: object
required: [colorField, colorDimension, colors]
properties:
colorField:
type: string
description: Marker color field
colorDimension:
$ref: '#/components/schemas/Axis'
colors:
description: Colors define color encoding of data into a visualization
type: array
items:
$ref: "#/components/schemas/DashboardColor"
isClustered:
description: Cluster close markers together
type: boolean
GeoTrackMapViewLayer:
allOf:
- $ref: "#/components/schemas/GeoViewLayerProperties"
- type: object
required: [trackWidth, speed, randomColors, trackPointVisualization]
properties:
trackWidth:
description: Width of the track
type: integer
speed:
description: Speed of the track animation
type: integer
randomColors:
description: Assign different colors to different tracks
type: boolean
colors:
description: Colors define color encoding of data into a visualization
type: array
items:
$ref: "#/components/schemas/DashboardColor"
GeoHeatMapViewLayer:
allOf:
- $ref: "#/components/schemas/GeoViewLayerProperties"
- type: object
required: [intensityField, intensityDimension, radius, blur, colors]
properties:
intensityField:
type: string
description: Intensity field
intensityDimension:
$ref: '#/components/schemas/Axis'
radius:
description: Radius size in pixels
type: integer
blur:
description: Blur for heatmap points
type: integer
colors:
description: Colors define color encoding of data into a visualization
type: array
items:
$ref: "#/components/schemas/DashboardColor"
GeoViewProperties:
type: object
required: [type, shape, queries, note, showNoteWhenEmpty, center, zoom, allowPanAndZoom, detectCoordinateFields, layers]
properties:
type:
type: string
enum: [geo]
queries:
type: array
items:
$ref: "#/components/schemas/DashboardQuery"
shape:
type: string
enum: ['chronograf-v2']
center:
description: Coordinates of the center of the map
type: object
required: [lat, lon]
properties:
lat:
description: Latitude of the center of the map
type: number
format: double
lon:
description: Longitude of the center of the map
type: number
format: double
zoom:
description: Zoom level used for initial display of the map
type: number
format: double
minimum: 1
maximum: 28
allowPanAndZoom:
description: If true, map zoom and pan controls are enabled on the dashboard view
type: boolean
default: true
detectCoordinateFields:
description: If true, search results get automatically regroupped so that lon,lat and value are treated as columns
type: boolean
default: true
mapStyle:
description: Define map type - regular, satellite etc.
type: string
note:
type: string
showNoteWhenEmpty:
description: If true, will display note when empty
type: boolean
colors:
description: Colors define color encoding of data into a visualization
type: array
items:
$ref: "#/components/schemas/DashboardColor"
layers:
description: List of individual layers shown in the map
type: array
items:
$ref: "#/components/schemas/GeoViewLayer"
Axes:
description: The viewport for a View's visualizations
type: object
Expand Down Expand Up @@ -9916,6 +10099,7 @@ components:
- $ref: "#/components/schemas/HeatmapViewProperties"
- $ref: "#/components/schemas/MosaicViewProperties"
- $ref: "#/components/schemas/BandViewProperties"
- $ref: "#/components/schemas/GeoViewProperties"
View:
required:
- name
Expand Down Expand Up @@ -11557,7 +11741,7 @@ components:
type: string
operator:
type: string
enum: ["equal", "notequal", "equalregex", "notequalregex"]
enum: ["equal"]
StatusRule:
type: object
properties:
Expand Down
35 changes: 28 additions & 7 deletions api-docs/cloud/swaggerV1Compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,17 @@ paths:
- $ref: "#/components/parameters/TraceSpan"
- $ref: "#/components/parameters/AuthUserV1"
- $ref: "#/components/parameters/AuthPassV1"
- in: header
name: Accept
schema:
type: string
description: Specifies how query results should be encoded in the response. **Note:** When using `application/csv`, query results include epoch timestamps instead of RFC3339 timestamps.
default: application/json
enum:
- application/json
- application/csv
- text/csv
- application/x-msgpack
- in: header
name: Accept-Encoding
description: The Accept-Encoding request HTTP header advertises which content encoding, usually a compression algorithm, the client is able to understand.
Expand Down Expand Up @@ -154,17 +165,19 @@ paths:
type: string
description: Specifies the request's trace ID.
content:
application/csv:
schema:
$ref: "#/components/schemas/InfluxQLCSVResponse"
text/csv:
schema:
type: string
example: >
name,tags,time,test_field,test_tag
test_measurement,,1603740794286107366,1,tag_value
test_measurement,,1603740870053205649,2,tag_value
test_measurement,,1603741221085428881,3,tag_value
text/plain:
$ref: "#/components/schemas/InfluxQLCSVResponse"
application/json:
schema:
$ref: "#/components/schemas/InfluxQLResponse"
application/x-msgpack:
schema:
type: string
format: binary
"429":
description: Token is temporarily over quota. The Retry-After header describes when to try the read again.
headers:
Expand Down Expand Up @@ -233,6 +246,14 @@ components:
items:
type: array
items: {}
InfluxQLCSVResponse:
type: string
example: >
name,tags,time,test_field,test_tag
test_measurement,,1603740794286107366,1,tag_value
test_measurement,,1603740870053205649,2,tag_value
test_measurement,,1603741221085428881,3,tag_value

Error:
properties:
code:
Expand Down
24 changes: 23 additions & 1 deletion api-docs/v2.0/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6749,6 +6749,7 @@ components:
Expression:
oneOf:
- $ref: "#/components/schemas/ArrayExpression"
- $ref: "#/components/schemas/DictExpression"
- $ref: "#/components/schemas/FunctionExpression"
- $ref: "#/components/schemas/BinaryExpression"
- $ref: "#/components/schemas/CallExpression"
Expand Down Expand Up @@ -6781,6 +6782,27 @@ components:
type: array
items:
$ref: "#/components/schemas/Expression"
DictExpression:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is in 2.0, but I missed the cherry-pick to update swagger.yml. Will need to fix that before we release.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

description: Used to create and directly specify the elements of a dictionary
type: object
properties:
type:
$ref: "#/components/schemas/NodeType"
elements:
description: Elements of the dictionary
type: array
items:
$ref: "#/components/schemas/DictItem"
DictItem:
description: A key/value pair in a dictionary
type: object
properties:
type:
$ref: "#/components/schemas/NodeType"
key:
$ref: "#/components/schemas/Expression"
val:
$ref: "#/components/schemas/Expression"
FunctionExpression:
description: Function expression
type: object
Expand Down Expand Up @@ -11557,7 +11579,7 @@ components:
type: string
operator:
type: string
enum: ["equal", "notequal", "equalregex", "notequalregex"]
enum: ["equal"]
StatusRule:
type: object
properties:
Expand Down
35 changes: 28 additions & 7 deletions api-docs/v2.0/swaggerV1Compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,17 @@ paths:
- $ref: "#/components/parameters/TraceSpan"
- $ref: "#/components/parameters/AuthUserV1"
- $ref: "#/components/parameters/AuthPassV1"
- in: header
name: Accept
schema:
type: string
description: Specifies how query results should be encoded in the response. **Note:** When using `application/csv`, query results include epoch timestamps instead of RFC3339 timestamps.
default: application/json
enum:
- application/json
- application/csv
- text/csv
- application/x-msgpack
- in: header
name: Accept-Encoding
description: The Accept-Encoding request HTTP header advertises which content encoding, usually a compression algorithm, the client is able to understand.
Expand Down Expand Up @@ -154,17 +165,19 @@ paths:
type: string
description: Specifies the request's trace ID.
content:
application/csv:
schema:
$ref: "#/components/schemas/InfluxQLCSVResponse"
text/csv:
schema:
type: string
example: >
name,tags,time,test_field,test_tag
test_measurement,,1603740794286107366,1,tag_value
test_measurement,,1603740870053205649,2,tag_value
test_measurement,,1603741221085428881,3,tag_value
text/plain:
$ref: "#/components/schemas/InfluxQLCSVResponse"
application/json:
schema:
$ref: "#/components/schemas/InfluxQLResponse"
application/x-msgpack:
schema:
type: string
format: binary
"429":
description: Token is temporarily over quota. The Retry-After header describes when to try the read again.
headers:
Expand Down Expand Up @@ -233,6 +246,14 @@ components:
items:
type: array
items: {}
InfluxQLCSVResponse:
type: string
example: >
name,tags,time,test_field,test_tag
test_measurement,,1603740794286107366,1,tag_value
test_measurement,,1603740870053205649,2,tag_value
test_measurement,,1603741221085428881,3,tag_value

Error:
properties:
code:
Expand Down
Loading