[Bug 274984] sysutils/node_exporter: 1.6.1 does not report version

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Nov 2023 08:26:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274984

            Bug ID: 274984
           Summary: sysutils/node_exporter: 1.6.1 does not report version
           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: lapo@lapo.it
                CC: dor.bsd@xm0.uk
                CC: dor.bsd@xm0.uk
             Flags: maintainer-feedback?(dor.bsd@xm0.uk)

This with new 1.6.1:

% xh localhost:9100/metrics | egrep ^node_exporter_build_info
node_exporter_build_info{branch="",goarch="amd64",goos="freebsd",goversion="go1.20.8",revision="unknown",tags="unknown",version=""}
1

% node_exporter --version
node_exporter, version  (branch: , revision: unknown)
  build user:
  build date:
  go version:       go1.20.8
  platform:         freebsd/amd64
  tags:             unknown

While older 1.5.0:

% xh lapo.andxor.it:9100/metrics | egrep ^node_exporter_build_info
node_exporter_build_info{branch="release-1.5",goversion="go1.20.8",revision="7",version="1.5.0"}
1

% node_exporter --version
node_exporter, version 1.5.0 (branch: release-1.5, revision: 7)
  build user:       root
  build date:
  go version:       go1.20.8
  platform:         freebsd/amd64

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