Exporter for machine metrics
This report summarizes scanner evidence for prometheus/node_exporter, a Go project with 13,833 GitHub stars. SynthScan examined 37,844 lines of code across 237 source files, recording 225 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 6.1 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 225 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 225 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 225 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | node_exporter_test.go | 1 | // Copyright 2017 The Prometheus Authors | COMMENT |
| LOW | node_exporter.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | tools/main.go | 1 | // Copyright 2024 The Prometheus Authors | COMMENT |
| LOW | collector/diskstats_openbsd.go | 1 | // Copyright 2019 The Prometheus Authors | COMMENT |
| LOW | collector/diskstats_openbsd_amd64.go | 1 | // Copyright 2020 The Prometheus Authors | COMMENT |
| LOW | collector/devstat_freebsd.h | 1 | // Copyright 2017 The Prometheus Authors | COMMENT |
| LOW | collector/systemd_linux_test.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/meminfo_numa_linux_test.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/diskstats_linux_test.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/netdev_openbsd_amd64.go | 1 | // Copyright 2020 The Prometheus Authors | COMMENT |
| LOW | collector/nvmesubsystem_linux.go | 1 | // Copyright The Prometheus Authors | COMMENT |
| LOW | collector/perf_linux_test.go | 1 | // Copyright 2019 The Prometheus Authors | COMMENT |
| LOW | collector/watchdog.go | 1 | // Copyright 2023 The Prometheus Authors | COMMENT |
| LOW | collector/meminfo_darwin.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/netstat_descs_drift_test.go | 1 | // Copyright The Prometheus Authors | COMMENT |
| LOW | collector/interrupts_openbsd.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/cpu_darwin.go | 1 | // Copyright 2016 The Prometheus Authors | COMMENT |
| LOW | collector/cpufreq_solaris.go | 1 | // Copyright 2019 The Prometheus Authors | COMMENT |
| LOW | collector/paths.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/tapestats_linux.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/zfs_common.go | 1 | // Copyright 2016 The Prometheus Authors | COMMENT |
| LOW | collector/filesystem_freebsd.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/helper_test.go | 1 | // Copyright 2020 The Prometheus Authors | COMMENT |
| LOW | collector/cpu_dragonfly_test.go | 1 | // Copyright 2016 The Prometheus Authors | COMMENT |
| LOW | collector/powersupplyclass_darwin.go | 1 | // Copyright 2019 The Prometheus Authors | COMMENT |
| LOW | collector/diskstats_darwin.go | 1 | // Copyright 2017 The Prometheus Authors | COMMENT |
| LOW | collector/utils_test.go | 1 | // Copyright The Prometheus Authors | COMMENT |
| LOW | collector/time_linux.go | 1 | // Copyright 2021 The Prometheus Authors | COMMENT |
| LOW | collector/thermal_darwin_amd64.go | 1 | // Copyright The Prometheus Authors | COMMENT |
| LOW | collector/ethtool_linux_test.go | 1 | // Copyright 2021 The Prometheus Authors | COMMENT |
| LOW | collector/ethtool_linux_test.go | 301 | # TYPE node_ethtool_received_broadcast untyped | COMMENT |
| LOW | collector/ethtool_linux_test.go | 321 | # HELP node_ethtool_transmitted_errors_total Number of sent frames with errors | COMMENT |
| LOW | collector/ethtool_linux_test.go | 341 | node_network_advertised_speed_bytes{device="eth0",duplex="half",mode="100baseT"} 1.25e+07 | COMMENT |
| LOW | collector/loadavg_linux_test.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/netdev_bsd.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/netclass_linux.go | 1 | // Copyright 2018 The Prometheus Authors | COMMENT |
| LOW | collector/swap_linux_test.go | 1 | // Copyright The Prometheus Authors | COMMENT |
| LOW | collector/rapl_linux.go | 1 | // Copyright 2019 The Prometheus Authors | COMMENT |
| LOW | collector/wifi_linux.go | 1 | // Copyright 2017 The Prometheus Authors | COMMENT |
| LOW | collector/softirqs_common.go | 1 | // Copyright 2023 The Prometheus Authors | COMMENT |
| LOW | collector/filefd_linux_test.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/uname.go | 1 | // Copyright 2019 The Prometheus Authors | COMMENT |
| LOW | collector/netdev_common.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/dmmultipath_linux_test.go | 1 | // Copyright The Prometheus Authors | COMMENT |
| LOW | collector/hwmon_linux.go | 1 | // Copyright 2016 The Prometheus Authors | COMMENT |
| LOW | collector/netstat_linux.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/cpu_solaris.go | 1 | // Copyright 2018 The Prometheus Authors | COMMENT |
| LOW | collector/netdev_aix.go | 1 | // Copyright 2024 The Prometheus Authors | COMMENT |
| LOW | collector/softnet_linux.go | 1 | // Copyright 2019 The Prometheus Authors | COMMENT |
| LOW | collector/zfs_freebsd.go | 1 | // Copyright 2019 The Prometheus Authors | COMMENT |
| LOW | collector/timex.go | 1 | // Copyright 2017 The Prometheus Authors | COMMENT |
| LOW | collector/conntrack_linux.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/boot_time_bsd.go | 1 | // Copyright 2018 The Prometheus Authors | COMMENT |
| LOW | collector/pressure_linux.go | 1 | // Copyright 2019 The Prometheus Authors | COMMENT |
| LOW | collector/diskstats_linux.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/diskstats_linux.go | 381 | } | COMMENT |
| LOW | collector/time.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/filesystem_macos.go | 1 | // Copyright 2015 The Prometheus Authors | COMMENT |
| LOW | collector/cpu_linux_test.go | 1 | // Copyright 2021 The Prometheus Authors | COMMENT |
| LOW | collector/schedstat_linux.go | 1 | // Copyright 2019 The Prometheus Authors | COMMENT |
| 160 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | collector/wifi_linux.go | 189 | // returns a os.ErrNotExist error. We leverage this to only export | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/dependabot.yml | 2 | # This file is synced from https://github.com/prometheus/prometheus | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | end-to-end-test.sh | 226 | # Check if the flag is used in the file. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | collector/hwmon_linux.go | 435 | // Step 1: scan /sys/class/hwmon, resolve all symlinks and call | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | collector/hwmon_linux.go | 435 | // Step 1: scan /sys/class/hwmon, resolve all symlinks and call | COMMENT |