[pkg-go] Bug#822471: ships with broken default configuration
Steinar H. Gunderson
sgunderson at bigfoot.com
Sun Apr 24 20:12:39 UTC 2016
Package: prometheus
Version: 0.18.0+ds-1
Severity: important
Hi,
I was trying to install prometheus, but the daemon immediately fails on startup.
According to systemctl status:
prometheus[4267]: time="2016-04-24T22:08:18+02:00" level=info msg="Loading configuration file /etc/prometheus/prometheus.yml" source="main.go:202"
prometheus.service: Main process exited, code=exited, status=1/FAILURE
This was less than helpful, but running it manually seems to show what's wrong:
klump:~> prometheus
prometheus, version 0.18.0+ds (branch: debian/sid, revision: 0.18.0+ds-1)
build user: pkg-go-maintainers at lists.alioth.debian.org
build date: 20160419-13:54:45
go version: go1.6.1
INFO[0000] Loading configuration file /etc/prometheus/prometheus.yml source=main.go:202
ERRO[0000] Couldn't load configuration (-config.file=/etc/prometheus/prometheus.yml): scrape timeout greater than scrape interval for scrape config with job name "prometheus" source=main.go:214
It seems the default config file is simply broken. Changing the scrape interval
from 5 to 15 seconds seems to make it start.
-- System Information:
Debian Release: 8.4
APT prefers stable
APT policy: (750, 'stable'), (500, 'proposed-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0 (SMP w/40 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the Pkg-go-maintainers
mailing list