Commit Graph

13598 Commits

Author SHA1 Message Date
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
arberkatellari
9163d96ece Improve *dynaprepaid for Sessions ProcessEvent 2025-02-24 12:11:12 +01:00
armirveliaj
e64d02e187 astagent: prevent panic in handleChannelDestroyed 2025-02-21 16:24:27 +01:00
gezimbll
322afc585f added default caching for exporters 2025-02-21 13:21:26 +01:00
gezimbll
594dc745b8 added tests for sql exporter cached 2025-02-21 13:21:26 +01:00
gezimbll
dd5906e46e added log level field on stordb opts for controlling sql verbosity 2025-02-20 09:53:31 +01:00
arberkatellari
ce764e48bb Add dynaprepaid functionality to AuthorizeEvent 2025-02-19 14:14:55 +01:00
arberkatellari
eff482d7e6 Stash faulty test in flaky 2025-02-17 08:02:20 +01:00
arberkatellari
39bca3495a Improve *dynaperpaid events for sessions 2025-02-17 08:02:20 +01:00
armirveliaj
e2c71e355b Rename *cdr_account in the docs 2025-02-07 13:24:23 +01:00
ionutboangiu
5b26b1f4e7 Add docker installation steps in docs 2025-02-05 19:03:40 +01:00