Skip to content

Activate monitoring in data store

Rohit Kothur requested to merge rkothur/fix-metrics into master

Description

This MR propagates the activate_monitoring call on the scheduler down through to the data_store. This was probably lost in a refactoring, causing the in-memory data store to constantly post zero for its tracked metrics (jobs by stage, operations by stage, and leases by state).

Changes proposed in this merge request:

  • Call data_store.activate_monitoring()
  • Add a couple of assertions to check this

This merge request, when merged, will address issue/bug:

#241 (closed)

Edited by Rohit Kothur

Merge request reports