在 Azure 中写回配置文件时禁用 Application Insights 有问题吗?

Issue with disabling Application Insights in Azure when it writes back to the Configuration file?

我在 Azure 中创建了一个 .net 应用服务,并且 Application Insights 默认处于打开状态。我想禁用 Application Insights。所以我转到右侧 Application Insights 的菜单并将其禁用。 但是它在配置文件中留下了以下设置,

"name": "APPINSIGHTS_INSTRUMENTATIONKEY",   
"name": "APPINSIGHTS_PROFILERFEATURE_VERSION",   
"name": "APPINSIGHTS_SNAPSHOTFEATURE_VERSION",   
"name": "APPLICATIONINSIGHTS_CONNECTION_STRING",   
"name": "ApplicationInsightsAgent_EXTENSION_VERSION",   
"name": "DiagnosticServices_EXTENSION_VERSION",   
"name": "InstrumentationEngine_EXTENSION_VERSION",   
"name": "SnapshotDebugger_EXTENSION_VERSION",   
"name": "XDT_MicrosoftApplicationInsights_BaseExtensions",   
"name": "XDT_MicrosoftApplicationInsights_Java",
"name": "XDT_MicrosoftApplicationInsights_Mode",
"name": "XDT_MicrosoftApplicationInsights_NodeJS",
"name": "XDT_MicrosoftApplicationInsights_PreemptSdk",

我能否简单地删除这些并在我保存配置后设置所需的设置,或者是否有任何我可以设置的设置将删除并清理配置文件?

我通过禁用应用程序服务中的应用程序洞察进行了重现,发现应用程序服务按预期工作。

找到我遵循的重现过程

重现前:

当应用程序服务中启用应用程序洞察时,将显示以下应用程序设置

禁用应用程序洞察后,在应用程序服务中显示新应用程序设置列表。

下面是删除几个配置后的应用设置列表,发现应用服务运行正常,没有任何问题。

后来删除了应用程序设置下的所有配置,没有发现问题。

注意:在测试环境中尝试或创建一个staging environment并尝试。