Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-ora2
Commits
ae34fdbb
Commit
ae34fdbb
authored
Jun 16, 2014
by
Will Daly
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #438 from edx/will/fix-datadog-calls
Will/fix datadog calls
parents
9f407d25
266797da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
openassessment/assessment/worker/grading.py
+3
-3
No files found.
openassessment/assessment/worker/grading.py
View file @
ae34fdbb
...
...
@@ -284,7 +284,7 @@ def _log_start_reschedule_grading(course_id=None, item_id=None):
u"course_id:{}"
.
format
(
course_id
),
u"item_id:{}"
.
format
(
item_id
),
]
dog_stats_api
.
increment
(
'openassessment.assessment.ai_task.AIRescheduleGrading.scheduled_count'
,
tags
)
dog_stats_api
.
increment
(
'openassessment.assessment.ai_task.AIRescheduleGrading.scheduled_count'
,
tags
=
tags
)
msg
=
u"Rescheduling of incomplete grading tasks began for course_id={cid} and item_id={iid}"
logger
.
info
(
msg
.
format
(
cid
=
course_id
,
iid
=
item_id
))
...
...
@@ -310,8 +310,8 @@ def _log_complete_reschedule_grading(course_id=None, item_id=None, seconds=-1, s
u"success:{}"
.
format
(
success
)
]
dog_stats_api
.
histogram
(
'openassessment.assessment.ai_task.AIRescheduleGrading.turnaround_time'
,
seconds
,
tags
)
dog_stats_api
.
increment
(
'openassessment.assessment.ai_task.AIRescheduleGrading.completed_count'
,
tags
)
dog_stats_api
.
histogram
(
'openassessment.assessment.ai_task.AIRescheduleGrading.turnaround_time'
,
seconds
,
tags
=
tags
)
dog_stats_api
.
increment
(
'openassessment.assessment.ai_task.AIRescheduleGrading.completed_count'
,
tags
=
tags
)
msg
=
u"Rescheduling of incomplete grading tasks for course_id={cid} and item_id={iid} completed in {s} seconds."
if
not
success
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment