ray.serve.metrics.Gauge.set#

Gauge.set(value: int | float, tags: Dict[str, str] = None)[source]#

Set the gauge to the given value, add serve context tag values to the tags