Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2018 16:20:37 +0000 (UTC)
From:      Johannes M Dieterich <jmd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459193 - in head/sysutils: . circonus-agent
Message-ID:  <201801161620.w0GGKbGh047690@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmd
Date: Tue Jan 16 16:20:37 2018
New Revision: 459193
URL: https://svnweb.freebsd.org/changeset/ports/459193

Log:
  new port sysutils/circonus-agent: agent for metric collection integrating with the circonus framework.
  
  Submitted by:	sam.gwydir@joyent.com
  Reviewed by:	swills (mentor), tobik/mat (earlier versions)
  Approved by:	swills (mentor)
  Obtained from:	D13365 (with changes)
  Differential Revision:	https://reviews.freebsd.org/D13365

Added:
  head/sysutils/circonus-agent/
  head/sysutils/circonus-agent/Makefile   (contents, props changed)
  head/sysutils/circonus-agent/distinfo   (contents, props changed)
  head/sysutils/circonus-agent/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Tue Jan 16 16:03:39 2018	(r459192)
+++ head/sysutils/Makefile	Tue Jan 16 16:20:37 2018	(r459193)
@@ -160,6 +160,7 @@
     SUBDIR += chyves
     SUBDIR += cinnamon-control-center
     SUBDIR += cinnamon-settings-daemon
+    SUBDIR += circonus-agent
     SUBDIR += ciso
     SUBDIR += ciso-maker
     SUBDIR += ck4up

Added: head/sysutils/circonus-agent/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/circonus-agent/Makefile	Tue Jan 16 16:20:37 2018	(r459193)
@@ -0,0 +1,61 @@
+# $FreeBSD$
+
+PORTNAME=	circonus-agent
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.9.1
+CATEGORIES=	sysutils
+
+MAINTAINER=	sam.gwydir@joyent.com
+COMMENT=	Circonus host agent for metric collection
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USE_GITHUB=	yes
+BUILD_DEPENDS=	go>=1.8:lang/go
+
+GH_TUPLE=	circonus-labs:circonus-agent:${DISTVERSIONPREFIX}${DISTVERSION}:DEFAULT/src/github.com/circonus-labs/circonus-agent \
+		alecthomas:units:2efee85:units/src/github.com/alecthomas/units \
+		pkg:errors:645ef00:errors/src/github.com/pkg/errors \
+		rs:zerolog:3ac71fc:zerolog/src/github.com/rs/zerolog \
+		spf13:cobra:7b2c5ac:cobra/src/github.com/spf13/cobra \
+		spf13:viper:25b30aa:viper/src/github.com/spf13/viper \
+		golang:sys:8b4580a:sys/src/golang.org/x/sys \
+		xi2:httpgzip:2d8bcdd:httpgzip/src/xi2.org/x/httpgzip \
+		pelletier:go-toml:16398ba:go_toml/src/github.com/pelletier/go-toml \
+		maier:go-appstats:812a586:go_appstats/src/github.com/maier/go-appstats \
+		circonus-labs:circonus-gometrics:b25d14e:circonus_gometrics/src/github.com/circonus-labs/circonus-gometrics \
+		go-tomb:tomb:d5d1b58:tomb2/src/gopkg.in/tomb.v2 \
+		go-yaml:yaml:4c78c97:yaml2/src/gopkg.in/yaml.v2 \
+		go-ole:go-ole:a41e3c4:go_ole/src/github.com/go-ole/go-ole \
+		circonus-labs:circonusllhist:6e85b93:circonusllhist/src/github.com/circonus-labs/circonusllhist \
+		fsnotify:fsnotify:4da3e2c:fsnotify/src/github.com/fsnotify/fsnotify \
+		hashicorp:go-retryablehttp:794af36:go_retryablehttp/src/github.com/hashicorp/go-retryablehttp \
+		spf13:pflag:e57e3ee:pflag/src/github.com/spf13/pflag \
+		hashicorp:go-cleanhttp:06c9ea3:go_cleanhttp/src/github.com/hashicorp/go-cleanhttp \
+		hashicorp:hcl:23c074d:hcl/src/github.com/hashicorp/hcl \
+		magiconair:properties:49d762b:properties/src/github.com/magiconair/properties \
+		mitchellh:mapstructure:06020f8:mapstructure/src/github.com/mitchellh/mapstructure \
+		spf13:afero:8d919cb:afero/src/github.com/spf13/afero \
+		spf13:cast:acbeb36:cast/src/github.com/spf13/cast \
+		spf13:jWalterWeatherman:12bd96e:jWalterWeatherman/src/github.com/spf13/jwalterweatherman \
+		golang:text:6353ef0:text/src/golang.org/x/text \
+		tv42:httpunix:b75d861:httpunix/src/github.com/tv42/httpunix \
+		prometheus:client_model:99fa1f4:client_model/src/github.com/prometheus/client_model \
+		golang:protobuf:8ee7999:protobuf/src/github.com/golang/protobuf \
+		prometheus:common:2e54d0b:common/src/github.com/prometheus/common \
+		matttproud:golang_protobuf_extensions:c12348c:golang_protobuf_extensions/src/github.com/matttproud/golang_protobuf_extensions
+
+ETCDIR=		${PREFIX}/etc/circonus-agentd
+PLIST_FILES=	bin/circonus-agentd "@dir ${ETCDIR}"
+
+do-build:
+	( cd ${WRKSRC}; \
+		${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} \
+		go build ${BUILD_FLAGS} -o bin/circonus-agentd )
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/circonus-agentd ${STAGEDIR}${PREFIX}/bin/circonus-agentd
+	@${MKDIR} ${STAGEDIR}${ETCDIR}
+
+.include <bsd.port.mk>

Added: head/sysutils/circonus-agent/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/circonus-agent/distinfo	Tue Jan 16 16:20:37 2018	(r459193)
@@ -0,0 +1,63 @@
+TIMESTAMP = 1512588780
+SHA256 (circonus-labs-circonus-agent-v0.9.1_GH0.tar.gz) = 4b9b1e729d0faad505001af30252fd41baaa8e8b5fefaa20cbd23973414c2bcb
+SIZE (circonus-labs-circonus-agent-v0.9.1_GH0.tar.gz) = 116923
+SHA256 (alecthomas-units-2efee85_GH0.tar.gz) = 8e84e0468232e23459212cf84e38164a43b1c8b7a2788a44c9446c01b684c39d
+SIZE (alecthomas-units-2efee85_GH0.tar.gz) = 3445
+SHA256 (pkg-errors-645ef00_GH0.tar.gz) = b2e989515688d916216dd0a1b82cd9b18e8fb4fdf0370473996bdde41b83a41f
+SIZE (pkg-errors-645ef00_GH0.tar.gz) = 11342
+SHA256 (rs-zerolog-3ac71fc_GH0.tar.gz) = 37139ebf214fe30eb97fef826243a7273ca41a7bad0ba70d026c0e8ab797e4b6
+SIZE (rs-zerolog-3ac71fc_GH0.tar.gz) = 395120
+SHA256 (spf13-cobra-7b2c5ac_GH0.tar.gz) = 766e8adfe04c68578303c0458d6336b89538cbc9456cad07c26bd70bbca8837c
+SIZE (spf13-cobra-7b2c5ac_GH0.tar.gz) = 101517
+SHA256 (spf13-viper-25b30aa_GH0.tar.gz) = 1c122475eae91ebeeb20e799f8eaec0e4ae3f3dce18cfbe244dc9292dbf2373a
+SIZE (spf13-viper-25b30aa_GH0.tar.gz) = 30808
+SHA256 (golang-sys-8b4580a_GH0.tar.gz) = 3f84c1b2bbe06ed34726610baff3dbf945590d7579081938802fc8afbfbe12dc
+SIZE (golang-sys-8b4580a_GH0.tar.gz) = 785548
+SHA256 (xi2-httpgzip-2d8bcdd_GH0.tar.gz) = e30dad2544cb20cbc4f495e8d862fdf660bc806027b9e5ede9d1975f240355e4
+SIZE (xi2-httpgzip-2d8bcdd_GH0.tar.gz) = 16338
+SHA256 (pelletier-go-toml-16398ba_GH0.tar.gz) = 3311e22c1ca1e67a116eceaf5e03931cb9295168231ae7a57c1fd691c71a8f1f
+SIZE (pelletier-go-toml-16398ba_GH0.tar.gz) = 52288
+SHA256 (maier-go-appstats-812a586_GH0.tar.gz) = d0fb2ba84882904c55fac6d80fb412f5dbb30785eae2cc263ff1e7b36ae81cc4
+SIZE (maier-go-appstats-812a586_GH0.tar.gz) = 2678
+SHA256 (circonus-labs-circonus-gometrics-b25d14e_GH0.tar.gz) = 6fdfe2aa21688b4bc4ac92211bcdd94277de7ce3f83c7193cb9d69516bbf5f92
+SIZE (circonus-labs-circonus-gometrics-b25d14e_GH0.tar.gz) = 78409
+SHA256 (go-tomb-tomb-d5d1b58_GH0.tar.gz) = 15f81593032433527203ace3277c819f2b4b90fd337ea2193de0c7a515b87f08
+SIZE (go-tomb-tomb-d5d1b58_GH0.tar.gz) = 5513
+SHA256 (go-yaml-yaml-4c78c97_GH0.tar.gz) = e03fd1fc17f99724f0a766cdce6d762d0025fb9cb3c576566a09e8d617463a1e
+SIZE (go-yaml-yaml-4c78c97_GH0.tar.gz) = 60727
+SHA256 (go-ole-go-ole-a41e3c4_GH0.tar.gz) = f59d960b00c0f368ae4c3ef9ff3d1a617beaf05af097e37cbada412b9c433d1a
+SIZE (go-ole-go-ole-a41e3c4_GH0.tar.gz) = 51323
+SHA256 (circonus-labs-circonusllhist-6e85b93_GH0.tar.gz) = a4ee199a95ef634c0fe48acd2ac97b91d2cd46e24995fbed8a3dd10d169ca7af
+SIZE (circonus-labs-circonusllhist-6e85b93_GH0.tar.gz) = 7540
+SHA256 (fsnotify-fsnotify-4da3e2c_GH0.tar.gz) = 0134c6c5617a87ba737ca3a136de027800595cf91b32b1b3901f97b8c85c156a
+SIZE (fsnotify-fsnotify-4da3e2c_GH0.tar.gz) = 30593
+SHA256 (hashicorp-go-retryablehttp-794af36_GH0.tar.gz) = c1f27c275c455e4179c4edd29ec97694051716492e18c4dfbe22a3200cf5a04f
+SIZE (hashicorp-go-retryablehttp-794af36_GH0.tar.gz) = 12288
+SHA256 (spf13-pflag-e57e3ee_GH0.tar.gz) = 16556b4873f12211cffec75aa4d3a6332efa26e64ff0476fdbd99f672ca37d51
+SIZE (spf13-pflag-e57e3ee_GH0.tar.gz) = 38998
+SHA256 (hashicorp-go-cleanhttp-06c9ea3_GH0.tar.gz) = 79273a537d399e10281a11ee95c0d8f74127f40affca27b28a433af5ef50f1c9
+SIZE (hashicorp-go-cleanhttp-06c9ea3_GH0.tar.gz) = 7182
+SHA256 (hashicorp-hcl-23c074d_GH0.tar.gz) = e1261b44b456f6b496a7aa652cc7359f766c998eef03e1ee36a437ee27f94a5f
+SIZE (hashicorp-hcl-23c074d_GH0.tar.gz) = 69802
+SHA256 (magiconair-properties-49d762b_GH0.tar.gz) = 83f09254a5839dce870659e9e003792893e5b9212fc71c8854e6c24c67b8fc2f
+SIZE (magiconair-properties-49d762b_GH0.tar.gz) = 27762
+SHA256 (mitchellh-mapstructure-06020f8_GH0.tar.gz) = d2aea9fa20b0d1ee75a1e2745e07e11e1b00e224c6b8fb407d0c52c3144bf505
+SIZE (mitchellh-mapstructure-06020f8_GH0.tar.gz) = 15602
+SHA256 (spf13-afero-8d919cb_GH0.tar.gz) = 684d7264e4fcb77502a08695d99169a2c8d358c8f74a5897981836486836aab5
+SIZE (spf13-afero-8d919cb_GH0.tar.gz) = 43465
+SHA256 (spf13-cast-acbeb36_GH0.tar.gz) = 403d9ba0ea7655ad375cf31e9ff1fece4425b3795fc47eb86e824ab6ac6ef620
+SIZE (spf13-cast-acbeb36_GH0.tar.gz) = 9588
+SHA256 (spf13-jWalterWeatherman-12bd96e_GH0.tar.gz) = 58740d954bd3cb9c3f3e34581a62403d8d32bab3491422276bc2b1c339f6ec85
+SIZE (spf13-jWalterWeatherman-12bd96e_GH0.tar.gz) = 6342
+SHA256 (golang-text-6353ef0_GH0.tar.gz) = ea7937a8971b85efb3dbdfd993be3df4f8bbb70443902590f1a5de72f03dd6e1
+SIZE (golang-text-6353ef0_GH0.tar.gz) = 4591792
+SHA256 (tv42-httpunix-b75d861_GH0.tar.gz) = d61dfb2559a54acaf291816a01ee0ccde7c1dbbd70d04a5d19d7a00121a0e81f
+SIZE (tv42-httpunix-b75d861_GH0.tar.gz) = 2476
+SHA256 (prometheus-client_model-99fa1f4_GH0.tar.gz) = 11c3da0c9a3e4879aa2de15b8e1f494cd74ce3afca831a759f564edeea232f69
+SIZE (prometheus-client_model-99fa1f4_GH0.tar.gz) = 54653
+SHA256 (golang-protobuf-8ee7999_GH0.tar.gz) = 0ce842e7fd80d4e230b0740de2a657172748220050343c6482ed56d6828322af
+SIZE (golang-protobuf-8ee7999_GH0.tar.gz) = 245224
+SHA256 (prometheus-common-2e54d0b_GH0.tar.gz) = 0a0468fe62d463412bfec3c5e1f1eae4f74c272069ece4f1c2c33146a1556803
+SIZE (prometheus-common-2e54d0b_GH0.tar.gz) = 62688
+SHA256 (matttproud-golang_protobuf_extensions-c12348c_GH0.tar.gz) = da165c9275b77a0994b815bc7d761dcb2e4799a90fe49eec08d8bdff3a683f48
+SIZE (matttproud-golang_protobuf_extensions-c12348c_GH0.tar.gz) = 37200

Added: head/sysutils/circonus-agent/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/circonus-agent/pkg-descr	Tue Jan 16 16:20:37 2018	(r459193)
@@ -0,0 +1,11 @@
+Circonus-agent is a lightweight monitoring agent that collects system,
+user-defined metrics, statsD, or Prometheus. Metrics are forwarded to Circonus
+(SaaS) or can be consumed locally as Prometheus metrics.
+
+The circonus-agent is intelligent about the way it collects metrics in 
+that it deliberately only fork(2)'s utilities once where possible and 
+reads metrics streamed to it from continuously running processes 
+(e.g. iostat(1) or vmstat(1)) or user defined scripts (e.g. PostgreSQL
+or DTrace scripts). circonus-agent is a Go rewrite of the NAD.
+
+WWW: https://www.circonus.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801161620.w0GGKbGh047690>