mmdoogie
b9af9cc995
test(kapacitor): add reverse test with noRecoveries
2022-03-15 08:31:47 +01:00
mmdoogie
afb4b89e18
test(kapacitor): add reverse test for without stateChangesOnly
2022-03-15 08:31:47 +01:00
mmdoogie
8f7cecaeab
fix(kapacitor): remove duplicate property output
2022-03-15 08:31:47 +01:00
mmdoogie
77a75a2415
feat(kapacitor): add option to set noRecoveries on alerts
2022-03-15 08:31:47 +01:00
Pavel Zavora
006b42847b
feat(server): define maxLimit to be compatible with go 1.16
2022-02-22 14:56:03 +01:00
Pavel Zavora
1580e89d85
feat(server): add test for GetAlertRuleName
2022-02-22 14:56:03 +01:00
Pavel Zavora
7963cc7324
feat(server): validate zero offset when pattern is supplied
2022-02-22 14:56:03 +01:00
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
89df625b5d
chore(server): simplify ListTasks implementation
2022-02-22 14:56:03 +01:00
Pavel Zavora
a9b6f87c08
feat(server): fetch all kapa tasks when name pattern is supplied
2022-02-22 14:56:03 +01:00
Pavel Zavora
2a5ae4a6c3
feat(server): ignore id pattern in ListTasks
2022-02-22 14:56:03 +01:00
Pavel Zavora
f811a66419
feat(server): respect offset and limit in ListTasks
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
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