Commit Graph

13686 Commits

Author SHA1 Message Date
ionutboangiu
f300ecea7e test diameter-stats-prometheus integration 2025-06-11 10:58:37 +02:00
ionutboangiu
671c7474b8 send agent events to stats/thresholds w/ ProcessTime
applies only to template-based agents
2025-06-11 10:58:37 +02:00
ionutboangiu
9b706f57ac cfg: add stats/thresholds_conns to dns_agent 2025-06-11 10:58:37 +02:00
ionutboangiu
fc905f0e9c cfg: add stats/thresholds_conns to http_agent 2025-06-11 10:58:37 +02:00
ionutboangiu
89f7e51199 cfg: add stats/thresholds_conns to radius_agent 2025-06-11 10:58:37 +02:00
ionutboangiu
7017ada853 cfg: rename diameter json obj fields to camel case 2025-06-11 10:58:37 +02:00
ionutboangiu
301f57e3bc cfg: add stats/thresholds_conns to diameter_agent 2025-06-11 10:58:37 +02:00
ionutboangiu
973dcbec0b cfg: remove redundant logic during load 2025-06-11 10:58:37 +02:00
arberkatellari
801631196d Add action type *dynamic_action_plan_accounts and tests for it 2025-06-03 16:44:59 +02:00
gezimbll
2d94ca89bb updated threshold implementation 2025-06-03 15:47:28 +02:00
arberkatellari
5444973349 Add tests for dynamic action types 2025-06-02 18:15:18 +02:00
gezimbll
25bd2eb8b4 sorting filterIDs before processing to EEs 2025-06-02 12:03:04 +02:00
arberkatellari
d9bda57f38 Add action type *dynamic_Ranking and update *dynamic_threshold 2025-06-01 14:05:25 +02:00
arberkatellari
7bf0d2d162 Add action type *dynamic_route 2025-05-30 14:54:43 +02:00
arberkatellari
ea5ed9eaad Add *dynamic_filter action type and remove *dynamic_account_action 2025-05-29 15:43:13 +02:00
ionutboangiu
7fa43788e1 fix var shadowing causing unwanted import 2025-05-29 15:41:53 +02:00
ionutboangiu
676900b4c3 update DB casing for InitDB helpers 2025-05-29 15:41:53 +02:00
ionutboangiu
699ea107f4 remove redundant dm init in test flush helper 2025-05-29 15:41:53 +02:00
ionutboangiu
5f47df6927 close db connections in test flush helpers
Previously, database connections would stay alive until "go test"
would finish, sometimes leading to max conn errors.
2025-05-29 15:41:53 +02:00
ionutboangiu
43cdd396ba add implementation for new ips module 2025-05-29 15:40:20 +02:00
gezimbll
d6676866d5 added fixes for integration tests & added *none in threshold ees_ids to disable processing 2025-05-29 12:38:29 +02:00
arberkatellari
6d206954bd add and revise action type tests 2025-05-27 17:27:46 +02:00
arberkatellari
f3986cbcdc add action type *dynamic_destination 2025-05-27 17:27:46 +02:00
arberkatellari
da3af01e9c add action type *dynamic_action 2025-05-27 17:27:46 +02:00
arberkatellari
bffcda6f04 Add action type *dynamic_account_action 2025-05-27 17:27:46 +02:00
arberkatellari
33a47f663c Add action type *dynamic_action_plan 2025-05-27 17:27:46 +02:00
gezimbll
ccdf3ef1f1 added passing events from thresholds to ees 2025-05-26 14:43:43 +02:00
gezimbll
90de059801 added console command for resetting stat metrics 2025-05-26 08:12:47 +02:00
ionutboangiu
7069ed1cd8 Fix rsyslog config to capture logs across distros
Add three conditions to properly capture CGRateS logs:

- programname startswith 'cgr-engine': catches logs from external
  libraries that don't use our syslogger (e.g. diameter conn errors)
- programname startswith 'CGRateS': handles deb-based distros
  where our syslog tag becomes the program name
- msg contains 'CGRateS': handles rpm-based distros where systemd
  journal overrides programname but our tag remains in message content
2025-05-26 08:10:40 +02:00
gezimbll
5361a3f6a1 added *accountID in CGROptionsSet 2025-05-21 14:54:56 +02:00
gezimbll
8bbe36c088 passing *accountID instead of *account in opts 2025-05-21 14:22:44 +02:00
gezimbll
2b27c681bc added test for passing account info from thresholds into actions through opts 2025-05-21 14:22:44 +02:00
arberkatellari
f6c300c395 Add action type *dynamic_attribute and revise clone functions 2025-05-18 16:12:20 +02:00
gezimbll
5f5330382f make sure countUnits is not called during dryrun 2025-05-16 14:08:07 +02:00
gezimbll
279e0daabd added integration tests for account disabled at authorization phase 2025-05-15 14:56:04 +02:00
gezimbll
d1fe58835d added test for creating templates from account values 2025-05-15 14:56:04 +02:00
gezimbll
c842623f4a fixes on integration tests 2025-05-12 17:31:56 +02:00
gezimbll
dd56a471e7 renamed *localtime dataconverter to *timestring 2025-05-09 14:47:49 +02:00
gezimbll
2b0bc6761c passing entire account to event in *export action 2025-05-09 14:05:36 +02:00
gezimbll
5929cd0d1b added optional layout parameter for *localtime dataconverter 2025-05-09 14:04:05 +02:00
ionutboangiu
3dceaa5642 add entry for 1.0 dist in reprepro cfg 2025-05-08 16:15:30 +02:00
gezimbll
e6bbbbef7a added *localtime dataconverter 2025-05-07 20:46:45 +02:00
arberkatellari
d03e62c5a7 Add tests for Session Update TotalUsage 2025-05-06 09:29:57 +02:00
DanB
fa42fc1213 Do not ignore the not found error for totalUsage of sessions 2025-05-05 21:00:46 +02:00
DanB
342d50cdb1 Cleanup testSessionsVoiceTotalUsage 2025-05-05 09:32:28 +02:00
DanB
82ec0dbbca Adding TotalUsage support for update events in sessions 2025-05-05 09:26:58 +02:00
ionutboangiu
9990da643c add test reproducing cache replication deadlock 2025-05-03 21:45:16 +02:00
arberkatellari
534b788508 Add new action types *dynamic_threshold and *dynamic_stats 2025-05-03 21:44:14 +02:00
gezimbll
beee1e396b unitcounters counting per call 2025-05-02 16:28:47 +02:00
gezimbll
e76a2f3d47 added dataconverter for duration in minutes 2025-05-02 15:48:22 +02:00