Bug 208561

Summary: [NEW PORT] sysutils/datadog: Datadog Cloud-Scale Monitoring agent
Product: Ports & Packages Reporter: uros
Component: Individual Port(s)Assignee: Dave Cottlehuber <dch>
Status: In Progress ---    
Severity: Affects Only Me CC: admin, arnaud, dch, emaste, gspurki, ilan, koobs, python, rainbow
Priority: --- Keywords: feature, needs-patch, needs-qa
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://github.com/DataDog/dd-agent/issues/350
Bug Depends on: 208560    
Bug Blocks:    
Attachments:
Description Flags
port file
none
Datadog port none

Description uros 2016-04-05 21:42:18 UTC
Created attachment 169018 [details]
port file
Comment 1 uros 2016-08-04 18:21:46 UTC
I'm working on latest version and additional rc.d script
Comment 2 uros 2016-09-04 08:29:25 UTC
Created attachment 174362 [details]
Datadog port

Updated port with latest version, add dogstatsd rc.d script.

Portlint output

WARN: Makefile: possible use of absolute pathname "/opt/datadog-agent/e...".
WARN: Makefile: possible use of absolute pathname "/var/run/${PORTNAME}".
WARN: Makefile: possible use of absolute pathname "/var/log/${PORTNAME}".
0 fatal errors and 3 warnings found.
Comment 3 uros 2016-10-01 21:10:29 UTC
Anything to fix here while I'm working on upgrade to the latest release?
Comment 4 Rainbow 2018-05-14 19:58:46 UTC
Is there anything this port is waiting on at the moment? It's been sitting here for 2 years. I'm sure the maintainer would like to see some movement, or a response to their question.
We don't look very good when a new maintainer submits and sees no feedback for years.
I'm happy to help test the new port if need be, and if Koobs is too busy, let's get this reassigned to another committer once it's good to go.
Comment 5 Rainbow 2018-05-14 20:01:46 UTC
(In reply to uros from comment #3)
I'll take a look at the shar you submitted when I can, try and build the port, and provide what feedback I'm able to :)
I'm not a committer, so I can't actually get your port in the tree, but I can help make sure it's ready for commit once a committer is available.
Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2018-05-15 03:49:47 UTC
Apologies, not sure how I missed this, thanks for the ping Rainbow. 

Reset assignee so someone else can take it, I'll stay CC'd in case I can take care of it.

Port needs review and QA confirmation. I note also that the datadog agent is now at 6.x and build using golang, though it appears the 5.x versions is still supported.
Comment 7 uros 2018-05-15 08:01:35 UTC
I started to work on 6.x but then stopped. I'll do my best to finish it and upload new version. I'm a bit swamped atm so it might take a few days.
Comment 8 Arnaud de Prelle 2019-01-08 14:32:59 UTC
Hi,

I really would like to see this port in port tree as well :-)

I'm now using version 5.9.1 taken from GH and it works like a charm for regular system metrics.

# svn info /usr/ports/net-mgmt/dd-agent
Path: /usr/ports/net-mgmt/dd-agent
Working Copy Root Path: /usr/ports/net-mgmt/dd-agent
URL: https://github.com/urosgruber/dd-agent-FreeBSD.git/trunk
Relative URL: ^/trunk
Repository Root: https://github.com/urosgruber/dd-agent-FreeBSD.git
Repository UUID: f6cc8bd2-c0a5-2bbb-7d4e-ce57b7db7bff
Revision: 65
Node Kind: directory
Schedule: normal
Last Changed Author: jan.lehnardt
Last Changed Rev: 63
Last Changed Date: 2017-09-05 09:12:10 +0200 (Tue, 05 Sep 2017)

# pkg info datadog
datadog-5.9.1
Name           : datadog
Version        : 5.9.1
Installed on   : Tue Jan  8 12:15:59 2019 CET
Origin         : sysutils/dd-agent
Architecture   : FreeBSD:11:amd64
Prefix         : /usr/local
Categories     : sysutils
Licenses       : BSD4CLAUSE
Maintainer     : uros@gruber.si
WWW            : https://www.datadoghq.com
Comment        : Data Dog agent
Options        :
        DOCS           : on
Annotations    :
        FreeBSD_version: 1102000
        flavor         : py27
Flat size      : 2.77MiB
Description    :
Cloud-Scale Monitoring

The Datadog Agent faithfully collects events and metrics and brings them
to Datadog on your behalf so that you can do something useful with your
monitoring and performance data.

WWW: https://www.datadoghq.com
Comment 9 Gian-Simon Purkert 2020-08-12 09:20:08 UTC
Why is it not in ports ATM? Works like a charm on my Machine.
Comment 10 Kubilay Kocak freebsd_committer freebsd_triage 2020-08-12 13:27:06 UTC
^Triage: Someone should QA (portlint, poudriere) attachment 174362 [details] and confirm it passes, updating the patch to address any issues if necessary

See Also:

 https://github.com/urosgruber/dd-agent-FreeBSD
 https://github.com/urosgruber/dd-agent-FreeBSD/pull/18
Comment 11 Kubilay Kocak freebsd_committer freebsd_triage 2020-08-12 13:28:05 UTC
^Triage: Looks like it needs updating to 6.x at least
Comment 12 Ryan MacLean 2020-09-07 17:47:54 UTC
The source repo now works with 6.X - worth updating this port, or is starting a new one the best approach?
Comment 13 Dave Cottlehuber freebsd_committer 2020-09-10 15:42:23 UTC
I'm happy to pick this up, precisely which version/repo/branch should I pull from?

https://github.com/urosgruber/dd-agent-FreeBSD/issues/19 mentions a v7.