George
ddce5d383a
feat(auth): add new jsonweb package ( #15151 )
2019-09-19 12:31:40 +01:00
Jonathan A. Sternberg
ff7d13a10a
docs(http): fix the documentation for the query swagger endpoint ( #15181 )
...
The `/query` swagger endpoint now specifies that error messages are
returned as the standard JSON schema. The standard JSON schema has also
been changed slightly so that only `code` and `message` are documented
and the intention is that we will flatten the message from an
`influxdb.Error` before we encode the JSON.
2019-09-18 18:31:12 -05:00
Christopher Wolff
eb15b346cc
chore: update to Flux v0.47.1
2019-09-18 11:51:46 -07:00
docmerlin (j. Emrys Landivar)
baaf93dbbc
fix(tasks): fixes duration validation for every and offset, so people will get feedback if they are using durations that tasks doesn't currently support
2019-09-18 09:07:43 -05:00
Stuart Carnie
fc7bb9fcaf
Merge pull request #15166 from influxdata/sgc/issue/15161
...
fix(task): Improve Executor#Execute error consistency
2019-09-17 13:54:49 -07:00
Stuart Carnie
7240d21e20
fix(task): PR feedback to fix docs
2019-09-17 12:02:04 -07:00
alexpaxton
1988f85128
refactor(ui): split check creation flow ( #15169 )
...
* refacotor(ui): split first time create check button into one for each type
* refactor(ui): replace create check button with dropdown
* refactor(ui): remove check type toggle from conditions card
* refactor(ui): split check creation into 2 routes
* refactor(ui): change default check depending on type
* refactor(ui): hide function selector when building a deadman check
* refactor(ui): move validation popover to check save button
* refactor(ui): remove unused component
* refactor(ui): ensure deadman queries do not have an aggregate function
Co-Authored-By: Deniz Kusefoglu <deniz@influxdata.com>
* refactor(ui): update alerting get started copy
* refactor(ui): update e2e test
* refactor(ui): use existing checkType type
2019-09-17 11:24:15 -07:00
Stuart Carnie
57a710bb9c
fix(task): Improve Executor#Execute error consistency
...
Implementations of the backend.Executor produce errors limited to
querying the KV store. The remainder of the errors will be processed
in the implementation of a `RunPromise`.
Fixes #15161
2019-09-16 17:10:02 -07:00
Alirie Gray
aef199bcc1
fix(tasks): use influxdb errors in scheduler ( #15145 )
2019-09-16 13:55:39 -07:00
Edd Robinson
5040dc7036
Merge pull request #15144 from influxdata/er-nats
...
fix(tests): ensure NATS server port free
2019-09-13 21:10:40 +01:00
Edd Robinson
080943a9f5
fix(tests): ensure NATS server port free
2019-09-13 19:33:19 +01:00
Iris Scholten
80c3250241
Merge pull request #15141 from influxdata/update-cloud-welcome
...
chore(ui): Update Cloud welcome header
2019-09-13 11:26:46 -07:00
Iris Scholten
b80bfe2999
chore(ui): Update Cloud welcome header
2019-09-13 11:04:27 -07:00
Lorenzo Affetti
95ba072f92
Merge pull request #15137 from influxdata/flux-staging-v0.47.x
...
build(flux): update Flux to v0.47.0
2019-09-13 19:05:42 +02:00
Jonathan A. Sternberg
e99456d9d3
refactor(query/control): update a test to use the arrow allocator interface ( #15138 )
...
We are planning to change the allocator interface within flux to use the
arrow allocator. To make the release easier, this updates the test in
advance to use the arrow allocator instead of the to be changed memory
allocator interface from flux.
2019-09-13 11:51:15 -05:00
Lorenzo Affetti
7102febafd
fix(testing): skip promql e2e tests
2019-09-13 18:49:00 +02:00
Edd Robinson
65cb8b606e
Merge pull request #15132 from influxdata/er-build-tsi
...
feat(tools): add build-tsi tool
2019-09-13 17:40:24 +01:00
Lorenzo Affetti
7cca079c5a
build(flux): update Flux to v0.47.0
2019-09-13 18:18:48 +02:00
Ben Johnson
a7e8eebe15
feat(tsdb): Add SQL export for TSI indexes ( #15127 )
...
feat(tsdb): Add SQL export for TSI indexes
2019-09-13 10:17:49 -06:00
Ben Johnson
ee3cf79ae7
fix(tsdb): Fix pull request feedback.
2019-09-13 10:00:54 -06:00
Ben Johnson
d08403b658
feat(tsdb): Add SQL export for TSI indexes
2019-09-13 10:00:54 -06:00
Edd Robinson
4a2db1ec5f
feat(inspect): add build-tsi tool
2019-09-13 16:38:05 +01:00
Edd Robinson
d681955a84
refactor: imports
2019-09-13 16:38:05 +01:00
alexpaxton
a90786d1cf
fix(ui): update alerting copy and docs links ( #15113 )
...
* fix(ui): use correct documentation links in alerting tooltips
* fix(ui): update copy in check builder checklist
2019-09-12 23:14:33 -07:00
Stuart Carnie
a8d1fd0deb
Merge pull request #15123 from influxdata/sgc/scheduler
...
feat(task): Change interfaces defining scheduler and executor behavior
2019-09-12 15:10:17 -07:00
Chris Goller
5b4c0db4a0
test(http): add unit tests for /api/v2/write ( #15128 )
...
test(http): add unit tests for /api/v2/write
2019-09-12 13:57:06 -05:00
Alirie Gray
067305c148
feat(tasks): add WithMaxConcurrency to configure scheduler ( #15121 )
2019-09-12 11:47:27 -07:00
Chris Goller
1d14ba1d1c
feat(http): add validation checks to PUT requests ( #15096 )
...
feat(http): add validation checks to PUT requests
2019-09-12 13:42:37 -05:00
Chris Goller
bb72fdeae0
test(http): add unit tests for /api/v2/write
...
We have been tracking down odd error messages when writing data and
found the problem to be internal server errors when writing empty
bodies.
I added fairly comprehensive test coverage for /api/v2/write as well
as simplify and clarify the error messages.
2019-09-12 13:39:24 -05:00
zhulongcheng
dffca8f4fe
chore(cmd): replace bolt.Client with kv.Service ( #14726 )
2019-09-12 10:26:25 -07:00
Stuart Carnie
d65e08ebac
Merge pull request #15033 from influxdata/sgc/issue/14963
...
fix(query): Ensure tags are sorted before passing to PointsWriter
2019-09-12 09:59:10 -07:00
Lorenzo Affetti
23714185fa
Merge pull request #15124 from influxdata/flux-staging-v0.46.x
...
build(flux): update Flux to v0.46.2
2019-09-12 18:11:26 +02:00
Lorenzo Affetti
8788636229
build(flux): update Flux to v0.46.2
2019-09-12 17:52:24 +02:00
kelwang
63c5311494
Merge pull request #15111 from bednar/notification-endpoint
...
docs(http): update NotificationEndpoint swagger definition to reflect reality
2019-09-12 11:09:17 -04:00
jlapacik
669439d08a
build(flux): update Flux to v0.46.1
2019-09-12 07:22:16 -07:00
Stuart Carnie
e0542fa89b
chore(models): Updates based on PR feedback
2019-09-11 17:04:04 -07:00
Stuart Carnie
9389b41c6e
feat(task): Change interfaces defining scheduler and executor behavior
...
See #14183
2019-09-11 17:02:28 -07:00
Stuart Carnie
d56af6eb29
fix(query): Ensure tags are sorted before passing to PointsWriter
...
Writes directly to a PointsWriter require the tag key, value pairs
are sorted in lexicographically ascending order. This commit uses
new API from the `models` package to ensure this invariant is
maintained.
2019-09-11 16:37:57 -07:00
Stuart Carnie
4da079410f
feat(models): New APIs to create Tags from a list of key, value pairs
...
* New API to convert `models.Tags` to a slice of key, value pairs
```
BenchmarkNewTagsKeyValues/sorted/no_dupes/preallocate-8 20000000 63.0 ns/op 0 B/op 0 allocs/op
BenchmarkNewTagsKeyValues/sorted/no_dupes/allocate-8 10000000 124 ns/op 144 B/op 1 allocs/op
BenchmarkNewTagsKeyValues/sorted/dupes-8 10000000 181 ns/op 240 B/op 1 allocs/op
BenchmarkNewTagsKeyValues/unsorted/no_dupes-8 10000000 204 ns/op 176 B/op 2 allocs/op
BenchmarkNewTagsKeyValues/unsorted/dupes-8 5000000 308 ns/op 272 B/op 2 allocs/op
```
2019-09-11 16:37:57 -07:00
Scott Anderson
61c75ae434
Flux function documentation link updates ( #15120 )
...
* updated flux functions documentation
* removed unnecessary newline in fluxFunctions.ts
* updated flux function documentation links
* removed unnecessary newlines from fluxFunctions.ts
2019-09-11 16:05:44 -06:00
Michael Desa
0a24d3bd85
Merge pull request #15115 from influxdata/fix/save-variable
...
fix(variables/components/VariableForm): check to see if form is valid
2019-09-11 16:46:33 -04:00
Christopher Henn
71356c1ba2
feat(ui): show auto window period in function selector dropdown
2019-09-11 13:39:34 -07:00
Michael Desa
f048fddc1b
fix(variables/components/VariableForm): check to see if form is valid
...
Closes https://github.com/influxdata/influxdb/issues/15060
Previously, the create button for a variable wouldn't be enabled unless
the user clicked in the text box, despite a query being present. This
adds an aditional check to the `isFormValid` method that ensures that if
a query is present the create button will be enabled.
2019-09-11 16:24:53 -04:00
Michael Desa
b78c9890da
Merge pull request #15116 from influxdata/fix/any-level-rules
...
fix(notification/rule): alert on all statuses if for any status rule
2019-09-11 15:37:56 -04:00
Lyon Hill
243e946697
fix(task): execution metric now shows correct data ( #15112 )
...
The first pass failed to save the correct execution metrics,
it will now compare the difference between start and finish.
2019-09-11 13:22:22 -06:00
Michael Desa
a1979ef615
fix(notification/rule): alert on all statuses if for any status rule
...
This PR special cases `any` level rules so that they will alert on all
conditions.
2019-09-11 15:19:00 -04:00
Jacob Marble
7f1d2be486
fix(storage): guard against compaction burst throughput limit ( #14985 ) ( #15101 )
2019-09-11 07:46:33 -07:00
kelwang
f9b8ae32a5
Merge pull request #15010 from influxdata/invalid_post_bucket_request
...
fix(http): post bucket validation.
2019-09-11 09:54:01 -04:00
Jakub Bednar
a8ad9e2615
docs(http): update NotificationEndpoint swagger definition to reflect reality
2019-09-11 11:53:44 +02:00
Alirie Gray
21e14de7aa
feat(tasks): use env variable for concurrency ( #15110 )
2019-09-10 16:05:50 -07:00