Package: prometheus
Version: 1.5.0+ds-1
Severity: normal

The sample consoles are missing when the debian package is installed,
giving users a system with reduced functionality and usability.  Nothing
in the UI gives any indication that they are missing, or that they must
be manually restored (or how).

Furthermore some prometheus tutorials refer to the example consoles.

For example:

http://localhost:9090/consoles/node.html

These fail to work out of the box with the Debian packages, and give a
relatively hard to diagnose error message.  The
/etc/prometheus/consoles/README.consoles file gives some info, but
simply copying the contents of
/usr/share/doc/prometheus/examples/consoles/ into
/etc/prometheus/consoles/ is both messy, and also doesn't work due to
missing template libraries.

# cp -a /usr/share/doc/prometheus/examples/consoles/*
/etc/prometheus/consoles/
# cp -a /usr/share/doc/prometheus/examples/console_libraries/*
/etc/prometheus/console_libraries/
# gzip -d /etc/prometheus/console_libraries/*.gz

I can understand not wanting to ship a load of code into /etc/ but
surely it would be better if they worked out of the box from /usr/share,
whilst still allowing addition (perhaps this could be done by just
installing an index.html under /etc/ or modifying the code to try to
serve files from /etc/consoles/ and falling back to
/usr/shared/doc/prometheus/examples/consoles/ if they don't exist?).


-- System Information:
Debian Release: 9.0
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages prometheus depends on:
ii  daemon                                   0.6.4-1
ii  libc6                                    2.24-9
ii  libjs-bootstrap                          3.3.7+dfsg-2
ii  libjs-eonasdan-bootstrap-datetimepicker  4.17.43-1
ii  libjs-jquery                             3.1.1-2
ii  libjs-jquery-hotkeys                     0~20130707+git2d51e3a9+dfsg-2
ii  libjs-moment                             2.17.1+ds-1
ii  libjs-mustache                           2.3.0-2
ii  libjs-rickshaw                           1.5.1.dfsg-1

Versions of packages prometheus recommends:
ii  prometheus-node-exporter  0.13.0+ds-1

prometheus suggests no packages.

-- debconf-show failed

_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to