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
Chris Goller
f033af1b24
Add kapacitor JSON marshal/unmarshal
2017-11-17 16:17:15 -06:00
Chris Goller
a8ca2c2a21
Update kapacitor to 1.4.0rc0
2017-11-17 16:17:15 -06:00
Chris Goller
7c66d20272
Fix kapacitor variables to escape strings
2017-11-07 16:07:21 -06:00
Chris Goller
4f7710454a
Fix several kapacitor validation failures
2017-11-07 16:02:02 -06:00
Chris Goller
97cae4e788
Fix kapacitor task panic where error condition was not checked
2017-11-07 11:42:40 -06:00
Nathan Haugo
a1ea2c058e
Merge pull request #2140 from influxdata/feature/kapa-insecure
...
Add insecure ssl support to connect to kapacitor
2017-10-26 10:40:28 -04:00
Chris Goller
4b12179b02
Add insecure ssl support to connect to kapacitor
2017-10-19 22:48:31 -05:00
Chris Goller
adb071be37
Refactor queryConfig fields to kapacitor to remove loops
2017-10-17 13:48:21 -05:00
Chris Goller
5711fe66f2
Update kapacitor variables to guard against invalid fields
2017-10-16 12:02:47 -05:00
Chris Goller
14e49c0ef9
Rename queryConfig field to Value and support top/bottom
2017-10-16 10:56:12 -05:00
Chris Goller
0d3762e272
WIP supporting integers/floats for influxql arguments
2017-10-11 14:45:01 -05:00
Chris Goller
7f3986f982
Refactor query config field arguments to be fields
2017-10-10 18:04:45 -05:00
Chris Goller
5f4ce64a11
Refactor queryConfig to have field aliases and function arguments
2017-10-10 17:01:50 -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
31abf6dfd8
Explain magic number, var renaming
...
This extracts a constant and comments it for clarity. Also renames a
confusing waitgroup
2017-08-23 16:32:00 -04:00