private void LoadTelemetryChannel(TelemetryConfiguration cfg) { TelemetryBuffer buffer = new TelemetryBuffer(); DeliverySettings deliverySettings = new DeliverySettings { AppInsightsEndpointEnabled = !string.IsNullOrEmpty(this.properties.InstrumentationKey) , TelimenaTelemetryEndpoint = GetTelimenaTelemetryEndpoint(this.properties) , DeliveryInterval = this.properties.StartupInfo.DeliveryInterval , TelimenaTelemetryKey = this.properties.TelemetryKey }; TelimenaInMemoryTransmitter transmitter = new TelimenaInMemoryTransmitter(buffer, deliverySettings); cfg.TelemetryChannel = new TelimenaInMemoryChannel(buffer, transmitter); }
public TelimenaInMemoryChannel(TelemetryBuffer buffer, TelimenaInMemoryTransmitter transmitter) : base(buffer , transmitter) { }