Commit Graph

30936 Commits (dfc28335ea48bb7b23eab2565f7a9816657a887f)

Author SHA1 Message Date
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 () 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 ()
* 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 ()
* 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 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 ()
* 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 () 2019-08-26 08:12:39 +02:00
Jakub Bednář 094d8e3174
docs(http): update swagger for easily use in clients ()
* 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 ()
* 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 ()
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 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 ()
* 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 () 2019-08-23 19:05:13 +00:00
maxunt 6ffbab89d4
Merge pull request 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 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 () 2019-08-23 09:41:35 -07:00
Deniz Kusefoglu 0bee8ac0eb
Feat/monitoring labels ()
* 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 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
Jacob Marble 851279b71f
chore(storage): bring back storage_retention_checks_total () 2019-08-22 10:47:27 -07:00
docmerlin (j. Emrys Landivar) 19fe098888 chore(ci): update go-tools 2019-08-22 10:55:05 -05:00
Jonathan A. Sternberg 11aae144b2
feat(query): wrap the secret service for flux ()
The secret service is wrapped to be compatible with the flux interface
to the secret service.

The organization id is not part of the flux interface so this code
extracts the organization id from the query context so that it can lookup
a secret within the organization.
2019-08-22 10:47:02 -05:00
Edd Robinson 24da008f81
Merge pull request from influxdata/er-delete-tracing
refactor(storage): add deeper tracing around deletes
2019-08-22 16:23:20 +01:00
Edd Robinson d160585a34 refactor(storage): add deeper tracing around deletes 2019-08-22 11:08:33 +01:00
alexpaxton 3b714995cf
chore(ui): upgrade Clockface dependency to 0.0.27 ()
* chore(ui): upgrade Clockface dependency to latest

* chore(ui): address breaking FlexBoxChild changes

* chore(ui): address breaking PanelHeader changes

* chore(ui): update affected snapshots

* refactor(ui): attempt to fix e2e tests
2019-08-21 19:47:37 -07:00
Max U ed7b88525b fix(launcher): print inspect as a subcommand when running with --help flag 2019-08-21 16:15:30 -07:00
Michael Desa 1d5e000cb1
Merge pull request from influxdata/fix/misc-alerting
fix(notification_rules): add misc fixes to UI and backend for alerts and notification
2019-08-21 18:30:11 -04:00
Lyon Hill 0778f90cfc
fix(task): Remove unnecessary auth lookups ()
* fix(task): Remove unnecessary auth lookups

Currently we look up task authorization for all task lookups even if we are only
looking up the task for internal use's. We can keep the same interface but cutdown
on the amount of lookups we do by using seperate internal functions for task lookup
and task with id lookup
2019-08-21 15:56:33 -06:00
Michael Desa c433f50cec
chore(alerts_notifications): add misc changes to alerts ui for demo
Create view with checkID in NewVEO

fix ruleToDraftRule bug

Fix no thresholds error

Get correct view status for rendering cell

Fix editVEO flow

Add notification endpoint ID to initRule

Remove task type from check and notification rule

mock generate AST

use check query in EditCheckEO

wip

Create default http notification endpoint

Co-authored-by: Michael Desa <mjdesa@gmail.com>

Dont save view if no dashboardID in saveCheck

Execute queries in editCheckEO

Fix check remove bug

Disable Advanced view and multiple queries in check builder

Disable alerting button if draftQuery is not alertable

chore(kv/check): remove createCheckTask from KV as the result of 
2019-08-21 17:28:49 -04:00
Nathaniel Cook cfebb3b5a0 build(flux): update to Flux v0.40.1 2019-08-21 09:59:01 -06:00