Commit Graph

18 Commits

Author SHA1 Message Date
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
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
armirveliaj
eb11b51c5e Add unit tests on ees 2024-06-30 17:51:59 +02:00
gezimbll
01d3c5d0fa Separating opts in ERS && fixing tests 2023-06-27 11:08:34 +02: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
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
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
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
ee53da4a35 Finished coverage tests for ees package 2021-03-25 15: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
55ec44a324 Coverage tests in ees package 2021-03-09 14:33:08 +01:00