Bug 244291 - [NEW PORT] net-mgmt/netdata-go: go.d.plugin is an external netdata collection plugin written in go
Summary: [NEW PORT] net-mgmt/netdata-go: go.d.plugin is an external netdata collection...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitri Goutnik
URL:
Keywords:
Depends on:
Blocks: 244304
  Show dependency treegraph
 
Reported: 2020-02-21 22:57 UTC by Dries Michiels
Modified: 2020-02-22 17:38 UTC (History)
1 user (show)

See Also:


Attachments
netdata-go.diff (12.47 KB, patch)
2020-02-21 22:57 UTC, Dries Michiels
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dries Michiels freebsd_committer freebsd_triage 2020-02-21 22:57:31 UTC
Created attachment 211810 [details]
netdata-go.diff

Netdata has started a transition from python plugins to go. This PR bring the go collector module of netdata to FreeBSD. I'll create another PR tomorrow to attach this to the net-mgmt/netdata port with an option and run_depend.

QA tested:
portlint -AC
Testport (11.3, 12.1, 13)
Runtime tested, plugin is started nicely by netdata itself!

https://github.com/netdata/go.d.plugin
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-02-22 17:06:46 UTC
A commit references this bug:

Author: dmgk
Date: Sat Feb 22 17:06:06 UTC 2020
New revision: 526840
URL: https://svnweb.freebsd.org/changeset/ports/526840

Log:
  New port: net-mgmt/netdata-go

  go.d.plugin is a netdata external plugin.
  It is an orchestrator for data collection modules written in go.
  It runs as an independent process ps fax shows it.
  It is started and stopped automatically by netdata.

  WWW: https://github.com/netdata/go.d.plugin

  PR:		244291
  Submitted by:	Dries Michiels <driesm.michiels@gmail.com>

Changes:
  head/net-mgmt/Makefile
  head/net-mgmt/netdata-go/
  head/net-mgmt/netdata-go/Makefile
  head/net-mgmt/netdata-go/distinfo
  head/net-mgmt/netdata-go/pkg-descr
  head/net-mgmt/netdata-go/pkg-plist
Comment 2 Dmitri Goutnik freebsd_committer freebsd_triage 2020-02-22 17:10:45 UTC
Committed with some changes, thanks!

While here, also made it buildable on aarch64, upstream PR: https://github.com/netdata/go.d.plugin/pull/339
Comment 3 Dries Michiels freebsd_committer freebsd_triage 2020-02-22 17:38:14 UTC
Thank you for the commit and helping out!