vllm.v1.metrics.ray_wrappers
RayCounterWrapper ¶
Bases: RayPrometheusMetric
Wraps around ray.util.metrics.Counter to provide same API as prometheus_client.Counter
Source code in vllm/v1/metrics/ray_wrappers.py
RayGaugeWrapper ¶
Bases: RayPrometheusMetric
Wraps around ray.util.metrics.Gauge to provide same API as prometheus_client.Gauge
Source code in vllm/v1/metrics/ray_wrappers.py
metric instance-attribute
¶
__init__ ¶
__init__(
name: str,
documentation: Optional[str] = "",
labelnames: Optional[list[str]] = None,
multiprocess_mode: Optional[str] = "",
)
Source code in vllm/v1/metrics/ray_wrappers.py
set ¶
RayHistogramWrapper ¶
Bases: RayPrometheusMetric
Wraps around ray.util.metrics.Histogram to provide same API as prometheus_client.Histogram
Source code in vllm/v1/metrics/ray_wrappers.py
metric instance-attribute
¶
metric = Histogram(
name=name,
description=documentation,
tag_keys=labelnames_tuple,
boundaries=boundaries,
)
__init__ ¶
__init__(
name: str,
documentation: Optional[str] = "",
labelnames: Optional[list[str]] = None,
buckets: Optional[list[float]] = None,
)
Source code in vllm/v1/metrics/ray_wrappers.py
RayPrometheusMetric ¶
Source code in vllm/v1/metrics/ray_wrappers.py
__init__ ¶
labels ¶
Source code in vllm/v1/metrics/ray_wrappers.py
RayPrometheusStatLogger ¶
Bases: PrometheusStatLogger
RayPrometheusStatLogger uses Ray metrics instead.
Source code in vllm/v1/metrics/ray_wrappers.py
RaySpecDecodingProm ¶
Bases: SpecDecodingProm
RaySpecDecodingProm is used by RayMetrics to log to Ray metrics. Provides the same metrics as SpecDecodingProm but uses Ray's util.metrics library.