Application Insights NuGet 包Application Insights NuGet packages

下面是 Application Insights NuGet 包稳定版本的当前列表。Below is the current list of stable release NuGet Packages for Application Insights.

适用于 ASP.NET 的常用包Common packages for ASP.NET

包名称Package Name 稳定版本Stable Version 说明Description 下载Download
Microsoft.ApplicationInsightsMicrosoft.ApplicationInsights 2.12.02.12.0 提供用于所有 Application Insights 遥测类型传输的核心功能,且作为所有其他 Application Insights 包的依赖包Provides core functionality for transmission of all Application Insights Telemetry Types and is a dependent package for all other Application Insights packages 下载包Download Package
Microsoft.ApplicationInsights.Agent.InterceptMicrosoft.ApplicationInsights.Agent.Intercept 2.4.02.4.0 可拦截方法调用Enables Interception of method calls 下载包Download Package
Microsoft.ApplicationInsights.DependencyCollectorMicrosoft.ApplicationInsights.DependencyCollector 2.12.02.12.0 适用于 .NET 应用程序的 Application Insights 依赖项收集器。Application Insights Dependency Collector for .NET applications. 这是一个用于 Application Insights 平台专用包的依赖包,可自动收集依赖项遥测数据。This is a dependent package for Application Insights platform-specific packages and provides automatic collection of dependency telemetry. 下载包Download Package
Microsoft.ApplicationInsights.PerfCounterCollectorMicrosoft.ApplicationInsights.PerfCounterCollector 2.12.02.12.0 Application Insights 性能计数器,可用于将性能收集器收集的数据发送到 Application Insights。Application Insights Performance Counters Collector allows you to send data collected by Performance Counters to Application Insights. 下载包Download Package
Microsoft.ApplicationInsights.WebMicrosoft.ApplicationInsights.Web 2.12.02.12.0 适用于 .NET Web 应用程序的 Application InsightsApplication Insights for .NET web applications 下载包Download Package
Microsoft.ApplicationInsights.WindowsServerMicrosoft.ApplicationInsights.WindowsServer 2.12.02.12.0 Application Insights Windows Server NuGet 包可自动收集 .NET 应用程序的 Application Insights 遥测数据。Application Insights Windows Server NuGet package provides automatic collection of application insights telemetry for .NET applications. 此包可用作 Application Insights 平台专用包的依赖包,也可用作平台专用包未涵盖的 .NET 应用程序独立包(例如用于 .NET 辅助角色的包)。This package can be used as a dependent package for Application Insights platform-specific packages or as a standalone package for .NET applications that are not covered by platform-specific packages (like for .NET worker roles). 下载包Download Package
Microsoft.ApplicationInsights.WindowsServer.TelemetryChannelMicrosoft.ApplicationInsights.WindowsServer.TelemetryChannel 2.12.02.12.0 向 Application Insights Windows Server SDK 提供遥测渠道,此 SDK 将保留脱机方案中的遥测数据。Provides a telemetry channel to Application Insights Windows Server SDK that will preserve telemetry in offline scenarios. 下载包Download Package

适用于 ASP.NET Core 的常用包Common packages for ASP.NET Core

包名称Package Name 稳定版本Stable Version 说明Description 下载Download
Microsoft.ApplicationInsights.AspNetCoreMicrosoft.ApplicationInsights.AspNetCore 2.5.02.5.0 适用于 ASP.NET Core Web 应用程序的 Application Insights。Application Insights for ASP.NET Core web applications. 下载包Download Package
Microsoft.ApplicationInsightsMicrosoft.ApplicationInsights 2.12.02.12.0 此包提供用于所有 Application Insights 遥测类型传输的核心功能,且作为所有其他 Application Insights 包的依赖包This package provides core functionality for transmission of all Application Insights Telemetry Types and is a dependent package for all other Application Insights packages 下载包Download Package
Microsoft.ApplicationInsights.DependencyCollectorMicrosoft.ApplicationInsights.DependencyCollector 2.12.02.12.0 适用于 .NET 应用程序的 Application Insights 依赖项收集器。Application Insights Dependency Collector for .NET applications. 这是一个用于 Application Insights 平台专用包的依赖包,可自动收集依赖项遥测数据。This is a dependent package for Application Insights platform-specific packages and provides automatic collection of dependency telemetry. 下载包Download Package
Microsoft.ApplicationInsights.PerfCounterCollectorMicrosoft.ApplicationInsights.PerfCounterCollector 2.12.02.12.0 Application Insights 性能计数器,可用于将性能收集器收集的数据发送到 Application Insights。Application Insights Performance Counters Collector allows you to send data collected by Performance Counters to Application Insights. 下载包Download Package
Microsoft.ApplicationInsights.WindowsServerMicrosoft.ApplicationInsights.WindowsServer 2.12.02.12.0 Application Insights Windows Server NuGet 包可自动收集 .NET 应用程序的 Application Insights 遥测数据。Application Insights Windows Server NuGet package provides automatic collection of application insights telemetry for .NET applications. 此包可用作 Application Insights 平台专用包的依赖包,也可用作平台专用包未涵盖的 .NET 应用程序独立包(例如用于 .NET 辅助角色的包)。This package can be used as a dependent package for Application Insights platform-specific packages or as a standalone package for .NET applications that are not covered by platform-specific packages (like for .NET worker roles). 下载包Download Package
Microsoft.ApplicationInsights.WindowsServer.TelemetryChannelMicrosoft.ApplicationInsights.WindowsServer.TelemetryChannel 2.12.02.12.0 向 Application Insights Windows Server SDK 提供遥测渠道,此 SDK 将保留脱机方案中的遥测数据。Provides a telemetry channel to Application Insights Windows Server SDK that will preserve telemetry in offline scenarios. 下载包Download Package

使用 OpenCensus 的通用 Python 包Common packages for Python using OpenCensus

包名称Package Name 稳定版本Stable Version 说明Description 下载Download
opencensus-ext-azureopencensus-ext-azure 1.0.01.0.0 Application Insights,用于通过 OpenCensus 为 Azure Monitor 提供数据的 Python 应用程序。Application Insights for Python applications under Azure Monitor via OpenCensus. 下载包Download Package
opencensus-ext-djangoopencensus-ext-django 0.7.20.7.2 此包提供与 Python django 库的集成。This package provides integration with the Python django library. 下载包Download Package
opencensus-ext-flaskopencensus-ext-flask 0.7.30.7.3 此包提供与 Python flask 库的集成。This package provides integration with the Python flask library. 下载包Download Package
opencensus-ext-httplibopencensus-ext-httplib 0.7.20.7.2 此包提供与用于 Python3 的 Python http.client 库和用于 Python2 的 httplib 的集成。This package provides integration with the Python http.client library for Python3 and httplib for Python2. 下载包Download Package
opencensus-ext-loggingopencensus-ext-logging 0.1.00.1.0 此包使用跟踪数据扩充日志记录。This package enriches log records with trace data. 下载包Download Package
opencensus-ext-mysqlopencensus-ext-mysql 0.1.20.1.2 此包提供与 Python mysql-connector 库的集成。This package provides integration with the Python mysql-connector library. 下载包Download Package
opencensus-ext-postgresqlopencensus-ext-postgresql 0.1.20.1.2 此包提供与 Python psycopg2 库的集成。This package provides integration with the Python psycopg2 library. 下载包Download Package
opencensus-ext-pymongoopencensus-ext-pymongo 0.7.10.7.1 此包提供与 Python pymongo 库的集成。This package provides integration with the Python pymongo library. 下载包Download Package
opencensus-ext-pymysqlopencensus-ext-pymysql 0.1.20.1.2 此包提供与 Python PyMySQL 库的集成。This package provides integration with the Python PyMySQL library. 下载包Download Package
opencensus-ext-pyramidopencensus-ext-pyramid 0.7.10.7.1 此包提供与 Python pyramid 库的集成。This package provides integration with the Python pyramid library. 下载包Download Package
opencensus-ext-requestsopencensus-ext-requests 0.7.20.7.2 此包提供与 Python requests 库的集成。This package provides integration with the Python requests library. 下载包Download Package
opencensus-ext-sqlalchemyopencensus-ext-sqlalchemy 0.1.20.1.2 此包提供与 Python SQLAlchemy 库的集成。This package provides integration with the Python SQLAlchemy library. 下载包Download Package

侦听器/收集器/追加器Listeners/collectors/appenders

包名称Package Name 稳定版本Stable Version 说明Description 下载Download
Microsoft.ApplicationInsights.DiagnosticSourceListenerMicrosoft.ApplicationInsights.DiagnosticSourceListener 2.7.22.7.2 允许将 DiagnosticSource 中的事件转发给 Application Insights。Allows forwarding events from DiagnosticSource to Application Insights. 下载包Download Package
Microsoft.ApplicationInsights.EventSourceListenerMicrosoft.ApplicationInsights.EventSourceListener 2.7.22.7.2 Application Insights EventSourceListener 可用于将 EventSource 事件中的数据发送到 Application Insights。Application Insights EventSourceListener allows sending data from EventSource events to Application Insights. 下载包Download Package
Microsoft.ApplicationInsights.EtwCollectorMicrosoft.ApplicationInsights.EtwCollector 2.7.22.7.2 Application Insights EtwCollector 可用于将 Windows 事件跟踪 (ETW) 中的数据发送到 Application Insights。Application Insights EtwCollector allows sending data from Event Tracing for Windows (ETW) to Application Insights. 下载包Download Package
Microsoft.ApplicationInsights.TraceListenerMicrosoft.ApplicationInsights.TraceListener 2.7.22.7.2 自定义的 TraceListener,可用于将跟踪日志消息发送到 Application Insights。A custom TraceListener allowing you to send trace log messages to Application Insights. 下载包Download Package
Microsoft.ApplicationInsights.Log4NetAppenderMicrosoft.ApplicationInsights.Log4NetAppender 2.7.22.7.2 自定义追加器,可用于将 Log4Net 日志消息发送到 Application Insights。A custom appender allowing you to send Log4Net log messages to Application Insights. 下载包Download Package
Microsoft.ApplicationInsights.NLogTargetMicrosoft.ApplicationInsights.NLogTarget 2.7.22.7.2 自定义目标,可用于将 NLog 日志消息发送到 Application Insights。a custom target allowing you to send NLog log messages to Application Insights. 下载包Download Package
Microsoft.ApplicationInsights.SnapshotCollectorMicrosoft.ApplicationInsights.SnapshotCollector 1.3.11.3.1 监视应用程序中的异常,并自动收集快照用于脱机分析。Monitors exceptions in your application and automatically collects snapshots for offline analysis. 下载包Download Package

Service FabricService Fabric

包名称Package Name 稳定版本Stable Version 说明Description 下载Download
Microsoft.ApplicationInsights.ServiceFabricMicrosoft.ApplicationInsights.ServiceFabric 2.2.02.2.0 此包使用运行应用程序的 Service Fabric 上下文自动修饰遥测数据。This package provides automatic decoration of telemetry with the service fabric context the application is running in. 请不要对 Service Fabric 本机应用程序使用此 NuGet。Do not use this NuGet for Native Service Fabric applications. 下载包Download Package
Microsoft.ApplicationInsights.ServiceFabric.NativeMicrosoft.ApplicationInsights.ServiceFabric.Native 2.2.02.2.0 适用于 Service Fabric 应用程序的 Application Insights 模块。Application Insights module for service fabric applications. 此 NuGet 仅用于 Service Fabric 本机应用程序。Use this NuGet only for Native Service Fabric applications. 对于在容器中运行的应用程序,请使用 Microsoft.ApplicationInsights.ServiceFabric 包。For applications running in containers, use Microsoft.ApplicationInsights.ServiceFabric package. 下载包Download Package

状态监视器Status monitor

包名称Package Name 稳定版本Stable Version 说明Description 下载Download
Microsoft.ApplicationInsights.Agent_x64Microsoft.ApplicationInsights.Agent_x64 2.2.12.2.1 为 x64 应用程序启用运行时数据收集功能Enables runtime data collection for x64 applications 下载包Download Package
Microsoft.ApplicationInsights.Agent_x86Microsoft.ApplicationInsights.Agent_x86 2.2.12.2.1 为 x86 应用程序启用运行时数据收集功能。Enables runtime data collection for x86 applications. 下载包Download Package

这些包属于状态监视器中运行时监视的核心功能。These packages make up part of the core functionality of the runtime monitoring in Status Monitor. 无需直接下载这些包,只需使用状态监视器安装程序即可。You don't need to download these packages directly, just use the Status Monitor installer. 如果要详细了解这些包如何在后台工作,请参阅我们的一位开发人员撰写的这篇博客文章If you want to understand more about how these packages work under the hood this blog post from one of our developers is a good start.

其他包Additional packages

包名称Package Name 稳定版本Stable Version 说明Description 下载Download
Microsoft.ApplicationInsights.AzureWebSitesMicrosoft.ApplicationInsights.AzureWebSites 2.6.52.6.5 此扩展将在 Azure 应用服务上启用 Application Insights 监视功能。This extension enables the Application Insights monitoring on an Azure App Service. SDK 版本 2.6.1。SDK version 2.6.1. 说明:使用 ikey 添加“APPINSIGHTS_INSTRUMENTATIONKEY”应用程序设置,再重启 Web 应用使其生效。Instructions: Add 'APPINSIGHTS_INSTRUMENTATIONKEY' application settings with your ikey and restart the webapp to take an effect. 下载包Download Package
Microsoft.ApplicationInsights.InjectorMicrosoft.ApplicationInsights.Injector 2.6.72.6.7 此包具有在不使用代码的情况下注入 Application Insights 时所需的文件This package contains files required for codeless Application Insights injection 下载包Download Package

后续步骤Next steps