Application Insights-如何在依赖项中获取完整的SQL命令 [英] Application Insights - How to get the full SQL command in dependencies

查看:78
本文介绍了Application Insights-如何在依赖项中获取完整的SQL命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,应用程序见解中的SQL依赖项仅在命令"窗口中显示数据库名称.字段.

Currently the SQL dependencies in application insights just display the database name in the "command" field.

该应用程序是IIS中托管的.NET Core 2.1 Web应用程序.

The application is a .NET Core 2.1 web application hosted in IIS.

我阅读到状态监视器是必需的.但是,我阅读的文章和论坛帖子都适用于.NET Framework<. 4.6.

I read that Status Monitor is required. However the articles and forum posts I read all applied to .NET Framework < 4.6.

我需要安装状态监控器吗?

Do I need to install Status Monitor?

推荐答案

不,当前状态监控器的版本(截至今天)将是'有助于收集.NET Core应用程序上的SQL命令.

No, the current version of Status Monitor (as of today) won't help to collect SQL Command on .NET Core applications.

但是,的最新版本 AI .NET Core SDK 在某些情况下可能能够收集SQL命令.

However, the recent versions of AI .NET Core SDK might be capable of collecting SQL Command in certain scenarios.


这篇关于Application Insights-如何在依赖项中获取完整的SQL命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆