41 Commits

Author SHA1 Message Date
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +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
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
Trial97
24b09329be Added concurent requests for ees 2021-07-23 10:57:08 +02:00
Trial97
f1796317a0 Updated ees metrics 2021-07-23 10:57:08 +02:00
Trial97
faf1fba125 Refactored EventRequest 2021-07-06 20:52:40 +02:00
Trial97
1d67bca260 Updated tests after remove 2021-04-01 16:33:37 +02:00
Trial97
c13a5cf790 Finished implementing the DataNode as a replacement 2021-03-26 13:46:25 +01:00
Trial97
ba090352ec Updated agents tests 2021-03-26 13:46:25 +01:00
andronache
32c234a6c7 In CGREvent changed Opts in APIOpts 2021-03-23 14:35:11 +01:00
nickolasdaniel
4be82cd76f Coverage tests in ees package and updated Go version in Ansible scripts 2021-03-12 16:10:04 +01:00
TeoV
aa774f0fe6 Move from EventExporterRequest to engine/EventRequest 2021-01-24 15:33:57 +01:00
TeoV
ae146640f4 Start merging CGREventWithOpts with CGREvent 2021-01-14 10:30:35 +01:00
andronache
1470267727 Modified consts in utils 2021-01-07 18:15:35 +01:00
Trial97
c3c9539da9 Updated ees timezone handling 2020-11-09 09:47:24 +01:00
Trial97
54b4b0e003 Added support for HTTP Headers in *http exporters. Fixes #1874 2020-11-09 09:47:24 +01:00
Trial97
0b55bc7899 Updated tests 2020-11-05 17:07:50 +01:00
Trial97
a64e58278d Partially added support for HTTP Headers for *http_post exporter 2020-11-05 17:07:50 +01:00
Trial97
616f7b283c Added GlobalVarS as service to manage the reload for the global variables 2020-10-20 11:09:16 +02:00
Trial97
e0e9190abf Added configurable HTTP client transport options for HTTPPoster 2020-10-20 11:09:16 +02:00
Trial97
61d2b4e922 Added *eventType to opts for process threhold 2020-10-09 14:27:48 +02:00
Trial97
4e80f5e703 Added more tests for empty fields in ees 2020-10-07 12:00:46 +02:00
Trial97
45204cec17 Added support for empty fields in ees when exporting the event in json format 2020-10-07 12:00:46 +02:00
TeoV
d4f7be8652 Rename from FilePath to ExportPath and remove redundant metric 2020-09-17 18:00:47 +03:00
TeoV
7fbab0c3a2 Consider timezone and tenant from exporter first 2020-09-04 13:12:24 +02:00
Trial97
6c10cf0960 Added Opts to ERs 2020-09-04 12:32:09 +02:00
Trial97
8f638b5b85 Added Opts to EEs 2020-09-04 12:32:09 +02:00
TeoV
8cc0af4981 Add integration test for ExportCDRs with multiple exporters 2020-09-03 17:02:47 +02:00
TeoV
8340e65ebd Update EventExporter ProcessEvent to include metrics informations 2020-09-03 17:02:47 +02:00
TeoV
833fcfc657 Update EventExporter ProcessEvent 2020-09-03 17:02:47 +02:00
Trial97
e411f5e7da Update ees metrics 2020-08-13 11:34:53 +02:00
TeoV
66bbc377fe Add test for both HTTPPost and HTTPJSONMap Exporter 2020-06-05 20:05:09 +02:00
TeoV
1302ffb8fe Add Post support for HTTP and other types (amqp;sqs;etc...) 2020-06-04 16:59:22 +02:00