e4ffbb4b5c
Previously, buffer metrics required a separate BAILEYS_BUFFER_METRICS=true env variable even when BAILEYS_PROMETHEUS_ENABLED=true was set. This caused the buffer_flushes_total metric to have no data even though flushes were occurring. Now buffer metrics are enabled automatically when either BAILEYS_BUFFER_METRICS or BAILEYS_PROMETHEUS_ENABLED is set to true.