ray.util.metrics.Counter.info#

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

Return the information of this metric.

Example

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