Commit Graph

40 Commits

Author SHA1 Message Date
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
6270885405 Add config sanity checks for elasticsearch ee 2024-11-28 17:24:39 +01:00
ionutboangiu
2511c00db7 Add elsCAPath opt and improve opt comments 2024-11-28 17:24:39 +01:00
ionutboangiu
8d7628410e Make elasticsearch refresh opt configurable 2024-11-28 17:24:39 +01:00
ionutboangiu
f1cdf920df Remove unusable elasticsearch opts 2024-11-28 17:24:39 +01:00
ionutboangiu
2b5a3e5a5e 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
2024-11-27 16:50:47 +01:00
ionutboangiu
ae264deadb 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.
2024-11-27 16:50:47 +01:00
ionutboangiu
d5aa567e98 Prevent deadlock inside *els Connect 2024-11-15 20:58:40 +01:00
gezimbll
1b1dd13677 Separating opts for each eventexporter type and fixing tests 2023-06-22 10:36:46 +02:00
gezimbll
5eb97906be Implemention for els exporter over https && adding logger type for els exporter requests 2023-06-16 09:58:31 +02:00
gezimbll
fa09ca2f09 Added exporter config for els cloud 2023-06-16 09:58:31 +02:00
gezimbll
764d531beb Added support for additional els features 2023-06-16 09:58:31 +02:00
gezimbll
0e4162328b Added opts for connecing to Els CLoud 2023-06-16 09:58:31 +02:00
gezimbll
f780621625 Add check for els nodes in config 2023-06-16 09:58:31 +02:00
ionutboangiu
6c16ff320f Replace interface{} with any 2023-05-31 10:23:12 +02:00
ionutboangiu
40eb832060 Fix all compilation errors related to ers after making ees opts of type struct 2021-11-29 20:57:39 +01:00
andronache
bcb564240e Corrected header in multiple files 2021-11-01 13:49:33 +02:00
Trial97
d80a5668ac Updated integration tests 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
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