ionutboangiu
0c2b9a403a
stats: add error return for StatSum constructor
...
refactor NewStatMetric to also account for metric constructors that
return error
2025-11-20 11:35:29 +01:00
arberkatellari
a3f25d1ec5
Adjust tests and sample json files
2025-10-19 13:15:57 +02:00
ionutboangiu
e05be683ae
change license from GPLv3 to AGPLv3
2025-10-13 09:57:41 +02:00
arberkatellari
5847ceab00
Add and revise tests for offline internal DB
2025-05-13 17:07:17 +02:00
ionutboangiu
37de0c3bd1
refactor matched statqueues sorting
2025-03-25 14:25:00 +01:00
ionutboangiu
24d886c8e0
Pass CGRConfig to DataManager
...
instead of just CacheCfg. Prevents the need of global config var in
engine/datamanager.go
2025-03-10 13:49:34 +01:00
ionutboangiu
2c8c9b326e
remove previous prometheus integration
2025-03-09 17:27:31 +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
gezimbll
2b04066504
added parsing the event for *usage opts in accounts
2025-01-10 12:31:44 +01:00
armirveliaj
8921bf8b99
Revise && add new unit tests
2024-12-20 18:01:15 +01:00
ionutboangiu
b5362f89ef
Optimize and fix unstable tests
...
Revise backup loop tests to not rely on time.Sleep anymore and remove
unused fields from them.
Optimize some analyzers tests.
2024-09-25 20:58:51 +02:00
ionutboangiu
2f387b5a0e
chore: remove unnecessary parentheses
...
gofmt -r '(a) -> a' -w **/*.go
2024-09-05 20:46:40 +02:00
ionutboangiu
113e2a2bdf
Replace interface{} with any
2023-05-31 10:22:28 +02:00
arberkatellari
9b5f594402
Add coverage tests for engine
2023-05-10 10:40:29 +02:00
arberkatellari
016c60dd8c
Add coverage tests for engine
2023-03-19 20:47:45 +01:00
arberkatellari
75f698db33
Add/Improve coverage tests in engine
2023-03-19 20:47:45 +01:00
arberkatellari
6fbf001116
Add and improve coverage tests
2023-02-27 09:14:19 +01:00
arberkatellari
4d87265139
coverage tests for engine
2023-01-07 17:50:40 +01:00
arberkatellari
018f53977d
Coverage tests at engine
2023-01-07 17:50:40 +01:00
adi
fe3d34639a
Fixed tests of cache
2022-09-19 16:39:47 +02:00
ionutboangiu
e98f230f04
Change type name from Blockers to DynamicBlockers
2022-05-10 17:05:31 +02:00
porosnicuadrian
cea929269a
Blockers for account/balance + tp/cfgs and tests
2022-05-06 17:00:30 +02:00
porosnicuadrian
d3580092ed
Improved stats
2022-05-06 17:00:30 +02:00
porosnicuadrian
5537e8993d
Improved stats + tests
2022-05-06 17:00:30 +02:00
porosnicuadrian
41a7ee8add
DynamicBlocker for stats + unit test
2022-04-27 17:49:14 +02:00
porosnicuadrian
bb41017266
Improved stats + tests
2022-04-12 10:40:39 +03: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
09e44a0e6b
Stat has Weights in DynamicWeights now
2022-02-06 09:52:26 +01:00
porosnicuadrian
2be78a74c1
Added exporting to prometheus to stats
2022-01-03 12:25:42 +01:00
ionutboangiu
b55dc3d3a8
Fix tests after updating loggers
2021-12-19 17:12:47 +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
Trial97
cb809f976e
Updated internal datadb
2021-10-28 18:03:43 +03:00
andronache
2af41dd937
Tests for ProfileIgnoreFilters in actions and engine for stats
2021-10-22 12:04:12 +03:00
ionutboangiu
8e2fa41705
Fix failing tests after merge
2021-10-19 09:18:36 +03:00
ionutboangiu
09cf26e7b9
Fix tests
2021-10-18 18:09:44 +03:00
andronache
4068eec821
Cover test for error case in stats
2021-10-18 18:03:13 +03:00
andronache
c714444c14
2021-10-18 18:03:13 +03:00
andronache
d1ef08cff1
Test for the Profile Ignore Filters opt for attributes in engine, also changed some values in stats test
2021-10-18 10:38:22 +03:00
andronache
66bd5bfebe
Test for the Profile Ignore Filters opt in stats
2021-10-18 10:38:22 +03:00
Trial97
c1ee04a794
Added *profileIgnoreFilters for stats and thresholds
2021-10-11 12:06:57 +03:00
Trial97
7749fcd15b
Removed ArgV1ProcessEvent and ThresholdsArgsProcessEvent
2021-09-23 10:42:56 +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