class_docstr: Gauges keep the last recorded value and drop everything before.
  
  Unlike counters, gauges can go up or down over time.
  
  This corresponds to Prometheus' gauge metric:
  https://prometheus.io/docs/concepts/metric_types/#gauge
  
  Args:
      name: Name of the metric.
      description: Description of the metric.
      tag_keys: Tag keys of the metric.
class_docstr_tok: ["Gauges","keep","the","last","recorded","value","and","drop","everything","before",".","Unlike","counters",",","gauges","can","go","up","or","down","over","time",".","This","corresponds","to","Prometheus","'","gauge","metric",":","https",":","\/\/prometheus.io\/docs\/concepts\/metric_types\/","#","gauge","Args",":","name",":","Name","of","the","metric",".","description",":","Description","of","the","metric",".","tag_keys",":","Tag","keys","of","the","metric","."]
docstr: Set the gauge to the given `value`.
  
  Tags passed in will take precedence over the metric's default tags.
  
  Args:
      value(int, float): Value to set the gauge to.
      tags(Dict[str, str]): Tags to set or override for this gauge.
docstr_tok: ["Set","the","gauge","to","the","given","`","value","`",".","Tags","passed","in","will","take","precedence","over","the","metric","'s","default","tags",".","Args",":","value","(","int",",","float",")",":","Value","to","set","the","gauge","to",".","tags","(","Dict","[","str",",","str","]",")",":","Tags","to","set","or","override","for","this","gauge","."]
code: def set(self, value: Union[int, float], tags: Dict[str, str] = None):
      """Set the gauge to the given `value`.
  
      Tags passed in will take precedence over the metric's default tags.
  
      Args:
          value(int, float): Value to set the gauge to.
          tags(Dict[str, str]): Tags to set or override for this gauge.
      """
      if not isinstance(value, (int, float)):
          raise TypeError(
              f"value must be int or float, got {type(value)}."
          )
  
      self.record(value, tags, _internal=True)
  
imports: import logging
  from typing import Dict, Any, List, Optional, Tuple, Union
  from ray._raylet import Sum, Histogram, Gauge
  from ray.util.annotations import DeveloperAPI
label_desc: Use image node_id 2 for calling the Gauge obj's underlying member method code with example usage: obj.set(value, tags) without return types