<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def metric(self, name, description, data_type, interval, keyed=False):
 """Get instance of the Metrics module. Args: name (string):
 The name for the metric. description (string):
 The description of the metric. data_type (string):
 The type of metric: Sum, Count, Min, Max, First, Last, and Average. interval (string):
 The metric interval: Hourly, Daily, Weekly, Monthly, and Yearly. keyed (boolean):
 Indicates whether the data will have a keyed value. Returns: (object):
 An instance of the Metrics Class. """

        from .tcex_metrics_v2 import TcExMetricsV2

        return TcExMetricsV2(self, name, description, data_type, interval, keyed)