Commit Graph

10 Commits

Author SHA1 Message Date
jimtng
3b0c78795d
[basicprofiles] Support double quoted strings in state filter (#18117)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-01-17 16:41:08 +01:00
Wouter Born
8672ed0208
Start license headers with /* instead of /** (#18061)
Prevents JavaDoc tooling issues because these tools check comments starting with `/**`.

Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-07 22:33:03 +01:00
Wouter Born
d6476042ec
Update license headers to 2025 (#18015)
* Update license headers to 2025

Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-02 00:30:12 +01:00
jimtng
34d8fec597
[basicprofiles] Fix delta state filter handling of negative values (#17997)
* [basicprofiles] Pass the initial data for delta state filter

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-12-31 20:23:41 +01:00
jimtng
1190c14f75
[basicprofiles] Add $DELTA_PERCENT function to State Filter profile (#17843)
* [basicprofiles] Add $DELTA_PERCENT function to State Filter profile

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-12-05 20:52:42 +01:00
jimtng
12e7212bd9
[basicprofiles] Add support for functions (DELTA, MEDIAN, AVG, STDDEV, MIN, MAX) in State Filter (#17362)
* [basicprofiles] Add support for functions (DELTA, MEDIAN, AVG, STDDEV, MIN, MAX) in State Filter

Support any type of operand on either side of the operator
e.g.: `ItemName > 10` and `10 < ItemName`

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-12-03 20:03:15 +01:00
Holger Friedrich
54fd13b0c1
Reduce SAT warnings (#17406)
* Reduce SAT warnings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-09-13 17:20:11 +02:00
jimtng
6f55f3d2ad
[basicprofile] Fix statefilter check against item's value on the rhs (#17346)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-08-30 20:44:30 +02:00
jimtng
e4ce954dc2
[basicprofiles] Add additional comparisons to State Filter profile (#17323)
* Add inequality comparisons to State Filter profile

- Fix bug where undefined `mismatchState` passed `UNDEF` instead of ignoring state updates
- Support multiline conditions
- Support comparing against the input state from handler to filter out
unwanted data

* Support comparing item to item or input to item

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-08-28 16:28:10 +02:00
J-N-K
706f9ca6b5
[basicprofiles] Initial contribution (#16754)
* [basicprofiles] Initial contribution

A set of basic profiles with general use cases. See documentation for details.

Also-By: Christoph Weitkamp <github@christophweitkamp.de>
Also-By: Arne Seime <arne.seime@gmail.com>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-05-28 23:30:46 +02:00