This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
make prometheus_client (and possibly other metric related dependencies) optional if metrics are disabled #4845
Labels
A-Metrics
metrics, measures, stuff we put in Prometheus
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
z-bug
(Deprecated Label)
z-p2
(Deprecated Label)
Synapse refuse to start if prometheus_client is not installed even if metrics are disabled. However if you modify
python_dependencies.py
and remove this dependency it functions well without it.Can you make this dependency check for prometheus_client optional only if metrics are enabled?
The text was updated successfully, but these errors were encountered: