?(3Ņ Z d dl Z d dlmZ ddlmZ G d de Z ed ZdS ) N)Lock )Metricc R e Zd ZdZddZd Zd Zd Zd Zd Z d Z d Zd Zdd Z dS )CollectorRegistryzMetric collector registry. Collectors must have a no-argument method 'collect' that returns a list of Metric objects. The returned metrics should be consistent with the Prometheus exposition formats. FNc i | _ i | _ || _ t | _ i | _ | | d S N)_collector_to_names_names_to_collectors_auto_describer _lock_target_infoset_target_info)self auto_describetarget_infos l/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/prometheus_client/registry.py__init__zCollectorRegistry.__init__ sG #% $&!+VV [))))) c 8 | j 5 | | }t | j | }|r"t d | |D ]}|| j |<