Commit Graph

5401 Commits

Author SHA1 Message Date
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
arberkatellari
082c412159 revise FilterToSQLQuery function 2025-10-24 20:31:32 +02:00
ionutboangiu
b54e3b54ac refactor StatSum to use RSRParsers and add conn_status converter 2025-10-19 12:31:35 +02:00
ionutboangiu
880942352b use string status values in diameter conn events 2025-10-13 09:56:31 +02:00
armirveliaj
2b63ee67bb Add event to warning log for matched profiles 2025-10-05 08:54:53 +02:00
ionutboangiu
e9b1538450 update newFilterIndex to use batching 2025-10-05 08:54:11 +02:00
ionutboangiu
2078c93758 implement batched index retrieval in filter matching
improvement only for prefix/suffix matching for now
2025-10-05 08:54:11 +02:00
ionutboangiu
52aa161331 optimize batch index removal 2025-10-05 08:54:11 +02:00
ionutboangiu
102abf559b improve index cache and remove empty string checks
- all-or-nothing cache strategy for multiple keys (fetch all keys from database
  if any key is missing)
- only len(idxKeys) == 0 triggers "get all" behavior
- empty string is now treated as a valid index key
2025-10-05 08:54:11 +02:00
ionutboangiu
e7b30a139f replicator: allow batched get/remove for indexes 2025-10-05 08:54:11 +02:00
ionutboangiu
8546c4c64e implement batched index retrieval in GetIndexes method 2025-10-05 08:54:11 +02:00
ionutboangiu
8d05c14aec add support for batched index keys removal 2025-10-05 08:54:11 +02:00
ionutboangiu
164078bbbb add support for batched index keys retrieval 2025-10-05 08:54:11 +02:00
armirveliaj
0b323f9b78 Add warning log regarding too many profiles matched for a request 2025-09-30 19:13:50 +02:00
gezimbll
5894e0d7f3 added in ThresholdProfile.Clone() to copy EeIDs 2025-09-22 13:12:05 +02:00
arberkatellari
7ed66e7cd5 Register needed gob record types 2025-09-16 18:08:56 +02:00
ionutboangiu
e194979b99 revert bulk index removal and add early return optimization
reverts #4450
2025-09-09 09:31:27 +02:00
armirveliaj
c9972c62f9 Add coverage tests on actions && sessions 2025-09-08 17:51:56 +02:00
armirveliaj
e84faf5804 Add coverage tests on cdrs & statmetrics 2025-08-30 13:59:34 +02:00
armirveliaj
233064fff7 Add coverage tests for ips & statmetrics 2025-08-22 14:47:35 +02:00
armirveliaj
d6b8c8386e Add coverage tests for ips & statmetrics 2025-08-18 10:11:42 +02:00
armirveliaj
c6ba149151 Add coverage tests for statmetrics 2025-08-15 13:23:01 +02:00
armirveliaj
9e0a0fe865 Add coverage tests for statmetrics 2025-08-15 13:23:01 +02:00
armirveliaj
8ae3b6ed22 Add coverage tests on engine 2025-08-15 13:23:01 +02:00
ionutboangiu
ae73523551 stats: register newly implemented metrics with gob 2025-08-15 13:11:19 +02:00
ionutboangiu
392c5d3408 stats: ensure repsc/repfc metrics are properly decoded 2025-08-15 13:11:19 +02:00
armirveliaj
ce04c7e5eb Add coverage tests for statmetrics 2025-08-10 22:11:00 +02:00
armirveliaj
2ca08a0ef5 Add coverage tests for statmetrics 2025-08-10 22:11:00 +02:00
armirveliaj
2819c4c632 Add coverage tests for statmetrics 2025-08-10 22:11:00 +02:00
armirveliaj
4f1bf56673 Add coverage tests for statmetrics 2025-08-10 22:11:00 +02:00
ionutboangiu
415d027761 stats: implement new REPSC/REPFC metrics
used to track successful/failed requests. REPFC supports error filtering.
2025-08-04 17:56:08 +03:00
armirveliaj
b4de0dc84c Add coverage tests on ips 2025-07-27 11:50:09 +02:00
armirveliaj
50a06f0c44 Add coverage tests on ips 2025-07-27 11:50:09 +02:00
ionutboangiu
8466a65d63 prometheus: add node_id label to cache metrics 2025-07-21 10:26:20 +02:00
armirveliaj
986e36a31f Add tests for non-indexed variants of indexable filter types 2025-07-08 13:21:50 +02:00
armirveliaj
234508a2eb add non-indexed variants of indexable filter types 2025-07-06 19:47:23 +02:00
gezimbll
a1fa7925d0 improved load tests for subsystems 2025-07-02 21:47:47 +02:00
arberkatellari
73667f343f Improve filters validation 2025-07-02 21:46:45 +02:00
arberkatellari
d7254ff73c Add constant '@' and fix typo 2025-06-27 20:46:21 +02:00
arberkatellari
2385597155 Add route_profile option to switch agents in config 2025-06-25 19:11:15 +02:00
gezimbll
5c08a425dc change from redis keys command to scan for GetKeys method 2025-06-24 18:21:35 +02:00
gezimbll
182200994d added benchmark for GetKeysForPrefix 2025-06-24 18:21:35 +02:00
ionutboangiu
4635069702 add StatHighest and StatLowest metric implementations 2025-06-24 18:03:17 +02:00
gezimbll
fbb625962c added tests on thresholds processing 2025-06-24 17:59:46 +02:00
gezimbll
f3ca5b0016 using an temp variable for lkID in unlock method 2025-06-24 17:59:46 +02:00
arberkatellari
32a02a694a Add tests for action types 2025-06-24 17:57:09 +02:00
arberkatellari
990f001465 Add action type *dynamic_action_trigger 2025-06-24 17:57:09 +02:00
arberkatellari
0e15a7826f Add action type *dynamic_resource 2025-06-24 17:57:09 +02:00
arberkatellari
36abb6fac8 Add action type *dynamic_trend 2025-06-24 17:57:09 +02:00
arberkatellari
959a9f38d2 Add action type *dynamic_rating_profile 2025-06-24 17:57:09 +02:00