[Bug 228185] [PATCH] net-mgmt/prometheus2: Add default Prometheus web consoles and improve logging
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat May 12 00:18:30 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228185
Bug ID: 228185
Summary: [PATCH] net-mgmt/prometheus2: Add default Prometheus
web consoles and improve logging
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: dor.bsd at xm0.uk
Created attachment 193310
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193310&action=edit
net-mgmt/prometheus2: Add default consoles and improve logging
This patch adds the default Prometheus consoles as mentioned at
https://prometheus.io/docs/visualization/consoles/ and improves the Prometheus
logging.
The logging is now performed via syslogd(8). We ship a syslog.conf(5) config
file for syslog.d and a newsyslog.conf(5) for newsyslog(8) to ensure that the
logfile is rotated regularly.
The logs are stored under a new /var/log/prometheus directory by default.
The FILESDIR files now make extensive use of the Makefile substitutions to
bring all of the important variables into the Makefile for better visibility.
The $prometheus_args rc.conf variable was renamed to $prometheus_flags to bring
it in line with other ports and rc.conf variables.
Due to the above logging changes, the old $prometheus_log_file variable was
removed from the rcscript as it was no longer required.
New $prometheus_consoles_dir and $prometheus_console_libraries_dir rc.conf
variables were added for the mentioned consoles support.
-David
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list