protected virtual void RegisterMetrics() { putSensor = StateStoreMetrics.PutSensor(context.Id, metricScope, Name, context.Metrics); putIfAbsentSensor = StateStoreMetrics.PutIfAbsentSensor(context.Id, metricScope, Name, context.Metrics); putAllSensor = StateStoreMetrics.PutAllSensor(context.Id, metricScope, Name, context.Metrics); getSensor = StateStoreMetrics.GetSensor(context.Id, metricScope, Name, context.Metrics); allSensor = StateStoreMetrics.AllSensor(context.Id, metricScope, Name, context.Metrics); rangeSensor = StateStoreMetrics.RangeSensor(context.Id, metricScope, Name, context.Metrics); flushSensor = StateStoreMetrics.FlushSensor(context.Id, metricScope, Name, context.Metrics); deleteSensor = StateStoreMetrics.DeleteSensor(context.Id, metricScope, Name, context.Metrics); }
protected virtual void RegisterMetrics() { putSensor = StateStoreMetrics.PutSensor(context.Id, metricScope, Name, context.Metrics); fetchSensor = StateStoreMetrics.FetchSensor(context.Id, metricScope, Name, context.Metrics); flushSensor = StateStoreMetrics.FlushSensor(context.Id, metricScope, Name, context.Metrics); }