AI Slop Code Risk Monitor

netdata/netdata

SlopCodeMonitor badge for netdata/netdata Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The fastest path to AI-powered full stack observability, even for lean teams.

1.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for netdata/netdata, a Go project with 81,229 GitHub stars. SynthScan examined 4,453,568 lines of code across 13216 source files, recording 5707 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 1.9 (Low 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.

1.9
Adjusted Signal
1.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
81.2K
Stars
Go
Language
4.5M
Lines of Code
13.2K
Files
5.7K
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 5.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 4584 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.8/100 · LOW

Are imports declared and package/API names verified? 370 finding(s).

Agent Over-Engineering Ratio 3.4/100 · LOW

Are wrappers, guards, and repeated structures necessary? 1611 finding(s).

PR Review Velocity Impact 8.9/100 · LOW

Which changes need focused human review? 5707 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 66HIGH 127MEDIUM 688LOW 4826

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 5707 distinct pattern matches across 24 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.

Over-Commented Block3353 hits · 3254 pts
SeverityFileLineSnippetContext
LOWnetdata-installer.sh621fiCOMMENT
LOWCMakeLists.txt1# SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWCMakeLists.txt21# configured as a subdirectory, and the first writer wins.COMMENT
LOWCMakeLists.txt61netdata_fixup_system_processor()COMMENT
LOWCMakeLists.txt141" HAVE_OSLOG_STORE)COMMENT
LOWCMakeLists.txt241COMMENT
LOWpackaging/check-for-go-toolchain.sh1#!/bin/shCOMMENT
LOWpackaging/check-for-go-toolchain.sh41 fiCOMMENT
LOWpackaging/cliff.toml21COMMENT
LOWpackaging/cliff.toml41[git]COMMENT
LOWpackaging/build-package.sh221 # distro's own optimization and hardening flags. Reproduce thatCOMMENT
LOWpackaging/tools/automation/mcp/netdata_mcp/runtime.py141 },COMMENT
LOWpackaging/tools/automation/mcp/netdata_mcp/runtime.py361 doc["logs"] = logsCOMMENT
LOWpackaging/utils/coverity-scan.sh1#!/usr/bin/env bashCOMMENT
LOWpackaging/windows/package-windows.sh121#${GITHUB_ACTIONS+echo "::group::CAB file"}COMMENT
LOWpackaging/installer/netdata-updater.sh1#!/bin/shCOMMENT
LOWpackaging/installer/netdata-updater.sh301}COMMENT
LOWpackaging/makeself/makeself.sh1#!/bin/shCOMMENT
LOWpackaging/makeself/post-installer.sh1#!/bin/shCOMMENT
LOWpackaging/makeself/jobs/81-netdata-runtime-check.sh201trap - EXITCOMMENT
LOWtests/system-info-windows-test.py41typedef unsigned int UINT;COMMENT
LOWtests/spawn-server-tests.sh1#!/usr/bin/env bashCOMMENT
LOWtests/acls/netdata.cfg1# netdata configurationCOMMENT
LOWtests/acls/netdata.ssl.cfg1# netdata configurationCOMMENT
LOWtests/manual/spawn-termination-macos.sh1#!/usr/bin/env bashCOMMENT
LOWtests/manual/spawn-termination-macos.sh21# netdata stops a spawned child by closing its stdio: the child's next write hits a pipe with noCOMMENT
LOWtests/manual/spawn-termination-macos.sh41# powermetrics that is already running and streaming.COMMENT
LOWtests/manual/spawn-termination-macos.sh81READ_TIMEOUT="${READ_TIMEOUT:-8}"COMMENT
LOWtests/profile/benchmark-line-parsing.c121#define NUMBER1 "12345678901234"COMMENT
LOWtests/nd-run/tree_probe.c1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/nd-run/probe.c1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/case028_rategaps_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/case028_rategaps_test.go181// CASE-028b: a window that cuts stored records still totals what thoseCOMMENT
LOWtests/query-corpus/selectors_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/case016_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/case023_gaps_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/layer7_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/weights_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/weights_test.go21// Weight normalization (spread_results_evenly): applied UNLESSCOMMENT
LOWtests/query-corpus/case017_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/case027_incremental_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/layer6_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/layer6_test.go621// TestLayer6TwoPassPercentage pins percentage as the PASS-2 aggregation.COMMENT
LOWtests/query-corpus/case039_sparse_hot_edge_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/case023_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/case015_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/layer10_invariants_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/layer10_invariants_test.go61 // value; a forecast extrapolates past both ends)COMMENT
LOWtests/query-corpus/layer10_invariants_test.go81 // denominator is TIME; percentage-of-samples answers about samples, soCOMMENT
LOWtests/query-corpus/layer10_invariants_test.go181 // the data: outward alignment legitimately puts a boundary bucketCOMMENT
LOWtests/query-corpus/layer10_invariants_test.go801 t.Logf("%d groupings classified", len(r.Order))COMMENT
LOWtests/query-corpus/layer10_invariants_test.go1161COMMENT
LOWtests/query-corpus/layer10_invariants_test.go1221 }COMMENT
LOWtests/query-corpus/layer10_invariants_test.go1621// defect walked straight through it.COMMENT
LOWtests/query-corpus/layer10_invariants_test.go1781 }COMMENT
LOWtests/query-corpus/layer4_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/updateevery_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/updateevery_test.go201 // one exact match already discriminates the /ue divisor (a wrongCOMMENT
LOWtests/query-corpus/layer5_test.go1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWtests/query-corpus/layer5_test.go421COMMENT
3293 more matches not shown…
Decorative Section Separators613 hits · 1863 pts
SeverityFileLineSnippetContext
MEDIUM⚡netdata-installer.sh809# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡netdata-installer.sh812# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡netdata-installer.sh822# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡netdata-installer.sh825# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡netdata-installer.sh832# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡netdata-installer.sh842# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡netdata-installer.sh851# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh33# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh42# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh57# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh91# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh111# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh585# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh608# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh623# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh692# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh699# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh711# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh895# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh1130# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh1140# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh1169# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh1188 # -------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh1234 # -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh1265# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh1275# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh1297# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh1301# -----------------------------------------------------------------------------COMMENT
MEDIUMnetdata-installer.sh1332# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡packaging/tools/automation/mcp/tests/test_journal.py16# ── _parse_ppid ───────────────────────────────────────────────COMMENT
MEDIUM⚡packaging/tools/automation/mcp/tests/test_journal.py39# ── syslog_identifier ─────────────────────────────────────────COMMENT
MEDIUM⚡packaging/tools/automation/mcp/tests/test_journal.py49# ── resolve_pid (monkeypatched process tree) ──────────────────COMMENT
MEDIUM⚡packaging/tools/automation/mcp/tests/test_journal.py187# ── component enum stays in sync with journal.SOURCES ─────────COMMENT
MEDIUM⚡packaging/tools/automation/mcp/tests/test_journal.py194# ── journal availability gate ─────────COMMENT
MEDIUMpackaging/tools/automation/mcp/tests/test_journal.py88# ── read_logs (monkeypatched subprocess) ──────────────────────COMMENT
MEDIUMpackaging/tools/automation/mcp/tests/test_streams.py7# ── command builders (pure) ─────────────────────────────────────────────────────COMMENT
MEDIUM⚡packaging/tools/automation/mcp/tests/test_streams.py127# ── StreamRegistry lifecycle (real subprocess, harmless commands) ────────────────COMMENT
MEDIUM⚡packaging/tools/automation/mcp/tests/test_bearer.py23# ── env reading ───────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡packaging/tools/automation/mcp/tests/test_bearer.py34# ── expiry heuristic ───────────────────────────────────────────────────────────COMMENT
MEDIUM⚡packaging/tools/automation/mcp/tests/test_bearer.py58# ── identity extraction ────────────────────────────────────────────────────────COMMENT
MEDIUM⚡packaging/tools/automation/mcp/tests/test_bearer.py76# ── resolve flow (with monkeypatched IO) ───────────────────────────────────────COMMENT
MEDIUM⚡packaging/tools/automation/mcp/tests/test_bearer.py129# ── token-safety contract ──────────────────────────────────────────────────────COMMENT
MEDIUM⚡…ckaging/tools/automation/mcp/tests/test_mint_bearer.py66# ── tool body (_mint_bearer) branches ───────────────────────────────────────────COMMENT
MEDIUMpackaging/tools/automation/mcp/netdata_mcp/profiles.py13# ── curated plugin/feature set (shared by both profiles) ─────────────────────COMMENT
MEDIUMpackaging/tools/automation/mcp/netdata_mcp/profiles.py52# ── warning flags ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/tools/automation/mcp/scripts/setup_mcp.py73# ── claim credentials ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/tools/automation/mcp/scripts/setup_mcp.py100# ── cloud credentials ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/tools/automation/mcp/scripts/setup_mcp.py125# ── opencode ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/tools/automation/mcp/scripts/setup_mcp.py172# ── Claude Code ─────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/tools/automation/mcp/scripts/setup_mcp.py213# ── entry ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/installer/kickstart-ng.sh7# ======================================================================COMMENT
MEDIUMpackaging/installer/kickstart-ng.sh28# ======================================================================COMMENT
MEDIUMpackaging/installer/kickstart-ng.sh43# ======================================================================COMMENT
MEDIUMpackaging/installer/kickstart-ng.sh62# ======================================================================COMMENT
MEDIUMpackaging/installer/kickstart-ng.sh102# ======================================================================COMMENT
MEDIUMpackaging/installer/kickstart-ng.sh112# ======================================================================COMMENT
MEDIUMpackaging/installer/kickstart-ng.sh182# ======================================================================COMMENT
MEDIUMpackaging/installer/kickstart-ng.sh241# ======================================================================COMMENT
MEDIUMpackaging/installer/kickstart-ng.sh393# ======================================================================COMMENT
MEDIUMpackaging/installer/kickstart-ng.sh1188# ======================================================================COMMENT
553 more matches not shown…
Hallucination Indicators66 hits · 945 pts
SeverityFileLineSnippetContext
CRITICALsrc/crates/netflow-plugin/src/plugin_config_tests.rs135 cfg.enrichment.routing_dynamic.bioris.ris_instances.push(CODE
CRITICALsrc/crates/netflow-plugin/src/plugin_config_tests.rs151 cfg.enrichment.routing_dynamic.bioris.ris_instances.push(CODE
CRITICALsrc/crates/netflow-plugin/src/plugin_config_tests.rs172 cfg.enrichment.routing_dynamic.bioris.ris_instances.push(CODE
CRITICAL…flow-plugin/src/plugin_config/validation/enrichment.rs81 if cfg.enrichment.routing_dynamic.bmp.keep.is_zero() {CODE
CRITICAL…flow-plugin/src/plugin_config/validation/enrichment.rs109 if cfg.enrichment.routing_dynamic.bioris.timeout.is_zero() {CODE
CRITICAL…flow-plugin/src/plugin_config/validation/enrichment.rs112 if cfg.enrichment.routing_dynamic.bioris.refresh.is_zero() {CODE
CRITICAL⚡…/go/plugin/go.d/collector/powerstore/collect_volume.go25 c.mx.volume.perf.readIops.WithLabelValues(name).Observe(last.AvgReadIops)CODE
CRITICAL⚡…/go/plugin/go.d/collector/powerstore/collect_volume.go26 c.mx.volume.perf.writeIops.WithLabelValues(name).Observe(last.AvgWriteIops)CODE
CRITICAL⚡…/go/plugin/go.d/collector/powerstore/collect_volume.go27 c.mx.volume.perf.readBandwidth.WithLabelValues(name).Observe(last.AvgReadBandwidth)CODE
CRITICAL⚡…/go/plugin/go.d/collector/powerstore/collect_volume.go28 c.mx.volume.perf.writeBandwidth.WithLabelValues(name).Observe(last.AvgWriteBandwidth)CODE
CRITICAL⚡…/go/plugin/go.d/collector/powerstore/collect_volume.go29 c.mx.volume.perf.avgReadLatency.WithLabelValues(name).Observe(last.AvgReadLatency)CODE
CRITICAL⚡…/go/plugin/go.d/collector/powerstore/collect_volume.go30 c.mx.volume.perf.avgWriteLatency.WithLabelValues(name).Observe(last.AvgWriteLatency)CODE
CRITICAL⚡…/go/plugin/go.d/collector/powerstore/collect_volume.go31 c.mx.volume.perf.avgLatency.WithLabelValues(name).Observe(last.AvgLatency)CODE
CRITICAL⚡…c/go/plugin/go.d/collector/powerstore/collect_ports.go31 c.mx.fcPort.perf.readIops.WithLabelValues(name).Observe(last.AvgReadIops)CODE
CRITICAL⚡…c/go/plugin/go.d/collector/powerstore/collect_ports.go32 c.mx.fcPort.perf.writeIops.WithLabelValues(name).Observe(last.AvgWriteIops)CODE
CRITICAL⚡…c/go/plugin/go.d/collector/powerstore/collect_ports.go33 c.mx.fcPort.perf.readBandwidth.WithLabelValues(name).Observe(last.AvgReadBandwidth)CODE
CRITICAL⚡…c/go/plugin/go.d/collector/powerstore/collect_ports.go34 c.mx.fcPort.perf.writeBandwidth.WithLabelValues(name).Observe(last.AvgWriteBandwidth)CODE
CRITICAL⚡…c/go/plugin/go.d/collector/powerstore/collect_ports.go35 c.mx.fcPort.perf.avgReadLatency.WithLabelValues(name).Observe(last.AvgReadLatency)CODE
CRITICAL⚡…c/go/plugin/go.d/collector/powerstore/collect_ports.go36 c.mx.fcPort.perf.avgWriteLatency.WithLabelValues(name).Observe(last.AvgWriteLatency)CODE
CRITICAL⚡…c/go/plugin/go.d/collector/powerstore/collect_ports.go37 c.mx.fcPort.perf.avgLatency.WithLabelValues(name).Observe(last.AvgLatency)CODE
CRITICAL⚡…plugin/go.d/collector/powerstore/collect_filesystem.go25 c.mx.fileSystem.perf.readIops.WithLabelValues(name).Observe(last.AvgReadIops)CODE
CRITICAL⚡…plugin/go.d/collector/powerstore/collect_filesystem.go26 c.mx.fileSystem.perf.writeIops.WithLabelValues(name).Observe(last.AvgWriteIops)CODE
CRITICAL⚡…plugin/go.d/collector/powerstore/collect_filesystem.go27 c.mx.fileSystem.perf.readBandwidth.WithLabelValues(name).Observe(last.AvgReadBandwidth)CODE
CRITICAL⚡…plugin/go.d/collector/powerstore/collect_filesystem.go28 c.mx.fileSystem.perf.writeBandwidth.WithLabelValues(name).Observe(last.AvgWriteBandwidth)CODE
CRITICAL⚡…plugin/go.d/collector/powerstore/collect_filesystem.go29 c.mx.fileSystem.perf.avgReadLatency.WithLabelValues(name).Observe(last.AvgReadLatency)CODE
CRITICAL⚡…plugin/go.d/collector/powerstore/collect_filesystem.go30 c.mx.fileSystem.perf.avgWriteLatency.WithLabelValues(name).Observe(last.AvgWriteLatency)CODE
CRITICAL⚡…plugin/go.d/collector/powerstore/collect_filesystem.go31 c.mx.fileSystem.perf.avgLatency.WithLabelValues(name).Observe(last.AvgLatency)CODE
CRITICAL⚡src/go/plugin/go.d/collector/powerstore/collect_node.go25 c.mx.node.perf.readIops.WithLabelValues(name).Observe(last.AvgReadIops)CODE
CRITICAL⚡src/go/plugin/go.d/collector/powerstore/collect_node.go26 c.mx.node.perf.writeIops.WithLabelValues(name).Observe(last.AvgWriteIops)CODE
CRITICAL⚡src/go/plugin/go.d/collector/powerstore/collect_node.go27 c.mx.node.perf.readBandwidth.WithLabelValues(name).Observe(last.AvgReadBandwidth)CODE
CRITICAL⚡src/go/plugin/go.d/collector/powerstore/collect_node.go28 c.mx.node.perf.writeBandwidth.WithLabelValues(name).Observe(last.AvgWriteBandwidth)CODE
CRITICAL⚡src/go/plugin/go.d/collector/powerstore/collect_node.go29 c.mx.node.perf.avgReadLatency.WithLabelValues(name).Observe(last.AvgReadLatency)CODE
CRITICAL⚡src/go/plugin/go.d/collector/powerstore/collect_node.go30 c.mx.node.perf.avgWriteLatency.WithLabelValues(name).Observe(last.AvgWriteLatency)CODE
CRITICAL⚡src/go/plugin/go.d/collector/powerstore/collect_node.go31 c.mx.node.perf.avgLatency.WithLabelValues(name).Observe(last.AvgLatency)CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go25 c.mx.appliance.perf.readIops.WithLabelValues(name).Observe(last.AvgReadIops)CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go26 c.mx.appliance.perf.writeIops.WithLabelValues(name).Observe(last.AvgWriteIops)CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go27 c.mx.appliance.perf.readBandwidth.WithLabelValues(name).Observe(last.AvgReadBandwidth)CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go28 c.mx.appliance.perf.writeBandwidth.WithLabelValues(name).Observe(last.AvgWriteBandwidth)CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go29 c.mx.appliance.perf.avgReadLatency.WithLabelValues(name).Observe(last.AvgReadLatency)CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go30 c.mx.appliance.perf.avgWriteLatency.WithLabelValues(name).Observe(last.AvgWriteLatency)CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go31 c.mx.appliance.perf.avgLatency.WithLabelValues(name).Observe(last.AvgLatency)CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go41 c.mx.appliance.space.physicalTotal.WithLabelValues(name).Observe(float64(*last.PhysicalTotal))CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go44 c.mx.appliance.space.physicalUsed.WithLabelValues(name).Observe(float64(*last.PhysicalUsed))CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go47 c.mx.appliance.space.logicalProvisioned.WithLabelValues(name).Observe(float64(*last.LogicalProvisioned))CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go50 c.mx.appliance.space.logicalUsed.WithLabelValues(name).Observe(float64(*last.LogicalUsed))CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go53 c.mx.appliance.space.dataPhysicalUsed.WithLabelValues(name).Observe(float64(*last.DataPhysicalUsed))CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go56 c.mx.appliance.space.sharedLogicalUsed.WithLabelValues(name).Observe(float64(*last.SharedLogicalUsed))CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go58 c.mx.appliance.space.efficiencyRatio.WithLabelValues(name).Observe(last.EfficiencyRatio)CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go59 c.mx.appliance.space.dataReduction.WithLabelValues(name).Observe(last.DataReduction)CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go60 c.mx.appliance.space.snapshotSavings.WithLabelValues(name).Observe(last.SnapshotSavings)CODE
CRITICAL⚡…/plugin/go.d/collector/powerstore/collect_appliance.go61 c.mx.appliance.space.thinSavings.WithLabelValues(name).Observe(last.ThinSavings)CODE
CRITICAL⚡src/go/plugin/go.d/collector/k8s_kubelet/collect.go138 mx.APIServer.Audit.Requests.Rejected.Set(value)CODE
CRITICAL⚡src/go/plugin/go.d/collector/k8s_kubelet/collect.go141 mx.APIServer.Storage.DataKeyGeneration.Failures.Set(value)CODE
CRITICAL⚡src/go/plugin/go.d/collector/k8s_kubelet/collect.go144 mx.APIServer.Storage.EnvelopeTransformation.CacheMisses.Set(value)CODE
CRITICAL⚡src/go/plugin/go.d/collector/k8s_kubelet/collect.go166 mx.Kubelet.PLEG.Relist.Interval.Quantile05.Set(metric.Value)CODE
CRITICAL⚡src/go/plugin/go.d/collector/k8s_kubelet/collect.go168 mx.Kubelet.PLEG.Relist.Interval.Quantile09.Set(metric.Value)CODE
CRITICAL⚡src/go/plugin/go.d/collector/k8s_kubelet/collect.go170 mx.Kubelet.PLEG.Relist.Interval.Quantile099.Set(metric.Value)CODE
CRITICAL⚡src/go/plugin/go.d/collector/k8s_kubelet/collect.go180 mx.Kubelet.PLEG.Relist.Latency.Quantile05.Set(metric.Value)CODE
CRITICAL⚡src/go/plugin/go.d/collector/k8s_kubelet/collect.go182 mx.Kubelet.PLEG.Relist.Latency.Quantile09.Set(metric.Value)CODE
CRITICAL⚡src/go/plugin/go.d/collector/k8s_kubelet/collect.go184 mx.Kubelet.PLEG.Relist.Latency.Quantile099.Set(metric.Value)CODE
6 more matches not shown…
Hyper-Verbose Identifiers834 hits · 828 pts
SeverityFileLineSnippetContext
LOW⚡packaging/tools/automation/mcp/tests/test_journal.py22def test_parse_ppid_comm_with_spaces():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_journal.py27def test_parse_ppid_rejects_missing_paren():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_journal.py31def test_parse_ppid_rejects_truncated():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_journal.py35def test_parse_ppid_rejects_non_integer():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_journal.py41def test_syslog_identifier_mapping():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_journal.py140async def test_read_logs_omits_pid_and_filters_when_absent(monkeypatch):CODE
LOW⚡packaging/tools/automation/mcp/tests/test_journal.py150async def test_read_logs_surfaces_nonzero_exit(monkeypatch):CODE
LOW⚡packaging/tools/automation/mcp/tests/test_journal.py160async def test_read_logs_times_out_and_kills(monkeypatch):CODE
LOW⚡packaging/tools/automation/mcp/tests/test_journal.py169async def test_read_logs_timeout_when_process_already_exited(monkeypatch):CODE
LOW⚡packaging/tools/automation/mcp/tests/test_journal.py179async def test_read_logs_missing_journalctl_never_raises(monkeypatch):CODE
LOW⚡packaging/tools/automation/mcp/tests/test_journal.py189def test_component_literal_matches_sources():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_journal.py196def test_journald_socket_present_reflects_socket_presence(tmp_path, monkeypatch):CODE
LOW⚡packaging/tools/automation/mcp/tests/test_journal.py204def test_journald_socket_present_swallows_oserror(monkeypatch):CODE
LOWpackaging/tools/automation/mcp/tests/test_journal.py66def test_resolve_pid_daemon_is_netdata_pid(fake_tree):CODE
LOWpackaging/tools/automation/mcp/tests/test_journal.py71def test_resolve_pid_supervisor(fake_tree):CODE
LOWpackaging/tools/automation/mcp/tests/test_journal.py82def test_resolve_pid_worker_not_found(monkeypatch):CODE
LOWpackaging/tools/automation/mcp/tests/test_journal.py123async def test_read_logs_builds_argv_with_pid_and_filters(monkeypatch):CODE
LOWpackaging/tools/automation/mcp/tests/test_journal.py215def test_usable_requires_both_journald_and_journalctl(monkeypatch):CODE
LOWpackaging/tools/automation/mcp/tests/test_streams.py8def test_synth_logs_cmd_basics():CODE
LOWpackaging/tools/automation/mcp/tests/test_streams.py23def test_synth_logs_cmd_includes_set_optionals():CODE
LOWpackaging/tools/automation/mcp/tests/test_streams.py36def test_synth_traces_cmd_basics():CODE
LOWpackaging/tools/automation/mcp/tests/test_streams.py53def test_synth_traces_cmd_includes_set_optionals():CODE
LOWpackaging/tools/automation/mcp/tests/test_streams.py66def test_synth_cmds_forward_explicit_empty_service_identity():CODE
LOWpackaging/tools/automation/mcp/tests/test_streams.py84def test_synth_cmds_omit_service_identity_when_none():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_streams.py98def test_stream_cmd_certstream_url_flag():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_streams.py108def test_stream_cmd_jetstream_url_and_collections():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_streams.py118def test_stream_cmd_github_start_and_rate():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_streams.py134def test_registry_start_then_stop(tmp_path):CODE
LOWpackaging/tools/automation/mcp/tests/test_streams.py148def test_registry_marks_unexpected_exit_failed(tmp_path):CODE
LOWpackaging/tools/automation/mcp/tests/test_streams.py159def test_registry_stop_unknown_returns_none():CODE
LOWpackaging/tools/automation/mcp/tests/test_streams.py167def test_registry_list_enumerates_streams(tmp_path):CODE
LOWpackaging/tools/automation/mcp/tests/test_streams.py181def test_run_synth_timeout_kills_and_reports(tmp_path):CODE
LOWpackaging/tools/automation/mcp/tests/test_streams.py194def test_run_synth_cancel_kills_child(tmp_path):CODE
LOWpackaging/tools/automation/mcp/tests/test_agent_mcp.py9def test_with_agent_id_injects_required_agent_id():CODE
LOWpackaging/tools/automation/mcp/tests/test_agent_mcp.py17async def test_register_exposes_all_agent_tools_with_typed_schema():CODE
LOWpackaging/tools/automation/mcp/tests/test_agent_mcp.py28def test_structured_fields_picks_array_and_object():CODE
LOWpackaging/tools/automation/mcp/tests/test_agent_mcp.py41def test_coerce_structured_decodes_json_strings_only_for_structured():CODE
LOWpackaging/tools/automation/mcp/tests/test_agent_mcp.py49def test_coerce_structured_leaves_native_and_undecodable():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_agent_mcp.py60async def test_forward_unknown_agent(monkeypatch):CODE
LOW⚡packaging/tools/automation/mcp/tests/test_agent_mcp.py66async def test_forward_not_ready_agent(monkeypatch):CODE
LOW⚡packaging/tools/automation/mcp/tests/test_agent_mcp.py73async def test_forward_ready_agent_mints_and_calls_core(monkeypatch):CODE
LOWpackaging/tools/automation/mcp/tests/test_agent_mcp.py99async def test_forward_hard_errors_without_cloud_token(monkeypatch):CODE
LOWpackaging/tools/automation/mcp/tests/test_agent_mcp.py117async def test_forward_hard_errors_on_mint_failure(monkeypatch):CODE
LOWpackaging/tools/automation/mcp/tests/test_otel_files.py20async def test_tool_schema_takes_agent_id_and_timeout():CODE
LOWpackaging/tools/automation/mcp/tests/test_otel_files.py31def test_result_model_defaults():CODE
LOWpackaging/tools/automation/mcp/tests/test_otel_files.py40def test_result_model_carries_inventory():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_bearer.py24def test_cloud_token_reads_and_trims():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_bearer.py29def test_cloud_hostname_defaults():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_bearer.py35def test_usable_until_seconds_applies_refresh_buffer():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_bearer.py39def test_usable_until_milliseconds_normalized():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_bearer.py44def test_usable_until_zero_or_invalid_uses_fallback_window():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_bearer.py49def test_usable_until_short_ttl_floors_above_now_not_below():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_bearer.py65def test_extract_identity_unclaimed_is_incomplete():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_bearer.py71def test_extract_identity_no_agents():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_bearer.py77def test_resolve_sync_caches_after_mint(monkeypatch):CODE
LOW⚡packaging/tools/automation/mcp/tests/test_bearer.py118def test_resolve_sync_propagates_identity_error(monkeypatch):CODE
LOW⚡packaging/tools/automation/mcp/tests/test_bearer.py124def test_resolve_bearer_without_cloud_token_errs():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_bearer.py135def test_scrub_handles_overlapping_secrets():CODE
LOW⚡packaging/tools/automation/mcp/tests/test_bearer.py142def test_mint_sends_descriptive_user_agent(monkeypatch):CODE
LOWpackaging/tools/automation/mcp/tests/test_bearer.py94def test_resolve_sync_remints_when_expired(monkeypatch):CODE
774 more matches not shown…
Magic Placeholder Names60 hits · 328 pts
SeverityFileLineSnippetContext
HIGH⚡packaging/windows/WINDOWS_INSTALLER.md67msiexec /qn /i netdata-x64.msi TOKEN="<YOUR_TOKEN>" ROOMS="<YOUR_ROOMS>"CODE
HIGH⚡packaging/windows/WINDOWS_INSTALLER.md72- `<YOUR_TOKEN>` with your claim tokenCODE
HIGH⚡packaging/windows/WINDOWS_INSTALLER.md78msiexec /qn /i netdata-x64.msi TOKEN="<YOUR_TOKEN>"CODE
HIGH⚡packaging/windows/WINDOWS_INSTALLER.md84$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://github.com/netdata/netdata/releases/latest/download/CODE
HIGHpackaging/windows/WINDOWS_INSTALLER.md142 `<YOUR_TOKEN>` with your claim token:CODE
HIGHpackaging/windows/WINDOWS_INSTALLER.md147 token = <YOUR_TOKEN>CODE
HIGHpackaging/windows/WINDOWS_INSTALLER.md355 msiexec /qn /i "netdata-x64.msi" TOKEN="<YOUR_TOKEN>" /l*v "C:\Path\To\install_log.txt"CODE
HIGHpackaging/installer/methods/freebsd.md32 wget -O /tmp/netdata-kickstart.sh https://get.netdata.cloud/kickstart.sh && sh /tmp/netdata-kickstart.sh --claim-tokeCODE
HIGHpackaging/installer/methods/freebsd.md37Replace `<YOUR_TOKEN>` with your actual claim token.CODE
HIGHdocs/fleet-configuration-management.md234 TOKEN="<YOUR_TOKEN>" `CODE
HIGHdocs/streaming-routing.md56 api key = YOUR_API_KEYCODE
HIGHdocs/install/windows-release-channels.md287msiexec /qn /i netdata-x64.msi TOKEN="<YOUR_TOKEN>" ROOMS="<YOUR_ROOMS>"CODE
HIGHdocs/install/windows-release-channels.md309msiexec /qn /i netdata-x64.msi TOKEN="<YOUR_TOKEN>" ROOMS="<YOUR_ROOMS>" REINSTALL=ALLCODE
HIGHdocs/install/windows-release-channels.md341msiexec /qn /i netdata-x64.msi TOKEN="<YOUR_TOKEN>" ROOMS="<YOUR_ROOMS>"CODE
HIGHdocs/netdata-ai/mcp/README.md403 --header "Authorization: Bearer YOUR_API_KEY"CODE
HIGH⚡docs/netdata-ai/mcp/README.md414 --header "Authorization: Bearer YOUR_API_KEY"CODE
HIGH⚡docs/netdata-ai/mcp/README.md419 --header "Authorization: Bearer YOUR_API_KEY"CODE
HIGH⚡docs/netdata-ai/mcp/README.md424 --header "Authorization: Bearer YOUR_API_KEY"CODE
HIGH⚡docs/netdata-ai/mcp/README.md428 --header "Authorization: Bearer YOUR_API_KEY"CODE
HIGHdocs/netdata-ai/mcp/README.md466 --header "Authorization: Bearer YOUR_API_KEY"CODE
HIGHdocs/netdata-ai/mcp/README.md493 "Authorization: Bearer YOUR_API_KEY"CODE
HIGHdocs/netdata-ai/mcp/README.md572 "Authorization: Bearer YOUR_API_KEY"CODE
HIGHdocs/netdata-ai/mcp/README.md588 "Authorization: Bearer YOUR_API_KEY"CODE
HIGHdocs/netdata-ai/mcp/README.md606 "YOUR_API_KEY",CODE
HIGHdocs/netdata-ai/mcp/README.md626 "Authorization: Bearer YOUR_API_KEY"CODE
HIGHdocs/netdata-ai/mcp/README.md636- `YOUR_API_KEY`: The API key from the file mentioned aboveCODE
HIGHdocs/netdata-ai/mcp/README.md660For compatibility with older tooling, Netdata still accepts the `?api_key=YOUR_API_KEY` query parameter on the `/mcp` enCODE
HIGHdocs/netdata-ai/mcp/mcp-clients/claude-code.md234. **Netdata MCP API key** - required when `[web].bearer token protection = yes`. When bearer protection is disabled, itCODE
HIGHdocs/netdata-ai/mcp/mcp-clients/claude-code.md148- `NETDATA_MCP_API_KEY` - Your [Netdata MCP API key](/docs/netdata-ai/mcp/README.md#finding-your-api-key)CODE
HIGHdocs/netdata-ai/mcp/mcp-clients/vs-code.md43 Each Netdata Agent or Parent has its own unique API key for MCP - [Find your Netdata MCP API key](/docs/netdata-ai/mcCODE
HIGHdocs/netdata-ai/mcp/mcp-clients/cursor.md27 Each Netdata Agent or Parent has its own unique API key for MCP - [Find your Netdata MCP API key](/docs/netdata-ai/mcCODE
HIGHdocs/netdata-ai/mcp/mcp-clients/codex-cli.md244. **Netdata MCP API key** - required when `[web].bearer token protection = yes`. When bearer protection is disabled, itCODE
HIGHdocs/netdata-ai/mcp/mcp-clients/codex-cli.md188- `NETDATA_MCP_API_KEY` - Your [Netdata MCP API key](/docs/netdata-ai/mcp/README.md#finding-your-api-key)CODE
HIGHdocs/netdata-ai/mcp/mcp-clients/jetbrains-ides.md42 Each Netdata Agent or Parent has its own unique API key for MCP - [Find your Netdata MCP API key](/docs/netdata-ai/mcCODE
HIGHdocs/netdata-ai/mcp/mcp-clients/jetbrains-ides.md156- `NETDATA_MCP_API_KEY` - Your [Netdata MCP API key](/docs/netdata-ai/mcp/README.md#finding-your-api-key)CODE
HIGHdocs/netdata-ai/mcp/mcp-clients/crush.md234. **Netdata MCP API key** - required when `[web].bearer token protection = yes`. When bearer protection is disabled, itCODE
HIGHdocs/netdata-ai/mcp/mcp-clients/crush.md255- `NETDATA_MCP_API_KEY` - Your [Netdata MCP API key](/docs/netdata-ai/mcp/README.md#finding-your-api-key)CODE
HIGHdocs/netdata-ai/mcp/mcp-clients/gemini-cli.md234. **Netdata MCP API key** - required when `[web].bearer token protection = yes`. When bearer protection is disabled, itCODE
HIGHdocs/netdata-ai/mcp/mcp-clients/gemini-cli.md248- `NETDATA_MCP_API_KEY` - Your [Netdata MCP API key](/docs/netdata-ai/mcp/README.md#finding-your-api-key)CODE
HIGHdocs/netdata-ai/mcp/mcp-clients/opencode.md254. **Netdata MCP API key** - required when `[web].bearer token protection = yes`. When bearer protection is disabled, itCODE
HIGHdocs/netdata-ai/mcp/mcp-clients/opencode.md177 "ND_MCP_BEARER_TOKEN": "your-api-key-here"CODE
HIGHdocs/netdata-ai/mcp/mcp-clients/opencode.md203- `ND_MCP_BEARER_TOKEN` - Export with your [Netdata MCP API key](/docs/netdata-ai/mcp/README.md#finding-your-api-key) beCODE
HIGHdocs/netdata-ai/mcp/mcp-clients/claude-desktop.md30 Each Netdata Agent or Parent has its own unique API key for MCP - [Find your Netdata MCP API key](/docs/netdata-ai/mcCODE
HIGHdocs/netdata-ai/mcp/mcp-clients/claude-desktop.md174- `NETDATA_MCP_API_KEY` - Your [Netdata MCP API key](/docs/netdata-ai/mcp/README.md#finding-your-api-key)CODE
HIGHsrc/go/plugin/go.d/collector/dnsdist/metadata.yaml174 X-API-Key: your-api-key # static pre-shared authentication key for access to the REST API (api-keyCODE
HIGHsrc/go/plugin/go.d/collector/dnsdist/metadata.yaml185 X-API-Key: 'your-api-key' # static pre-shared authentication key for access to the REST API (api-kCODE
HIGHsrc/go/plugin/go.d/collector/dnsdist/metadata.yaml190 X-API-Key: 'your-api-key'CODE
HIGHsrc/go/plugin/go.d/collector/dnsdist/README.md157 X-API-Key: your-api-key # static pre-shared authentication key for access to the REST API (api-key).CODE
HIGHsrc/go/plugin/go.d/collector/dnsdist/README.md176 X-API-Key: 'your-api-key' # static pre-shared authentication key for access to the REST API (api-key).CODE
HIGHsrc/go/plugin/go.d/collector/dnsdist/README.md181 X-API-Key: 'your-api-key'CODE
HIGH…/plugin/go.d/collector/dnsdist/integrations/dnsdist.md157 X-API-Key: your-api-key # static pre-shared authentication key for access to the REST API (api-key).CODE
HIGH…/plugin/go.d/collector/dnsdist/integrations/dnsdist.md176 X-API-Key: 'your-api-key' # static pre-shared authentication key for access to the REST API (api-key).CODE
HIGH…/plugin/go.d/collector/dnsdist/integrations/dnsdist.md181 X-API-Key: 'your-api-key'CODE
HIGHsrc/web/mcp/README.md47 "YOUR_API_KEY",CODE
HIGH⚡src/web/mcp/README.md78 --header "Authorization: Bearer YOUR_API_KEY"CODE
HIGH⚡src/web/mcp/README.md86 --header "Authorization: Bearer YOUR_API_KEY"CODE
HIGH⚡src/web/mcp/README.md95`YOUR_API_KEY` is the API key that allows the AI assistant to access sensitive functions like logs and live system inforCODE
HIGHsrc/web/mcp/README.md146claude mcp add netdata /usr/bin/nd-mcp --bearer YOUR_API_KEY ws://IP_OF_YOUR_NETDATA:19999/mcpCODE
HIGHsrc/web/mcp/README.md369 "YOUR_API_KEY",CODE
HIGHsrc/web/mcp/README.md377 "YOUR_API_KEY",CODE
Empty Error Handlers42 hits · 210 pts
SeverityFileLineSnippetContext
HIGHpackaging/tools/automation/mcp/tests/test_streams.py208except asyncio.CancelledError:CODE
HIGHpackaging/tools/automation/mcp/netdata_mcp/run.py316except Exception:CODE
HIGHpackaging/tools/automation/mcp/netdata_mcp/runner.py87except (ProcessLookupError, PermissionError):CODE
HIGHpackaging/tools/automation/mcp/netdata_mcp/runner.py118except (asyncio.TimeoutError, asyncio.CancelledError):CODE
HIGHpackaging/tools/automation/mcp/netdata_mcp/runner.py208except (asyncio.TimeoutError, asyncio.CancelledError, ProcessLookupError):CODE
HIGHpackaging/tools/automation/mcp/netdata_mcp/streams.py187except BaseException:CODE
HIGHpackaging/tools/automation/mcp/netdata_mcp/streams.py202except BaseException:CODE
HIGHpackaging/tools/automation/mcp/netdata_mcp/jobs.py117except OSError:CODE
HIGH…ng/tools/automation/mcp/netdata_mcp/tools/agent_mcp.py64except (ValueError, TypeError):CODE
HIGHpackaging/dem-runtime/bundle.py244except subprocess.CalledProcessError:CODE
HIGHpackaging/installer/tests/test_prepare_fleet.py219except PermissionError:CODE
HIGHpackaging/makeself/prepare-fleet.py614except FileNotFoundError:CODE
HIGHtests/nd-run/test_process_tree.py405except BrokenPipeError:CODE
HIGHintegrations/gen_docs_integrations.py643except FileNotFoundError:CODE
HIGHintegrations/gen_docs_integrations.py589except KeyError:CODE
HIGHintegrations/tests/test_descriptions.py563except (SyntaxError, ValueError):CODE
HIGH…/python.d.plugin/python_modules/pyyaml3/representer.py113except TypeError:CODE
HIGH…n/python_modules/bases/FrameworkServices/UrlService.py11except AttributeError:CODE
HIGH…python.d.plugin/python_modules/third_party/filelock.py349except OSError:CODE
HIGH…python.d.plugin/python_modules/third_party/filelock.py370except OSError:CODE
HIGH…python.d.plugin/python_modules/third_party/filelock.py417except (IOError, OSError):CODE
HIGH…python.d.plugin/python_modules/third_party/filelock.py430except OSError:CODE
HIGH…ctors/python.d.plugin/python_modules/urllib3/fields.py40except (UnicodeEncodeError, UnicodeDecodeError):CODE
HIGH…/python.d.plugin/python_modules/urllib3/poolmanager.py296except KeyError:CODE
HIGH…python.d.plugin/python_modules/urllib3/_collections.py211except KeyError:CODE
HIGH…thon.d.plugin/python_modules/urllib3/connectionpool.py270except AttributeError:CODE
HIGH…thon.d.plugin/python_modules/urllib3/connectionpool.py423except queue.Empty:CODE
HIGH…thon.d.plugin/python_modules/urllib3/util/selectors.py420except SelectorError:CODE
HIGH…thon.d.plugin/python_modules/urllib3/util/selectors.py499except SelectorError:CODE
HIGH…thon.d.plugin/python_modules/urllib3/util/selectors.py507except SelectorError:CODE
HIGH…ython.d.plugin/python_modules/urllib3/util/response.py20except AttributeError:CODE
HIGH…ython.d.plugin/python_modules/urllib3/util/response.py26except AttributeError:CODE
HIGH…ython.d.plugin/python_modules/urllib3/util/response.py33except AttributeError:CODE
HIGH…rs/python.d.plugin/python_modules/urllib3/util/ssl_.py47except ImportError:CODE
HIGH…hon.d.plugin/python_modules/urllib3/util/connection.py123except Exception:CODE
HIGH…n.d.plugin/python_modules/urllib3/contrib/pyopenssl.py92except AttributeError:CODE
HIGH…plugin/python_modules/urllib3/packages/ordered_dict.py13except ImportError:CODE
HIGH…plugin/python_modules/urllib3/packages/ordered_dict.py88except AttributeError:CODE
HIGH…python.d.plugin/python_modules/urllib3/packages/six.py82except AttributeError:CODE
HIGH…python.d.plugin/python_modules/urllib3/packages/six.py183except KeyError:CODE
HIGHsrc/go/plugin/scripts.d/tests/native_health.py165except (OSError, ValueError):CODE
HIGHsrc/web/mcp/bridges/stdio-python/nd-mcp.py281except:CODE
Unused Imports165 hits · 162 pts
SeverityFileLineSnippetContext
LOWpackaging/tools/automation/mcp/tests/test_journal.py5CODE
LOWpackaging/tools/automation/mcp/tests/test_otel_files.py5CODE
LOW…ools/automation/mcp/tests/test_web_port_clash_tools.py4CODE
LOWpackaging/tools/automation/mcp/tests/test_logs.py4CODE
LOW…ckaging/tools/automation/mcp/tests/test_mint_bearer.py6CODE
LOW…ckaging/tools/automation/mcp/tests/test_agents_tool.py3CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/agentfn.py14CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/run.py12CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/runner.py8CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/server.py26CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/streams.py19CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/journal.py15CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/locks.py14CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/runtime.py8CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/agents.py12CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/bearer.py30CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/jobs.py12CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/agentmcp.py16CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/buildcfg.py10CODE
LOW…kaging/tools/automation/mcp/netdata_mcp/agent_tools.py10CODE
LOW…kaging/tools/automation/mcp/netdata_mcp/tools/build.py3CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/tools/run.py3CODE
LOW…ng/tools/automation/mcp/netdata_mcp/tools/otel_push.py12CODE
LOW…ng/tools/automation/mcp/netdata_mcp/tools/configure.py3CODE
LOW…aging/tools/automation/mcp/netdata_mcp/tools/models.py3CODE
LOW…ging/tools/automation/mcp/netdata_mcp/tools/_common.py3CODE
LOW…ing/tools/automation/mcp/netdata_mcp/tools/vendored.py17CODE
LOW…ng/tools/automation/mcp/netdata_mcp/tools/otel_logs.py22CODE
LOW…aging/tools/automation/mcp/netdata_mcp/tools/agents.py3CODE
LOW…ckaging/tools/automation/mcp/netdata_mcp/tools/logs.py3CODE
LOW…/tools/automation/mcp/netdata_mcp/tools/otel_config.py10CODE
LOW…ng/tools/automation/mcp/netdata_mcp/tools/agent_mcp.py15CODE
LOW…/tools/automation/mcp/netdata_mcp/tools/job_control.py7CODE
LOW…g/tools/automation/mcp/netdata_mcp/tools/otel_files.py16CODE
LOW…/tools/automation/mcp/netdata_mcp/tools/mint_bearer.py21CODE
LOW…/tools/automation/mcp/netdata_mcp/tools/otel_stream.py10CODE
LOWpackaging/tools/automation/mcp/scripts/setup_mcp.py30CODE
LOWpackaging/windows/fetch-msys2-installer.py5CODE
LOW…ectors-prometheus-profiles/scripts/test_profile_toc.py4CODE
LOW…s-prometheus-profiles/scripts/test_validate_profile.py4CODE
LOW…ctors-prometheus-profiles/scripts/test_proof_bundle.py4CODE
LOW…ctors-prometheus-profiles/scripts/_go_tool_launcher.py3CODE
LOW…collectors-prometheus-profiles/scripts/proof-bundle.py4CODE
LOW…ectors-prometheus-profiles/scripts/validate-profile.py4CODE
LOW…/collectors-prometheus-profiles/scripts/profile-toc.py8CODE
LOWintegrations/health_alerts.py11CODE
LOWintegrations/gen_doc_collector_page.py12CODE
LOWintegrations/gen_doc_service_discovery_page.py11CODE
LOWintegrations/gen_doc_secrets_page.py10CODE
LOWintegrations/descriptions.py4CODE
LOW.github/scripts/netdata-pkgcloud-cleanup.py5CODE
LOW.github/scripts/netdata-pkgcloud-cleanup.py5CODE
LOW.github/scripts/netdata-pkgcloud-cleanup.py9CODE
LOW.github/scripts/normalize-go-test-json.py11CODE
LOW.github/scripts/gen-docker-tags.py3CODE
LOW…tors/python.d.plugin/python_modules/pyyaml3/scanner.py31CODE
LOW…/python.d.plugin/python_modules/pyyaml3/constructor.py6CODE
LOW…/python.d.plugin/python_modules/pyyaml3/constructor.py7CODE
LOW…ors/python.d.plugin/python_modules/pyyaml3/composer.py6CODE
LOW…ors/python.d.plugin/python_modules/pyyaml3/composer.py7CODE
105 more matches not shown…
Cross-Language Confusion21 hits · 139 pts
SeverityFileLineSnippetContext
HIGHpackaging/tools/automation/mcp/tests/test_runtime.py474 "receivers: {otlp: {protocols: {grpc: 1, http: null}}}\n",CODE
HIGH⚡packaging/tools/automation/mcp/tests/test_models.py84 # a disabled OTLP/HTTP listener reports null, not ""COMMENT
HIGH…kaging/tools/automation/mcp/netdata_mcp/agent_tools.py709 "description": "Select the alert statuses of interest. At least one status must be selected.\n - CRICODE
HIGH…kaging/tools/automation/mcp/netdata_mcp/agent_tools.py966 "description": "List all alerts including cleared, undefined, and uninitialized alerts across all nodes",CODE
HIGHpackaging/installer/tests/test_snmp_diagnostics.py65$RuntimeSecs = 0; $NetdataProc = $null; $ApiOk = $falseCODE
HIGHtests/system-info-windows-test.py137 assert(cp == CP_UTF8 && flags == 0 && src_len == -1 && !def && !used);CODE
HIGHtests/system-info-windows-test.py158 assert(opened == 2 && closed == 2);CODE
HIGHtests/system-info-windows-test.py169 assert(si.writes == 1 && closed == before + 1);CODE
HIGH⚡tests/system-info-windows-test.py193 assert(opened == 2 && closed == 2);CODE
HIGH⚡tests/system-info-windows-test.py194 assert(si.detection_writes == 1 && environment_writes == 1);CODE
HIGH⚡tests/system-info-windows-test.py200 assert(opened == 4 && closed == 3);CODE
HIGH⚡tests/system-info-windows-test.py201 assert(si.detection_writes == 2 && environment_writes == 2);CODE
HIGH⚡tests/system-info-windows-test.py205 assert(opened == 6 && closed == 5);CODE
HIGH⚡tests/system-info-windows-test.py206 assert(si.detection_writes == 3 && environment_writes == 3);CODE
HIGH⚡tests/system-info-windows-test.py213 assert(opened == 6 && closed == 5);CODE
HIGH⚡tests/system-info-windows-test.py214 assert(si.detection_writes == 4 && environment_writes == 4);CODE
HIGH⚡tests/system-info-windows-test.py218 assert(si.detection_writes == 4 && environment_writes == 4);CODE
HIGHtests/system-info-windows-test.py244 assert(netdata_win_default_network(&iface, &ip) == -1 && !iface && !ip && adapter_calls == 3);CODE
HIGH…ts/skill-verification/query-snmp-traps/test_recipes.py73 '{"status":200}', '{"status":200,"columns":{},"data":null}']:CODE
HIGH⚡.agents/skills/triage-codacy/tests/test_helpers.py129before="$(declare -p CODACY_TOKEN CODACY_HOST CODACY_PROVIDER CODACY_ORG CODACY_REPO 2>/dev/null || true)"CODE
HIGH⚡.agents/skills/triage-codacy/tests/test_helpers.py133after="$(declare -p CODACY_TOKEN CODACY_HOST CODACY_PROVIDER CODACY_ORG CODACY_REPO 2>/dev/null || true)"CODE
Structural Annotation Overuse70 hits · 131 pts
SeverityFileLineSnippetContext
LOW⚡packaging/windows/WINDOWS_INSTALLER.md174### Step 1: Download the MSICOMMENT
LOW⚡packaging/windows/WINDOWS_INSTALLER.md178### Step 2: Transfer to the Offline SystemCOMMENT
LOW⚡packaging/windows/WINDOWS_INSTALLER.md182### Step 3: Install Without Cloud ParametersCOMMENT
LOW⚡packaging/installer/methods/packages.md238# Step 1: Download the repository configuration packageCOMMENT
LOW⚡packaging/installer/methods/packages.md241# Step 2: Install the repository configurationCOMMENT
LOW⚡packaging/installer/methods/packages.md244# Step 3: Update package listsCOMMENT
LOW⚡packaging/installer/methods/packages.md247# Step 4: Install NetdataCOMMENT
LOW⚡packaging/installer/methods/packages.md250# Step 5: Start and enable Netdata serviceCOMMENT
LOW⚡packaging/installer/methods/packages.md253# Step 6: Verify installationCOMMENT
LOWpackaging/installer/methods/offline.md25## Step 1: Prepare the Offline Installation PackageCOMMENT
LOWpackaging/installer/methods/offline.md68## Step 2: Transfer to Offline SystemCOMMENT
LOW.agents/skills/triage-coverity/scripts/fetch-table.sh48 # Step 1: set server-side page state.COMMENT
LOW.agents/skills/triage-coverity/scripts/fetch-table.sh65 # Step 2: fetch the now-current page.COMMENT
LOWdocs/NIDL-Framework.md258#### Step 1: Identify Key Components and CharacteristicsCOMMENT
LOWdocs/NIDL-Framework.md277#### Step 2: Organize into FamiliesCOMMENT
LOWdocs/NIDL-Framework.md310#### Step 3: Validate Metric Belonging and Instance ConsistencyCOMMENT
LOWdocs/NIDL-Framework.md328#### Step 4: Group Metrics into ContextsCOMMENT
LOWdocs/NIDL-Framework.md362#### Step 5: Validate Context DesignCOMMENT
LOWdocs/NIDL-Framework.md372#### Step 6: Handle Edge CasesCOMMENT
LOWdocs/learn/unclaim-reclaim-node.md40## Step 1: Unclaim from Current SpaceCOMMENT
LOWdocs/learn/unclaim-reclaim-node.md61## Step 2: Reclaim to New SpaceCOMMENT
LOW⚡docs/delete/netdata/account.md11### Step 1: Access Your Profile SettingsCOMMENT
LOW⚡docs/delete/netdata/account.md15### Step 2: Open SettingsCOMMENT
LOW⚡docs/delete/netdata/account.md21### Step 3: Locate the Delete Account OptionCOMMENT
LOW⚡docs/delete/netdata/account.md25### Step 4: Confirm Account DeletionCOMMENT
LOWdocs/delete/netdata/account.md37### Step 5: Final ConfirmationCOMMENT
LOWdocs/netdata-ai/mcp/mcp-clients/vs-code.md121##### Step 1: Add Claude ModelCOMMENT
LOWdocs/netdata-ai/mcp/mcp-clients/vs-code.md131##### Step 2: Add Netdata MCP ServerCOMMENT
LOWdocs/npm/snmp-traps/quick-start.md24## Step 1 - Create a local test listenerCOMMENT
LOWdocs/npm/snmp-traps/quick-start.md78## Step 2 - Send one known trapCOMMENT
LOWdocs/npm/snmp-traps/quick-start.md96## Step 3 - Find the trap in LogsCOMMENT
LOWdocs/npm/snmp-traps/quick-start.md110## Step 4 - Confirm receiver metrics movedCOMMENT
LOWdocs/npm/snmp-traps/quick-start.md123## Step 5 - If it does not appearCOMMENT
LOWsrc/crates/sfsq/src/logs/engine.rs235 // Step 1: evaluate every source into a shard (see `LogSource::to_shard`)COMMENT
LOWsrc/crates/sfsq/src/logs/engine.rs264 // Step 2: paginate across every source under the unified cursorCOMMENT
LOWsrc/crates/jf/journal_file/src/writer.rs513 // Step 1: Create and write to the journalCOMMENT
LOWsrc/crates/jf/journal_file/src/writer.rs549 // Step 2: Read back and verify the journal contentsCOMMENT
LOWsrc/crates/jf/journal_file/src/writer.rs620 // Step 3: Test filtering by specific fieldsCOMMENT
LOWsrc/collectors/apps.plugin/apps_os_windows.c526 // Step 1: Convert ANSI string (LPSTR) to wide string (UTF-16)COMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go17 // Step 1: Resolve full symlink pathCOMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go23 // Step 2: Resolve to absolute pathCOMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go29 // Step 3: Stat the resolved fileCOMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go35 // Step 4: Check that it is a regular fileCOMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go40 // Step 5: Check file ownership and permissionsCOMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go54 // Step 6: Check executable bitCOMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go59 // Step 7: Check all ancestor directories up to and including rootCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/channel_commands.go233 // Step 1: Enhanced Discovery (with channel types)COMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/channel_commands.go239 // Step 2: Filtering (including template filtering)COMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/channel_commands.go242 // Step 3: Enrichment (now pass channel info with types)COMMENT
LOWsrc/go/plugin/ibm.d/protocols/pcf/listener_commands.go155 // Step 1: Discovery - get all listener namesCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/listener_commands.go199 // Step 2: Smart filtering decisionCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/listener_commands.go207 // Step 3: Apply filteringCOMMENT
LOWsrc/go/plugin/ibm.d/protocols/pcf/listener_commands.go248 // Step 4: Enrich selected listenersCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/topic_commands.go116 // Step 1: DiscoveryCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/topic_commands.go122 // Step 2: FilteringCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/topic_commands.go125 // Step 3: EnrichmentCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/queue_commands.go102 // Step 1: DiscoveryCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/queue_commands.go108 // Step 2: FilteringCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/queue_commands.go111 // Step 3: EnrichmentCOMMENT
LOWsrc/go/plugin/ibm.d/protocols/pcf/statistics_queue.go78// NOTE: This function is partially implemented for when MQGET operations become availableCOMMENT
10 more matches not shown…
Deep Nesting136 hits · 124 pts
SeverityFileLineSnippetContext
LOWpackaging/dag/nd.py83CODE
LOWpackaging/dem-runtime/locked.py25CODE
LOWpackaging/dem-runtime/locked.py79CODE
LOWpackaging/dem-runtime/bundle.py159CODE
LOWpackaging/dem-runtime/test_delivery.py22CODE
LOWpackaging/dem-runtime/test_delivery.py117CODE
LOWpackaging/dem-runtime/test_delivery.py159CODE
LOWpackaging/dem-runtime/test_locked.py22CODE
LOWpackaging/dem-runtime/test_locked.py108CODE
LOWpackaging/dem-runtime/test_bundle.py41CODE
LOWpackaging/installer/tests/test_prepare_fleet.py402CODE
LOWpackaging/installer/tests/test_prepare_fleet.py427CODE
LOWpackaging/installer/tests/test_prepare_fleet.py450CODE
LOWpackaging/installer/tests/test_prepare_fleet.py520CODE
LOWpackaging/installer/tests/test_prepare_fleet.py663CODE
LOWpackaging/installer/tests/test_snmp_diagnostics.py223CODE
LOWpackaging/makeself/prepare-fleet.py166CODE
LOWpackaging/makeself/prepare-fleet.py458CODE
LOWpackaging/makeself/prepare-fleet.py564CODE
LOWtests/nd-run/test_nd_run.py84CODE
LOWtests/nd-run/test_nd_run.py296CODE
LOWtests/nd-run/test_process_tree.py184CODE
LOWtests/nd-run/test_process_tree.py302CODE
LOWtests/api/fuzzer.py61CODE
LOWtests/api/fuzzer.py269CODE
LOWtests/api/fuzzer.py160CODE
LOWtests/api/fuzzer.py221CODE
LOWtests/weights-limit/weights-openapi-test.py39CODE
LOW…ts/skill-verification/query-snmp-traps/test_recipes.py17CODE
LOW…ts/skill-verification/query-snmp-traps/test_recipes.py61CODE
LOW…ls/docs-learn-pr-preview/tests/test_snapshot_source.py103CODE
LOW…ls/docs-learn-pr-preview/tests/test_snapshot_source.py252CODE
LOW…kills/docs-learn-pr-preview/scripts/snapshot-source.py93CODE
LOW…kills/docs-learn-pr-preview/scripts/snapshot-source.py116CODE
LOW…kills/docs-learn-pr-preview/scripts/snapshot-source.py161CODE
LOW…/collectors-prometheus-profiles/scripts/profile-toc.py150CODE
LOW…i/skills/query-netdata-agents/scripts/test_wrappers.py107CODE
LOWintegrations/health_alerts.py162CODE
LOWintegrations/health_alerts.py362CODE
LOWintegrations/gen_docs_integrations.py204CODE
LOWintegrations/gen_docs_integrations.py252CODE
LOWintegrations/gen_docs_integrations.py561CODE
LOWintegrations/gen_docs_integrations.py709CODE
LOWintegrations/check_collector_metadata.py12CODE
LOWintegrations/gen_doc_collector_page.py186CODE
LOWintegrations/gen_doc_collector_page.py253CODE
LOWintegrations/gen_doc_collector_page.py265CODE
LOWintegrations/gen_taxonomy.py556CODE
LOWintegrations/gen_integrations.py755CODE
LOWintegrations/gen_integrations.py952CODE
LOWintegrations/gen_integrations.py994CODE
LOWintegrations/gen_integrations.py1037CODE
LOWintegrations/gen_integrations.py1079CODE
LOWintegrations/gen_integrations.py1126CODE
LOWintegrations/gen_integrations.py1173CODE
LOWintegrations/gen_integrations.py1215CODE
LOWintegrations/gen_integrations.py1258CODE
LOWintegrations/gen_integrations.py1309CODE
LOWintegrations/_common.py121CODE
LOWintegrations/context_owners.py62CODE
76 more matches not shown…
Excessive Try-Catch Wrapping74 hits · 97 pts
SeverityFileLineSnippetContext
LOW⚡packaging/tools/automation/mcp/netdata_mcp/agentfn.py55 except Exception as exc:CODE
LOW⚡packaging/tools/automation/mcp/netdata_mcp/agentfn.py61 except Exception as read_exc:CODE
LOW⚡packaging/tools/automation/mcp/netdata_mcp/agentfn.py65 except Exception as exc: # connection refused, timeout, etc.CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/run.py193 except Exception as exc: # surface, never crash the serverCODE
LOWpackaging/tools/automation/mcp/netdata_mcp/run.py302 except Exception as exc: # keep the timeout diagnostic in run.errorCODE
LOWpackaging/tools/automation/mcp/netdata_mcp/run.py316 except Exception:CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/streams.py205 except Exception as exc: # spawn failure (e.g. cargo not found)CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/streams.py274 except Exception as exc: # surface, never crash the serverCODE
LOWpackaging/tools/automation/mcp/netdata_mcp/runtime.py590 except Exception:CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/bearer.py140 except Exception as exc:CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/bearer.py161 except Exception:CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/bearer.py164 except Exception as exc:CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/jobs.py150 except Exception as exc: # surface, do not crash the serverCODE
LOWpackaging/tools/automation/mcp/netdata_mcp/agentmcp.py71 except Exception as exc: # unreachable agent, handshake failure, etc.CODE
LOWpackaging/tools/automation/mcp/scripts/setup_mcp.py250 except Exception as exc: # one tool's failure must not abort the othersCODE
LOWtests/api/fuzzer.py41 except Exception as e:CODE
LOWtests/api/fuzzer.py200 except Exception as e:CODE
LOWtests/api/fuzzer.py218 except Exception as e:CODE
MEDIUMtests/api/fuzzer.py33def build_url(host_maybe_scheme, base_path):CODE
LOWdocs/.map/validate_map_schema.py78 except Exception:CODE
LOWdocs/.map/validate_map_schema.py258 except Exception as e:CODE
MEDIUM⚡integrations/gen_docs_integrations.py727 print(f"Error: {error}", file=sys.stderr)CODE
MEDIUM⚡integrations/gen_docs_integrations.py733 print(f"Error: {error}", file=sys.stderr)CODE
MEDIUM⚡integrations/gen_docs_integrations.py738 print(f"Error: no matching collector found for: {args.collector}", file=sys.stderr)CODE
MEDIUM⚡integrations/gen_docs_integrations.py741 print("Error: generated integrations input contains no documentation records", file=sys.stderr)CODE
LOWintegrations/gen_docs_integrations.py533 except Exception as e:CODE
MEDIUMintegrations/gen_integrations.py1475 print(f'Error: {error}', file=sys.stderr)CODE
LOWintegrations/gen_npm_catalog.py206 except Exception:CODE
LOW.github/scripts/netdata-pkgcloud-cleanup.py170 except Exception as e:CODE
LOW.github/scripts/modules/version_manipulation.py47 except Exception as e:CODE
LOW.github/scripts/modules/version_manipulation.py120 except Exception as e:CODE
LOW⚡.github/scripts/modules/github_actions.py11 except Exception as e:CODE
MEDIUM⚡.github/scripts/modules/github_actions.py12 print(f"Error updating GITHUB_ENV. Error: {e}")CODE
LOW⚡.github/scripts/modules/github_actions.py22 except Exception as e:CODE
MEDIUM⚡.github/scripts/modules/github_actions.py23 print(f"Error updating GITHUB_OUTPUT. Error: {e}")CODE
MEDIUM.github/scripts/modules/github_actions.py4def update_github_env(key, value):CODE
MEDIUM.github/scripts/modules/github_actions.py15def update_github_output(key, value):CODE
LOW…ors/python.d.plugin/python_modules/bases/collection.py42 except Exception:CODE
MEDIUM…ors/python.d.plugin/python_modules/bases/collection.py39def wrapper(*args, **kwargs):CODE
LOW…n/python_modules/bases/FrameworkServices/UrlService.py103 except Exception as error:CODE
LOW…n/python_modules/bases/FrameworkServices/UrlService.py166 except Exception as error:CODE
LOW…n_modules/bases/FrameworkServices/ExecutableService.py27 except Exception as error:CODE
LOW…n_modules/bases/FrameworkServices/ExecutableService.py81 except Exception as error:CODE
LOW…ython_modules/bases/FrameworkServices/SimpleService.py200 except Exception as error:CODE
LOW…ython_modules/bases/FrameworkServices/SocketService.py177 except Exception as error:CODE
LOW…ython_modules/bases/FrameworkServices/SocketService.py192 except Exception as error:CODE
LOW…ython_modules/bases/FrameworkServices/SocketService.py209 except Exception as error:CODE
LOW…ython_modules/bases/FrameworkServices/SocketService.py230 except Exception as error:CODE
LOW…python_modules/bases/FrameworkServices/MySQLService.py113 except Exception as error:CODE
MEDIUM…python_modules/bases/FrameworkServices/MySQLService.py32def __connect(self):CODE
LOW…ython.d.plugin/python_modules/third_party/monotonic.py200 except Exception as e:CODE
LOW…thon.d.plugin/python_modules/urllib3/connectionpool.py384 except Exception as e:CODE
LOW…hon.d.plugin/python_modules/urllib3/util/connection.py123 except Exception:CODE
LOW…ugin/python_modules/urllib3/contrib/securetransport.py230 except Exception as e:CODE
LOW…ugin/python_modules/urllib3/contrib/securetransport.py280 except Exception as e:CODE
LOW…_modules/urllib3/contrib/_securetransport/low_level.py144 except Exception:CODE
LOWsrc/go/tools/functions-validation/e2e/mssql.sh45except Exception:CODE
LOWsrc/go/tools/functions-validation/e2e/mssql.sh65except Exception:CODE
LOWsrc/go/tools/functions-validation/e2e/mssql.sh1101 except Exception:CODE
LOWsrc/go/tools/functions-validation/e2e/mssql.sh1154 except Exception:CODE
14 more matches not shown…
AI Slop Vocabulary24 hits · 67 pts
SeverityFileLineSnippetContext
MEDIUMpackaging/tools/automation/mcp/tests/test_runtime.py408 # base_dir, both endpoint addresses and the HTTP enabled flag are harnessCOMMENT
MEDIUMpackaging/tools/automation/mcp/tests/test_runtime.py434 # Endpoints and the HTTP enabled flag are re-pinned to the harness values.COMMENT
MEDIUMpackaging/tools/automation/mcp/netdata_mcp/runtime.py150 # Route logs so the harness can read them back. On journald hosts use theCOMMENT
MEDIUMpackaging/tools/automation/mcp/netdata_mcp/runtime.py229 # listener's enabled flag stay pinned (the harness' per-agent isolationCOMMENT
MEDIUMpackaging/tools/automation/mcp/netdata_mcp/runtime.py368 # harness invariants (per-agent isolation; the reported OTLP endpoints; noCOMMENT
LOWpackaging/tools/automation/mcp/netdata_mcp/agentmcp.py62 # 30s general / 300s SSE-read timeouts — and just add the Authorization header.COMMENT
MEDIUMpackaging/installer/install-required-packages.sh1746 # In pacman, you can utilize alternative flags to exactly match package names,COMMENT
MEDIUMtests/manual/spawn-termination-macos.sh53# 3 usage or harness errorCOMMENT
MEDIUMtests/manual/spawn-termination-macos.sh89# defect the agent fix is about - SIG_IGN surviving exec - showing up in the harness built to testCOMMENT
MEDIUMtests/manual/spawn-termination-macos.sh160# Test-only hook: overrides the streaming command so this harness can be exercised on aCOMMENT
MEDIUMtests/manual/spawn-termination-macos.sh213# died-sigpipe | survived | self-exited:<rc> | harness-error.COMMENT
MEDIUMsrc/crates/sfst/src/trace_bloom.rs209 // asserted loosely (< 2x target) to stay robust across crate versions.COMMENT
MEDIUMsrc/crates/netflow-plugin/src/startup_memory_tests.rs57#[ignore = "manual production-data startup profiling harness"]COMMENT
MEDIUMsrc/crates/netflow-plugin/src/startup_memory_tests.rs67#[ignore = "manual production-data startup profiling harness with multi-thread tokio runtime"]COMMENT
MEDIUMsrc/crates/netflow-plugin/src/memory_tests.rs68#[ignore = "manual memory profiling harness"]COMMENT
MEDIUMsrc/crates/netflow-plugin/src/memory_tests.rs102#[ignore = "manual memory profiling harness"]COMMENT
MEDIUMsrc/crates/netflow-plugin/src/memory_tests.rs131#[ignore = "manual memory profiling harness"]COMMENT
MEDIUMsrc/crates/netflow-plugin/src/memory_tests.rs160#[ignore = "manual memory profiling harness"]COMMENT
LOW…python.d.plugin/python_modules/third_party/filelock.py110# If we would simply return *self*, the lock would be acquired againCOMMENT
MEDIUM…thon.d.plugin/python_modules/urllib3/util/selectors.py573 """ This function serves as a first call for DefaultSelector toSTRING
MEDIUM…ugin/python_modules/urllib3/contrib/securetransport.py734 # trouble. Essentially we need to enumerate all of the SSL options thatCOMMENT
MEDIUM…go.d/snmp.profiles/default/_std-topology-lldp-mib.yaml1# Topology-focused LLDP profile for robust multi-vendor discovery.COMMENT
MEDIUMsrc/web/mcp/mcp-tools-execute-function-unittest.c169 // prompt (no data query), keeping the control robust.COMMENT
MEDIUMsrc/daemon/status-file-dmi.c1306// Parse all SMBIOS structures with robust error handlingCOMMENT
Self-Referential Comments22 hits · 65 pts
SeverityFileLineSnippetContext
MEDIUM…ills/repo-mirror-sources/scripts/sync-netdata-repos.sh124 # This file is updated on commits, pulls, etc.COMMENT
MEDIUM.github/workflows/build.yml971 create-nightly: # Create a nightly build release in netdata/netdata-nightliesCODE
MEDIUM.github/workflows/build.yml1157 upload-release: # Create the draft release and upload the build artifacts.CODE
MEDIUM.github/scripts/check_latest_versions.py15 # Create a temp output folder for the release that need updateCOMMENT
MEDIUM.github/scripts/functions.sh3# This file is included by download.sh & build.shCOMMENT
MEDIUMsrc/crates/netflow-plugin/configs/netflow.yaml3# This file is loaded by netflow-plugin when running under Netdata from:COMMENT
MEDIUM…llectors/log2journal/tests.d/error-invalid-syntax.yaml1# This file contains invalid YAML syntax to test error handlingCOMMENT
MEDIUM…ctors/python.d.plugin/python_modules/pyyaml3/reader.py2# This module contains abstractions for the input stream. You don't have toCOMMENT
MEDIUM…ors/python.d.plugin/python_modules/urllib3/response.py511 # This method is required for `io` module compatibility.COMMENT
MEDIUM…ors/python.d.plugin/python_modules/urllib3/response.py515 # This method is required for `io` module compatibility.COMMENT
MEDIUM…hon.d.plugin/python_modules/urllib3/util/connection.py33# This function is copied from socket.py in the Python 2.7 standardCOMMENT
MEDIUM…hon.d.plugin/python_modules/urllib3/util/connection.py98 """This function is designed to work in the context ofSTRING
MEDIUM⚡…md-journal.plugin/systemd-journal-self-signed-certs.sh59# Define a regular expression pattern for a valid canonical nameCOMMENT
MEDIUM⚡…md-journal.plugin/systemd-journal-self-signed-certs.sh69# Create the CACOMMENT
MEDIUM…md-journal.plugin/systemd-journal-self-signed-certs.sh133# Create a server certificateCOMMENT
MEDIUM…md-journal.plugin/systemd-journal-self-signed-certs.sh159# Create a script to install the certificate on each serverCOMMENT
MEDIUM…md-journal.plugin/systemd-journal-self-signed-certs.sh250# Create the client certificatesCOMMENT
MEDIUMsrc/go/plugin/ibm.d/modules/mq/contexts/contexts.yaml2# This file defines all metrics collected by the MQ module using PCF protocolCOMMENT
MEDIUMsrc/web/mcp/bridges/stdio-python/nd-mcp.py32# Create a JSON-RPC error responseCOMMENT
MEDIUMsrc/web/mcp/bridges/stdio-python/nd-mcp.py131 # Create an event for signaling reconnectionCOMMENT
MEDIUMsrc/web/mcp/bridges/stdio-python/nd-mcp.py149 # Create a wait task, but also break on retry_event being setCOMMENT
MEDIUMsrc/libnetdata/log/wevt_netdata_compile.sh19# Create a temporary batch fileCOMMENT
Verbosity Indicators34 hits · 64 pts
SeverityFileLineSnippetContext
LOW.agents/skills/triage-coverity/scripts/fetch-table.sh48 # Step 1: set server-side page state.COMMENT
LOW.agents/skills/triage-coverity/scripts/fetch-table.sh65 # Step 2: fetch the now-current page.COMMENT
LOWsrc/crates/sfsq/src/logs/engine.rs235 // Step 1: evaluate every source into a shard (see `LogSource::to_shard`)COMMENT
LOWsrc/crates/sfsq/src/logs/engine.rs264 // Step 2: paginate across every source under the unified cursorCOMMENT
LOWsrc/crates/jf/journal_file/src/writer.rs513 // Step 1: Create and write to the journalCOMMENT
LOWsrc/crates/jf/journal_file/src/writer.rs549 // Step 2: Read back and verify the journal contentsCOMMENT
LOWsrc/crates/jf/journal_file/src/writer.rs620 // Step 3: Test filtering by specific fieldsCOMMENT
LOWsrc/collectors/apps.plugin/apps_os_windows.c526 // Step 1: Convert ANSI string (LPSTR) to wide string (UTF-16)COMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go17 // Step 1: Resolve full symlink pathCOMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go23 // Step 2: Resolve to absolute pathCOMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go29 // Step 3: Stat the resolved fileCOMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go35 // Step 4: Check that it is a regular fileCOMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go40 // Step 5: Check file ownership and permissionsCOMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go54 // Step 6: Check executable bitCOMMENT
LOW⚡src/go/plugin/go.d/pkg/pathvalidate/validate_unix.go59 // Step 7: Check all ancestor directories up to and including rootCOMMENT
LOWsrc/go/plugin/go.d/pkg/iprange/pool.go129 // If not in a single range, we need to check if the range is coveredCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/channel_commands.go233 // Step 1: Enhanced Discovery (with channel types)COMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/channel_commands.go239 // Step 2: Filtering (including template filtering)COMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/channel_commands.go242 // Step 3: Enrichment (now pass channel info with types)COMMENT
LOWsrc/go/plugin/ibm.d/protocols/pcf/listener_commands.go155 // Step 1: Discovery - get all listener namesCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/listener_commands.go199 // Step 2: Smart filtering decisionCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/listener_commands.go207 // Step 3: Apply filteringCOMMENT
LOWsrc/go/plugin/ibm.d/protocols/pcf/listener_commands.go248 // Step 4: Enrich selected listenersCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/topic_commands.go116 // Step 1: DiscoveryCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/topic_commands.go122 // Step 2: FilteringCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/topic_commands.go125 // Step 3: EnrichmentCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/queue_commands.go102 // Step 1: DiscoveryCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/queue_commands.go108 // Step 2: FilteringCOMMENT
LOW⚡src/go/plugin/ibm.d/protocols/pcf/queue_commands.go111 // Step 3: EnrichmentCOMMENT
LOWsrc/web/websocket/websocket-receive.c576 // Step 1: Parse the frame headerCOMMENT
LOWsrc/web/websocket/websocket-receive.c679 // Step 2: Validate the frame headerCOMMENT
LOWsrc/web/websocket/websocket-receive.c732 // Step 3: Handle the frame based on its opcodeCOMMENT
LOWsrc/web/websocket/websocket-receive.c810 // Step 4: Append payload data to the messageCOMMENT
LOWsrc/web/websocket/websocket-receive.c840 // Step 5: At this point, we know we've processed a complete frameCOMMENT
Fake / Example Data58 hits · 62 pts
SeverityFileLineSnippetContext
LOW⚡integrations/gen_docs_integrations.py210 dummy_id = category_fragment[0]CODE
LOW⚡integrations/gen_docs_integrations.py214 if dummy_id == category["id"]:CODE
LOW⚡integrations/gen_docs_integrations.py217 dummy_id = f"{dummy_id}.{category_fragment[i + 1]}"CODE
LOW⚡src/collectors/ebpf.plugin/ebpf_unittest.c190 char *fake_name = strdupz("I_am_not_here");CODE
LOW⚡src/collectors/ebpf.plugin/ebpf_unittest.c191 if (!fake_name)CODE
LOW⚡src/collectors/ebpf.plugin/ebpf_unittest.c195 test_em.info.thread_name = fake_name;CODE
LOW⚡src/collectors/ebpf.plugin/ebpf_unittest.c199 freez(fake_name);CODE
LOW…ython_modules/bases/FrameworkServices/SimpleService.py83 self.fake_name = NoneCODE
LOW…ython_modules/bases/FrameworkServices/SimpleService.py105 return self.fake_name or self.nameCODE
LOWsrc/go/plugin/go.d/collector/dmcache/collector_test.go228Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/dmcache/collector_test.go228Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/exim/collector_test.go201Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/exim/collector_test.go201Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/gearman/collector_test.go278 resp := []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit.")CODE
LOWsrc/go/plugin/go.d/collector/gearman/collector_test.go278 resp := []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit.")CODE
LOWsrc/go/plugin/go.d/collector/dovecot/collector_test.go251 exportGlobalResponse: []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit."),CODE
LOWsrc/go/plugin/go.d/collector/dovecot/collector_test.go251 exportGlobalResponse: []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit."),CODE
LOWsrc/go/plugin/go.d/collector/ap/collector_test.go283Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/ap/collector_test.go283Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOW…/plugin/go.d/collector/powervault/testdata/system.json13 "system-contact": "admin@example.com",CODE
LOWsrc/go/plugin/go.d/collector/squid/collector_test.go185Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/squid/collector_test.go185Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/hpssa/collector_test.go439Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/hpssa/collector_test.go439Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/zfspool/collector_test.go524Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/zfspool/collector_test.go524Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOW…go/plugin/go.d/collector/adaptecraid/collector_test.go307Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOW…go/plugin/go.d/collector/adaptecraid/collector_test.go307Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/varnish/collector_test.go238Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/varnish/collector_test.go238Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOW…c/go/plugin/go.d/collector/memcached/collector_test.go266 statsResponse: []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit."),CODE
LOW…c/go/plugin/go.d/collector/memcached/collector_test.go266 statsResponse: []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit."),CODE
LOWsrc/go/plugin/go.d/collector/storcli/collector_test.go265Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/storcli/collector_test.go265Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/samba/collector_test.go323Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/samba/collector_test.go323Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/spigotmc/collector_test.go305 resp := "Lorem ipsum dolor sit amet, consectetur adipiscing elit."CODE
LOWsrc/go/plugin/go.d/collector/spigotmc/collector_test.go305 resp := "Lorem ipsum dolor sit amet, consectetur adipiscing elit."CODE
LOWsrc/go/plugin/go.d/collector/ethtool/collector_test.go263Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/ethtool/collector_test.go263Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/postfix/collector_test.go224Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/postfix/collector_test.go224Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/uwsgi/collector_test.go275 statsResponse: []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit."),CODE
LOWsrc/go/plugin/go.d/collector/uwsgi/collector_test.go275 statsResponse: []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit."),CODE
LOWsrc/go/plugin/go.d/collector/hddtemp/collector_test.go258 hddTempLine: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",CODE
LOWsrc/go/plugin/go.d/collector/hddtemp/collector_test.go258 hddTempLine: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",CODE
LOWsrc/go/plugin/go.d/collector/megacli/collector_test.go290Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/megacli/collector_test.go290Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/lvm/collector_test.go222Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/lvm/collector_test.go222Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/nsd/collector_test.go323Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/go.d/collector/nsd/collector_test.go323Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWsrc/go/plugin/ibm.d/docgen/config_parser.go495 if placeholder, ok := opts["placeholder"]; ok {CODE
LOW…c/go/plugin/dem/collector/lighthouse/collector_test.go78 "credentials": {func(c *Collector) { c.URL = "https://user:pass@example.org" }, false},CODE
LOW…c/go/plugin/dem/collector/lighthouse/collector_test.go79 "username only": {func(c *Collector) { c.URL = "https://user@example.org" }, false},CODE
LOW…m-notify/internal/legacydelivery/commands_unix_test.go88 "email auto finds sendmail without curl": {method: "email", tool: "sendmail", settings: `SEND_EMAIL=AUTO; EMAIL_SENDERCODE
LOWsrc/libnetdata/yaml/yaml-unittest.c258 strcmp(json_object_get_string(prop), "John Doe") != 0) {CODE
LOWsrc/libnetdata/yaml/yaml-unittest.c285 strcmp(json_object_get_string(street), "123 Main St") != 0) {CODE
Redundant / Tautological Comments40 hits · 61 pts
SeverityFileLineSnippetContext
LOWpackaging/check-for-go-toolchain.sh4# Check if we need to install a Go toolchain.COMMENT
LOWpackaging/docker/run.sh15# Check if user is a member of a group by GIDCOMMENT
LOWpackaging/windows/find-sdk-path.sh55 # Check if required tools existCOMMENT
LOWpackaging/windows/find-sdk-path.sh189 # Check if required tools existCOMMENT
LOWpackaging/installer/kickstart-ng.sh396# Check if a URL is valid, and ensure it uses one of the specified protocols.COMMENT
LOWpackaging/installer/kickstart-static64.sh396# Check if a URL is valid, and ensure it uses one of the specified protocols.COMMENT
LOWpackaging/installer/netdata-uninstaller.sh478 # Check if group existCOMMENT
LOWpackaging/installer/kickstart.sh396# Check if a URL is valid, and ensure it uses one of the specified protocols.COMMENT
LOWpackaging/installer/functions.sh1191 # Check if user existsCOMMENT
LOWpackaging/installer/functions.sh1239 # Check if group existCOMMENT
LOWpackaging/installer/functions.sh1268 # Check if group existCOMMENT
LOWpackaging/installer/functions.sh1275 # Check if user is in groupCOMMENT
LOWpackaging/installer/functions.sh1298 # Append username to the listCOMMENT
LOW.github/workflows/platform-eol-check.yml99 # Check if there is an existing issue in the repo for the platform EOL.COMMENT
LOW.github/scripts/platform-impending-eol.py60# Check if the value is a booleanCOMMENT
LOWsrc/collectors/log2journal/tests.sh140 # Check if this is a failure testCOMMENT
LOWsrc/collectors/log2journal/tests.sh263 # Check if test has any actual test filesCOMMENT
LOW…c/collectors/log2journal/log2journal.d/nginx-json.yaml157 # Set this to MESSAGE, so you to see the error in the log.COMMENT
LOW…llectors/log2journal/log2journal.d/nginx-combined.yaml84 # Set this to MESSAGE, so you to see the error in the log.COMMENT
LOW…tors/python.d.plugin/python_modules/pyyaml3/scanner.py115 # Check if the next token is one of the given types.COMMENT
LOW…tors/python.d.plugin/python_modules/pyyaml3/scanner.py298 # Check if a simple key is required at the current position.COMMENT
LOW…tors/python.d.plugin/python_modules/pyyaml3/scanner.py352 # Check if we need to increase indentation.COMMENT
LOW…n_modules/bases/FrameworkServices/ExecutableService.py71 # Check if binary exist and executableCOMMENT
LOW…python_modules/bases/FrameworkServices/MySQLService.py94 # Check if "self.queries" exist, not empty and all queries are in valid formatCOMMENT
LOW…thon.d.plugin/python_modules/urllib3/connectionpool.py707 # Check if we should retry the HTTP response.COMMENT
LOW…ython.d.plugin/python_modules/urllib3/util/response.py30 # Check if the object is a container for another file-like object thatCOMMENT
LOW…n.d.plugin/python_modules/urllib3/contrib/appengine.py207 # Check if we should retry the HTTP response.COMMENT
LOW⚡…md-journal.plugin/systemd-journal-self-signed-certs.sh62# Check if ${1} matches the patternCOMMENT
LOWsrc/go/plugin/scripts.d/collector/nagios/metadata.yaml425 # Check if a Windows service is runningCOMMENT
LOW…fig/go.d/snmp.profiles/default/_mikrotik-hardware.yaml23 transform: | # Set temperature to 0 when no SFP module present (MikroTik returns ~4294967168 for empty slots)CODE
LOWsrc/web/mcp/bridges/stdio-python/nd-mcp.py254 # Check if the connection is still openCOMMENT
LOWsrc/web/mcp/bridges/stdio-python/nd-mcp.py274 # Check if this is a response to a tracked requestCOMMENT
LOWsrc/web/mcp/bridges/stdio-python/nd-mcp.py290 # Check if the connection is still openCOMMENT
LOW⚡src/web/mcp/bridges/stdio-python/nd-mcp.py326 # Check if websocket is already closedCOMMENT
LOWsrc/web/mcp/bridges/stdio-python/build.sh10# Check if Python is installedCOMMENT
LOWsrc/web/mcp/bridges/stdio-nodejs/build.sh10# Check if Node.js is installedCOMMENT
LOWsrc/web/mcp/bridges/stdio-nodejs/build.sh20# Check if package.json exists, if not create itCOMMENT
LOWsrc/web/mcp/bridges/stdio-golang/build.sh10# Check if Go is installedCOMMENT
LOWsrc/libnetdata/log/wevt_netdata_compile.sh5# Check if both parameters are providedCOMMENT
LOWsrc/daemon/system-info.sh90 # Check if lxcfs is mounted on /procCOMMENT
Modern AI Meta-Vocabulary16 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMCMakeLists.txt3# This file orchestrates. The work lives in packaging/cmake/Modules/ and in theCOMMENT
MEDIUM…s/skills/collectors-authoring/landscape-and-domains.md272### Container / orchestration collectorsCOMMENT
MEDIUM.agents/skills/triage-support-bundle/environment.md46## Containers and orchestrationCOMMENT
MEDIUM…/skills/collectors-prometheus-profiles/chart-design.md164### Kubernetes-hosted microserviceCOMMENT
MEDIUMdocs/npm/network-flows/configuration.md40journal: { ... } # tier directories, retention, query guardrailsCODE
MEDIUMdocs/npm/network-flows/configuration.md210### Query guardrailsCOMMENT
MEDIUMsrc/crates/ng-flatten/src/traces.rs435/// append-only id space. Id `2` (the retired traces proof scaffold's raw-OTLPCOMMENT
MEDIUMsrc/crates/ng-flatten/src/logs.rs43/// traces proof scaffold's raw-OTLP payload — never reuse), `3` is the tracesCOMMENT
MEDIUMsrc/crates/file-lifecycle/src/recovery/mod.rs32//! - The `#[cfg(test)]` import block below: test scaffolding, not a publicCOMMENT
MEDIUMsrc/crates/sfst/src/index_reader/session.rs6//! each shared structure exactly once (the phase-4 guardrails):COMMENT
MEDIUMsrc/go/plugin/framework/chartengine/engine.go14// Engine is the chartengine runtime scaffold.COMMENT
MEDIUMsrc/go/plugin/framework/chartengine/engine.go26// New creates an engine scaffold with optional configuration.COMMENT
MEDIUM…/go.d/config/go.d/cloudwatch.profiles/default/eks.yaml7# which is agent-based and billed separately).COMMENT
MEDIUMsrc/go/plugin/go.d/docs/how-to-write-a-collector.md82|-- collect.go # Collect orchestrationCODE
MEDIUMsrc/go/plugin/go.d/docs/migrate-v1-to-v2.md159collect.go # Collect orchestrationCODE
MEDIUMsrc/go/plugin/ibm.d/modules/README.md7├── collector.go # orchestration logicCODE
Example Usage Blocks23 hits · 34 pts
SeverityFileLineSnippetContext
LOW.agents/skills/triage-agent-events/scripts/_lib.sh8# Usage:COMMENT
LOW…skills/triage-support-bundle/scripts/bundle-summary.sh10# Usage:COMMENT
LOW…ents/skills/triage-coverity/scripts/finalize-defect.sh4# Usage:COMMENT
LOW.agents/skills/triage-coverity/scripts/fetch-table.sh4# Usage:COMMENT
LOW…gents/skills/triage-coverity/scripts/prepare-defect.sh4# Usage:COMMENT
LOW…/skills/triage-coverity/scripts/resolve-cid-to-diid.sh10# Usage:COMMENT
LOW.agents/skills/triage-coverity/scripts/update-triage.sh4# Usage:COMMENT
LOW.agents/skills/triage-coverity/scripts/keepalive.sh12# Usage:COMMENT
LOW.agents/skills/triage-coverity/scripts/fetch-details.sh4# Usage:COMMENT
LOW.agents/skills/triage-sonarqube/scripts/sonar-search.sh4# Usage:COMMENT
LOW.agents/skills/triage-codeql/scripts/codeql-dismiss.sh4# Usage:COMMENT
LOW.agents/skills/triage-codeql/scripts/codeql-list.sh4# Usage:COMMENT
LOW.agents/skills/repo-pr-reviews/scripts/trigger-cubic.sh7# Usage:COMMENT
LOW…ts/skills/repo-pr-reviews/scripts/wait-for-activity.sh5# Usage:COMMENT
LOW…gents/skills/repo-pr-reviews/scripts/resolve-thread.sh4# Usage:COMMENT
LOW.agents/skills/repo-pr-reviews/scripts/ci-status.sh4# Usage:COMMENT
LOW…skills/repo-pr-reviews/scripts/fetch-sonar-findings.sh4# Usage:COMMENT
LOW…s/skills/repo-pr-reviews/scripts/trigger-coderabbit.sh9# Usage:COMMENT
LOW.agents/skills/repo-pr-reviews/scripts/reply-thread.sh4# Usage:COMMENT
LOW…ts/skills/repo-pr-reviews/scripts/list-open-threads.sh3# Usage:COMMENT
LOW.agents/skills/repo-pr-reviews/scripts/fetch-all.sh4# Usage:COMMENT
LOW…ents/skills/repo-pr-reviews/scripts/trigger-copilot.sh8# Usage:COMMENT
LOW…twork-viewer.plugin/tests/validate_topology_payload.py9# Usage:COMMENT
Modern Structural Boilerplate24 hits · 24 pts
SeverityFileLineSnippetContext
LOWpackaging/tools/automation/mcp/tests/test_runner.py143 def _set_proc(self, proc) -> None:CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/run.py88 def _set_proc(self, proc: asyncio.subprocess.Process) -> None:CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/runner.py224 def _set_proc(self, proc: asyncio.subprocess.Process) -> None: ...CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/streams.py233 def _set_proc(self, proc: asyncio.subprocess.Process) -> None:CODE
LOWpackaging/tools/automation/mcp/netdata_mcp/jobs.py85 def _set_proc(self, proc: asyncio.subprocess.Process) -> None:CODE
LOW…tors/python.d.plugin/python_modules/pyyaml3/scanner.py28__all__ = ['Scanner', 'ScannerError']CODE
LOW…ectors/python.d.plugin/python_modules/pyyaml3/error.py3__all__ = ['Mark', 'YAMLError', 'MarkedYAMLError']CODE
LOW…/python.d.plugin/python_modules/pyyaml3/constructor.py3__all__ = ['BaseConstructor', 'SafeConstructor', 'Constructor',CODE
LOW…ors/python.d.plugin/python_modules/pyyaml3/composer.py3__all__ = ['Composer', 'ComposerError']CODE
LOW…/python.d.plugin/python_modules/pyyaml3/representer.py3__all__ = ['BaseRepresenter', 'SafeRepresenter', 'Representer',CODE
LOW…ctors/python.d.plugin/python_modules/pyyaml3/dumper.py3__all__ = ['BaseDumper', 'SafeDumper', 'Dumper']CODE
LOW…ectors/python.d.plugin/python_modules/pyyaml3/cyaml.py3__all__ = ['CBaseLoader', 'CSafeLoader', 'CLoader',CODE
LOW…ctors/python.d.plugin/python_modules/pyyaml3/parser.py63__all__ = ['Parser', 'ParserError']CODE
LOW…ctors/python.d.plugin/python_modules/pyyaml3/reader.py19__all__ = ['Reader', 'ReaderError']CODE
LOW…ctors/python.d.plugin/python_modules/pyyaml3/loader.py3__all__ = ['BaseLoader', 'SafeLoader', 'Loader']CODE
LOW…ors/python.d.plugin/python_modules/pyyaml3/resolver.py3__all__ = ['BaseResolver', 'Resolver']CODE
LOW…s/python.d.plugin/python_modules/pyyaml3/serializer.py3__all__ = ['Serializer', 'SerializerError']CODE
LOW…tors/python.d.plugin/python_modules/pyyaml3/emitter.py10__all__ = ['Emitter', 'EmitterError']CODE
LOW⚡…python.d.plugin/python_modules/third_party/filelock.py63__all__ = [CODE
LOW…tors/python.d.plugin/python_modules/urllib3/request.py8__all__ = ['RequestMethods']CODE
LOW…/python.d.plugin/python_modules/urllib3/poolmanager.py17__all__ = ['PoolManager', 'ProxyManager', 'proxy_from_url']CODE
LOW…python.d.plugin/python_modules/urllib3/_collections.py27__all__ = ['RecentlyUsedContainer', 'HTTPHeaderDict']CODE
LOW…ugin/python_modules/urllib3/contrib/securetransport.py60__all__ = ['inject_into_urllib3', 'extract_from_urllib3']CODE
LOW…n.d.plugin/python_modules/urllib3/contrib/pyopenssl.py73__all__ = ['inject_into_urllib3', 'extract_from_urllib3']CODE
AI Structural Patterns24 hits · 24 pts
SeverityFileLineSnippetContext
LOWpackaging/tools/automation/mcp/netdata_mcp/streams.py84CODE
LOW…ng/tools/automation/mcp/netdata_mcp/tools/otel_push.py99CODE
LOW…ng/tools/automation/mcp/netdata_mcp/tools/otel_push.py145CODE
LOW…ng/tools/automation/mcp/netdata_mcp/tools/otel_logs.py124CODE
LOW…/tools/automation/mcp/netdata_mcp/tools/otel_config.py167CODE
LOW…ors/python.d.plugin/python_modules/pyyaml3/__init__.py126CODE
LOW…ors/python.d.plugin/python_modules/pyyaml3/__init__.py163CODE
LOW…ctors/python.d.plugin/python_modules/pyyaml3/dumper.py12CODE
LOW…ctors/python.d.plugin/python_modules/pyyaml3/dumper.py30CODE
LOW…ctors/python.d.plugin/python_modules/pyyaml3/dumper.py48CODE
LOW…ectors/python.d.plugin/python_modules/pyyaml3/cyaml.py38CODE
LOW…ectors/python.d.plugin/python_modules/pyyaml3/cyaml.py55CODE
LOW…ectors/python.d.plugin/python_modules/pyyaml3/cyaml.py72CODE
LOW…n/python_modules/bases/FrameworkServices/UrlService.py149CODE
LOW…ctors/python.d.plugin/python_modules/urllib3/fields.py48CODE
LOW…ors/python.d.plugin/python_modules/urllib3/response.py114CODE
LOW…thon.d.plugin/python_modules/urllib3/connectionpool.py162CODE
LOW…thon.d.plugin/python_modules/urllib3/connectionpool.py447CODE
LOW…thon.d.plugin/python_modules/urllib3/connectionpool.py753CODE
LOW…thon.d.plugin/python_modules/urllib3/util/selectors.py377CODE
LOW…rs/python.d.plugin/python_modules/urllib3/util/ssl_.py279CODE
LOW…s/python.d.plugin/python_modules/urllib3/util/retry.py153CODE
LOW…ugin/python_modules/urllib3/contrib/securetransport.py518CODE
LOWsrc/collectors/python.d.plugin/pandas/pandas.chart.py50CODE
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHsrc/web/mcp/mcp-initialize.c273 // Add _meta field (optional) - empty as requestedCOMMENT
HIGHsrc/libnetdata/aral/aral.h42// return the size of the element, as requestedCOMMENT
HIGHsrc/libnetdata/socket/socket.c310 // Set the FD_CLOEXEC flag as requestedCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…go.d/config/go.d/snmp.profiles/default/checkpoint.yaml67 # In this example, the OS Version is 2.6, at the moment it's not possible to add metadata based on 2 OIDCOMMENT
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…config/go.d/snmp.profiles/default/_cisco-metadata.yaml33 # TODO: Add tests (possibly unit tests) for profile regex patternsCOMMENT
LOWsrc/go/plugin/go.d/collector/httpcheck/cookiejar.go20// TODO: implement proper cookie auth supportCOMMENT
LOWsrc/go/plugin/ibm.d/protocols/pcf/channel_commands.go267 // TODO: Add error counting when we update parseChannelInfoFromParamsCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMsrc/go/plugin/go.d/collector/smartctl/metadata.yaml60 Netdata requires the `SYS_RAWIO` capability and access to the storage devices to run the `smartctl` collecCODE