1. 03 Nov, 2016 1 commit
    • Instrument DjangoXBlockUserStateClient with New Relic · 076c63bc
      Report to New Relic certain per-request details about the
      DjangoXBlockUserStateClient.  The following metrics are reported for the
      get_many() call:
      
      xb_user_state.get_many.calls
      xb_user_state.get_many.duration
      xb_user_state.get_many.blocks_requested
      xb_user_state.get_many.blocks_out
      xb_user_state.get_many.size
      xb_user_state.get_many.<block_type>.blocks_requested
      xb_user_state.get_many.<block_type>.blocks_out
      xb_user_state.get_many.<block_type>.size
      
      Similarly, for the set_many() call:
      
      xb_user_state.set_many.calls
      xb_user_state.set_many.duration
      xb_user_state.set_many.blocks_created
      xb_user_state.set_many.blocks_updated
      xb_user_state.set_many.size
      xb_user_state.set_many.<block_type>.blocks_created
      xb_user_state.set_many.<block_type>.blocks_updated
      xb_user_state.set_many.<block_type>.size
      
      Where <block_type> is one of "chapter", "course", "problem", "video",
      etc.
      
      PERF-354
      Troy Sankey committed
  2. 24 Aug, 2016 2 commits
  3. 26 May, 2016 1 commit
  4. 08 Apr, 2016 1 commit
  5. 29 Feb, 2016 1 commit
    • Implement a BaseStudentModuleHistory · 6f9a3911
      This abstract class contains most of the fields (aside from the id and
      foreign key to StudentModule that the subclasses need to manage).  It
      also provides a get_history method that abstracts searching across
      multiple backends.
      
      Move router code to openedx/core
      We need to use it from cms and lms.
      Ensure aws_migrate can be used for migrating both the lms and cms.
      
      Handle queries directed to student_module_history vs default and the
      extra queries generated by Django 1.8 (SAVEPOINTS, etc).
      
      Additionally, flag testing classes as multi_db so that Django will
      flush the non-default database between unit tests.
      
      Further decouple the foreignkey relation between csm and csmhe
      
      When calling StudentModule().delete() Django will try to delete CSMHE
      objects, but naively does so in the database, not by consulting the
      database router.
      
      Instead, we disable django cascading deletes and listen for post_delete
      signals and clean up CSMHE by hand.
      
      Add feature flags for CSMHE
      One to turn it on/off so we can control the deploy.
      The other will control whether or not we read from two database tables
      or one when searching.
      
      Update tests to explicitly use this get_history method rather than
      looking directly into StudentModuleHistory or
      StudentModuleHistoryExtended.
      
      Inform lettuce to avoid the coursewarehistoryextended app
      
      Otherwise it fails when it can't find features/ in that app.
      
      Add Pg support, this is not tested automatically.
      Kevin Falcone committed
  6. 08 Dec, 2015 1 commit
  7. 05 Nov, 2015 1 commit
  8. 26 Aug, 2015 1 commit
  9. 20 Aug, 2015 1 commit
  10. 14 Aug, 2015 1 commit
  11. 13 Aug, 2015 2 commits
  12. 10 Aug, 2015 1 commit
  13. 04 Aug, 2015 1 commit
  14. 01 Aug, 2015 2 commits
  15. 31 Jul, 2015 1 commit
  16. 07 Jul, 2015 1 commit
  17. 06 Jul, 2015 1 commit
  18. 25 Jun, 2015 1 commit
  19. 12 Jun, 2015 2 commits
  20. 20 May, 2015 7 commits