Data Model

Druid Data Sources

sl-project

ml-project-status | ml-project-programLevel-status

sl-observation

sl-observation-status

ml-obs-status

ml-obs-domain | ml-obs-domain-criteria

MongoDB Schema

batchLogger collection

{
    "_id" : ObjectId,
    "dataSource" : String,  // druid data source
    "taskId" : String, // druid task id
    "taskCreatedDate" : String,
    "statusCode" : Integer,
    "createdAt" : ISODate,
    "updatedAt" : ISODate,
    "status" : String
}

reports_logger collection

{
    "_id": ObjectId,
    "operation": String, // frontend_update, backend_create
    "file": String,   // path of the report config JSON
    "reportId": String, // UUID of report
    "createdAt": ISODate,
    "updatedAt": ISODate,
    "config": Object, // report config
    "status": String // success, failed, duplicate  
}

Last updated