問題描述
是否可以在單個 Azure 項目中同時使用 New Relic 和 Azure Application Insights? (Is it possible to use both New Relic and Azure Application Insights together in single Azure project?)
當我發布包含依賴項的 Insights 雲服務時,我的新遺物似乎停止工作,我想知道為什麼會發生這種情況,因為我沒有更改新遺物設置的任何內容。我剛剛在 CSDEF 文件下添加了新的啟動任務,如下所示:https://azure.microsoft.com/en‑gb/documentation/articles/app‑insights‑cloudservices/#dependencies
我只是在尋找答案不可以一起使用它們,如果可以,我這邊的問題是什麼?
參考解法
方法 1:
Startup task that you've added installs AI Status Monitor that adds/modifies a registry entry 'COR_PROFILER' under the 'environment' key in HKLM\System\CurrentControlSet\Services\W3SVC. I believe that New Relic might rely on the same entry being set to a different GUID (NewRelic's profiler GUID, not AI GUID). Hence, whoever sets this setting the last to its own ID wins the "competition"...
If you skip the step to enable AI Dependency collection, they (NR and AI) might actually work together, but I never tried it myself.
(by erincerol、Dmitry Matveev)