简体   繁体   English

Azure 使用 Elastic Beanstalk 在 AWS 上的 Application Insights?

[英]Azure Application Insights on AWS with Elastic Beanstalk?

I've been attempting to research this issue, but it's difficult since AWS also has a feature called Application Insights, so Google is not as helpful as normal.我一直在尝试研究这个问题,但是这很困难,因为 AWS 也有一个名为 Application Insights 的功能,所以谷歌不像往常那样有用。 I saw that there is a SO question regarding something similar, but the OP seems to already be a few steps ahead of where I'm at.我看到有一个关于类似问题的SO 问题,但 OP 似乎已经比我现在的位置提前了几步。

I have an ASP.NET application that I currently run on an EC2 instance, and I can install Application Insights on IIS, but I can't find out how to install Application Insights on the EB instance, since I can't get into the UI, and Application Insights doesn't seem to have a.msi that I can use to install...so what do I do here?我有一个 ASP.NET 应用程序,我目前在 EC2 实例上运行,我可以在 IIS 上安装 Application Insights,但我不知道如何在 EB 实例上安装 Application Insights,因为我无法进入 UI,并且 Application Insights 似乎没有我可以用来安装的.msi...那我该怎么办?

Or am I restricted to implementing this in code only?或者我是否仅限于在代码中实现它?

(don't have much knowledge about Elastic Beanstalk; I'm from Azure Monitor Application Insights team) (对 Elastic Beanstalk 了解不多;我来自 Azure Monitor Application Insights 团队)

One option is to do it through code - instrument and app with Application Insights SDK.一种选择是通过代码 - 使用 Application Insights SDK 的仪器和应用程序来实现。

Another option is to install Application Insights Agent .另一种选择是安装Application Insights Agent The latter allows autoinstrument apps running on IIS.后者允许在 IIS 上运行自动仪器应用程序。 This will not work if Elastc Beanstalk doesn't use IIS.如果 Elastc Beanstalk 不使用 IIS,这将不起作用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM