SqlStatisticsPublisher.ReportMetrics 方法

定义

重载

ReportMetrics(IClientPerformanceMetrics)

将指标写入数据库

ReportMetrics(ISiloPerformanceMetrics)

将孤岛性能指标写入数据库

ReportMetrics(IClientPerformanceMetrics)

将指标写入数据库

public System.Threading.Tasks.Task ReportMetrics (Orleans.Runtime.IClientPerformanceMetrics metricsData);
abstract member ReportMetrics : Orleans.Runtime.IClientPerformanceMetrics -> System.Threading.Tasks.Task
override this.ReportMetrics : Orleans.Runtime.IClientPerformanceMetrics -> System.Threading.Tasks.Task
Public Function ReportMetrics (metricsData As IClientPerformanceMetrics) As Task

参数

metricsData
IClientPerformanceMetrics

指标数据

返回

数据库操作任务

实现

适用于

ReportMetrics(ISiloPerformanceMetrics)

将孤岛性能指标写入数据库

public System.Threading.Tasks.Task ReportMetrics (Orleans.Runtime.ISiloPerformanceMetrics metricsData);
abstract member ReportMetrics : Orleans.Runtime.ISiloPerformanceMetrics -> System.Threading.Tasks.Task
override this.ReportMetrics : Orleans.Runtime.ISiloPerformanceMetrics -> System.Threading.Tasks.Task
Public Function ReportMetrics (metricsData As ISiloPerformanceMetrics) As Task

参数

metricsData
ISiloPerformanceMetrics

指标数据

返回

数据库操作任务

实现

适用于