Use specific exception for duplicate timeseries (#1074)
Use sub-class of ValueError instead of ValueError, so that we can distinguish issues caused by wrong input (like invalid name format) from duplicate metrics being registered into the same registry.
Signed-off-by: Takashi Kajinami kajinamit@oss.nttdata.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Prometheus Python Client
The official Python client for Prometheus.
Installation
This package can be found on PyPI.
Documentation
Documentation is available on https://prometheus.github.io/client_python
Links