21 Commits

Author SHA1 Message Date
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
ionutboangiu
ef4324fc0e add error handling for cron AddFunc 2025-03-18 17:51:30 +01:00
ionutboangiu
7bb065fda6 rename *dc DataProvider to *em (from EventMetrics) 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
0aea8ac641 Revert "Move CGREvent from utils to engine"
This reverts commit 02195c47ed.
2024-03-04 09:49:15 +01:00
ionutboangiu
02195c47ed Move CGREvent from utils to engine 2024-02-27 17:16:57 +01:00
ionutboangiu
29f58debc9 Clone header before creating exporter HTTP request
Behind http.Header is just a map and it's not safe for concurrent use.
Before this change, a panic might have occurred when doing asynchronous
HTTP exports (applies to both *http_post and *http_json_map exporters).
Cloning the header before adding it to the HTTP request has fixed this
issue.

Slightly improved the test that found this data race.
2023-11-08 17:11:40 +01:00
ionutboangiu
6c16ff320f Replace interface{} with any 2023-05-31 10:23:12 +02:00
ionutboangiu
3471d868b6 Add rpcAPIOpts in ees cfg and change PrepareMap structure 2022-02-24 21:29:19 +01:00
andronache
bcb564240e Corrected header in multiple files 2021-11-01 13:49:33 +02:00
nickolasdaniel
c9036b38cd Cover tests for ees 2021-09-20 19:42:05 +02:00
Trial97
cd0964dfea Finished implementing all the exporters 2021-08-18 16:33:28 +02:00
Trial97
a74aacd7fe Updated the EEs with the new interface 2021-08-18 16:33:28 +02:00
nickolasdaniel
9ef7afe32c Reduced time.Sleep in ees tests 2021-08-03 14:53:45 +03:00
nickolasdaniel
aa06917c2f Fixing test for FWV files 2021-07-31 15:35:26 +02:00
nickolasdaniel
635d875ca9 Tested if we can send multiple concurrent requests withiut locking on HttpJSONMap, HttpPost and PosterJSONMap, also tested the limit as well 2021-07-29 08:45:13 +02:00
Trial97
f1796317a0 Updated ees metrics 2021-07-23 10:57:08 +02:00
nickolasdaniel
62709df691 Coverage tests for ees 2021-03-17 13:44:18 +01:00
nickolasdaniel
bc9417710c Coverage tests for ees 2021-03-15 17:08:01 +01:00
nickolasdaniel
4be82cd76f Coverage tests in ees package and updated Go version in Ansible scripts 2021-03-12 16:10:04 +01:00
nickolasdaniel
430fa35f9a Coverage tests for ees 2021-03-10 16:21:33 +01:00