ionutboangiu
5a7f278dbd
cfg: add stats/thresholds_conns to sip_agent
2025-06-24 18:16:09 +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
arberkatellari
746846eaaf
Revise tests
2025-06-24 17:57:09 +02:00
arberkatellari
9b08994b5e
Allow cache to be created for operational data on internal dataDB
2025-06-24 17:57:09 +02:00
ionutboangiu
ec145d778e
remove :*ids: syntax from agent stats/thresholds flags
2025-06-11 10:58:37 +02:00
ionutboangiu
4d1664a162
update RabbitMQ repos and auto-detect distro
2025-06-11 10:58:37 +02:00
ionutboangiu
b0393978ee
move shared test helpers to untagged file
2025-06-11 10:58:37 +02:00
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