Course Infra - AUDIT Telemetry

Common AUDIT Event Structure:

{ "eid": , "AUDIT", "ets": , 1592803822, "ver": "3.0", "mid": , "LP.AUDIT.1592803822" "actor": { "id": "<userid>", "type": "User" }, // Context of the event "context": { "channel": "<default_value>", "pdata": { "id": "org.sunbird.learning.platform", "pid": "course-progress-updater", "ver": 1.0 }, "env": "Course", "cdata": [{ "type":"CourseBatch", "id": "<batchId>" }] }, "object": {}, // Required. "edata": {} // Required. }

Scenarios:

1. Course - Start:

{ "eid": "AUDIT", "object": { "id": "<course_id>", "type": "Course", "rollup": { "l1": "<courseId>" } }, "edata": { "props": ["identifier","enrolledDate","courseId", "active"], "type": "course-enroll" } }

2. Course - Complete:

{ "eid": "AUDIT", "object": { "id": "<course_id>", "type": "Course", "rollup": { "l1": "<courseId>" } }, "edata": { "props": ["completedDate"], "type": "course-complete" } }

3. CourseUnit - Start:

4. CourseUnit - Complete:

5. Content - Start:

6. Content - Complete: