MetricsTracker
Collects and buffers metric values during simulation execution.
The metrics tracker subscribes to all metrics in a scenario and collects their values as the simulation runs. Collected data can be queried after simulation completes.
Parameters
scenario
the Scenario whose metrics are being tracked
downsample
whether to downsample the metrics for performance reasons