def register_metrics(self, context):
sys_config = system_config.get_sys_config()<EOL>interval = float(sys_config[constants.HERON_METRICS_EXPORT_INTERVAL_SEC])<EOL>collector = context.get_metrics_collector()<EOL>super(ComponentMetrics, self).register_metrics(collector, interval)<EOL>
Registers metrics to context

        :param context: Topology Context