[pkg-go] Bug#943884: prometheus: Loosing all the historical data on upgrade to version 2+

root yorik at page.by
Thu Oct 31 11:11:27 GMT 2019


Package: prometheus
Version: 1.5.2+ds-2+b3
Severity: important

Dear Maintainer,

I've blindly upgraded prometheus 1.5.2+ds-2+b3 to 2.7.1+ds-3+b11 and this automatically removed all my historical data from /var/lib/prometheus/metrics/. I had to rollback because new version requires new configuration and finding solution on keeping historical data. As developers provided no way to convert to new format most probable solution will be to stuck on pre 2.0 version. Dramatic changes like that are dangerous and should not happen so easy.


-- System Information:
Debian Release: 10.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (500, 'oldstable'), (81, 'testing'), (80, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages prometheus depends on:
ii  daemon                                   0.6.4-1+b2
ii  libc6                                    2.28-10
ii  libjs-bootstrap                          3.4.1+dfsg-1
ii  libjs-eonasdan-bootstrap-datetimepicker  4.17.47-3
ii  libjs-jquery                             3.3.1~dfsg-3
ii  libjs-jquery-hotkeys                     0~20130707+git2d51e3a9+dfsg-2
ii  libjs-moment                             2.24.0+ds-1
ii  libjs-mustache                           2.3.2-1
ii  libjs-rickshaw                           1.5.1.dfsg-2

Versions of packages prometheus recommends:
ii  prometheus-node-exporter  0.17.0+ds-3+b11

prometheus suggests no packages.

-- Configuration Files:
/etc/default/prometheus changed [not included]
/etc/prometheus/prometheus.yml changed [not included]

-- debconf information:
  prometheus/remove-version1-database: true



More information about the Pkg-go-maintainers mailing list