Commit Graph

31046 Commits (b98552a6c6ce3c1f67cb1cf7c98a468a0f3b9748)

Author SHA1 Message Date
Christopher Henn b98552a6c6 fix(ui): remove limit dropdown from alerting history 2019-09-05 11:19:56 -07:00
kelwang 19980a9306
Merge pull request #14973 from influxdata/check_update_issue
fix(http): fix check update swagger
2019-09-05 14:17:12 -04:00
Kelvin Wang f1675a33d5 fix(http): fix check update swagger 2019-09-05 13:58:35 -04:00
Russ Savage adc2c605a6
fix(copy): minor copy updates (#14968)
* fix(copy): minor copy updates

* fix(copy): Make all getting started cards one line of text

* fix(copy): setup to set up
2019-09-05 10:50:58 -07:00
Michael Desa 69a97714f9
Merge pull request #14969 from influxdata/feat/toggle-cloud-alerting
feat(ui/src/shared/utils): toggle alerting feature flag for cloud
2019-09-05 13:34:37 -04:00
alexpaxton 9a5c698b29
refactor(ui): polish check editor header (#14970)
* refactor(ui): un-squish check header

* refactor(ui): polish appearance of check requirements popover
2019-09-05 10:28:26 -07:00
Michael Desa 0d98360de2
feat(ui/src/shared/utils): toggle alerting feature flag for cloud 2019-09-05 13:13:25 -04:00
Christopher Henn feda6dcd27 fix(ui): use linear interpolation in check plots
Closes #14943
2019-09-05 09:36:08 -07:00
kelwang 5e5b0ea4c1
Merge pull request #14778 from influxdata/query_endpoint_notification_rule
feat(http): add rule query endpoint
2019-09-05 11:58:51 -04:00
Mark Rushakoff 91864a3afa chore: upgrade editorconfig-checker
This avoids a module error in Go 1.13 from a poorly tagged transitive
test dependency that looks like:

gopkg.in/stretchr/testify.v1/assert: go.mod has non-....v1 module path
"github.com/stretchr/testify" at revision v1.4.0
2019-09-05 08:55:49 -07:00
Jonathan A. Sternberg bea3a18330
fix(query/stdlib): use auth correctly in the v1.databases() call (#14927)
The `v1.databases()` call did not correctly filter buckets based on
auth. Fortunately, it did not cause any improper permissions such as
allowing a person to see buckets that they had no read access to.

The error instead was that if a user did not have read access to one of
the buckets that was returned, the entire command would fail rather than
filter out the bucket that didn't have permissions.

This changes it so that if the user doesn't gets an unauthorized error
when accessing a bucket, it will filter it from the list instead of
failing. It also changes it so the error message is marked as
`ENotFound` instead of as an internal error.
2019-09-05 10:35:23 -05:00
Michael Desa 1244b90cb6
Merge pull request #14960 from influxdata/fix/remove-rule-pivot
fix(notification/rule): remove fieldsAsCols pivot from rules
2019-09-05 10:47:19 -04:00
Michael Desa 38f1598602
fix(notification/rule): filter statuses by current level if no previous 2019-09-05 10:30:11 -04:00
Kelvin Wang a83f8dd205 feat(http): add rule query endpoint 2019-09-05 10:22:07 -04:00
Michael Desa d96d21c5e1
fix(notification/rule): remove fieldsAsCols pivot from rules 2019-09-05 09:52:05 -04:00
Michael Desa d328844692
Merge pull request #14934 from influxdata/fix/slack-colors
fix(notification/rule): fix slack notification rules
2019-09-04 21:24:34 -04:00
Michael Desa 119f901264
fix(notification/rule): use every from rule in task options in flux 2019-09-04 20:38:31 -04:00
Michael Desa 5ff6f8b9ca
fix(notification/rule): pivot table from monitor 2019-09-04 20:38:31 -04:00
Michael Desa 07e7309c48
fix(notification/rule): add colors to slack notifications 2019-09-04 20:38:31 -04:00
Stuart Carnie a6306b5f73
Merge pull request #14935 from influxdata/sgc/issue/4556
fix(task): Create tags using NewTags to ensure they are sorted
2019-09-04 17:01:03 -07:00
Mark Rushakoff c2f847299c ci: use latest staticcheck
We were still referring to megacheck in tools.go; this confused
dependent projects also using staticcheck.
2019-09-04 16:34:45 -07:00
Stuart Carnie 15aaae5dd4
fix(task): Create tags using NewTags to ensure they are sorted 2019-09-04 15:25:44 -07:00
Ben Johnson 73ab90cad2
Merge pull request #14929 from influxdata/fix/remove-tsi-cardinality-stats-cache
fix(tsi1): Remove TSI cardinality stats cache
2019-09-04 15:06:22 -06:00
Ben Johnson 9237ee6a40
fix(tsi1): Remove TSI cardinality stats cache 2019-09-04 14:48:22 -06:00
Christopher Henn dd95578940 fix(ui): sort alerting history page from newest to oldest
Previously it was displaying oldest to newest.
2019-09-04 13:45:44 -07:00
Chris Goller d47afacb6f
fix(onboarding): remove fancy scrollbar that hides content (#14931)
e2e tests are failing because the fancyscroll bar component hides
the admin step during certain points in onboarding.

We were able to reproduce when the form in the admin step had been
marked as valid.

The use of the scrollbar in the setting seemed unneeded as it could
be rendered in a quite small window.

Therefore, we removed the scrollbar altogether for now.

Co-authored-by: Christopher Henn <chris@chrishenn.net>
2019-09-04 14:42:01 -05:00
Nathaniel Cook 4cd136721c build(flux): update to Flux v0.43.0 2019-09-04 13:01:08 -06:00
Edd Robinson d4b1901914
Merge pull request #14925 from influxdata/er-index-wait
perf(storage): optimistically check compactions
2019-09-04 19:13:49 +01:00
Edd Robinson 030083e1a3 perf(storage): optimistically check compactions 2019-09-04 17:38:13 +01:00
Chris Goller af5996fe45
build(webpack): add source maps for @influxdata/giraffe prod builds (#14908)
* build(webpack): add source maps for @influxdata/giraffe prod builds

We were getting runtime errors in the prod builds via honeybadger.
They were unreadable because we did not have source maps for giraffe.

We were only able to get this working for prod builds but not dev
despite trying putting it in the webpack common file.  This is good
'nuff for our purpose now, but maybe we'll need further investigation.

Bonus commit... I added a new make target of influxd so I would not
need to type so much.

Co-authored-by: Andrew Watkins <watts@influxdb.com>

* build(webpack): add clockface source maps to production build

 Co-authored-by: Andrew Watkins <watts@influxdb.com>
2019-09-04 09:00:20 -05:00
George 8109d161bb
perf(storage): expose ability to peek on stream readers (#14901) 2019-09-04 13:57:36 +00:00
alexpaxton 20f717dcfe
refactor(ui): improve first time alerting experience (#14917)
* refactor(ui): move QuestionMarkTooltip into shared folder

* refactor(ui): delete unused component

* refactor(ui): allow QuestionMarkTooltip to wrap other elements

* refactor(ui): Add question mark tooltips to alerting column headers

* refactor(ui): color code buttons to indicate importance and grouping

* refactor(ui): swap order of endpoints and rules columns

* refactor(ui): show "first time" widget when no alerting resources exist

* refactor(ui): update alerting empty copy

* refactor(ui): ensure onboarding tooltips are using the correct prop names

* refactor(ui): remove tests for tooltips in admin step

These should be handled by Clockface instead

* refactor(ui): fix affected e2e test

* chore(ui): update changelog
2019-09-03 17:54:52 -07:00
alexpaxton ee211405da
refactor(ui): replace page components (#14899)
* refactor(ui): wrap entire UI in Clockface AppWrapper

* refactor(ui): create utility for ensuring consistent page titles

* refactor(ui): update settings and load data icons in nav

* refcator(ui): simplify templates page

* refactor(ui): ensure unauthenticated pages are wrapped in AppWrapper

* refactor(ui): replace all instances of local Page with clockface Page

* refactor(ui): move control of presentation mode to AppWrapper

* refactor(ui): delete local Page components

* refactor(ui): ensure that onboarding pages are visible

* refactor(ui): remove unused "Account" page

* refactor(ui): appease linter gods

* refactor(ui): ensure alerting index fills height of page

* refactor(ui): fix padding in time machine view
2019-09-03 16:46:41 -07:00
Deniz Kusefoglu dde232b1ce
Switch edit and view actions (#14915)
* Switch edit and view actions

* Fix test
2019-09-03 15:58:16 -07:00
kelwang 89dc05da71
Merge pull request #14918 from influxdata/fix_org_owner_remove_cloud
fix(kv): ignore not found error when removing org dep resources
2019-09-03 18:48:51 -04:00
Kelvin Wang 490872301f fix(kv): ignore not found error when removing org dep resources 2019-09-03 18:32:04 -04:00
Michael Desa 9f84379255
Merge pull request #14912 from influxdata/fix/rule-state-changes
fix(notification/rule): add support for status rules
2019-09-03 17:17:28 -04:00
Deniz Kusefoglu d190b0450a
Refrain from showing popover if query is alertable (#14916) 2019-09-03 14:09:39 -07:00
Michael Desa 8251922b63
fix(notification/rule): filter for state changes in rules
fix(notification/rule): add overlap to windows so that state changes works

Since stateChanges cannot detect a state change for the initial point,
returned, we generate a task that queries for more data than required
and filters out records that are before the every. This way we will not
miss state changes that take place on the initial value.

fix(notification/rule): prevent union of tables for single status rule

fix(testing): add status rules to notifications
2019-09-03 16:58:50 -04:00
Lyon Hill 5fe3600126
feat(task): Task execution will accurately measure queue delta (#14913)
When a task is told to execute it can be enqueued waiting for a worker.
This statistic will be superior to the existing delta based on scheduled for,
the current system can be effected by a user having slow queries or a long "delay" on the task.
This new way of measuring the same thing should allow us to accuratly measure when it is the task system's fault.
2019-09-03 12:55:33 -06:00
kelwang e0e50661ed
Merge pull request #14906 from influxdata/fix_notification_rule_testing_cloud
fix(kv): fix notification rule testing
2019-09-03 12:51:06 -04:00
Kelvin Wang 9d67e4bfbf fix(kv): fix notification rule testing 2019-09-03 12:33:48 -04:00
Deniz Kusefoglu a9c23cb8be
feat: Add matching rules cards (#14868)
* Add matching rules cards

* Add loading states and array type query parameters check matching query

* maps are better than reduces
2019-09-03 08:57:03 -07:00
kelwang 1e67fea93d
Merge pull request #14857 from influxdata/inactive_check
fix(kv): fix the status check of check and notification
2019-09-03 11:36:09 -04:00
Christopher Henn 626286863a fix(ui): constrain query builder in check overlay
Closes #14785
2019-09-03 07:23:07 -07:00
Kelvin Wang 5b33003e4a fix(kv): fix the status check of check and notification 2019-09-03 10:21:39 -04:00
Ben Johnson 9d6d1d1418
Merge pull request #14902 from influxdata/fix/tsdb-remove-tsi-compaction-wait-group
fix(storage): replace TSI compaction wait group with counter.
2019-09-02 09:53:31 -06:00
Ben Johnson 729558d64b
fix(tsdb): Replace TSI compaction wait group with counter.
Previously the TSI partition would panic if a compaction was
started while `Wait()` was waiting. This commit removes the previous
wait group and replaces it with a simple counter. The `Wait()`
function now polls the counter until it reaches zero.
2019-09-02 09:37:35 -06:00
Christopher Henn 7beed29551 chore(ui): upgrade oats to 0.4.0 2019-08-30 16:14:26 -07:00
Deniz Kusefoglu c065211439
Point alerting history page to monitoring bucket (#14895)
* Point alerting history page to monitoring bucket

* Apply suggestions from code review

Co-Authored-By: Christopher Henn <chris@chrishenn.net>
2019-08-30 14:52:22 -07:00