236 Commits

Author SHA1 Message Date
arberkatellari
5f2b1f67df Add multiple DB connections functionality 2025-10-19 13:15:57 +02:00
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +02:00
ionutboangiu
bd8c9d3b5e migrate guardian package to external dep 2025-04-22 19:35:11 +02:00
ionutboangiu
37de0c3bd1 refactor matched statqueues sorting 2025-03-25 14:25:00 +01:00
gezimbll
2f808badb7 added cache parameter in Get*Opts methods 2025-03-12 15:24:18 +01:00
ionutboangiu
2c8c9b326e remove previous prometheus integration 2025-03-09 17:27:31 +01:00
gezimbll
df3dcfb840 replaced CGREvent parameter to DataProvider for GetOpts functions 2025-02-07 13:18:43 +01:00
gezimbll
c602dbc2a5 added rsparser field in dynamicOpts
changed Value field to unexported and created a Value() method
on each dynOpts type that contains logic to create a rsparser
in case the value field a configuration starts with prefix "~"
otherwise it will return the specified value
2025-01-22 17:36:26 +01:00
ionutboangiu
17405af987 Revise service manager logs
Logging is now done as ServiceManager level. Removed any other logs.
2025-01-10 20:18:08 +01:00
gezimblliku
d20f1a50fd added ees_conns on stats 2024-09-24 10:41:18 +02:00
gezimbll
3fe5f70dc9 Adding OneEvent functionality for stats 2023-12-07 17:44:33 +01:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
ionutboangiu
5531b5e7bd Log prometheus errors instead of returning 2023-03-15 14:00:40 +01:00
ionutboangiu
39f063d86a Change err to PartExec instead of returning for sq/th processEvents 2023-03-15 14:00:40 +01:00
ionutboangiu
dd872bebfa Resolve possible deadlocks in *StatS.processEvent 2023-03-15 14:00:40 +01:00
adi
67163a1ff5 Merge fixes 2022-09-22 20:22:34 +02:00
porosnicuadrian
cea929269a Blockers for account/balance + tp/cfgs and tests 2022-05-06 17:00:30 +02:00
porosnicuadrian
5537e8993d Improved stats + tests 2022-05-06 17:00:30 +02:00
porosnicuadrian
d2b87a356e Improved metrics blockers + tests 2022-05-06 17:00:30 +02:00
porosnicuadrian
fead904f9b Tested stats metrics blockers functionality 2022-04-29 14:43:18 +02:00
porosnicuadrian
575237ebcf Metrics blockers added in code 2022-04-28 14:54:01 +03:00
porosnicuadrian
41a7ee8add DynamicBlocker for stats + unit test 2022-04-27 17:49:14 +02:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
andronache98
7649028a99 Fixed tests for Stats 2022-02-06 09:52:26 +01:00
andronache98
09e44a0e6b Stat has Weights in DynamicWeights now 2022-02-06 09:52:26 +01:00
porosnicuadrian
a7d4348b43 Added exists/notExists indexed on necessary subsystems 2022-01-20 21:03:47 +01:00
porosnicuadrian
04f77ad5e4 Updates on prometheus code 2022-01-06 08:20:21 +01:00
porosnicuadrian
2be78a74c1 Added exporting to prometheus to stats 2022-01-03 12:25:42 +01:00
Trial97
904a6817e4 Updated internal connections 2021-11-17 18:36:40 +01:00
ionutboangiu
034adf8a52 Make field names for CGRConfig and FilterS values consistent across all Service structs 2021-11-11 12:23:21 +02:00
Trial97
6fe79e016e Added *roundingDecimals for GetQueueStringMetrics API 2021-11-08 17:03:58 +02:00
Trial97
493ff3cd4c Added stats API for Decimal 2021-11-08 17:03:58 +02:00
Trial97
fe7f07b987 Updated meterics interface 2021-11-08 17:03:58 +02:00
Trial97
117f6ccb9b Updated Stats with decimal 2021-11-08 17:03:58 +02:00
ionutboangiu
09cf26e7b9 Fix tests 2021-10-18 18:09:44 +03:00
ionutboangiu
003a4e667d Change some opts field names to reduce redundancy 2021-10-18 18:09:44 +03:00
ionutboangiu
5490cf66bf Fix all the compilation errors in non-test files 2021-10-13 20:32:43 +03:00
Trial97
c1ee04a794 Added *profileIgnoreFilters for stats and thresholds 2021-10-11 12:06:57 +03:00
ionutboangiu
b92e64ee86 Use the newly implemented functions to retrieve the opts from APIOpts/config 2021-10-05 21:04:38 +02:00
ionutboangiu
2e6ab1b874 Change type of actions opts to map 2021-09-28 20:44:55 +02:00
ionutboangiu
958996f364 Change type of stats opts to map 2021-09-28 20:44:55 +02:00
ionutboangiu
32c5d5e587 Change type of thresholds opts to map 2021-09-27 17:27:18 +02:00
Trial97
7749fcd15b Removed ArgV1ProcessEvent and ThresholdsArgsProcessEvent 2021-09-23 10:42:56 +02:00
ionutboangiu
1c2c5800e5 Add ActionProfileIDs as opt for actions subsystem and fix tests 2021-09-22 18:08:17 +02:00
ionutboangiu
4f98739202 Add statIDs as opt for Stats 2021-09-22 18:08:17 +02:00
ionutboangiu
11aecbd22f Add opts field in config for thresholds 2021-09-19 12:13:38 +02:00
ionutboangiu
3fe51815b0 Update the function to use the correct tenant variable when calling GetStatQueue 2021-08-18 14:41:13 +02:00
ionutboangiu
8aa660c87e Fix typo loopStoped -> loopStopped 2021-07-31 15:32:15 +02:00
Trial97
697ec8cf50 Updated threshold caching 2021-07-29 08:40:51 +02:00