o
    QDi;                     @   s   d dl mZmZ d dlmZmZ eddddgedZedd	ddgedZed
dddgedZeddddgedZ	eddg dedZ
eddddgeedZdS )    )Counter	Histogram)	NAMESPACEPROMETHEUS_LATENCY_BUCKETSdjango_db_new_connections_totalz9Counter of created connections by database and by vendor.aliasvendor)	namespace%django_db_new_connection_errors_totalz9Counter of connection failures by database and by vendor.django_db_execute_totalzTCounter of executed statements by database and by vendor, including bulk executions.django_db_execute_many_totalzLCounter of executed statements in bulk operations by database and by vendor.django_db_errors_totalzCCounter of execution errors by database, vendor and exception type.)r   r   type django_db_query_duration_secondsz3Histogram of query duration by database and vendor.)bucketsr	   N)prometheus_clientr   r   django_prometheus.confr   r   connections_totalconnection_errors_totalexecute_totalexecute_many_totalerrors_totalquery_duration_seconds r   r   U/var/www/Datamplify/venv/lib/python3.10/site-packages/django_prometheus/db/metrics.py<module>   sN    
