Skip to content

Version number does not appear in metrics #100

@MiniPierre

Description

@MiniPierre

Hello,

When querying the exporter metrics, it seems that there is a metric with build information but the version number is empty:

% curl -s http://xxx:xxx/metrics|grep unbound_exporter_build_info
# HELP unbound_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, goversion from which unbound_exporter was built, and the goos and goarch for the build.
# TYPE unbound_exporter_build_info gauge
unbound_exporter_build_info{branch="",goarch="amd64",goos="linux",goversion="go1.24.0",revision="unknown",tags="unknown",version=""} 1

Could you please have a look ?

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions