-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing logs in Application Insights #215
Comments
Does this issue belong in |
@bjosttveit Nice catch, thanks! I moved it to |
I don't think it is possible to make logs be shipped through App Insights SDK (or OTel SDK for that matter) consistently in this way. The only place we know that logs will appear regardless of where or how early the code crashes is stdout/stderr from the container/process. In k8s these are stored on the host filesystem, and this is typically what log-scrapers (such as the one shipping to Examples include
The case our users will most commonly run into I think are exceptions originating from configuration on startup. For example code that is run in Some options I can think of (that are not mutually exclusive):
|
Owners will soon have access to two new Log Analytics workspaces: |
Yeah I guess the original issue is reoslved. I think it would be beneficial to pull more app observability into the Studio UI over time, perhaps something for 2025 😄 |
Description of the bug
Exceptions that occur in
Program.cs
, during the deployment of an application, are not logged in Application Insights, making it difficult for users to debug their app.These logs can still be found in the
ContainerLog
table of the Kubernetes service, but our users don't have access to AKS.Steps To Reproduce
throw new System.Exception();
inApp/Program.cs
missing_ai.mov
The text was updated successfully, but these errors were encountered: