QuickPulse Endpoint is set on the Module.
The same value is internally set on the Processor, but only after the module starts collecting events.
This makes it difficult to unit test because it's waiting for data to flow through these classes.
I made a change so that the 'Processor' endpoint is set during initialization methods.
But that was still sensitive to which order the module and endpoint are initialized.
Summary
QuickPulseTelemetryModule.Initialize() will now push the endpoint to the Processor.
QuickPulseTelemetryProcessor.ctor() will now pull the endpoint from the Module.
added helper class to build a configuration from xml.
Note
These are edge cases discovered while working on connection strings. Connection String support will come in the next PR.
QuickPulse Endpoint is set on the
Module
. The same value is internally set on theProcessor
, but only after the module starts collecting events. This makes it difficult to unit test because it's waiting for data to flow through these classes.I made a change so that the 'Processor' endpoint is set during initialization methods. But that was still sensitive to which order the module and endpoint are initialized.
Summary
QuickPulseTelemetryModule.Initialize()
will now push the endpoint to the Processor.QuickPulseTelemetryProcessor.ctor()
will now pull the endpoint from the Module.Note These are edge cases discovered while working on connection strings. Connection String support will come in the next PR.