I've added a bool property at Extension level (self.log_event_enrichment) to control whether we want log events and log lines to be enriched by the EEC or not.
CommunicationClient and DebugClient now also have a eec_encrichment argument so this value can be passed on.
The effect is that we have an eec-enrichment header on send_events requests to reflect the value as needed.
Tests are still weird for me, so looking for guidance if this PR needs more attention.
I've added a
bool
property at Extension level (self.log_event_enrichment
) to control whether we want log events and log lines to be enriched by the EEC or not.CommunicationClient and DebugClient now also have a
eec_encrichment
argument so this value can be passed on.The effect is that we have an
eec-enrichment
header on send_events requests to reflect the value as needed.Tests are still weird for me, so looking for guidance if this PR needs more attention.