66 Commits

Author SHA1 Message Date
arberkatellari
a8895a6a5a Add options to support non-Amazon S3 and SQS 2025-12-05 13:16:47 +01:00
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
ionutboangiu
295ddec792 cfg: move failed_posts to ees, add static_ttl 2025-10-28 20:31:36 +01:00
ionutboangiu
934815d9ee ees: add metrics_reset_schedule opt (per ee) 2025-03-17 17:36:58 +01:00
arberkatellari
d35b14b6b9 Add ability to ERS to update or move ERS SQL events to a new table & add *export flag for ERS readers 2024-12-20 13:26:06 +01:00
ionutboangiu
704980d98e Add missing els clone and AsMapIface logic 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
9d3e5e62a6 Implement getter method for EventExporterCfg (by ID)
Removed redundant getter method for default EventExporterCfg.
2024-11-27 16:50:47 +01:00
ionutboangiu
11b96de00a Add kafkaBatchSize configuration field
Avoids the default 1 second delay when the batch doesn't
reach 100 messages within that time.

Useful when the Kafka exporter is not cached, as it would
otherwise encounter that delay. Setting BatchSize to 1
prevents this.
2024-06-30 16:28:52 +02:00
ionutboangiu
36bdc41e97 Add support for kafka ssl encryption
For both poster and reader.
Added integration test.
2024-01-23 14:12:33 +01:00
ionutboangiu
0c91933065 Revise ERs event exporting
Add ees_success_ids and ees_failed_ids fields in reader config. The
former will be used to set EeIDs when the event processing returns
no error, while the latter will be used otherwise.

Add config sanity checks for the added options.

Remove Processed opts and everything related to them since they should
not be used anymore.

Fixed test compilation errors caused by the change.
2023-11-29 16:21:51 +01:00
gezimbll
c2dacc42c1 Removed warnings from go staticcheck 2023-11-08 17:10:13 +01: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
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
gezimbll
b95555a18b Fix cloning of variables with independent copy 2023-05-25 08:12:20 +02:00
ionutboangiu
b1b9647104 Implement EventExporterCfg constructor and use it to get rid of boilerplate code 2023-03-06 17:01:12 +01:00
ionutboangiu
25e08ebe79 Add options for SASL PLAIN auth (amqp 1.0) 2023-02-22 18:20:33 +01:00
ionutboangiu
62e878574e Solve the remaining compilation errors and replace SSLMode with PgSSLMode 2022-07-12 17:59:09 +02:00
ionutboangiu
3471d868b6 Add rpcAPIOpts in ees cfg and change PrepareMap structure 2022-02-24 21:29:19 +01:00
ionutboangiu
14dfda53be Implement rpc exporter 2022-01-19 19:55:29 +01:00
porosnicuadrian
f204d474bd Added DSN params for sql exporter and storDB 2022-01-12 11:56:29 +01:00
ionutboangiu
38447e9229 Make ers opts as struct and fix compilation errors 2021-11-29 20:57:39 +01: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
ionutboangiu
aa0ae292a2 Make ees and ers opts into structs (incomplete) 2021-11-29 20:57:39 +01: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
faf1fba125 Refactored EventRequest 2021-07-06 20:52:40 +02:00
Trial97
73de017591 Updated flatstore tests 2021-05-17 18:00:31 +02:00
Trial97
c13a5cf790 Finished implementing the DataNode as a replacement 2021-03-26 13:46:25 +01:00
nickolasdaniel
6d2690ec72 Coverage tests for ees 2021-03-11 15:22:57 +01:00
Trial97
0a7446bdad Added Config in agent request as dataprovider 2021-02-09 15:16:20 +01:00
Trial97
f158b191f3 Added Clone functions for all config sections 2020-11-27 08:41:56 +01:00
Trial97
c539800acd Added more Clone functions for config sections 2020-11-27 08:41:56 +01:00
Trial97
2b19127d05 Added more Clone functions for config sections 2020-11-27 08:41:56 +01:00
Trial97
b2db71f303 Added APIs to reload config from string 2020-10-29 17:55:26 +01:00
porosnicuadrian
26fc655f2c Fixed the error description and added testsm in config 2020-10-29 16:57:01 +01:00
Trial97
4e80f5e703 Added more tests for empty fields in ees 2020-10-07 12:00:46 +02:00
porosnicuadrian
b34e482d0f Covered more tests for eescfg 2020-10-04 11:16:55 +02:00
porosnicuadrian
645fba0a1e Updated AsMapInterface and load method for erscfg 2020-09-21 17:14:01 +03:00
porosnicuadrian
82ecd234f9 Updated eescfg AsMapInterface method and uploaded tests for AsMapInterface and load methods 2020-09-21 10:39:37 +03:00
Trial97
8f638b5b85 Added Opts to EEs 2020-09-04 12:32:09 +02:00
TeoV
76d7df0dce [Config] Add new section "template" 2020-08-28 15:45:22 +02:00