AITelemetryConsumerConfigurationExtensions.AddApplicationInsightsTelemetryConsumer 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddApplicationInsightsTelemetryConsumer(ISiloBuilder, String)
添加类型的 AITelemetryConsumer指标遥测使用者提供程序。
public static Orleans.Hosting.ISiloBuilder AddApplicationInsightsTelemetryConsumer (this Orleans.Hosting.ISiloBuilder hostBuilder, string instrumentationKey = default);
static member AddApplicationInsightsTelemetryConsumer : Orleans.Hosting.ISiloBuilder * string -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddApplicationInsightsTelemetryConsumer (hostBuilder As ISiloBuilder, Optional instrumentationKey As String = Nothing) As ISiloBuilder
参数
- hostBuilder
- ISiloBuilder
- instrumentationKey
- String
Application Insights 检测密钥。
返回
适用于
AddApplicationInsightsTelemetryConsumer(ISiloHostBuilder, String)
添加类型的 AITelemetryConsumer指标遥测使用者提供程序。
public static Orleans.Hosting.ISiloHostBuilder AddApplicationInsightsTelemetryConsumer (this Orleans.Hosting.ISiloHostBuilder hostBuilder, string instrumentationKey = default);
static member AddApplicationInsightsTelemetryConsumer : Orleans.Hosting.ISiloHostBuilder * string -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddApplicationInsightsTelemetryConsumer (hostBuilder As ISiloHostBuilder, Optional instrumentationKey As String = Nothing) As ISiloHostBuilder
参数
- hostBuilder
- ISiloHostBuilder
- instrumentationKey
- String
Application Insights 检测密钥。
返回
适用于
AddApplicationInsightsTelemetryConsumer(IClientBuilder, String)
添加类型的 AITelemetryConsumer指标遥测使用者提供程序。
public static Orleans.IClientBuilder AddApplicationInsightsTelemetryConsumer (this Orleans.IClientBuilder clientBuilder, string instrumentationKey = default);
static member AddApplicationInsightsTelemetryConsumer : Orleans.IClientBuilder * string -> Orleans.IClientBuilder
<Extension()>
Public Function AddApplicationInsightsTelemetryConsumer (clientBuilder As IClientBuilder, Optional instrumentationKey As String = Nothing) As IClientBuilder
参数
- clientBuilder
- IClientBuilder
- instrumentationKey
- String
Application Insights 检测密钥。