Date: Sat, 12 May 2018 00:18:27 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228185] [PATCH] net-mgmt/prometheus2: Add default Prometheus web consoles and improve logging Message-ID: <bug-228185-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228185 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@FreeBSD.org Reporter: dor.bsd@xm0.uk Created attachment 193310 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193310&action= =3Dedit 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 Prometh= eus 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 t= he 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 visibilit= y. The $prometheus_args rc.conf variable was renamed to $prometheus_flags to b= ring 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228185-7788>