I'm using the Azure.Monitor.OpenTelemetry.AspNetCore OTEL package to emit telemtry to Application Insights for an ASP.NET Core application (.NET 8).
Within Application Insights, I don't see the "Category" field that I would normally see for e.g. function apps. This field captures the category in ILogger<Category>, so I find it extremely useful for identifying the code that emitted the log.
How can I make the package also include the logging category?
Packages:
<PackageReference Include="Azure.Monitor.OpenTelemetry.AspNetCore" Version="1.2.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
Code:
logger.LogInformation("Fetched all users");
Application Insights:
