Skip to content

node_exporter_build_info contains version from alloy, not from node_exporter. #4330

@jkroepke

Description

@jkroepke

Component(s)

No response

What's wrong?

curl -s 127.0.0.1:12345/api/v0/component/prometheus.exporter.unix.default/metrics | grep build_info
# HELP node_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, goversion from which node_exporter was built, and the goos and goarch for the build.
# TYPE node_exporter_build_info gauge
node_exporter_build_info{branch="HEAD",goarch="arm64",goos="darwin",goversion="go1.24.4",revision="b19f8c5",tags="netgo,builtinassets",version="v1.10.2"} 1

This indicates, that Alloy uses node_exporter v1.10.2 - which does not exists. Its the alloy version.

Steps to reproduce

% cat config.river
prometheus.exporter.unix "default" {}

System information

MacOS 15.6

Software version

Alloy 1.10.2

Configuration

prometheus.exporter.unix "default" {}

Logs

ts=2025-09-03T09:49:06.316558Z level=info "boringcrypto enabled"=false
ts=2025-09-03T09:49:06.316574Z level=info msg="no peer discovery configured: both join and discover peers are empty" service=cluster
ts=2025-09-03T09:49:06.316577Z level=info msg="running usage stats reporter"
ts=2025-09-03T09:49:06.316579Z level=info msg="starting complete graph evaluation" controller_path=/ controller_id="" trace_id=f42445398152ee53c2871faec07873cf
ts=2025-09-03T09:49:06.316584Z level=info msg="Parsed flag --collector.diskstats.device-exclude" component_path=/ component_id=prometheus.exporter.unix.default collector=diskstats flag=^(ram|loop|fd|(h|s|v|xv)d[a-z]|nvme\d+n\d+p)\d+$
ts=2025-09-03T09:49:06.316586Z level=info msg="Parsed flag --collector.filesystem.mount-points-exclude" component_path=/ component_id=prometheus.exporter.unix.default collector=filesystem flag=^/(dev)($|/)
ts=2025-09-03T09:49:06.316588Z level=info msg="Parsed flag --collector.filesystem.fs-types-exclude" component_path=/ component_id=prometheus.exporter.unix.default collector=filesystem flag=^(autofs|devfs)$
ts=2025-09-03T09:49:06.31659Z level=info msg="Enabled node_exporter collectors" component_path=/ component_id=prometheus.exporter.unix.default
ts=2025-09-03T09:49:06.316591Z level=info component_path=/ component_id=prometheus.exporter.unix.default collector=boottime
ts=2025-09-03T09:49:06.316608Z level=info component_path=/ component_id=prometheus.exporter.unix.default collector=cpu
ts=2025-09-03T09:49:06.31661Z level=info component_path=/ component_id=prometheus.exporter.unix.default collector=diskstats
ts=2025-09-03T09:49:06.316611Z level=info component_path=/ component_id=prometheus.exporter.unix.default collector=filesystem
ts=2025-09-03T09:49:06.316612Z level=info component_path=/ component_id=prometheus.exporter.unix.default collector=loadavg
ts=2025-09-03T09:49:06.316614Z level=info component_path=/ component_id=prometheus.exporter.unix.default collector=meminfo
ts=2025-09-03T09:49:06.316616Z level=info component_path=/ component_id=prometheus.exporter.unix.default collector=netdev
ts=2025-09-03T09:49:06.316618Z level=info component_path=/ component_id=prometheus.exporter.unix.default collector=os
ts=2025-09-03T09:49:06.316619Z level=info component_path=/ component_id=prometheus.exporter.unix.default collector=powersupplyclass
ts=2025-09-03T09:49:06.31662Z level=info component_path=/ component_id=prometheus.exporter.unix.default collector=textfile
ts=2025-09-03T09:49:06.316622Z level=info component_path=/ component_id=prometheus.exporter.unix.default collector=thermal
ts=2025-09-03T09:49:06.316623Z level=info component_path=/ component_id=prometheus.exporter.unix.default collector=time
ts=2025-09-03T09:49:06.316624Z level=info component_path=/ component_id=prometheus.exporter.unix.default collector=uname
ts=2025-09-03T09:49:06.316625Z level=info msg="finished node evaluation" controller_path=/ controller_id="" trace_id=f42445398152ee53c2871faec07873cf node_id=prometheus.exporter.unix.default duration=131.917µs
ts=2025-09-03T09:49:06.316628Z level=info msg="finished node evaluation" controller_path=/ controller_id="" trace_id=f42445398152ee53c2871faec07873cf node_id=remotecfg duration=14.917µs
ts=2025-09-03T09:49:06.31663Z level=info msg="applying non-TLS config to HTTP server" service=http
ts=2025-09-03T09:49:06.316631Z level=info msg="finished node evaluation" controller_path=/ controller_id="" trace_id=f42445398152ee53c2871faec07873cf node_id=http duration=4µs
ts=2025-09-03T09:49:06.316633Z level=info msg="finished node evaluation" controller_path=/ controller_id="" trace_id=f42445398152ee53c2871faec07873cf node_id=cluster duration=667ns
ts=2025-09-03T09:49:06.316635Z level=info msg="finished node evaluation" controller_path=/ controller_id="" trace_id=f42445398152ee53c2871faec07873cf node_id=livedebugging duration=1.708µs
ts=2025-09-03T09:49:06.316657Z level=info msg="finished node evaluation" controller_path=/ controller_id="" trace_id=f42445398152ee53c2871faec07873cf node_id=ui duration=666ns
ts=2025-09-03T09:49:06.316665Z level=info msg="finished node evaluation" controller_path=/ controller_id="" trace_id=f42445398152ee53c2871faec07873cf node_id=tracing duration=1.375µs
ts=2025-09-03T09:49:06.316668Z level=info msg="finished node evaluation" controller_path=/ controller_id="" trace_id=f42445398152ee53c2871faec07873cf node_id=logging duration=112.375µs
ts=2025-09-03T09:49:06.316673Z level=info msg="finished node evaluation" controller_path=/ controller_id="" trace_id=f42445398152ee53c2871faec07873cf node_id=otel duration=1.083µs
ts=2025-09-03T09:49:06.316678Z level=info msg="finished node evaluation" controller_path=/ controller_id="" trace_id=f42445398152ee53c2871faec07873cf node_id=labelstore duration=1.792µs
ts=2025-09-03T09:49:06.316681Z level=info msg="finished complete graph evaluation" controller_path=/ controller_id="" trace_id=f42445398152ee53c2871faec07873cf duration=336.625µs
ts=2025-09-03T09:49:06.316696Z level=info msg="scheduling loaded components and services"
ts=2025-09-03T09:49:06.316768Z level=info msg="starting cluster node" service=cluster peers_count=0 peers="" advertise_addr=127.0.0.1:12345 minimum_cluster_size=0 minimum_size_wait_timeout=0s
ts=2025-09-03T09:49:06.316873Z level=info msg="peers changed" service=cluster peers_count=1 min_cluster_size=0 peers=joe-nb
ts=2025-09-03T09:49:06.316974Z level=info msg="now listening for http traffic" service=http addr=127.0.0.1:12345
ts=2025-09-03T09:49:09.005601Z level=error msg="collector failed" component_path=/ component_id=prometheus.exporter.unix.default name=thermal duration_seconds=0.001595167 err="no CPU power status has been recorded"
ts=2025-09-03T09:49:14.627526Z level=error msg="collector failed" component_path=/ component_id=prometheus.exporter.unix.default name=thermal duration_seconds=0.000482 err="no CPU power status has been recorded"
ts=2025-09-03T09:49:18.178239Z level=error msg="collector failed" component_path=/ component_id=prometheus.exporter.unix.default name=thermal duration_seconds=0.000425792 err="no CPU power status has been recorded"
ts=2025-09-03T09:49:22.271169Z level=error msg="collector failed" component_path=/ component_id=prometheus.exporter.unix.default name=thermal duration_seconds=0.0004975 err="no CPU power status has been recorded"
ts=2025-09-03T09:49:38.915521Z level=error msg="collector failed" component_path=/ component_id=prometheus.exporter.unix.default name=thermal duration_seconds=0.000338791 err="no CPU power status has been recorded"

Tip

React with 👍 if this issue is important to you.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions