cylc.flow.main_loop.log_data_store

Log the number and size of each type of object in the data store.

Note

This plugin is for Cylc developers debugging the data store.

If matplotlib is installed this plugin will plot results as a PDF in the run directory when the workflow is shut down (cleanly).

Python API

Coroutines

init

Construct the initial state.

log_data_store

Count the number of objects and the data store size.

report

Dump data to JSON, attempt to plot results.

async cylc.flow.main_loop.log_data_store.init(scheduler, state)[source]

Construct the initial state.

async cylc.flow.main_loop.log_data_store.log_data_store(scheduler, state)[source]

Count the number of objects and the data store size.

async cylc.flow.main_loop.log_data_store.report(scheduler, state)[source]

Dump data to JSON, attempt to plot results.