aboutsummaryrefslogtreecommitdiff
path: root/rumba/storyboard.py
diff options
context:
space:
mode:
Diffstat (limited to 'rumba/storyboard.py')
-rw-r--r--rumba/storyboard.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/rumba/storyboard.py b/rumba/storyboard.py
index 6d9739c..59fbf6f 100644
--- a/rumba/storyboard.py
+++ b/rumba/storyboard.py
@@ -754,6 +754,20 @@ class StoryBoard(_SBEntity):
command = [command]
_node.execute_commands(command)
+ def start_metrics_exporter(self, nodes=None, interval=100):
+ """
+ Storyboard wrapper to start experiment metrics
+ """
+
+ self.experiment.start_metrics_exporter(nodes, interval=interval)
+
+ def stop_metrics_exporter(self, nodes=None):
+ """
+ storyboard wrapper to stop experiment metrics
+ """
+
+ self.experiment.stop_metrics_exporter(nodes=nodes)
+
def add_event(self, event):
"""
Adds an event to this script.