Commit Graph

13790 Commits

Author SHA1 Message Date
ionutboangiu
5f66cd2220 Sort item IDs before locking to prevent deadlock
applies to stats,thresholds and resources
2025-12-04 16:27:46 +01:00
ionutboangiu
2a190c08c7 update expired dates in tests 2025-11-21 21:32:19 +01:00
ionutboangiu
7505848124 ansible: remove cgrates_deb_install (moved to private repo) 2025-11-21 21:32:19 +01:00
Bas Couwenberg
ddd23874d1 Use DH_VERBOSE only in dh_auto_build override for go version & env output. 2025-11-17 10:57:52 +01:00
gezimbll
b6a3da9cb1 updated asterisk module.conf to load modules for newer versions 2025-11-07 11:43:35 +01:00
ionutboangiu
9fed096a9f ansible: add cgrates_deb_install playbook 2025-11-05 18:06:13 +01:00
ionutboangiu
d1536a01d3 ansible: add github_ssh role for SSH key management 2025-11-05 18:06:13 +01:00
ionutboangiu
86f35a72fa ansible: remove redundant cgrates_package_version var
use cgrates_branch instead
2025-11-05 18:06:13 +01:00
ionutboangiu
81e98a5dd2 ansible: get rid of golang vars from cgrates role 2025-11-05 18:06:13 +01:00
ionutboangiu
a46d320040 ansible: update cgrates role to also allow pkg install 2025-11-05 18:06:13 +01:00
ionutboangiu
df40c1777a update rabbitmq role repos 2025-11-04 18:14:58 +01:00
ionutboangiu
c185e46455 ees: preserve exporter attempts in failed posts 2025-10-29 19:44:04 +01:00
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
ionutboangiu
89c0f9e025 fix DPR to contain sender identity not recipient 2025-10-28 20:31:58 +01:00
ionutboangiu
4c30ec4e4c ees: remove init from libcdre, rename to failedposts 2025-10-28 20:31:36 +01:00
ionutboangiu
295ddec792 cfg: move failed_posts to ees, add static_ttl 2025-10-28 20:31:36 +01:00
arberkatellari
082c412159 revise FilterToSQLQuery function 2025-10-24 20:31:32 +02:00
ionutboangiu
c9115da4b7 use remoteAddr as peer key, remove duplicate status 2025-10-24 20:23:52 +02:00
ionutboangiu
b54e3b54ac refactor StatSum to use RSRParsers and add conn_status converter 2025-10-19 12:31:35 +02:00
ionutboangiu
22e02f18df update go-diameter library 2025-10-13 09:56:31 +02:00
ionutboangiu
84728ec4aa send status events to all profiles if none set 2025-10-13 09:56:31 +02:00
ionutboangiu
880942352b use string status values in diameter conn events 2025-10-13 09:56:31 +02:00
ionutboangiu
8ba80d301f cfg: add conn_status_stat_queue/threshold_ids for diameter 2025-10-13 09:56:31 +02:00
ionutboangiu
59ddbe419e make diam conn health check interval configurable 2025-10-13 09:56:31 +02:00
ionutboangiu
2f40fbacbf add diameter connection status tracking 2025-10-13 09:56:31 +02:00
ionutboangiu
8ce296cdaf Rename event type ProcessTime to EventPerformanceReport 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
ionutboangiu
f46ea874ba config: add sanity check for undefined prometheus conns
previously existed only for StatSConns, added also for CoreSConns and
CacheSConns
2025-09-22 12:03:28 +02:00
ionutboangiu
bb7e7572df prometheus: use apiers_conns for StatQueue fetch 2025-09-22 12:03:28 +02:00
ionutboangiu
a0ced56275 prometheus: fetch all StatQueues when IDs list is empty 2025-09-18 21:08:08 +02:00
arberkatellari
7ed66e7cd5 Register needed gob record types 2025-09-16 18:08:56 +02:00
ionutboangiu
8dabaaf690 add test+benchmark for filter index updates 2025-09-15 13:09:09 +02:00
gezimbll
c233daef58 replaced sched_hangup with sched_transfer 2025-09-09 17:32:01 +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
arberkatellari
96ff02b9ff Add new actions to docs 2025-08-30 14:01:18 +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
ionutboangiu
6140c9ef5e rpm: fix empty logdir in files section 2025-08-21 12:47:01 +02:00
ionutboangiu
8aeb2f57c6 rpm: create log directory in buildroot 2025-08-21 10:47:50 +02:00