Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- C# HttpClient POST or PUT Json with content type application/json
- C# get results from Task.WhenAll
- C# Get expiry timestamp from JWT token
- Run tasks in parallel using .NET Core, C# and async coding
- Handling "415 Unsupported Media Type" in .NET Core API
- Using C# HttpClient from Sync and Async code
- ASP.Net Core API - "'s' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0."
Archive
Meta
Tag Archives: Application Insights
Filtering Application Insights telemetry using a ITelemetryProcessor
Application Insights is a wonderful tool. Especially when you have a microservice or multi-application environment and you need one place for all the logs and metrics. But it’s not free, and the costs can run wild if you are not … Continue reading
Posted in .net, .NET Core, General .NET, Microsoft Azure
Tagged Application Insights, ITelemetryProcessor, Telemetry
Leave a comment
.NET Core Worker Services with Application Insights and Serilog
The .NET Core Worker service is yet another tool in the .NET toolbox. They are perfect for background processing like reading from a queue or making health checks. They are cross-platform (of course) and they can run on docker containers, … Continue reading
Posted in .net, .NET Core, c#
Tagged .NET Core, Application Insights, BackgroundService, Serilog
6 Comments
Application Insights not working in .NET Core Console Application – Remember to flush the TelemetryClient
My .NET Core console application did not write to my Application Insights instance. Well, it did, but only sometimes. Writing to Application Insights is done asynchronously, usually every 30 seconds or 500 items. This means that you need to give … Continue reading
Posted in .NET Core, Microsoft Azure
Tagged Application Insights, Azure, TelemetryClient
Leave a comment
Sitecore and Application Insights – How to remove 90% of all log lines without sacrificing traceability
In this article I will explain how you can remove up to 90% of all log lines from the Application Insights log, but still keep every log line in the file log. All of this without loosing any important information. … Continue reading
Posted in Microsoft Azure, Sitecore 8, Sitecore 9
Tagged Application Insights, Azure, Log4Net, Logging, Microsoft Azure, Sitecore
3 Comments
Sitecore use Application Insights Metrics and Telemetry
Although Sitecore have an integration for Application Insights (which is part of Azure Monitor), you can implement the TelemetryClient yourself. This is useful if you wish to log Metrics or Trace your own code, without involving the complete Sitecore solution. … Continue reading
Posted in .net, c#, Microsoft Azure, Sitecore 7, Sitecore 8, Sitecore 9
Tagged Application Insights, Metrics, Sitecore
1 Comment
Azure ApplicationInsights track custom metrics using the TelemetryClient
The Microsoft.ApplicationInsights nuget package is your code gateway to the Microsoft Application Insights portal, and also to the Azure Monitor universe. You use these tools as a shared place for your log data, telemetry, alerts, diagnostics etc. The Application Insights comes … Continue reading
Posted in .net, c#, Microsoft Azure
Tagged Application Insights, Azure, Azure Monitor, Metrics, TelemetryClient
3 Comments