44 Commits

Author SHA1 Message Date
ionutboangiu
f2a4427d2c rename *dc DataProvider to *em (from EventMetrics) 2025-11-20 11:35:29 +01:00
ionutboangiu
3122589e48 ees: add cron-based/manual reset to ExporterMetrics 2025-11-20 11:35:29 +01:00
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +02:00
ionutboangiu
9a42adc716 Retrieve routes default ratio from global var
to prevent cyclic import (utils > config > utils)
2025-04-22 19:33:12 +02:00
ionutboangiu
bd3e18754b 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.
2024-09-05 20:46:40 +02:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
adi
f562de49df ExtraData for exporters interface 2022-06-29 12:00:42 +02: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
andronache
7ab4167613 Corrected header in multiple files 2021-11-01 13:50:00 +02:00
porosnicuadrian
8bac24c964 Modified PrepareMap method signature for ExportEvent 2021-11-01 13:48:21 +02:00
Trial97
a3ebbe38ec Added EeSV1 APIs back 2021-09-07 07:44:10 +02:00
Trial97
9aa153c0b0 Finished implementing all the exporters 2021-08-18 16:34:44 +02:00
Trial97
d2915a5737 Updated the EEs with the new interface 2021-08-18 16:34:44 +02:00
Trial97
00727fb06e Added concurent requests for ees 2021-07-23 10:58:30 +02:00
Trial97
7609c6a925 Updated ees metrics 2021-07-23 10:58:30 +02:00
Trial97
be84ed5ada Refactored EventRequest 2021-07-06 20:51:32 +02:00
porosnicuadrian
789953e5a0 Removed error from HTTPPoster constructor 2021-04-12 17:55:12 +02:00
ionutboangiu
7e09dfc6da Make changes in ees based on staticcheck flags 2021-04-02 14:57:32 +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
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
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
e38edb04ef Resolve merge problems 2020-09-04 13:12:24 +02:00
Trial97
5c1cd3379e Added integration tests for *export action 2020-09-04 12:32:09 +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
Trial97
8c44ac1809 Updated poster integration tests 2020-07-23 14:47:14 +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