class_docstr: A serve cumulative metric that is monotonically increasing.
  
  This corresponds to Prometheus' counter metric:
  https://prometheus.io/docs/concepts/metric_types/#counter
  
  Serve-related tags ("deployment", "replica", "application", "route")
  are added automatically if not provided.
  
  .. code-block:: python
  
          @serve.deployment
          class MyDeployment:
              def __init__(self):
                  self.num_requests = 0
                  self.my_counter = metrics.Counter(
                      "my_counter",
                      description=("The number of odd-numbered requests "
                          "to this deployment."),
                      tag_keys=("model",),
                  )
                  self.my_counter.set_default_tags({"model": "123"})
  
              def __call__(self):
                  self.num_requests += 1
                  if self.num_requests % 2 == 1:
                      self.my_counter.inc()
  
  Args:
      name: Name of the metric.
      description: Description of the metric.
      tag_keys: Tag keys of the metric.
docstr: Increment the counter by the given value, add serve context
  tag values to the tags
docstr_tok: ["Increment","the","counter","by","the","given","value",",","add","serve","context","tag","values","to","the","tags"]
code: def inc(
      self, value: Union[int, float] = 1.0, tags: Dict[str, str] = None
  ):
      """Increment the counter by the given value, add serve context
      tag values to the tags
      """
      _add_serve_context_tag_values(self._tag_keys, tags)
      super().inc(value, tags)
  
imports: from typing import Dict, List, Optional, Tuple, Union
  import ray
  from ray.serve import context
  from ray.util import metrics
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 3 for calling the Counter obj's underlying member method code with example usage: obj.inc(value, tags) without return types