Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Summary:

  • Type - Dashboard Usage Summarycumulative summariser
  • Granularity - DAY
  • Computation Level - Level 23
  • Frequency - Runs Daily

Purpose:

The Dashboard summariser is used to compute the

  1. Unique Devices - The total number of unique devices that have ever accessed Diksha (across portal and app)

  2. Learning Experiences - The total number of content play sessions across portal and app to current date.

  3. Hours of interaction - The total time spent on Diksha (i.e. total session time, inclusive of but not limited to content play sessions)


Inputs:

         Derived Event : ME_WORKFLOW_SUMMARY


Output


Code Block
themeMidnight

...

{
  "eid":"ME_DASHBOARD_CUMULATIVE_SUMMARY",
  "ets":1535417736822,
  "syncts":1535390695986,
  "ver":"1.0",
  "mid":"25791B1E895129968CBECD7A39C0822E",
  "context":{
    "pdata":{
      "id":"AnalyticsDataPipeline",
      "ver":"1.0",
      "model":"

...

DashboardCumulativeSummary"
    },
    "granularity":"

...

CUMULATIVE"
  },
  "edata":{
    "eks": {

...


...

      

...

"

...

noOfUniqueDevices":100,
      "totalDigitalContentPublished": 

...

400,
      "totalContentPlaySessions":200,
      "totalTimeSpent":500.96,
      "telemetryVersion":"3.0"
    }
  }
}


Algorithm


FieldDescriptionComputation
1noOfUniqueDevices
 
This metric tracks the total number of unique devices that have accessed Diksha(Portal and App)
Group

filter by

/Reduce by

with below fields and compute the total distinct count 

Code Block
themeMidnight
titleapp
filter(dimensions.pdata.id = "prod.diksha.app"
filter(d_period = 0 ) and distinctCount(
did) Code Block
themeMidnight
titleportal
filter(dimensions.pdata.id = "prod.diksha.portal") and distinctCount(did)
d_device_id)


2
totalDigitalContentPublished 
Number of contents been published

composite search API:

/composite/v3/search

3totalContentPlaySessionsThis metric tracks the total number of content play sessions (Portal and App).
Group by/Reduce by

filter with below fields and  aggregating the edata.eks.time_spent field

Code Block
languageactionscript3themeMidnight
titleapp
filter(
dimension.pdata.id
d_period = 
"prod.diksha.app" and dimensions.type = "content" and dimensions.mode = "play") and aggregate(edata.eks.time_spent) Code Block
themeMidnight
titlePortal
filter(dimension.pdata.id = "prod.diksha.portal" and dimensions.
0 (cumulative), d_type = 
"
'content
" and dimensions.
', d_mode = 
"
'play
"
') and aggregate(
edata.eks.time_spent )
m_total_sessions)


4totalTimeSpentThis metric track the total time spent on Diksha(Portal and App)
Group

filter by

/Reduce by

with below fields and  aggregating the edata.eks.time_spent field

Code Block
themeMidnight
titleapp
filter(dimension.pdata.id = "prod.diksha.app") and aggregate( edata.eks.time_spent)
Code Block
themeMidnight
titleportal
filter(dimension.pdata.id = "prod.diksha.portal"
filter(d_period = 0, d_device_id = 'all') and aggregate(
edata.eks.time_spent)
m_total_ts)




Conclusion: