class_docstr: DEPRECATED
  Class for creating, modifying different metrics. And keep them in a dictionary
class_docstr_tok: ["DEPRECATED","Class","for","creating",",","modifying","different","metrics",".","And","keep","them","in","a","dictionary"]
docstr: Add a Error Metric
  Parameters
  ----------
  name : str
      metric name
  value: str
      value of metric, in this case a str
  dimensions: list
      list of dimensions for the metric
docstr_tok: ["Add","a","Error","Metric","Parameters","--","--","--","--","--","name",":","str","metric","name","value",":","str","value","of","metric",",","in","this","case","a","str","dimensions",":","list","list","of","dimensions","for","the","metric"]
code: def add_error(self, name, value, dimensions=None):
      """
      Add a Error Metric
      Parameters
      ----------
      name : str
          metric name
      value: str
          value of metric, in this case a str
      dimensions: list
          list of dimensions for the metric
      """
      unit = ""
  
      # noinspection PyTypeChecker
      self._add_or_update(name, value, None, unit, dimensions)
  
file_path: serve/ts/metrics/metrics_store.py
imports: from builtins import str
  from ts.metrics.dimension import Dimension
  from ts.metrics.metric import Metric
label_desc: Use image node_id 8 for calling the MetricsStore obj's underlying member method code with example usage: obj.add_error(name, value, dimensions) without return types