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
ionutboangiu
2541d7cc01
optimize metrics collection with reusable maps
2025-04-29 07:11:29 +02:00
ionutboangiu
3759ecc39e
update prometheus docs
2025-04-29 07:11:29 +02:00
ionutboangiu
326ab001da
add prometheus_agent docs
2025-04-27 12:16:08 +02:00
ionutboangiu
2efb1b4d35
prometheus: replace string literals with constants
2025-04-27 12:13:29 +02:00
ionutboangiu
7c5a00ff4d
normalize metric types for mixed connection types
2025-04-27 12:13:29 +02:00
ionutboangiu
9053ae989a
prom: append correct subsystem to cores internal conn
2025-04-27 12:13:29 +02:00
ionutboangiu
015dedc66e
revise wrong prom metric comment
2025-04-27 12:13:29 +02:00
ionutboangiu
234e3f33fc
update prometheus deps
2025-04-27 12:13:29 +02:00