Pavel Zavora
1c6a89cf93
chore(server): remove log message
2022-02-22 14:56:03 +01:00
Pavel Zavora
98c3d10060
feat(server): modify kapacitor client to filter by alert rule name
2022-02-22 14:56:03 +01:00
Pavel Zavora
440df1a14a
feat(server): allow to skip parsing with parse parameter
2022-02-22 14:56:03 +01:00
Pavel Zavora
a172b72aae
feat(server): allow to specify offset, limit and pattern
2022-02-22 14:56:03 +01:00
Pavel Zavora
c981751433
chore(server): refactor HTTP transport factory to avoid circular dependency
2022-01-23 10:29:08 +01:00
Pavel Zavora
15b33c0818
fix(server): allow proxy in kapacitor client
2022-01-23 09:55:23 +01:00
Pavel Zavora
20fe61e54c
fix: normalize rule name detection between server and UI
2022-01-04 13:19:17 +01:00
Pavel Zavora
3e6f7d2446
fix(kapacitor): escape deduced tickscript name
2022-01-03 16:01:01 +01:00
Pavel Zavora
6179b1866e
chore: fix wrong 2-way merge
2021-09-03 17:26:57 +02:00
Pavel Zavora
def8840cc5
fix(kapactior): proxy task's template-id
2021-09-03 17:26:57 +02:00
Pavel Zavora
264fa2d624
feat(kapacitor/proxy): serve task variable names
2021-09-03 17:26:57 +02:00
Pavel Zavora
209010daf2
fix(kapacitor): name tickscript also from variable
2021-09-01 06:17:04 +02:00
Pavel Zavora
72705c4bc2
fix(kapacitor): parse task name from TICKScript
2020-10-20 02:48:39 +02:00
Christopher Henn
c5ff500748
Fix leaking sockets in Kapacitor client
...
Every Kapacitor client (`github.com/influxdata/kapacitor/client/v1`)
instantiates its own `http.Transport`, unless one is provided. A
`http.Transport` will cache socket connections for future use, which
leaves connections open.
Chronograf creates a new Kapacitor client upon every request for several
endpoints. Thus each time these endpoints were hit, new connections
would be opened but never closed until Chronograf is shut down.
These changes pass a singleton `http.Transport` when creating new
Kapacitor clients, so that connections are reused while Chronograf is
running.
2018-08-31 14:11:13 -07:00
Brandon Farmer
587f8b269f
Fixes issue with saving tickscript name
2018-05-10 16:33:42 -07:00
Chris Goller
ac41c384f2
Add multiple dashboard stores to server
2017-12-19 10:07:07 -08:00
Chris Goller
97cae4e788
Fix kapacitor task panic where error condition was not checked
2017-11-07 11:42:40 -06:00
Chris Goller
4b12179b02
Add insecure ssl support to connect to kapacitor
2017-10-19 22:48:31 -05:00
Chris Goller
6d2068b79d
Update Kapacitor rule POST/PUT to allow raw tickscripts without
...
queryConfig
2017-09-09 10:19:52 -05:00
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