Commit Graph

13608 Commits

Author SHA1 Message Date
arberkatellari
5463eb61c6 Adjust tests to InternalDB constructor 2025-04-11 13:09:50 +02:00
arberkatellari
0e5c5a9e60 Slight improvements to some Clone functions 2025-04-11 13:09:50 +02:00
arberkatellari
de349e2482 Revise InternalDB constructor 2025-04-11 13:09:50 +02:00
armirveliaj
d4b8963a6c Add coverage tests on engine 2025-04-11 12:51:57 +02:00
ionutboangiu
893e3fae19 prevent panic when len(AlteredFields) == 0 2025-04-11 12:51:11 +02:00
arberkatellari
c186952aa9 Add test for *random dataconverter on templates 2025-04-07 14:09:27 +02:00
arberkatellari
ed584364d1 Add tests for internal DB dump and restore 2025-04-06 12:08:40 +02:00
arberkatellari
a168f262e2 Add dump and restore functionality for internal DBs 2025-04-06 12:08:40 +02:00
armirveliaj
17248c5dde Add coverage tests on engine 2025-04-04 08:01:13 +02:00
gezimbll
cd2362ef57 added integration test for thresholds checking account balances 2025-04-01 16:47:11 +02:00
ionutboangiu
c28eb1fda5 update default config sample 2025-03-30 14:01:06 +02:00
ionutboangiu
fc89a35661 add test for new prometheus agent implementation 2025-03-30 14:01:06 +02:00
ionutboangiu
122afad733 remove previous prometheus integration 2025-03-30 14:01:06 +02:00
ionutboangiu
934d93ef58 add PrometheusAgent implementation 2025-03-30 14:01:06 +02:00
ionutboangiu
020e5c2569 cores: add GOMAXPROCS, GC percent and memlimit metrics
- gathered when Debug=true
- removed Lookups (always 0)
2025-03-30 14:01:06 +02:00
ionutboangiu
531a752078 implement config object for prometheus_agent 2025-03-30 14:01:06 +02:00
ionutboangiu
19f39945d9 make use of gpg/reprepro roles in playbooks 2025-03-25 14:29:44 +01:00
ionutboangiu
ce1640151c update gpg role
now equivalent to gpg task files from deb_packages
2025-03-25 14:29:44 +01:00
ionutboangiu
7497e1c91e extract reprepro logic to dedicated role 2025-03-25 14:29:44 +01:00
gezimbll
18644c7f0b added option to compress CostDetails before stored in db 2025-03-20 19:37:43 +01:00
ionutboangiu
3ea6d99981 add gpg_key_rotation ansible playbook
ensures reprepro files are signed with the current GPG key, without
having to build new packages.
2025-03-19 12:35:15 +01:00
gezimbll
260b32323d added option to pass UpdateSession event through stats or thresholds 2025-03-18 20:08:05 +01:00
ionutboangiu
f256cf80ac Add validation for positive TTL in file exporters 2025-03-18 18:32:03 +01:00
ionutboangiu
364827ab58 set default *file_csv cache TTL to 5s
File exporters require positive TTL as content is flushed only upon cache
expiration.
2025-03-18 18:32:03 +01:00
ionutboangiu
de448ae11c add timezone support for cron scheduler 2025-03-18 17:51:30 +01:00
ionutboangiu
adadcd01cb add sanity check for metrics_reset_schedule 2025-03-18 17:51:30 +01:00
ionutboangiu
ef4324fc0e add error handling for cron AddFunc 2025-03-18 17:51:30 +01:00
ionutboangiu
a4b2379e89 add guardian documentation section 2025-03-18 15:19:44 +01:00
ionutboangiu
7bb065fda6 rename *dc DataProvider to *em (from EventMetrics) 2025-03-17 17:36:58 +01:00
ionutboangiu
e1c154b9e0 use Set method to update ExportPath for csv/fwv ee
prevents manual locking
2025-03-17 17:36:58 +01:00
ionutboangiu
7166795066 ees: add test for metrics reset feature
to serve only as an example for now (takes too long)
2025-03-17 17:36:58 +01:00
ionutboangiu
fdc8a1be7e ees: implement api to reset exporter metrics 2025-03-17 17:36:58 +01:00
ionutboangiu
1c00a3aad1 Add cron-based/manual reset to ExporterMetrics 2025-03-17 17:36:58 +01:00
ionutboangiu
934815d9ee ees: add metrics_reset_schedule opt (per ee) 2025-03-17 17:36:58 +01:00
ionutboangiu
8e4d187725 remove unused composeExp func 2025-03-17 17:36:58 +01:00
ionutboangiu
132aecd3c1 simplify TimeNow parsing for ee metrics 2025-03-17 17:36:58 +01:00
armirveliaj
172e846d3f Update export_cdrs command in docs 2025-03-09 17:33:09 +01:00
ionutboangiu
c21d5edfd3 add test for rerating failed cdrs 2025-03-09 17:30:39 +01:00
arberkatellari
aca834a7a5 Cleanup config_defaults ce_applications comments 2025-03-09 13:32:17 +01:00
ionutboangiu
eb6db08465 update Go in chroots when version differs 2025-03-09 10:56:31 +01:00
ionutboangiu
5bd8844537 improve rescue handling with logs and chroot cleanup 2025-03-09 10:56:31 +01:00
ionutboangiu
86a73908c5 merge file find and remove tasks in always block 2025-03-09 10:56:31 +01:00
ionutboangiu
bd03bb8326 clarify task names related to .changes file checks 2025-03-09 10:56:31 +01:00
gezimbll
35ffa9d316 added test with limited profile elements in cache 2025-03-03 10:41:09 +01:00
ionutboangiu
2b33debd31 fix checksum mismatch in ansible go role 2025-03-01 07:25:48 +01:00
arberkatellari
83e8ce3adc Add ability to modify diameter CE answer & replace go-diameter lib 2025-02-28 19:25:48 +01:00
gezimbll
d04cf1df44 updated negative balance to not give warning when AllowNegative set to true 2025-02-28 11:52:12 +01:00
ionutboangiu
7f132f19e4 Bump go version to 1.24.0 2025-02-26 16:19:47 +01:00
ionutboangiu
6968983dd2 prevent data race in file watcher goroutine 2025-02-26 16:18:31 +01:00
gezimbll
535f2e554e updated rsyslog conf to include logs with tag CGRateS 2025-02-26 12:54:53 +01:00