[Bug 277074] net-mgmt/prometheus2 Agent mode is not supported

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 15 Feb 2024 15:51:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277074

            Bug ID: 277074
           Summary: net-mgmt/prometheus2 Agent mode is not supported
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: janlugt@gmail.com
                CC: dor.bsd@xm0.uk
                CC: dor.bsd@xm0.uk
             Flags: maintainer-feedback?(dor.bsd@xm0.uk)

Created attachment 248492
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248492&action=edit
Add prometheus_agent_mode sysrc variable

Prometheus fails to start in agent mode when --storage.tsdb.path is set, which
is always the case when starting with the rc file. It would be nice to have a
sysrc variable which enables agent mode, and sets either --storage.tsdb.path or
--storage.agent.path. I've attached a patch file with something that works for
me.

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