Commit Graph

31197 Commits (a90786d1cfd6c9a22ba12f6dbed9347107e1b08a)

Author SHA1 Message Date
Christopher Henn 18d8db67ad refactor(ui): migrate authorizations CRUD to generated client 2019-08-27 16:38:33 -07:00
Christopher Henn 6843314284 feat(ui): link to alerting history from alerting page 2019-08-27 15:40:19 -07:00
Christopher Henn 2ee871cae8 refactor(ui): remove alerting containers folder
Tomato, tomato.
2019-08-27 15:40:19 -07:00
Michael Desa 7c8988f4f7
Merge pull request #14777 from influxdata/fix/misc-check-flux
fix(checks): generate exact flux for threshold checks and notifications
2019-08-27 17:17:16 -04:00
Lyon Hill f8f8a3cf55
fix(task): fix panic when failing to update on startup (#14825)
* fix(task): fix panic when failing to update on startup

Additionally we have no need to claim tasks that are inactive
2019-08-27 13:16:18 -06:00
Michael Desa b26ed76d6a
fix(notification/check): ensure cloud integration works
fix(notification/check): include tags in check object in generated flux

Closes https://github.com/influxdata/influxdb/issues/14769

fix(notification/check): use selected field in threshold functions

Closes https://github.com/influxdata/influxdb/issues/14776

fix(testing): add selected field for check tests

fix(check): use real flux for threshold check

feat(notification/check): generate flux for deadman checks

chore(endpoint): rename webhook endpoint to http endpoint

fix(notification/rule): fetch url for flux script off of endpoint

fix(notification/rule): clean up slack and http rules

fix(notification/rule): change MessageTemp to MessageTemplate

fix(rules): pass endpoint in to rule during create

fix(ui): rename webhook to http

feat(notification/check): namespace deadman under alerts

fix(notification/check): nest tags under tags key in data object in flux

wip

feat(kv): log error if urm cannot be deleted for notification rule

fix(notification/rule): remove name from notify call in slack rule

chore(ui/cypress/e2e): skip rule create test
2019-08-27 15:02:53 -04:00
Christopher Henn a98642a6d8 feat(ui): add search functionality to alerting history page
Also replaces the fake API for the alerting history page with a (mostly)
real one.
2019-08-27 10:50:03 -07:00
Jonathan A. Sternberg ae780ff468
tests(cmd/influxd/launcher): add a launcher test for the secret service (#14813)
The secret service is tested by creating a secret and then attempting to
use it in a flux query. There is one test where accessing the secret
should work and one where it should return that the action is forbidden.
2019-08-27 10:44:46 -05:00
Russ Savage 65324ad50d
fix(nav): Remove s from Telegrafs subnav (#14807)
* fix(nav): update label telegrafs to telegraf
2019-08-26 17:14:14 -07:00
Lyon Hill ee9e622c6d
feat(task): Add task middleware's for checks and notifications (#14809)
To have checks and notifications happen transactionally we need to be
able to alert the task system when a new task was created using the checks and notifications systems.
These two new middlewares allow us to inform the task system of a update
to a task that was created through the check or notification systems.
2019-08-26 16:54:52 -06:00
Nathaniel Cook 3e16be7c14 build(flux): update to Flux v0.41.0 2019-08-26 16:46:17 -06:00
Nathaniel Cook dfc28335ea refactor(query/dependencies): update to new Flux dependencies defaults 2019-08-26 16:46:17 -06:00
Jonathan A. Sternberg c7bbfbe293 refactor(notification): rename alerts package to monitor in flux (#14788) 2019-08-26 16:46:17 -06:00
Adam fcfdd2b1ef build(flux): update to latest flux master 2019-08-26 16:46:17 -06:00
Adam f97929614c test(query): roll back some changes to end_to_end_test.go 2019-08-26 16:46:17 -06:00
Adam 945b68b8fd fix(query): finish refactoring the repl and inject the secret service as a dependency 2019-08-26 16:46:17 -06:00
Adam 808ebb9590 fix(query): update usage of interpreter dependencies 2019-08-26 16:46:17 -06:00
Adam a91a8df501 build(flux): get latest flux 2019-08-26 16:46:17 -06:00
Nathaniel Cook 6303e2dcc5 test(query): skip holt_winters_panic test
added executor dependencies where needed
2019-08-26 16:46:17 -06:00
Andrew Watkins 0e4df01ddd
feat(alerts): rule overlay endpoint dropdown (#14787)
* feat(alerts): rule overlay endpoint dropdown

* test: skip tests until ownerID gets sorted out

* chore: change back to using electron

* test(cypress): use chrome again

* test(cypress): downgrade cypress
2019-08-26 14:27:31 -07:00
Deniz Kusefoglu 669b5f9110
Check eo single select (#14808)
* Remove CSV export button from alerting timeMachine

* Single select fields in alerting query builder

* Single select aggregate functions in alerting builder

* EditCheckEO should open in alerting tab

* Remove view type and vis options from CheckEO
2019-08-26 14:07:18 -07:00
Michael Desa e3b354f45c
Merge pull request #14798 from influxdata/fix/create-monitoring-things-with-txn
fix: create check/rule tasks inside kv txn
2019-08-26 15:11:49 -04:00
Deniz Kusefoglu 3249711ee5
feat: Check meta fix (#14794)
* Add colors to thresholds

* Remove cron option in check

* Change status text area placeholder
2019-08-26 11:05:31 -07:00
Michael Desa b4644a39d1
fix(kv): Create/Update/Delete notification rule tasks in transaction 2019-08-26 07:55:43 -04:00
Michael Desa add4bcb873
fix(http): remove non-txn task Create/Update/Delete for nofitication rules 2019-08-26 07:55:43 -04:00
Michael Desa 9cccf32452
fix(kv): Create/Update/Delete check tasks in transaction 2019-08-26 07:55:43 -04:00
Michael Desa df628f21de
fix(http): remove non-txn task Create/Update/Delete for checks 2019-08-26 07:55:43 -04:00
Michael Desa 0e28ee71be
test(task/backend/middleware): skip flaky test TestCoordinatingTaskService_ClaimTaskUpdatesLatestCompleted
Opened https://github.com/influxdata/influxdb/issues/14797
2019-08-26 07:55:40 -04:00
Jakub Bednář 2e746d8179
docs(http): update suggestions swagger definition to reflect reality (#14725) 2019-08-26 08:12:39 +02:00
Jakub Bednář 094d8e3174
docs(http): update swagger for easily use in clients (#14724)
* added missing Permission types: notificationRules, notificationEndpoints, checks
* Authorization links use Link as a type
* Run's logs are readonly
* TaskCreateRequest and TaskUpdateRequest has description property to update Task description
2019-08-26 08:11:52 +02:00
Deniz Kusefoglu cd6a908048
feat: Alerting context menus (#14784)
* Add clone to check card

* add clone and edit to rules

* Add error notifications and clone to endpoint context

* Fix missint incrementCloneName

* Fix cypress tests

* Remove try catch in endpoint add edit
2019-08-23 16:43:43 -07:00
Lyon Hill cce5ed74ea
fix(task): fix failover function for task auth to not fail (#14789)
If a task is created and the auth associated is removed
lookup of tasks currently fail. This is bad behavior.
We should expect to be able to at least see and delete task's that
have old auth.
2019-08-23 16:52:55 -06:00
maxunt b213fb5ff3
Merge pull request #14757 from influxdata/mu-dumptsi-2.x
feat(tsi1): port the dump-tsi tool to 2.x
2019-08-23 14:51:28 -07:00
Max U 36d3a6ea82 refactor(tsi1): address comments to clean up tool 2019-08-23 14:08:00 -07:00
Max U b2b4892918 refactor(inspect): make flags less vague 2019-08-23 14:07:30 -07:00
Max U 9fc99c2724 feat(tsi1): port the dump-tsi tool to 2.x 2019-08-23 14:07:30 -07:00
Adam Perlin 76dbc44e3c
feat(storage): Add influxd inspect dumpwal tool (#14237)
* feat(storage/wal/dump): initial influxd inspect dumptsmwal implementation

* feat(storage/wal/dump): add org bucket formatting to dumpwal tool; improve test cases

* refactor(storage/wal/dump): add long description for dumpstmwal tool

* refactor(storage/wal/dump): rename dumptsmwal flag

* chore(storage/wal/dump): gofmt

* refactor(storage/wal/dump): update error printing in dumptsmwal tool

* refactor(storage/wal/dump): address review comments

* refactor(storage/wal/dump): rename dumpwal command source file

* refactor(storage/wal/dump): clarify print flag comment

* refactor(inspect): remote unnecessary for-loop in influxd inspect command
2019-08-23 13:05:06 -07:00
George 0cc9caa1d4
refactor(tasks): separate coordinator and middleware (#14779) 2019-08-23 19:05:13 +00:00
maxunt 6ffbab89d4
Merge pull request #14316 from influxdata/mu-verify-series-2.x
feat(inspect): add verify-seriesfile tool to 2.x
2019-08-23 11:40:39 -07:00
maxunt 236f44dcdd
Merge pull request #14737 from influxdata/mu-inspect-command
fix(launcher): print inspect as a subcommand when running with --help flag
2019-08-23 11:40:27 -07:00
Nathaniel Cook 4b339dd0cf fix(query/to): make orgID default to the context org
This change makes it so that if an org or orgID are missing on calls to the `to` function
that the orgID is retrieved from the request context.

This is consistent with how `from` works.
2019-08-23 11:03:26 -06:00
Deniz Kusefoglu c209b77dc6
Remove check logic from VEO (#14759) 2019-08-23 09:41:35 -07:00
Deniz Kusefoglu 0bee8ac0eb
Feat/monitoring labels (#14751)
* add labels to alerting swagger

* Add labels to checks

* Add labels to rules

* Add labels to endpoints

* Fix endpoint swagger bugs

* Update endpoint swagger to reflect reality

* Add endpoint delete and update to cards

* add equality

* Add rule patch

* Update endpoint should put

* Update http/swagger.yml

Co-Authored-By: Christopher Henn <chris@chrishenn.net>

* Apply suggestions from code review

Co-Authored-By: Christopher Henn <chris@chrishenn.net>

* fix updateEndpoint
2019-08-22 16:22:01 -07:00
Nathaniel Cook 6b54abb51e test(query): skip holt_winters_panic test 2019-08-22 13:11:13 -06:00
Nathaniel Cook 3c314a999c build(flux): update to Flux v0.40.2 2019-08-22 13:11:13 -06:00
kelwang f3d4f78e91
Merge pull request #14745 from influxdata/query_check
feat(http): checks query endpoint
2019-08-22 14:58:43 -04:00
Kelvin Wang 4a7679b693 feat(http): checks query endpoint 2019-08-22 14:40:42 -04:00
Max U 6d361201d3 refactor(inspect): add shorthand for command line args 2019-08-22 11:01:02 -07:00
Max U 1ce93f0ca4 refactor(inspect): address config changes 2019-08-22 11:01:02 -07:00
Nathaniel Cook 6f5c81f0dc feat(inspect): add verify-seriesfile to 2.x 2019-08-22 11:01:02 -07:00