PrometheusScalar#

class ray.serve.autoscaling_policy.PrometheusScalar(value: float, timestamp: float)[source]#

Bases: object

A scalar returned by an instant Prometheus query.

PublicAPI (alpha): This API is in alpha and may change before becoming stable.