ray.util.metrics.Gauge.info#

property Gauge.info: Dict[str, Any]#

返回此指标的信息。

示例

>>> from ray.util.metrics import Counter
>>> counter = Counter("name", description="desc")
>>> print(counter.info)
{'name': 'name', 'description': 'desc', 'tag_keys': (), 'default_tags': {}}