Commit Graph

40 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
2eebc7a236 Add config sanity checks for elasticsearch ee 2025-01-29 10:52:24 +01:00
ionutboangiu
92658d854e Add elsCAPath opt and improve opt comments 2025-01-29 10:52:24 +01:00
ionutboangiu
c1331531a7 Remove unusable elasticsearch opts 2025-01-29 10:52:24 +01:00
ionutboangiu
035bac3688 elasticsearch: switch to fully-typed API
- index request options are now used directly during ExportEvent. They are
  passed to the request as options only if they were configured in the first
  place.
- implement PrepareMap and PrepareOrderMap methods for the elastic exporter.
  bytePreparing methods are not needed anymore as the Event map can be exported
  directly.
- elasticsearch.Client -> elasticsearch.TypedClient
- rename prepareOpts -> parseClientOpts
2025-01-29 10:52:24 +01:00
ionutboangiu
3a0579a8ea Slightly refactor elastic exporter
now returns error in case of invalid logger type. Could be removed
in the future in favor of handling it in configsanity.go.
2025-01-29 10:52:24 +01:00
ionutboangiu
5bd439020c Prevent deadlock inside *els Connect 2025-01-29 10:52:24 +01:00
gezimbll
fcc9fc109b Updated go-elasticsearch client 2023-07-04 13:18:54 +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
ionutboangiu
3769e1dad8 Fix compilation errors after making opts fields pointers 2021-11-01 13:51:02 +02:00
ionutboangiu
cd034b6f65 Fix compilation errors after making ees opts into structs (incomplete) 2021-11-01 13:51:02 +02:00
andronache
7ab4167613 Corrected header in multiple files 2021-11-01 13:50:00 +02:00
Trial97
a3ebbe38ec Added EeSV1 APIs back 2021-09-07 07:44:10 +02:00
Trial97
a4eb09a008 Updated integration tests 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
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
36da1a6309 Consts in utils 2021-01-11 10:57:44 +01:00
TeoV
e616f64035 EventExporter( Elastic ) Close the body of response in defer and after verify the error 2020-10-23 19:29:39 +02:00
Trial97
61d2b4e922 Added *eventType to opts for process threhold 2020-10-09 14:27:48 +02:00
TeoV
c177974458 Update name for Elasticsearch constants 2020-10-08 20:44:45 +02:00
TeoV
9d25b27a4a Replace strings with contants 2020-10-08 11:18:11 +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
d1f8630d75 Add support for options in Elasticsearch Request 2020-10-04 11:19:01 +02:00
TeoV
a72f62ecf1 Add support in EEs for *elastic exporter ( + integration test ) 2020-10-01 17:31:19 +02:00
TeoV
89fc2ff587 Populate Addreses out of ExportPath 2020-09-30 12:26:21 +02:00
TeoV
ff9d658e6b Add skel for ElasticsearchExporter 2020-09-30 12:26:21 +02:00