-
Notifications
You must be signed in to change notification settings - Fork 26
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
Configure logging for writing to AI from .NET Stateless service #100
Comments
@lmolkova Would you be able to share any example to correlate custom event with the Activity? |
As long as Here is where it is added in the example: https://github.com/yantang-msft/service-fabric-application-insights-example/blob/master/StatelessBackend/StatelessBackend.cs#L32 |
@davidelettieri I suppose you have done something like this in your asp.net core project: WebHost.CreateDefaultBuilder(args)
.UseApplicationInsights()
.ConfigureLogging(logging =>
{
logging.AddApplicationInsights();
} @lmolkova I don't see the |
|
Following this I was able to configure a stateless service to events to AI, I'm also able to write logs to AI but the logs from the Stateless service are not related to the chain of call as shown in the screenshot
Is there any snippet I can use to make this work?
The text was updated successfully, but these errors were encountered: