

# 使用 CloudWatch Application Insights 检测常见应用程序问题
<a name="cloudwatch-application-insights"></a>

您可以使用 Amazon CloudWatch Application Insights 检测应用程序的问题。CloudWatch Application Insights 简化了观察您的应用程序和基础 Amazon 资源的过程。它可用帮助您为应用程序资源设置最佳的监控，以持续分析数据，以便找出应用程序出现问题的迹象。Application Insights 由 [Sagemaker](https://docs.amazonaws.cn/sagemaker/latest/dg/wahtis.html) 和其他 Amazon 技术提供支持，它提供了自动化控制面板以显示监控的应用程序的潜在问题，从而帮助您快速找出应用程序和基础设施当前存在的问题。Application Insights 提高了应用程序运行状况的可见性，可以帮助您缩短平均修复时间 (MTTR)，以便对应用程序进行故障排除。

在将应用程序添加到 Amazon CloudWatch Application Insights 时，它扫描应用程序中的资源，并在 [CloudWatch](https://docs.amazonaws.cn/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html) 上为应用程序组件建议和配置指标和日志。示例应用程序组件可能包括 SQL Server 后端数据库和 Microsoft IIS/Web 层。Application Insights 使用历史数据分析指标模式以检测异常情况，并从应用程序、操作系统和基础设施日志中持续检测错误和异常情况。它使用分类算法和内置规则组合以关联这些观察结果。然后，它自动创建控制面板以显示相关的观察结果和问题严重性信息，以帮助您确定操作的优先级。对于 .NET 和 SQL 应用程序堆栈中的常见问题（例如，应用程序延迟、SQL Server 备份失败、内存泄漏、过大的 HTTP 请求以及输入/输出操作取消），它提供了额外的洞察，以指出可能的根本原因和解决步骤。与 [Amazon SSM OpsCenter](https://docs.amazonaws.cn/systems-manager/latest/userguide/OpsCenter.html) 进行内置集成后，您可以通过运行相关的 Systems Manager Automation 文档来解决问题。

**Topics**
+ [Amazon CloudWatch Application Insights 是什么？](appinsights-what-is.md)
+ [Application Insights 的工作方式](appinsights-how-works.md)
+ [先决条件、IAM 策略和权限](appinsights-accessing.md)
+ [设置应用程序以进行监控](appinsights-setting-up.md)
+ [Application Insights 跨账户可观测性](appinsights-cross-account.md)
+ [使用组件配置](component-config.md)
+ [使用 CloudFormation 模板](appinsights-cloudformation.md)
+ [教程：为 SAP ASE 设置监控](appinsights-tutorial-sap-ase.md)
+ [教程：为 SAP HANA 设置监控](appinsights-tutorial-sap-hana.md)
+ [教程：为 SAP NetWeaver 设置监控](appinsights-tutorial-sap-netweaver.md)
+ [查看和排查 Application Insights](appinsights-troubleshooting.md)
+ [支持的日志和指标](appinsights-logs-and-metrics.md)