monasca-statsd is a non-optional import even when disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
Fix Released
|
Low
|
Alex Schultz |
Bug Description
https:/
But the import is non-optional and will cause stack traces if monasca-statsd is not installed:
http://
This should be considered an optional metrics backend, such as there are different backends in Cinder or Glance. It should not be in requirements.txt but be a requirement when the monasca metrics are enabled.
If someone is not interested in the Monasca metrics, he should not need to install it for designate to work.
We should probably be using setup.cfg optional requirement groups for this, we'll talk to the infra folks, because that's currently not a thing that is supported.