ray.serve.metrics.Gauge.record#

Gauge.record(value: int | float, tags: Dict[str, str] = None, _internal=False) None#

Record the metric point of the metric.

Tags passed in will take precedence over the metric’s default tags.

Parameters:

value – The value to be recorded as a metric point.