Docker Flow Monitor (DFM) now supports Prometheus 2! Prometheus 2 includes a new storage subsystem that has reduce CPU usage and lower disk space usage compared to Prometheus 1. This guide highlights issues that you may encounter when upgrading to Prometheus 2.
When upgrading from DFM backed by Prometheus 1 to Prometheus 2, DFM will create a new database supported by Prometheus 2. If you need to access the previous data scraped by Prometheus 1, downgrade your DFM instance using tag:
17.12.12-36. DFM will launch with Prometheus 1, and continue using the previous database.
The command line arguments for Prometheus 2 has changed. This is detailed in Prometheus's Official Migration Guide. DFM will continue to support the previous command line arguments prefixed by
ARG_ALERTMANAGER_URLconfigures the alertmanager correctly for Prometheus 2.
You can explore the new flags in Prometheus 2 by downloading the binary from their Download Page and running