Microsoft.Azure.WebJobs.Logging.ApplicationInsights 3.0.41
前缀已保留
dotnet add package Microsoft.Azure.WebJobs.Logging.ApplicationInsights --version 3.0.41
NuGet\Install-Package Microsoft.Azure.WebJobs.Logging.ApplicationInsights -Version 3.0.41
此命令旨在在 Visual Studio 的包管理器控制台中使用,因为它使用了 NuGet 模块的 Install-Package 版本。
<PackageReference Include="Microsoft.Azure.WebJobs.Logging.ApplicationInsights" Version="3.0.41" />
对于支持 PackageReference 的项目,请将此 XML 节复制到项目文件中,以引用此包。
paket add Microsoft.Azure.WebJobs.Logging.ApplicationInsights --version 3.0.41
NuGet 团队不提供对此客户端的支持。请联系其 维护者 以获取支持。
#r "nuget: Microsoft.Azure.WebJobs.Logging.ApplicationInsights, 3.0.41"
#r 指令可用于 F# Interactive 和 Polyglot Notebooks。将此复制到交互式工具或脚本的源代码中,以引用此包。
// Install Microsoft.Azure.WebJobs.Logging.ApplicationInsights as a Cake Addin #addin nuget:?package=Microsoft.Azure.WebJobs.Logging.ApplicationInsights&version=3.0.41 // Install Microsoft.Azure.WebJobs.Logging.ApplicationInsights as a Cake Tool #tool nuget:?package=Microsoft.Azure.WebJobs.Logging.ApplicationInsights&version=3.0.41
NuGet 团队不提供对此客户端的支持。请联系其 维护者 以获取支持。
Microsoft.Azure.WebJobs.Logging.ApplicationInsights
此包为 WebJobs SDK 添加了基于 ApplicationInsights 的日志记录功能。有关更多信息,请访问 https://go.microsoft.com/fwlink/?linkid=2279708。
常用类型
ApplicationInsightsLoggingBuilderExtensions
ApplicationInsightsLoggerProvider
ApplicationInsightsLoggerOptions
示例用法
以下示例演示了通过 AddApplicationInsightsWebJobs
构建器方法在主机启动时配置 ApplicationInsights 日志记录的方法。
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
class Program
{
public static async Task Main(string[] args)
{
var builder = Host.CreateDefaultBuilder(args)
.ConfigureWebJobs(b =>
{
b.AddAzureStorageCoreServices();
b.AddAzureStorageQueues();
})
.ConfigureLogging((context, b) =>
{
// If this key exists in any config, use it to enable App Insights
string appInsightsKey = context.Configuration["APPINSIGHTS_INSTRUMENTATIONKEY"];
if (!string.IsNullOrEmpty(appInsightsKey))
{
b.AddApplicationInsightsWebJobs(o => o.InstrumentationKey = appInsightsKey);
}
});
using var host = builder.Build();
await host.RunAsync();
}
}
产品 | 版本 兼容和计算的额外目标框架版本。 |
---|---|
.NET | net5.0 已计算。 net5.0-windows 已计算。 net6.0 已计算。 net6.0-android 已计算。 net6.0-ios 已计算。 net6.0-maccatalyst 已计算。 net6.0-macos 已计算。 net6.0-tvos 已计算。 net6.0-windows 已计算。 net7.0 已计算。 net7.0-android 已计算。 net7.0-ios 已计算。 net7.0-maccatalyst 已计算。 net7.0-macos 已计算。 net7.0-tvos 已计算。 net7.0-windows 已计算。 net8.0 已计算。 net8.0-android 已计算。 net8.0-browser 已计算。 net8.0-ios 已计算。 net8.0-maccatalyst 已计算。 net8.0-macos 已计算。 net8.0-tvos 已计算。 net8.0-windows 已计算。 |
.NET Core | netcoreapp2.0 已计算。 netcoreapp2.1 已计算。 netcoreapp2.2 已计算。 netcoreapp3.0 已计算。 netcoreapp3.1 已计算。 |
.NET Standard | netstandard2.0 兼容。 netstandard2.1 已计算。 |
.NET Framework | net461 已计算。 net462 已计算。 net463 已计算。 net47 已计算。 net471 已计算。 net472 已计算。 net48 已计算。 net481 已计算。 |
MonoAndroid | monoandroid 已计算。 |
MonoMac | monomac 已计算。 |
MonoTouch | monotouch 已计算。 |
Tizen | tizen40 已计算。 tizen60 已计算。 |
Xamarin.iOS | xamarinios 已计算。 |
Xamarin.Mac | xamarinmac 已计算。 |
Xamarin.TVOS | xamarintvos 已计算。 |
Xamarin.WatchOS | xamarinwatchos 已计算。 |
-
.NETStandard 2.0
- Azure.Identity (>= 1.11.4)
- Microsoft.ApplicationInsights (>= 2.22.0)
- Microsoft.ApplicationInsights.AspNetCore (>= 2.21.0)
- Microsoft.ApplicationInsights.DependencyCollector (>= 2.21.0)
- Microsoft.ApplicationInsights.PerfCounterCollector (>= 2.21.0)
- Microsoft.ApplicationInsights.SnapshotCollector (>= 1.4.4)
- Microsoft.ApplicationInsights.WindowsServer (>= 2.21.0)
- Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel (>= 2.21.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.1.1)
- Microsoft.AspNetCore.Http.Extensions (>= 2.1.1)
- Microsoft.Azure.WebJobs (>= 3.0.39)
- Microsoft.Extensions.Logging.Abstractions (>= 2.1.1)
- System.Diagnostics.TraceSource (>= 4.3.0)
- System.Threading (>= 4.3.0)
- System.Threading.Thread (>= 4.3.0)
NuGet 包 (11)
显示依赖于 Microsoft.Azure.WebJobs.Logging.ApplicationInsights 的前 5 个 NuGet 包
包 | 下载 |
---|---|
Microsoft.Azure.WebJobs.Extensions.ApplicationInsights 此包包含 Application Insights 扩展组件。 |
|
Arcus.WebApi.Logging.AzureFunctions
提供在构建 Azure Functions 时轻松集成日志记录的功能。 |
|
AzureFunctions.Better.ApplicationInsights
改进 Azure Function v3 和 v4 的 Application Insights (App Insights) 集成。自动丢弃 Functions 运行时发出的冗余遥测数据。添加您自己的遥测处理器。 |
|
RevolutionPlatform.RPLHelpers
Revolution Platform 的通用助手库。包括 Gremlin.Net 的查询生成和顶点解析。 |
|
Microsoft.Azure.WebJobs.Script 此包包含 Microsoft.Azure.WebJobs.Script 的运行时组件。有关更多信息,请访问 http://github.com/Azure/azure-webjobs-sdk-script |
GitHub 代码存储库 (4)
显示依赖 Microsoft.Azure.WebJobs.Logging.ApplicationInsights 的前 4 个最受欢迎的 GitHub 代码存储库。
代码存储库 | 星级 |
---|---|
microsoft/ailab
与 Microsoft AI 一起体验、学习和编写最新的突破性创新。
|
|
Azure/azure-sdk-for-net
此代码存储库是用于 .NET 的 Azure SDK 的活动开发。对于 SDK 的消费者,我们建议您访问我们的公共开发者文档 https://learn.microsoft.com/dotnet/azure/ 或我们的分版开发者文档 https://azure.github.io/azure-sdk-for-net。
|
|
Azure/azure-functions-host
支持 Azure Functions 的宿主/运行时
|
|
Azure/azure-functions-durable-extension
Azure Functions 的可持久任务框架扩展
|
版本 | 下载 | 最后更新 |
---|---|---|
3.0.41 | 20,265 | 7/12/2024 |
3.0.35 | 1,586,401 | 4/4/2023 |
3.0.34 | 231,082 | 2/22/2023 |
3.0.33 | 1,466,409 | 5/9/2022 |
3.0.30 | 1,284,680 | 9/17/2021 |
3.0.27 | 992,002 | 3/22/2021 |
3.0.25 | 513,758 | 1/13/2021 |
3.0.23 | 447,287 | 10/2/2020 |
3.0.18 | 445,478 | 8/12/2020 |
3.0.14 | 1,459,280 | 10/16/2019 |
3.0.13 | 67,752 | 9/20/2019 |
3.0.12 | 47,910 | 8/30/2019 |
3.0.8 | 340,162 | 5/3/2019 |
3.0.6 | 241,942 | 3/29/2019 |
3.0.5 | 51,293 | 3/7/2019 |
3.0.4 | 185,373 | 1/25/2019 |
3.0.3 | 55,235 | 12/5/2018 |
3.0.2 | 41,205 | 11/9/2018 |
3.0.1 | 35,358 | 10/17/2018 |
3.0.0 | 91,624 | 9/19/2018 |
3.0.0-rc1 | 1,365 | 9/14/2018 |
3.0.0-beta8 | 2,145 | 8/30/2018 |
3.0.0-beta5 | 26,981 | 3/26/2018 |
3.0.0-beta4 | 24,520 | 11/28/2017 |
3.0.0-beta3 | 7,230 | 9/15/2017 |
3.0.0-beta2 | 4,178 | 8/29/2017 |
3.0.0-beta1-10941 | 1,026 | 7/21/2017 |
3.0.0-beta1-10871 | 4,687 | 7/19/2017 |
2.3.0 | 347,607 | 11/29/2018 |
2.2.0 | 418,297 | 3/28/2018 |
2.1.0 | 71,266 | 2/2/2018 |
2.1.0-beta4 | 21,333 | 9/21/2017 |
2.1.0-beta1 | 18,813 | 5/4/2017 |