Commit Graph

31281 Commits (4fcf4c4ad1e70f9dfcd6ee94a59dc8c317afb557)

Author SHA1 Message Date
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
Andrew Watkins 47dbc421c7 fix(alerts): remove status change functionality 2019-09-09 18:06:42 -07:00
Christopher Henn 800c818434 fix(ui): show notifications history sent column properly 2019-09-09 17:54:40 -07:00
Michael Desa 4dac2f51f7
fix(ui): use slack as default endpoint
This is so that in cloud there is not a weird UX for initial users who
see http, but cannot create an http endpoint
2019-09-09 20:42:53 -04:00
Michael Desa a23962fef8
Merge pull request #15079 from influxdata/fix/pagerduty-client-url
fix(pagerduty/rule): change url to clientURL for pagerduty endpoint/rule
2019-09-09 19:27:29 -04:00
Michael Desa ea1b7bec09
fix(pagerduty/rule): change url to clientURL for pagerduty endpoint/rule
Closes https://github.com/influxdata/influxdb/issues/15042

Previously, there was an optional URL provided for the pagerduty
endpoint. However, the pagerduty API url does not change and as a result
it should not have been a parameter. The Pagerduty API does require a
`clientURL` that is presented in the pagerduty UI when an alert is
triggered. Currently that value will default to the alerts history page
for the organization.
2019-09-09 19:09:35 -04:00
docmerlin (j. Emrys Landivar) 03215c0028 chore(tasks): up concurrency to 11, this is a temporary workaround till we get a new scheduler 2019-09-09 17:13:14 -05:00
Christopher Henn 67ab3ac6ba fix(ui): fix telegraf setup link 2019-09-09 14:59:53 -07:00
Andrew Watkins 57fb96a46d
Merge pull request #15072 from influxdata/chore/alphabetical
chore(alerts): alphabetize endpoints in rule dropdown
2019-09-09 14:55:12 -07:00
Andrew Watkins 848936b5dc fix(alerts): empty state 2019-09-09 14:35:14 -07:00
Christopher Henn 6247b09837 feat(ui): remove token requirement when saving tasks 2019-09-09 14:11:12 -07:00
Andrew Watkins 7f07270ece feat(alters): sort and filter alert cards 2019-09-09 13:48:52 -07:00
kelwang 3c87dc027f
Merge pull request #15075 from influxdata/fix_http_endpoint
fix(notification/endpoint): http bearer token
2019-09-09 16:43:03 -04:00
Kelvin Wang 0ec2db0785 fix(notification/endpoint): http bearer token 2019-09-09 16:20:23 -04:00
alexpaxton 32d11209ac
refactor(ui): alerting details polish (#15056)
* refactor(ui): add default values for deadman condition

* refactor(ui): limit values to 2 decimal places when dragging thereshold handles

* refactor(ui): prevent system buckets from being deleted or renamed

* refactor(ui): indicate which buckets are system buckets

* refactor(ui): prevent user from creating buckets starting with _

* refactor(ui): remove system bucketes from generate token overlay

* refactor(ui): remove system buckets from bucket dropdowns

* chore(ui): update changelog
2019-09-09 13:12:20 -07:00
Andrew Watkins cc22607bd7
Merge pull request #15068 from influxdata/fix/disable-check-save
fix(alerting): disable save button if query is invalid
2019-09-09 13:04:27 -07:00
Andrew Watkins 80101cfc7e chore(alerts): alphabetize endpoints in rule dropdown 2019-09-09 13:01:54 -07:00
kelwang 86c36a38fd
Merge pull request #15067 from influxdata/fix_outside_range
fix(notification/check): range outside logic
2019-09-09 15:31:51 -04:00