Guides
All guides, page 2
Every guide on the site, most recently updated first. Each one opens with the answer, lists its sources with the day they were checked, and says when it last changed.
Filter by tag
-
Application Insights
Custom metrics in Application Insights: pre-aggregated vs log-based
GetMetric vs TrackMetric, OpenTelemetry counters and histograms, where custom metrics land, dimension limits, and how to query customMetrics correctly.
-
Application Insights
Application Insights for desktop and console apps
Instrument console tools, worker services, WPF and WinForms apps with Application Insights, flush before exit, and track work without a web host.
-
Application Insights
DiagnosticSource and Activity: how .NET libraries emit telemetry
DiagnosticSource vs ActivitySource in .NET, how libraries emit telemetry, listening without a vendor SDK, and what Application Insights collects.
-
Application Insights
Disable Application Insights in development and debug builds
Stop local runs from sending telemetry, for the classic Application Insights SDK, SDK 3.x and the OpenTelemetry distros, in .NET and Node.js.
-
Application Insights
Enable Application Insights Live Metrics from code
Turn Live Metrics on or off in code for the classic SDK, SDK 3.x and the OpenTelemetry Distro, secure it with Entra ID, and fix an empty Live Metrics pane.
-
Application Insights
The Application Insights JavaScript snippet explained
What the JavaScript SDK Loader Script does, loader vs npm, the connection string in the browser, linking page views to server requests, and cookie consent.
-
Application Insights
Application Insights logging: ILogger, Serilog, severity levels and the traces table
How ILogger and Serilog logs reach the Application Insights traces table, which levels are sent by default, severity mapping, scopes, and what debug logs cost.
-
Application Insights
No data in Application Insights? SDK self-diagnostics and a checklist
A checklist for missing Application Insights telemetry, and how to turn on self-diagnostics in the classic SDK, SDK 3.x, OpenTelemetry and Java.
-
Application Insights
Performance counters and runtime metrics in non-web apps
Why CPU and memory counters go missing in console apps, services and containers, and how to collect them with the classic SDK, SDK 3.x and OpenTelemetry.
-
Application Insights
How Application Insights names requests, and how to change operation_Name
Where request names and operation_Name come from in the classic SDK and OpenTelemetry, why 404s and static files behave oddly, and how to rename requests.
-
Application Insights
Application Insights sampling: the types, the defaults, and why it beats filtering
Adaptive, fixed-rate, rate-limited and ingestion sampling in Application Insights, each SDK's default, counting with itemCount, and why filters skew metrics.
-
Application Insights
Send telemetry to Application Insights with one request: curl, PowerShell, OTLP
Post a custom event or metric to Application Insights with curl or PowerShell, read the response, validate the JSON, and when to use OTLP or an SDK instead.