Commit Graph

21 Commits (a28d3d64660e7b11194a8c35a15246d3e69d2799)

Author SHA1 Message Date
Chris Goller a28d3d6466 Update kapacitor AlertRule to containe most Kapacitor Task information 2017-09-09 10:19:52 -05:00
Chris Goller 2128c13163 Update kapacitor rule response with dbrps, various dates, error, and executing. 2017-09-09 10:19:52 -05:00
Chris Goller 39014cd3b2 Update kapacitor client tests to use Task scheme 2017-09-09 10:19:52 -05:00
Chris Goller 0c2e7f385b WIP 2017-09-09 10:19:52 -05:00
Chris Goller 8a87628e37 WIP 2017-09-09 10:19:52 -05:00
Tim Raymond 01596453bd Update comment
Variable name changed. Improved clarity.
2017-08-18 16:44:04 -04:00
Tim Raymond 886046ed9a
Switch KapacitorRulesGet to use Pagination
Kapacitor responses are paginated, and sometimes users have more than
the default 100 tasks that are returned from Kapacitor. This replaces
the previous Kapa client with one that automatically follows paginated
responses from Kapacitor's ListTasks endpoint and returns the full
response.

Tests for the KapacitorRulesGet endpoint had to be updated because they
did not account for "limit" and "offset", and so led to an infinite
loop with the paginated client. A correct kapacitor backend will not
have this behavior
2017-08-15 17:30:29 -04:00
Andrew Watkins 7c22dfb09e Fix enable / disable bug 2017-06-20 11:08:39 -07:00
Chris Goller 8d8ffd2bf5 Fix kapacitor PUT/POST returning request rather than response 2017-05-24 15:30:45 -07:00
Chris Goller d16286c505 Fix null queryConfig and add substantial test coverage to kapacitor
storage
2017-05-05 16:14:02 -05:00
Chris Goller 8aaed06402 Update Kapacitor alerts to set queryConfig to null if not parsable. 2017-05-05 14:30:20 -05:00
Andrew Watkins 014103adf6 Resolve conflicts
Conflicts:
	ui/src/utils/influxql.js
2017-05-05 10:01:26 -07:00
Chris Goller 65231c2409 Update rawtext in queryconfig to be null and not omitempty 2017-04-07 17:32:10 -05:00
Chris Goller 88bd59d71a Add ID for each kapacitor rule 2017-04-05 23:19:06 -05:00
Chris Goller e83d95b937 Update kapacitors rule's to use AST and kapacitor directly 2017-04-05 20:04:42 -05:00
Chris Goller 1d9bb70414 Add disable and enable to kapacitor alerts 2017-02-10 13:48:42 -06:00
Chris Goller c48bfe21b9 Fix #442 ; update tickscript to be disabled during script update followed by enable 2016-11-10 12:56:34 -06:00
Chris Goller ff3d319866 Update tickscript generation to use group by time as period.
Add httpOut node
Remove spurious variables
2016-11-10 11:35:26 -06:00
Chris Goller 60baf46fb7 Update kapacitor generator to match with frontend UI changes. 2016-11-03 19:52:13 -05:00
Chris Goller 1ff551b03d Add basic kapacitor task routes. Still need schema and storage 2016-11-03 19:52:13 -05:00
Chris Goller 8071717b65 Add kapacitor task creation/deletion/updating 2016-11-03 19:52:13 -05:00