2
我們有一個配置了AI的Azure Web應用程序。應用程序洞察未捕獲https流量
從AI模塊添加這樣的:
<modules >
<remove name="ApplicationInsightsWebTracking" />
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
</modules>
我們想要的前提,因爲我們不想讓靜態文件被捕獲,但使用的前提下,HTTPS流量時,永遠不會被捕獲,而HTTP流量確實。
任何想法如何使用precondition =「託管」,但確保https流量也被AI捕獲?
如果您在集成模式下運行應用程序,我相信preCondition =「managedHandler」將爲您捕獲https流量。我建議你仔細檢查一下你的web應用運行在哪種模式下,然後去掉經典模式httpmodule然後再次測試。 – Amor
我可以通過刪除AI模塊的preCondition =「managedHandler」來解決問題。 (以集成模式運行) – Identity
我正在使用ASP.NET 4.6與owin中間件。出於某種原因,在preCondition設置時,https流量不會被捕獲。有沒有另外一個原因爲什麼https流量沒有被這個preCondition捕獲? – Identity