1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

sysutils/node_exporter: Update to 0.15.0

PR:		223236
Submitted by:	David O'Rourke <dor.bsd@xm0.uk>
Approved by:	jevonearth <ports@ecadlabs.com> (maintainer)
This commit is contained in:
Steve Wills 2017-10-25 15:17:59 +00:00
parent d2939f80cb
commit c02e5e9298
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452865
4 changed files with 12 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= node_exporter
PORTVERSION= 0.14.0
PORTVERSION= 0.15.0
DISTVERSIONPREFIX=v
CATEGORIES= sysutils

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1490096188
SHA256 (prometheus-node_exporter-v0.14.0_GH0.tar.gz) = 312d7e1c07d6a7548f2f116b983da87f7b3a7630f9332eb41c306fd71b2e6ec1
SIZE (prometheus-node_exporter-v0.14.0_GH0.tar.gz) = 1086402
TIMESTAMP = 1508926478
SHA256 (prometheus-node_exporter-v0.15.0_GH0.tar.gz) = 87a057081e2034f85e997f9e1343aaf45e1b6ad9fa51411caf97a03fe1c46ccb
SIZE (prometheus-node_exporter-v0.15.0_GH0.tar.gz) = 1324698

View File

@ -39,8 +39,8 @@ pidfile=/var/run/node_exporter.pid
command="/usr/sbin/daemon"
procname="%%PREFIX%%/bin/node_exporter"
command_args="-p ${pidfile} /usr/bin/env ${procname} \
-web.listen-address=${node_exporter_listen_address} \
-collector.textfile.directory=${node_exporter_textfile_dir} \
--web.listen-address=${node_exporter_listen_address} \
--collector.textfile.directory=${node_exporter_textfile_dir} \
${node_exporter_args}"
start_precmd=node_exporter_startprecmd

View File

@ -0,0 +1,6 @@
If upgrading from a version of node_exporter <0.15.0 you'll need to update any
custom command line flags that you may have set as it now requires a
double-dash (--flag) instead of a single dash (-flag).
The collector flags in 0.15.0 have now been replaced with individual boolean
flags and the -collector.procfs` and -collector.sysfs` flags have been renamed
to --path.procfs and --path.sysfs respectively.