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