コード例 #1
0
        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);
        }
コード例 #2
0
 public TelimenaInMemoryChannel(TelemetryBuffer buffer, TelimenaInMemoryTransmitter transmitter) : base(buffer
                                                                                                        , transmitter)
 {
 }