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
Christopher Henn
901bf6128a
fix(ui): enforce bucket retention rule limits
2019-09-10 13:30:54 -07:00
Christopher Henn
7cc975c547
feat(ui): use duration selector for selecting bucket retention duration
...
The previous bucket retention form component was frusterating to use.
This commit replaces it with a simple duration dropdown that we use in a
few other places. It refactors the various duration utilities to make it
happen.
The hope is to eventually improve this duration dropdown into a combined
text input/dropdown component that can accept custom durations with
validation.
2019-09-10 13:30:54 -07:00
Christopher Henn
c403cef292
fix(ui): avoid attempting to create bucket with invalid expiration
...
The following steps would result in a server error:
1. Open create bucket overlay
2. Enter valid name
2. Click "Periodically" radio option
3. Click "Never" again
4. Submit
The issue is that the bucket was being submitted with an invaild
retention duration, even though the user had selected to use no
retention duration (by clicking "Never").
The solution was to clear the retention duration state when switching
back to the "Never" radio option.
2019-09-10 13:30:54 -07:00
Christopher Henn
060dfe8609
refactor(ui): use locally generated BucketRetentionRules type
...
Connect #14482
2019-09-10 13:30:54 -07:00
Stuart Carnie
01a0efa16d
Merge pull request #15109 from influxdata/sgc/issue/15107
...
fix(task): Ensure Flux parser panics are handled in UpdateFlux
2019-09-10 13:29:47 -07:00
Stuart Carnie
e8a220ebe9
fix(task): Ensure Flux parser panics are handled in UpdateFlux
...
UpdateFlux is called during updates within the K/V store, and may
panic when parsing unexpected Flux scripts, which is undesirable.
We will look for an opportunity to log the panic, so they can be
tracked down and fixed.
2019-09-10 13:04:11 -07:00
Alirie Gray
645df57102
feat(tasks): use influxdb errors for executor metrics ( #14926 )
2019-09-10 12:48:55 -07:00
Lyon Hill
cc84a43cea
feat(task): add run duration to task metrics ( #15102 )
...
We need to be able to see how long its taking task's to run as well
be able to see the start delta time per task.
2019-09-10 12:30:17 -06:00
Daniel Campbell
54ec7fd001
Add viewport scaling to html meta responsive mobile scaling ( #15099 )
...
* Modify HTML files to include viewport scaling
* Add ms-viewport device width to css
* Update changelog
2019-09-10 11:14:10 -07:00
alexpaxton
4fea50b24e
refactor(ui): polish bucket card & check builder ( #15098 )
...
* refactor(ui): remove action buttons from system bucket cards
* refactor(ui): make check builder more compact
* refactor(ui): add raw data toggle to check editor
* refactor(ui): fix logic for displaying system bucket label
* refactor(ui): remove edit link from system buckets
2019-09-10 11:03:26 -07:00
Christopher M. Wolff
b0b3121517
build(flux): update to Flux v0.45.1 ( #15082 )
2019-09-10 09:03:33 -07:00
Chris Goller
280b78e45d
feat(http): add validation checks to PUT requests
...
It was possible to create checks with invalid data causing
odd internal errors to return from the layers far down below.
Likely, we need to add more checks to the validation, but, I have
not thoroughly checked.
2019-09-10 09:29:04 -05:00
Michael Desa
a6b291c9f7
Merge pull request #15095 from influxdata/fix/system-bucket-auth
...
fix(http): add return after returning system bucket errror
2019-09-10 10:10:48 -04:00
Michael Desa
515df68a83
fix(http): add return after returning system bucket errror
2019-09-10 09:47:44 -04:00
Michael Desa
675fcad9d0
Merge pull request #15090 from influxdata/chore/update-readme
...
chore(ui): add the command to the ui readme
2019-09-09 23:52:03 -04:00
Michael Desa
4ff0e01005
chore(ui): add the command to the ui readme
2019-09-09 23:39:57 -04:00
Scott Anderson
a6a7459f88
Updated Flux functions documentation ( #15089 )
...
* updated flux functions documentation
* removed unnecessary newline in fluxFunctions.ts
2019-09-09 21:25:38 -06:00
Michael Desa
f6cc72c83e
Merge pull request #15088 from influxdata/fix/telegraf-404
...
fix(telegraf/configs): route to correct path for telegraf collectors
2019-09-09 23:08:41 -04:00
Michael Desa
4df32f2609
fix(telegraf/configs): route to correct path for telegraf collectors
...
Co-Authored-By: Andrew Watkins <watts@influxdb.com>
2019-09-09 22:50:25 -04:00
alexpaxton
29fe49a981
refactor(ui): add real links to alerting documentation ( #15083 )
...
* refactor(ui): add real links for documentation pertaining to alerts
* refactor(ui): use correct docs links
2019-09-09 19:03:35 -07:00
Andrew Watkins
2bedaedbe1
Merge pull request #15087 from influxdata/fix/remove-status-change
...
fix(alerts): remove status change functionality
2019-09-09 18:30:19 -07:00
Christopher Henn
7f30aa950b
fix(ui): deduplicate rows on notifications history page
...
We want to display a row for each notification, but we were displaying
a row for each field for each notification.
By filtering out the system fields (those that start with an
underscore), we are in left with only a single user-specific field.
2019-09-09 18:29:41 -07:00
Michael Desa
eb010310f8
Merge pull request #15085 from influxdata/fix/default-endpoint
...
fix(ui): use slack as default endpoint
2019-09-09 21:13:36 -04:00