[Bug 251926] sysutils/datadog-agent: Report more memory details for FreeBSD

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 17 20:59:56 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251926

            Bug ID: 251926
           Summary: sysutils/datadog-agent: Report more memory details for
                    FreeBSD
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: doug.rand at dtn.com
                CC: uros at gruber.si
                CC: uros at gruber.si
             Flags: maintainer-feedback?(uros at gruber.si)

Created attachment 220677
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=220677&action=edit
Patch to add FreeBSD memory stats to Datadog

The stock Datadog agent only reports the bare minimum of available memory stats
from FreeBSD. The https://github.com/shirou/gopsutil used by Datadog for
collecting memory stats has several additional stats from FreeBSD:

* Active memory
* Inactive memory
* Buffers
* Wired memory
* Laundry list

The attached straightforward patch simply adds these stats to the Datadog
system.mem family of metrics.  We've been using these for a couple of weeks now
with good luck, and now actually far more useful memory graphs in Datadog.

I hope you find this useful.  And as before: Thanks for the Datadog agent port!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list