public async Task <GetStudentsResult> GetStudents(string courseName, string continuationToken, int limit) { using (_logger.BeginScope("{CourseName}", courseName)) { var stopWatch = Stopwatch.StartNew(); GetStudentsResult result = await _studentStore.GetStudents(courseName, continuationToken, limit); _telemetryClient.TrackMetric("StudentStore.GetStudents.Time", stopWatch.ElapsedMilliseconds); return(result); } }