-
Notifications
You must be signed in to change notification settings - Fork 192
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
Application Insight in isolated Function app #1293
Comments
Can you share what you have tried in your isolated function bootstrapping code (Program.cs)? |
i have tried this and it work fine in my local but when i deploy it in Azure, it did not log anything. .ConfigureServices(services => |
@MianNajmi we have a preview package for using app insights in the dotnet isolated worker. See #944 (comment) |
I am facing issue in moving my function app code from in process to isolated process. Here is my application insight code which i am using in my startup.cs. i am not using APPINSIGHTS_INSTRUMENTATIONKEY configuration.
class Startup : FunctionsStartup
{
public override void ConfigureAppConfiguration(IFunctionsConfigurationBuilder builder)
{
builder.ConfigurationBuilder.AddApplicationInsightsSettings(applicationInsightsInstrumentationConectionstring);
}
public override void Configure(IFunctionsHostBuilder builder)
{
builder.Services.AddApplicationInsightsTelemetry();
}
}
Now i want to move it to program.cs for function app isolated process. i have tried different ways but it is not writing logs to application insight.
The text was updated successfully, but these errors were encountered: