Your message dated Mon, 17 Oct 2022 19:04:39 -0300
with message-id <[email protected]>
and subject line Already fixed
has caused the Debian Bug report #1016883,
regarding prometheus service ought depend on time-sync
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1016883: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016883
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: prometheus
Version: 2.24.1+ds-1
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
I run prometheus on a Libre Computer Potato SBC, lacking an RTC,
collecting from prometheus-node-exporter on my workstation. In the
default configuration, prometheus fills logs with errors along the lines
of:
Aug 08 17:00:40 amoled prometheus[2337]: level=warn ts=2022-08-08T21:00:40.522Z
caller=scrape.go:1372 component="scrape manager" scrape_pool=prometheus
target=http://localhost:9090/metrics msg="Error on ingesting out-of-order
samples" num_dropped=404
and doesn't append to my records. Upon restarting promtheus with
systemctl restart prometheus
the problem goes away, and I can begin collecting stats anew.
I believe this is due to the prometheus service not depending on
time-sync.target. I've added
[Unit]
Before=time-sync.target
Wants=time-sync.target
to a drop-in, and with this change, I do not hit the problem.
Given prometheus's fundamental dependency on time-ordered databases, I
feel this dependency ought be present in the default prometheus systemd
unit.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (300, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.18.15nlb2 (SMP w/64 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages prometheus depends on:
ii adduser 3.123
ii fonts-glyphicons-halflings 1.009~3.4.1+dfsg-2
ii init-system-helpers 1.64
ii libc6 2.34-1
ii libjs-bootstrap4 4.6.1+dfsg1-3
pn libjs-eonasdan-bootstrap-datetimepicker <none>
ii libjs-jquery 3.6.0+dfsg+~3.5.13-1
ii libjs-jquery-hotkeys 0~20130707+git2d51e3a9+dfsg-2.1
pn libjs-moment <none>
pn libjs-moment-timezone <none>
pn libjs-mustache <none>
ii libjs-popper.js 1.16.1+ds-5
pn libjs-rickshaw <none>
Versions of packages prometheus recommends:
ii prometheus-node-exporter 1.3.1-1+b1
prometheus suggests no packages.
--- End Message ---
--- Begin Message ---
Hi,
This issue was already reported as #981110 and fixed in prometheus
2.31.1+ds1-1. I am therefore closing this bug.
--
Martina Ferrari (Tina)
--- End Message ---