[QUERY] Using Azure Monitor OpenTelemetry alongside Serilog #48678
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Monitor - Distro
Monitor OpenTelemetry Distro
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Library name and version
Azure.Monitor.OpenTelemetry.AspNetCore 1.2.0
Query/Question
In a project I configured Azure Monitor OpenTelemetry to make monitoring easy. At the same time I would like to use the flexibility of serilog to write formatted logs to console and file.
In the project I also use entity framework. If I disable Serilog, on app insight I also find the queries towards the database logged. If I enable Serilog, I no longer see the traces.
On stack overflow I found this question, but by configuring serilog as indicated, I see the traces on app insights but I still do not see the sql entity framework queries.
Do you have any suggestion?
Thanks!!
Following there is the cose I used and the content of app.settings
Environment
No response
The text was updated successfully, but these errors were encountered: