class_docstr: Class for generating metrics and printing it to stdout of the worker
class_docstr_tok: ["Class","for","generating","metrics","and","printing","it","to","stdout","of","the","worker"]
code: def add_or_update(
      self,
      value: int or float,
      dimension_values: list,
      request_id: str = "",
  ):
      pass
  
imports: import abc
  from ts.metrics.metric_type_enum import MetricTypes
  from ts.metrics.unit import Units
label_desc: Use image node_id 2 for calling the MetricAbstract obj's underlying member method code with example usage: obj.add_or_update(value, dimension_values, request_id) without return types