MonitoringSettingProperties interface
监视设置属性有效负载
属性
| app |
指示 Application Insight 代理的版本 |
| app |
目标 Application Insight 检测密钥、null 或空格包括空将禁用 monitoringSettings |
| app |
指示 Application Insight 代理的采样率应介于 [0.0, 100.0] 范围内 |
| error | 应用监视设置更改时出错。 |
| provisioning |
监视设置的状态。 注意:此属性不会序列化。 它只能由服务器填充。 |
| trace |
指示是否启用跟踪功能,该功能将从 API 版本 2020-11-01-preview 起弃用。 请利用 appInsightsInstrumentationKey 指示是否已启用 monitoringSettings |
属性详细信息
appInsightsAgentVersions
指示 Application Insight 代理的版本
appInsightsAgentVersions?: ApplicationInsightsAgentVersions
属性值
appInsightsInstrumentationKey
目标 Application Insight 检测密钥、null 或空格包括空将禁用 monitoringSettings
appInsightsInstrumentationKey?: string
属性值
string
appInsightsSamplingRate
指示 Application Insight 代理的采样率应介于 [0.0, 100.0] 范围内
appInsightsSamplingRate?: number
属性值
number
error
provisioningState
监视设置的状态。 注意:此属性不会序列化。 它只能由服务器填充。
provisioningState?: string
属性值
string
traceEnabled
指示是否启用跟踪功能,该功能将从 API 版本 2020-11-01-preview 起弃用。 请利用 appInsightsInstrumentationKey 指示是否已启用 monitoringSettings
traceEnabled?: boolean
属性值
boolean