[Bug 277774] [patch] net-mgmt/alertmanager: alertmanager does not expose build details

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Mar 2024 08:43:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277774

            Bug ID: 277774
           Summary: [patch] net-mgmt/alertmanager: alertmanager does not
                    expose build details
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: peterj@FreeBSD.org
                CC: michal@hanu.la
             Flags: maintainer-feedback?(michal@hanu.la)
                CC: michal@hanu.la

Created attachment 249257
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249257&action=edit
Fix alertmanager build information

alertmanager has provision to export build information but the relevant linker
information isn't passed in.  This can be verified by either looking at
"alertmanager_build_info" in the exported metrics or by running

$ alertmanager --version

The attached patch (based on
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249255) results in build
information like:

alertmanager_build_info{branch="release-0.26", goarch="amd64", goos="freebsd",
goversion="go1.22.1", instance="server", job="alertmanager", revision="1",
tags="unknown", version="0.26.0"}

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