问题标签 [azure-application-insights]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
5321 浏览

azure - 使用 Application Insights 检测 Windows 服务

是否可以使用 Application Insights 检测在本地运行的 Windows 服务?它不需要像处理 Web 应用程序那样自动收集应用程序的指标,将自定义事件推送到 Azure 就足够了。

0 投票
1 回答
548 浏览

wcf - 将 Application Insights 添加到锁定的 IIS 框上的 WCF 服务

我们在 DMZ 中有一台服务器,用于为一些外部客户端托管 WCF Web 服务。

此服务器仅接受来自单个 IP 地址的连接以使其更安全。

有谁知道这是否可以将应用程序洞察力添加到仅接受来自单个 IP 的连接的服务中?我是否需要进行更改才能使应用程序洞察力发挥作用?

谢谢马丁。

0 投票
2 回答
217 浏览

azure-application-insights - 用于监控应用程序服务的 AppInsights

目前我们正在使用 AppInsights 来监控我们的 .net 应用程序。

主要问题是类似的产品都带有插件,以监控安装在前提机器、虚拟机上的其他类型的服务......即:

  • SQL 数据库
  • Redis 实例
  • Docker 容器
  • ...

我们正在尝试了解如何使用 AppInsights 来完成它,如果有必要开发这些插件......但我们不知道最好的方法是什么,或者我们是否可以使用 AppInsights 来获得它。

基本上我们想使用相同的仪表板来分析所有类型的指标(应用程序/操作)......而不是继续使用 n 仪表板(Zabbix、Nagios、Azure 门户管理仪表板......)

任何想法?

问候,

奥斯卡

0 投票
1 回答
663 浏览

azure-application-insights - 对没有公共互联网访问的 Intranet 的见解

我在 //Build 2015 上看到了一些演员,它使用 microsoft azure 应用程序洞察力来跟踪站点/应用程序的财富。我想知道是否有办法在 Internet 访问受限的 Intranet 应用程序上这样做。有没有办法在 Windows 服务器上安装见解服务?或者是否存在类似的工具?

谢谢

0 投票
4 回答
6924 浏览

c# - 除非调用 Flush,否则 TelemetryClient 不会发送任何数据

我在我的代码中直接使用 TelemetryClient (v0.17.0.576),看起来我只能在最后手动调用 Flush 时将数据推送到 Azure,这感觉不对。我在这里错过了什么吗?

0 投票
1 回答
2245 浏览

c# - Application Insights - 如何将自定义指标添加到您的请求信息中?

这个问题和我想知道的很相似。我在配置了 Application Insights 的 Azure 云服务上有一个 Web api 服务。在自动生成的请求信息门户上,我想将作为请求一部分的自定义 http 标头添加到与每个请求一起记录的信息中。问题是我该怎么做?

我尝试使用如下所示的遥测初始化程序,但这失败了(因为我在门户上看不到信息)。我还在 global.asax 中添加了这个 TelemetryConfiguration.Active.TelemetryInitializers.Add(propertyTelemetryInitializer);

还有一种方法可以从控制器方法本身做到这一点吗?类似于以下内容(注意:以下内容不起作用)?

0 投票
1 回答
82 浏览

visual-studio-2013 - 无法连接到 Application Insights

我正在尝试在 Visual Studio Professional 2013 上创建一个新的 Web 应用程序。我发现一条消息“您的登录已过期”,我尝试使用我的帐户登录,但随后收到以下错误消息。这是什么意思? 在此处输入图像描述

0 投票
1 回答
959 浏览

azure - 确定来自 Azure Application Insights 的 404 请求

我为我的 Web 应用程序配置了 Application Insights,我发现我有数量惊人的 404 错误。有没有办法让我使用 AI 进行钻取并找到正在请求我返回 404 的页面?

0 投票
1 回答
1212 浏览

c# - Application Insights: How to track crashes in Desktop (WPF) applications?

I'm using Application Insights for a WPF Application. Tracking of PageViews and custom events is working.

Now I would like to track crashes. My idea was to:

The code is called when a unhandled exception occurs but it is not shown as "Crash" in the Application Insights portal. I have read somewhere that TrackException does not count as "Crash" when the application does not really crash.

Desktop (e.g. WPF) applications must use the low level API of Application Insights. I have not found a way to tell Application Insights that the WPF Application is crashing.

How could I do that?

0 投票
1 回答
2260 浏览

c# - 如何将 ASP.NET Web API 请求正文记录到 Application Insights 失败中?

我正在使用 TelemetryClient 在 Azure 上的 Application Insights 中将未处理的异常记录在 ExceptionLogger 中。

有没有办法记录 Web API 请求正文,以便我可以在 Azure 门户的 Application Insights 仪表板上查看它?