Commit Graph

143 Commits (cc34b79390d3f00afb2dcad4bd050ef4e12f2566)

Author SHA1 Message Date
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 1ead64ab5a feat(server): update zenoss tickscript tid property 2021-05-18 16:06:06 +02:00
Pavel Zavora 2a4337c94c feat(server): add zenoss alert parsing 2021-05-17 06:36:36 +02:00
Pavel Zavora 44f9b03f58 feat(server): re-enable teams test 2021-05-10 12:48:54 +02:00
Pavel Zavora 3f00ff8c36 feat(server): add teams parser test with channelURL 2021-05-09 20:57:22 +02:00
Pavel Zavora e0b2ced95e feat(teams): test parsing without ChannelURL 2021-05-07 11:42:38 +02:00
Pavel Zavora 07a8b25947 fix(server): remove serviceNow handler workaround 2021-05-07 06:11:58 +02:00
Pavel Zavora 0b10d6a94d feat(server): enable teams test 2021-05-07 05:27:08 +02:00
Pavel Zavora 3cd17b8e3a chore: update skip comment message 2021-05-06 10:19:36 +02:00
Pavel Zavora 37b3ed537a fix: restrict teams properties to those that work 2021-05-06 10:19:36 +02:00
Pavel Zavora 58d98264bd feat(server): test teams tickscript alert 2021-05-06 10:19:36 +02:00
Pavel Zavora 014801e46c fix(server): re-enable bigPanda alert test 2021-04-26 04:43:58 +02:00
Pavel Zavora 5eac5007e0 feat(bigpanda): add big tickscript serialization tests 2021-04-26 03:55:05 +02:00
Pavel Zavora 7cdb970339 feat(kapacitor): add serviceNow alert properties to server 2021-02-26 18:44:46 +01:00
Pavel Zavora 6aa5b45d62 fix(kapacitor): AND not equal conditions in where filter 2020-11-24 05:38:05 +01:00
Pavel Zavora 72705c4bc2 fix(kapacitor): parse task name from TICKScript 2020-10-20 02:48:39 +02:00
Pavel Zavora 13c030939e fix(kapacitor): add 'isPresent' filter to rule's generated tickscript 2020-09-23 06:25:58 +02:00
Greg 1806d6c298
chore: tidy prior to kv refactor (#5342)
* Start cleaning up/reviewing for kv refactor

* Remove dependency on graceful http layer

* Remove deprecated cli option --new-sources

* Run gofmt and remove dep related files

* Update non-influx deps

* Update kapacitor dep

* Compile regexp's once

* Remove un-needed struct members

* Remove unused integrations code
2020-01-09 08:49:42 -07:00
Michael Desa 37ebe2a28e
fix(kapacitor): use better heuristic than string contains `batch` when creating tasks (#5335)
Closes https://github.com/influxdata/chronograf/issues/5332
2019-12-18 09:40:51 -08:00
Brandon Farmer 09bbceebd5 Provide valid characters for idVar with Sensu 2018-11-27 15:36:47 -08: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
Brandon Farmer 5770d5e6f7 Only add stateChangesOnly to new rules
- New rules default to a blank id
- Check for blank id before adding stateChangesOnly
2018-04-04 14:26:16 -07:00
Chris Goller a9f98d7f9f
Merge branch 'master' into fix/kapa-idvar-no-groups 2018-01-25 15:45:33 -06:00
Chris Goller 38cf9e8e55 Update TICKscripts to not have .Group templates when no group by 2018-01-08 17:44:01 -06:00
Michael Desa b278c02760 Add second test case to TestPipelienJSONDeadman
Previously, we had a test that was failing due to a misordering in the
output text. Both versions are acceptable.
2018-01-08 14:08:08 -05:00
deniz kusefoglu abdfd14bbd Merge branch 'master' into multiple-event-handlers 2018-01-04 18:14:06 -08:00
Chris Goller ac41c384f2 Add multiple dashboard stores to server 2017-12-19 10:07:07 -08:00
Chris Goller 9374268878 Fix translation of pushover, http, tcp, log, exec alerts to tickscript 2017-12-12 18:20:38 -06:00
deniz kusefoglu 1f2eccafaf Change test output to pass tests 2017-12-05 16:45:53 -08:00
deniz kusefoglu 26ff492555 Change test output to pass tests 2017-12-05 16:33:44 -08:00
Deniz Kusefoglu ace69cc49b
Merge branch 'master' into multiple-event-handlers 2017-12-05 16:18:01 -08:00
Chris Goller 1849d2eee1
Merge branch 'master' into feature/alert-boolean-thresholds 2017-12-04 15:00:58 -06:00
Chris Goller 26fa1941f3 Update kapacitor alerts to cast to float before sending to influx 2017-12-01 11:53:28 -06:00
Chris Goller e97c510e63 Add boolean thresholds for kapacitor threshold alerts 2017-12-01 08:11:04 -06:00
deniz kusefoglu 00dca72f19 Rename AlertHandlers to AlertNodes 2017-11-30 16:16:44 -08:00
Chris Goller ccf86a5327 Update deserialization of tickscript to AlertHandler
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2017-11-30 16:32:47 -06:00
Chris Goller 397f65d6ae Fix tickscript tests with new AlertHandler
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2017-11-30 16:32:47 -06:00
Chris Goller 91321bdeda Fix kapacitor alert handler generation tests
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2017-11-30 16:32:47 -06:00
Chris Goller 4599530296 Update kapacitor tickscript generation to use alert handlers 2017-11-30 16:32:47 -06:00
Chris Goller aa489a73a1 Update kapacitor vars comments according to vet 2017-11-30 16:32:47 -06:00
Chris Goller 9e4ccf5c87 Update kapacitor pipeline with comments 2017-11-17 16:42:54 -06:00
Chris Goller 55aacfc26c Add test for deadman json pipeline conversion 2017-11-17 16:24:52 -06:00