Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] collectd: add write_prometheus plugin
@ 2020-04-21 12:53 felix
  2020-04-30  2:04 ` [PR PATCH] [Updated] " felix
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: felix @ 2020-04-21 12:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

There is a new pull request by felix against master on the void-packages repository

https://github.com/felix/void-packages collectd
https://github.com/void-linux/void-packages/pull/21202

collectd: add write_prometheus plugin


A patch file from https://github.com/void-linux/void-packages/pull/21202.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-collectd-21202.patch --]
[-- Type: text/x-diff, Size: 2115 bytes --]

From beb1eb6462c1d49709386b4961ed4a0bc38d53b9 Mon Sep 17 00:00:00 2001
From: Felix Hanley <felix@userspace.com.au>
Date: Tue, 21 Apr 2020 22:53:05 +1000
Subject: [PATCH] collectd: add write_prometheus plugin

---
 srcpkgs/collectd/template | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/collectd/template b/srcpkgs/collectd/template
index c29dd0c7b0a..65dabca84fd 100644
--- a/srcpkgs/collectd/template
+++ b/srcpkgs/collectd/template
@@ -6,13 +6,17 @@ build_style=gnu-configure
 configure_args="$(vopt_enable rrdtool rrdtool) $(vopt_enable perl perl)
  $(vopt_enable notify notify_desktop) --with-libiptc --enable-virt
  --sysconfdir=/etc --disable-static --with-fp-layout=nothing
- --with-python=/bin/python3 --disable-werror"
+ --with-python=/bin/python3 --disable-werror
+ $(vopt_with prometheus "libmicrohttpd protobuf-c")
+ $(vopt_enable prometheus write_prometheus)"
 conf_files="/etc/collectd.conf"
 hostmakedepends="automake pkg-config libtool libltdl-devel glib-devel"
 makedepends="libcurl-devel iptables-devel libressl-devel libsensors-devel
  libesmtp-devel zlib-devel yajl-devel python3-devel libxml2-devel net-snmp-devel
  libgcrypt-devel libmysqlclient-devel libltdl-devel libvirt-devel
- $(vopt_if notify libnotify-devel) $(vopt_if rrdtool rrdtool-devel)"
+ $(vopt_if notify libnotify-devel) $(vopt_if rrdtool rrdtool-devel)
+ $(vopt_if prometheus "protobuf-c-devel libmicrohttpd-devel")"
+depends="$(vopt_if prometheus protobuf-c libmicrohttpd)"
 short_desc="Daemon which collects system performance statistics periodically"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-2.0-only, MIT"
@@ -21,8 +25,9 @@ distfiles="https://collectd.org/files/${pkgname}-${version}.tar.bz2"
 checksum=7b220f8898a061f6e7f29a8c16697d1a198277f813da69474a67911097c0626b
 LDFLAGS="-lgcrypt"
 
-build_options="rrdtool perl notify"
+build_options="rrdtool perl notify prometheus"
 desc_option_rrdtool="Enable support for RRDTool"
+desc_option_prometheus="Enable write_prometheus plugin"
 
 if [ -z "$CROSS_BUILD" ]; then
 	build_options_default="rrdtool perl"

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-12-20  4:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 12:53 [PR PATCH] collectd: add write_prometheus plugin felix
2020-04-30  2:04 ` [PR PATCH] [Updated] " felix
2020-09-29  1:59 ` [PR REVIEW] " ericonr
2020-09-30  1:51 ` felix
2020-09-30  2:21 ` ericonr
2020-10-01  4:13 ` [PR PATCH] [Updated] " felix
2020-10-10 22:49 ` ericonr
2020-10-12  6:04 ` felix
2020-12-20  4:09 ` [PR PATCH] [Merged]: " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).