| 1 |
--- |
| 2 |
title: Info |
| 3 |
weight: 5 |
| 4 |
--- |
| 5 |
|
| 6 |
Info tracks key-value information, usually about a whole target. |
| 7 |
|
| 8 |
```python |
| 9 |
from prometheus_client import Info |
| 10 |
i = Info('my_build_version', 'Description of info') |
| 11 |
i.info({'version': '1.2.3', 'buildhost': 'foo@bar'}) |
| 12 |
``` |