Commit Graph

13773 Commits

Author SHA1 Message Date
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
arberkatellari
7ba4b13190 Add tests for offline internal APIs 2025-08-18 10:12:20 +02:00
armirveliaj
d6b8c8386e Add coverage tests for ips & statmetrics 2025-08-18 10:11:42 +02:00
ionutboangiu
9ef9684a3d agents: add processor/reader id to stats/th events 2025-08-18 10:09:51 +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
arberkatellari
24452a56dc Update OpenSIPS tutorial docs 2025-08-15 13:18:13 +02:00
arberkatellari
1b3d310b6e Add docs for StorDB 2025-08-15 13:18:13 +02:00
arberkatellari
e617b8392f Update ERs docs 2025-08-15 13:18:13 +02:00
arberkatellari
70563d87b6 Add cache handling for TrendProfile replication APIs 2025-08-15 13:18:13 +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