Closed
Description
The Application Insights Ingestion Service has implemented a feature to redirect client SDKs from the global service endpoint to a regional endpoint.
Currently, the ingestion service is responding with Http 307.
The AI SDK needs to cache this endpoint for future POSTs.
Code Path
Endpoints are recommended to be set on the TelemetryConfiguration.ConnectionString
.
This value is then set on the TelemetryChannel
.
TelemetryConfiguration
Note: TelemetrySink ctor will initialize InMemoryChannel w/ TelemetryConfiguration.
InMemoryChannel.Flush()
- InMemoryTransmitter.Flush() > InMemoryTransmitter.DequeueAndSend() > InMemoryTransmitter.Send()
- Transmission.SendAsync()
ServerTelemetryChannel.Initialize(TelemetryConfiguration)
- ServerTelemetryChannel.Flush()
- TelemetryBuffer.FlushAsync()
- TelemetrySerializer.Serialize()
- Transmitter.Enqueue()
- TransmissionSender.StartSending()
- Transmission.SendAsync()
Transmission.SendAsync
The HttpClient
used by both TelemetryChannels
is here:
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity