Skip to content

node_os_info does not update build_id #2981

@jpds

Description

@jpds

The collector responsible for node_os_info only appears to run a single time, I see the following metrics:

{__name__="node_os_info", build_id="23.11.20240320.f091af0", id="nixos", instance="...:9100", job="node", name="NixOS", pretty_name="NixOS 23.11 (Tapir)", version="23.11 (Tapir)", version_codename="tapir", version_id="23.11"}
{__name__="node_os_info", build_id="23.11.20240328.219951b", id="nixos", instance="...:9100", job="node", name="NixOS", pretty_name="NixOS 23.11 (Tapir)", version="23.11 (Tapir)", version_codename="tapir", version_id="23.11"}

Note that one of the build_id is from more than a week ago - however I've done several system builds on this box in that time - the newer build version only appeared after I had restarted node-exporter.

Host operating system: output of uname -a

Linux mango 6.6.22 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 15 18:25:07 UTC 2024 x86_64 GNU/Linux

node_exporter version: output of node_exporter --version

node_exporter, version 1.7.0 (branch: unknown, revision: v1.7.0)
  build user:       nix@nixpkgs
  build date:       unknown
  go version:       go1.21.8
  platform:         linux/amd64
  tags:             unknown

node_exporter command line flags

/nix/store/vwpkipjynqgwpp2pgyl5mxxffysn1c60-node_exporter-1.7.0/bin/node_exporter --web.listen-address 0.0.0.0:9100

Are you running node_exporter in Docker?

No.

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