Microsoft.AspNet.TelemetryCorrelation
Microsoft.AspNet.CorrelationIdTracker module for tracking multi-tier activities
Install / Use
/learn @aspnet/Microsoft.AspNet.TelemetryCorrelationREADME
Telemetry correlation http module
Telemetry correlation http module enables cross tier telemetry tracking.
Usage
-
Install NuGet for your app.
-
Enable diagnostics source listener using code below. Note, some telemetry vendors like Azure Application Insights will enable it automatically.
public class NoopDiagnosticsListener : IObserver<KeyValuePair<string, object>> { public void OnCompleted() { } public void OnError(Exception error) { } public void OnNext(KeyValuePair<string, object> evnt) { } } public class NoopSubscriber : IObserver<DiagnosticListener> { public void OnCompleted() { } public void OnError(Exception error) { } public void OnNext(DiagnosticListener listener) { if (listener.Name == "Microsoft.AspNet.TelemetryCorrelation" || listener.Name == "System.Net.Http" ) { listener.Subscribe(new NoopDiagnosticsListener()); } } } -
Double check that http module was registered in
web.configfor your app.
Once enabled - this http module will:
- Reads correlation http headers
- Start/Stops Activity for the http request
- Ensure the Activity ambient state is transferred thru the IIS callbacks
See http protocol specifications for details.
This http module is used by Application Insights. See documentation and code.
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
