AI Slop Code Risk Monitor

open-telemetry/opentelemetry-collector-contrib

SlopCodeMonitor badge for open-telemetry/opentelemetry-collector-contrib Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Contrib repository for the OpenTelemetry Collector

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for open-telemetry/opentelemetry-collector-contrib, a Go project with 5,034 GitHub stars. SynthScan examined 2,223,106 lines of code across 12414 source files, recording 973 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 0.6 (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.

0.6
Adjusted Signal
0.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
5.0K
Stars
Go
Language
2.2M
Lines of Code
12.4K
Files
973
Pattern Hits
2026-10-31
Scan Date
0.00
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 2.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 0.3/100 · LOW

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

PR Review Velocity Impact 2.9/100 · LOW

Which changes need focused human review? 973 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 22HIGH 4MEDIUM 62LOW 885

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 973 distinct pattern matches across 18 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 Block751 hits · 750 pts
SeverityFileLineSnippetContext
LOW.golangci.yml221 - go.opentelemetry.io/otel/semconv/v1.16.0COMMENT
LOW.golangci.yml241 # https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/45074COMMENT
LOW.golangci.yml501COMMENT
LOWcmd/opampsupervisor/e2e_test.go401// Some test templates wrap storage.directory in double quotes, where backslashesCOMMENT
LOWcmd/opampsupervisor/e2e_test.go4201// supervisorBinarySizeLimitBytes is the size budget for the supervisor binary,COMMENT
LOW…/opampsupervisor/testdata/collector/no_pipelines_fg.sh1#!/usr/bin/env bashCOMMENT
LOWcmd/opampsupervisor/specification/README.md81# Keys with boolean true/false values that enable a particularCOMMENT
LOWcmd/opampsupervisor/specification/README.md201 # Name of the collector binary as it appears inside the archive the supervisorCOMMENT
LOWcmd/opampsupervisor/supervisor/supervisor.go161 // Last known-good remote config.COMMENT
LOW…pervisor/supervisor/supervisor_windows_service_test.go21)COMMENT
LOW…mpsupervisor/supervisor/commander/commander_windows.go41 // group, so that sending a ctrl-break event shuts down just the collector.COMMENT
LOWcmd/opampsupervisor/supervisor/config/agent_package.go61// https://docs.sigstore.dev/cosign/signing/overview/COMMENT
LOW…pampsupervisor/supervisor/templates/nooptelemetry.yaml1# Internal telemetry for the bootstrap Collector.COMMENT
LOWcmd/telemetrygen/internal/e2etest/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWextension/datadogextension/config.go21var _ component.Config = (*Config)(nil)COMMENT
LOWextension/datadogextension/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWextension/datadogextension/integration_test.go61 require.NoError(t, err, "should be able to load config file")COMMENT
LOWextension/sigv4authextension/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOW…oogleclientauthextension/internal/clientauth/config.go41 // caller must have serviceusage.services.use permission on the project.COMMENT
LOWextension/opampcustommessages/custom_messages.go41COMMENT
LOWextension/oidcauthextension/config.go21COMMENT
LOWextension/oidcauthextension/config.go41 IgnoreAudience bool `mapstructure:"ignore_audience"`COMMENT
LOWextension/oidcauthextension/extension_test.go781 assert.NoError(c, err)COMMENT
LOWextension/oauth2clientauthextension/config.go41 // GrantType is set to "urn:ietf:params:oauth:grant-type:jwt-bearer".COMMENT
LOWextension/oauth2clientauthextension/config.go61COMMENT
LOW…n/oauth2clientauthextension/clientcredentialsconfig.go41// the ClientSecretFile fields with the path to the file.COMMENT
LOWextension/oauth2clientauthextension/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOW…nsion/internal/credentialsfile/credentialsfile_test.go301}COMMENT
LOWextension/internal/secretprovider/secretprovider.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWextension/internal/secretprovider/secretprovider.go21 // refresh goroutine whenever the secret value changes. A providerCOMMENT
LOWextension/pprofextension/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWextension/observer/k8sobserver/config.go21 // env:COMMENT
LOWextension/observer/dockerobserver/config.go21 // receivers. If false or if no hostname is configured, the fieldCOMMENT
LOWextension/observer/ecsobserver/internal/errctx/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWextension/observer/ecsobserver/internal/errctx/value.go21 //COMMENT
LOWextension/observer/ecsobserver/internal/ecsmock/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWextension/observer/cfgardenobserver/extension.go261// "index": 0,COMMENT
LOWextension/observer/endpointswatcher/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWextension/awsproxy/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOW…gextension/internal/apploadbalancerlog/armor_parser.go41 // Extended attributesCOMMENT
LOW…ing/awscloudwatchmetricstreamsencodingextension/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOW…atchmetricstreamsencodingextension/json_unmarshaler.go201 Namespace string `json:"namespace"`COMMENT
LOWextension/encoding/awslogsencodingextension/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOW…on/internal/unmarshaler/subscription-filter/routing.go121COMMENT
LOW…sion/internal/unmarshaler/subscription-filter/match.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOW…odingextension/internal/unmarshaler/traces/category.go21// Timestamp ("time"), TraceId ("OperationId") and SpanId ("Id")COMMENT
LOW…ncodingextension/internal/unmarshaler/logs/category.go61 // from `correlationId` field in Azure Log RecordCOMMENT
LOW…ncodingextension/internal/unmarshaler/logs/category.go201 // responsible for calling the appropriate identity parser in its ownCOMMENT
LOW…dingextension/internal/unmarshaler/logs/unmarshaler.go261COMMENT
LOWextension/storage/filestorage/config.go41type CompactionConfig struct {COMMENT
LOWextension/storage/storagetest/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWextension/opampextension/config.go41COMMENT
LOWextension/sdnotifyextension/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWextension/sdnotifyextension/doc.go21// If the NOTIFY_SOCKET environment variable is not set (i.e. the collectorCOMMENT
LOWextension/sdnotifyextension/integration_test.go81 KeepImage: true,COMMENT
LOWextension/dbauth/dbauth.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWextension/dbauth/dbauth.go21COMMENT
LOWextension/dbauth/dbauth.go41 // provider owns refresh-before-expiry, so consumers need not act on it, but itCOMMENT
LOWextension/dbauth/dbauth.go61 // Username is the consumer's configured username. A provider may use it as aCOMMENT
LOWextension/dbauth/awsiamdbauthextension/config.go1// Copyright The OpenTelemetry AuthorsCOMMENT
691 more matches not shown…
Hallucination Indicators22 hits · 235 pts
SeverityFileLineSnippetContext
CRITICALreceiver/otelarrowreceiver/otelarrow.go129 if r.cfg.Protocols.GRPC.Auth.HasValue() {CODE
CRITICALreceiver/otelarrowreceiver/otelarrow.go130 authServer, err = r.cfg.Protocols.GRPC.Auth.Get().GetServerAuthenticator(ctx, host.GetExtensions())CODE
CRITICALreceiver/lokireceiver/loki.go144 listener, err := r.conf.Protocols.GRPC.NetAddr.Listen(ctx)CODE
CRITICAL…eiver/testdata/apiresponses/stages_stats_response.json52 "details": "org.apache.spark.sql.streaming.DataStreamWriter.start(DataStreamWriter.scala:249)\njava.base/jdk.internaCODE
CRITICAL…eiver/testdata/apiresponses/stages_stats_response.json134 "details": "org.apache.spark.sql.streaming.DataStreamWriter.start(DataStreamWriter.scala:249)\njava.base/jdk.internaCODE
CRITICAL…rter/awsxrayexporter/internal/translator/cause_test.go30 at io.opentelemetry.sdk.trace.RecordEventsReadableSpanTest.recordException(RecordEventsReadableSpanTest.java:626)CODE
CRITICAL…rter/awsxrayexporter/internal/translator/cause_test.go107 at io.opentelemetry.sdk.trace.RecordEventsReadableSpanTest.recordException(RecordEventsReadableSpanTest.java:626)CODE
CRITICAL…rter/awsxrayexporter/internal/translator/cause_test.go580 at io.opentelemetry.sdk.trace.RecordEventsReadableSpanTest.recordException(RecordEventsReadableSpanTest.java:626)CODE
CRITICAL…rter/awsxrayexporter/internal/translator/cause_test.go608 at io.opentelemetry.sdk.trace.RecordEventsReadableSpanTest.recordException(RecordEventsReadableSpanTest.java:626)CODE
CRITICAL…rter/awsxrayexporter/internal/translator/cause_test.go627 at io.opentelemetry.sdk.trace.RecordEventsReadableSpanTest.recordException(RecordEventsReadableSpanTest.java:626)CODE
CRITICAL…rter/awsxrayexporter/internal/translator/cause_test.go661 at io.opentelemetry.sdk.trace.RecordEventsReadableSpanTest.recordException(RecordEventsReadableSpanTest.java:626)CODE
CRITICAL⚡…rter/awsxrayexporter/internal/translator/cause_test.go695 at io.opentelemetry.sdk.trace.RecordEventsReadableSpanTest.recordException(RecordEventsReadableSpanTest.java:626)CODE
CRITICAL⚡…rter/awsxrayexporter/internal/translator/cause_test.go699 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)CODE
CRITICAL⚡…rter/awsxrayexporter/internal/translator/cause_test.go700 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java)`CODE
CRITICAL…rter/awsxrayexporter/internal/translator/cause_test.go737 at io.opentelemetry.sdk.trace.RecordEventsReadableSpanTest.recordException(RecordEventsReadableSpanTest.java:626)CODE
CRITICAL…rter/awsxrayexporter/internal/translator/cause_test.go751 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)CODE
CRITICAL…rter/awsxrayexporter/internal/translator/cause_test.go752 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java)CODE
CRITICALexporter/coralogixexporter/traces_client_test.go96 _, ok := exp.config.Traces.ClientConfig.Headers.Get("Authorization")CODE
CRITICALexporter/coralogixexporter/metrics_client_test.go94 _, ok := exp.config.Metrics.ClientConfig.Headers.Get("Authorization")CODE
CRITICALexporter/coralogixexporter/logs_client_test.go94 _, ok := exp.config.Logs.ClientConfig.Headers.Get("Authorization")CODE
CRITICALexporter/azuremonitorexporter/config.go105 if err := c.TelemetryMappings.Traces.HTTP.Success.Validate(); err != nil {CODE
CRITICALexporter/datadogexporter/metrics_exporter.go161 resp, err := exp.metricsAPI.Client.Cfg.HTTPClient.Do(req)CODE
Decorative Section Separators36 hits · 144 pts
SeverityFileLineSnippetContext
MEDIUMtestbed/tests/k8sattributes_processor_test.go28// ── Test coverage reference ───────────────────────────────────────────────────COMMENT
MEDIUM⚡processor/isolationforestprocessor/README.md98 # ─── core algorithm parameters ────────────────────────────────COMMENT
MEDIUM⚡processor/isolationforestprocessor/README.md108 # ─── where to write results on each data point ───────────────COMMENT
MEDIUM⚡processor/isolationforestprocessor/README.md112 # ─── which numeric features the model should look at ─────────COMMENT
MEDIUM⚡processor/isolationforestprocessor/README.md118 # ─── performance guard-rails (optional) ──────────────────────COMMENT
MEDIUM…iver/sqlserverreceiver/testdata/azure-auth-config.yaml7# -------------COMMENT
MEDIUM…iver/sqlserverreceiver/testdata/azure-auth-config.yaml26# ---------------COMMENT
MEDIUM.github/workflows/scripts/run-checks-shard.sh7# ======================================================================================COMMENT
MEDIUM.github/workflows/scripts/run-checks-shard.sh33# ======================================================================================COMMENT
MEDIUM⚡.github/workflows/scripts/compute-ci-scope.sh34# ======================================================================================COMMENT
MEDIUM⚡.github/workflows/scripts/compute-ci-scope.sh44# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/scripts/compute-ci-scope.sh46# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/scripts/compute-ci-scope.sh98# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/scripts/compute-ci-scope.sh100# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/scripts/compute-ci-scope.sh141# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/scripts/compute-ci-scope.sh143# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/scripts/compute-ci-scope.sh151# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/scripts/compute-ci-scope.sh153# -----------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/scripts/compute-ci-scope.sh7# ======================================================================================COMMENT
MEDIUM.github/workflows/scripts/compute-ci-scope.sh74# -----------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/scripts/compute-ci-scope.sh76# -----------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/scripts/compute-ci-scope.sh113# -----------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/scripts/compute-ci-scope.sh115# -----------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/scripts/compute-ci-scope.sh231# -----------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/scripts/compute-ci-scope.sh233# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡pkg/stanza/fileconsumer/internal/archive/archive.go123 // Archiving: ┌─────────────────────on-disk archive─────────────────────────┐COMMENT
MEDIUM⚡pkg/stanza/fileconsumer/internal/archive/archive.go124 // | ┌───┐ ┌───┐ ┌──────────────────┐ |COMMENT
MEDIUM⚡pkg/stanza/fileconsumer/internal/archive/archive.go126 // | ▲ └───┘ └───┘ └──────────────────┘ |COMMENT
MEDIUM⚡pkg/stanza/fileconsumer/internal/archive/archive.go129 // └──────│──────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡pkg/stanza/adapter/frompdataconverter.go25// ┌─────────────────────────────────┐COMMENT
MEDIUM⚡pkg/stanza/adapter/frompdataconverter.go27// ┌─────────┤ Ingests plog.Logs, splits up │COMMENT
MEDIUM⚡pkg/stanza/adapter/frompdataconverter.go29// │ └─────────────────────────────────┘COMMENT
MEDIUM⚡pkg/stanza/adapter/frompdataconverter.go31// │ ┌───────────────────────────────────────────────────┐COMMENT
MEDIUM⚡pkg/stanza/adapter/frompdataconverter.go33// │ │ ┌─────────────────────────────────────────────────┴─┐COMMENT
MEDIUM⚡pkg/stanza/adapter/frompdataconverter.go35// │ │ │ ┌─────────────────────────────────────────────────┴─┐COMMENT
MEDIUM⚡pkg/stanza/adapter/frompdataconverter.go40// └───────────────────────────────────────────────────┘COMMENT
Structural Annotation Overuse41 hits · 72 pts
SeverityFileLineSnippetContext
LOWcmd/opampsupervisor/specification/README.md199 # NOTE: This functionality is not yet fully implemented.COMMENT
LOWcmd/opampsupervisor/supervisor/supervisor_test.go2346 // Step 1: Agent reports effective config with multiple named files.COMMENT
LOW⚡cmd/opampsupervisor/supervisor/supervisor_test.go2361 // Step 2: Supervisor builds the effective config message for theCOMMENT
LOW⚡cmd/opampsupervisor/supervisor/supervisor_test.go2366 // Step 3: Verify every key the agent reported is preserved in theCOMMENT
LOW⚡extension/datadogextension/integration_test.go281 // Step 4: Test that the components work togetherCOMMENT
LOW⚡extension/datadogextension/integration_test.go287 // Step 5: Simulate sending payload (in a real scenario, this would use serializer.SendEvents or similar)COMMENT
LOWextension/datadogextension/integration_test.go222 // Step 1: Create a full OtelCollectorPayload with realistic dataCOMMENT
LOWextension/datadogextension/integration_test.go236 // Step 2: Create mock Datadog agent componentsCOMMENT
LOWextension/datadogextension/integration_test.go269 // Step 3: Verify we can marshal the payload (simulating serialization)COMMENT
LOWextension/datadogextension/integration_test.go539 // Step 1: Create test configuration and payloadCOMMENT
LOWextension/datadogextension/integration_test.go589 // Step 2: Create mock Datadog agent components configured to use mock backendCOMMENT
LOWextension/datadogextension/integration_test.go619 // Step 3: Create HTTP server configurationCOMMENT
LOWextension/datadogextension/integration_test.go630 // Step 4: Create and test the HTTP serverCOMMENT
LOWextension/datadogextension/integration_test.go658 // Step 5: Test SendPayload functionalityCOMMENT
LOWextension/datadogextension/integration_test.go677 // Step 6: Test HTTP endpoint functionalityCOMMENT
LOWextension/datadogextension/integration_test.go697 // Step 7: Test error scenariosCOMMENT
LOW⚡processor/spanpruningprocessor/processor.go310 // Step 1: plan the groups that would aggregate.COMMENT
LOW⚡processor/spanpruningprocessor/processor.go316 // Step 2: detect outliers at every level and sample exemplars at the top ofCOMMENT
LOW⚡processor/spanpruningprocessor/processor.go321 // Step 3: aggregate. planCandidateGroups returns groups bottom-up (leavesCOMMENT
LOW⚡…or/k8sattributesprocessor/internal/kube/client_test.go594 // Step 1: add pod with the label.COMMENT
LOW⚡…or/k8sattributesprocessor/internal/kube/client_test.go599 // Step 2: update removes the label — stale delete is queued with the old *Pod pointer.COMMENT
LOW⚡…or/k8sattributesprocessor/internal/kube/client_test.go606 // Step 3: update restores the label — a new *Pod is written to c.Pods[labelID].COMMENT
LOW⚡…or/k8sattributesprocessor/internal/kube/client_test.go613 // Step 4: the delete loop sees the pointer mismatch and skips the delete.COMMENT
LOWreceiver/k8sclusterreceiver/internal/pod/pods.go38// IMPORTANT: Make sure to update this function before using new pod fields.COMMENT
LOW…er/k8sclusterreceiver/internal/daemonset/daemonsets.go16// IMPORTANT: Make sure to update this function before using new daemonset fields.COMMENT
LOW…8sclusterreceiver/internal/statefulset/statefulsets.go22// IMPORTANT: Make sure to update this function before using new statefulset fields.COMMENT
LOW…nternal/persistentvolumeclaim/persistentvolumeclaim.go24// IMPORTANT: Make sure to update this function before using new PersistentVolumeClaim fields.COMMENT
LOW…receiver/internal/persistentvolume/persistentvolume.go23// IMPORTANT: Make sure to update this function before using new PersistentVolume fields.COMMENT
LOW…/k8sclusterreceiver/internal/deployment/deployments.go17// IMPORTANT: Make sure to update this function before using new deployment fields.COMMENT
LOWreceiver/k8sclusterreceiver/internal/node/nodes.go30// IMPORTANT: Make sure to update this function before using new node fields.COMMENT
LOWreceiver/k8sclusterreceiver/internal/jobs/jobs.go34// IMPORTANT: Make sure to update this function before using new job fields.COMMENT
LOWreceiver/k8sclusterreceiver/internal/service/service.go26// IMPORTANT: Make sure to update this function before using new service fields.COMMENT
LOW…/k8sclusterreceiver/internal/replicaset/replicasets.go16// IMPORTANT: Make sure to update this function before using new replicaset fields.COMMENT
LOW…lusterreceiver/internal/endpointslice/endpointslice.go13// IMPORTANT: Make sure to update this function before using new endpointslice fields.COMMENT
LOW⚡receiver/yanggrpcreceiver/grpc_service.go75 // Step 1: Initialize context bag with the node ID.COMMENT
LOW⚡receiver/yanggrpcreceiver/grpc_service.go80 // Step 2: Extract identifying keys only from the "keys" branch.COMMENT
LOW⚡receiver/yanggrpcreceiver/grpc_service.go84 // Step 3: Walk the "content" branch only to emit measurements.COMMENT
LOW⚡…orter/loadbalancingexporter/resolver_k8s_churn_test.go104 // Step 1: new pods scheduled; pod b is in the slice but has no hostname yet.COMMENT
LOW⚡…orter/loadbalancingexporter/resolver_k8s_churn_test.go111 // Step 2: pod b's hostname is now populated.COMMENT
LOWexporter/coralogixexporter/config.go336// NOTE: This function modifies *Config and *TransportConfig passed as arguments.COMMENT
LOWexporter/coralogixexporter/config.go364// NOTE: This function modifies *Config and *TransportConfig passed as arguments.COMMENT
AI Slop Vocabulary21 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUM…scloudwatchmetricstreamsencodingextension/extension.go68// Implementations must utilize derived buffered readers as is.COMMENT
MEDIUM…tension/encoding/awslogsencodingextension/extension.go184// Implementations must utilize derived buffered readers as is.COMMENT
MEDIUM…sion/internal/unmarshaler/cloudtraillog/unmarshaler.go90// There is no builtin CloudTrailRecord we can leverage like in S3COMMENT
MEDIUMprocessor/spanpruningprocessor/config.go27 // MAD is more robust to extreme outliers than IQR.COMMENT
MEDIUMprocessor/spanpruningprocessor/outlier.go163// MAD is more robust to extreme outliers than IQR.COMMENT
MEDIUMreceiver/splunkenterprisereceiver/scraper.go170 // Because we have to utilize network resources for each KPI we should check that each metricsCOMMENT
MEDIUMreceiver/splunkenterprisereceiver/scraper.go253 // Because we have to utilize network resources for each KPI we should check that each metricsCOMMENT
MEDIUMreceiver/splunkenterprisereceiver/scraper.go339 // Because we have to utilize network resources for each KPI we should check that each metricsCOMMENT
MEDIUMreceiver/splunkenterprisereceiver/scraper.go424 // Because we have to utilize network resources for each KPI we should check that each metricsCOMMENT
MEDIUMreceiver/splunkenterprisereceiver/scraper.go543 // Because we have to utilize network resources for each KPI we should check that each metricsCOMMENT
MEDIUMreceiver/splunkenterprisereceiver/scraper.go637 // Because we have to utilize network resources for each KPI we should check that each metricsCOMMENT
MEDIUMreceiver/splunkenterprisereceiver/scraper.go753 // Because we have to utilize network resources for each KPI we should check that each metricsCOMMENT
MEDIUMreceiver/splunkenterprisereceiver/scraper.go839 // Because we have to utilize network resources for each KPI we should check that each metricsCOMMENT
MEDIUMreceiver/splunkenterprisereceiver/scraper.go925 // Because we have to utilize network resources for each KPI we should check that each metricsCOMMENT
MEDIUMreceiver/splunkenterprisereceiver/scraper.go1011 // Because we have to utilize network resources for each KPI we should check that each metricsCOMMENT
MEDIUMreceiver/splunkenterprisereceiver/scraper.go1097 // Because we have to utilize network resources for each KPI we should check that each metricsCOMMENT
MEDIUMreceiver/splunkenterprisereceiver/metadata.yaml7 It is designed to leverage several different data sources to gather these metrics including the [introspection api endCODE
MEDIUMreceiver/githubreceiver/model.go79 // it necessary to leverage template attributes. One key thing to note isCOMMENT
MEDIUMreceiver/huaweicloudcesreceiver/receiver.go84 // The current implementation lacks robust error handling, especially forCOMMENT
MEDIUMpkg/translator/faro/traces_to_faro.go6// the Faro receiver and Faro exporter components to ensure seamless data flowCOMMENT
MEDIUMpkg/xk8stest/k8s_telemetrygen.go57 // fallback — uncommon but robustCOMMENT
Verbosity Indicators28 hits · 52 pts
SeverityFileLineSnippetContext
LOWcmd/opampsupervisor/supervisor/supervisor_test.go2346 // Step 1: Agent reports effective config with multiple named files.COMMENT
LOW⚡cmd/opampsupervisor/supervisor/supervisor_test.go2361 // Step 2: Supervisor builds the effective config message for theCOMMENT
LOW⚡cmd/opampsupervisor/supervisor/supervisor_test.go2366 // Step 3: Verify every key the agent reported is preserved in theCOMMENT
LOW⚡extension/datadogextension/integration_test.go281 // Step 4: Test that the components work togetherCOMMENT
LOW⚡extension/datadogextension/integration_test.go287 // Step 5: Simulate sending payload (in a real scenario, this would use serializer.SendEvents or similar)COMMENT
LOWextension/datadogextension/integration_test.go222 // Step 1: Create a full OtelCollectorPayload with realistic dataCOMMENT
LOWextension/datadogextension/integration_test.go236 // Step 2: Create mock Datadog agent componentsCOMMENT
LOWextension/datadogextension/integration_test.go269 // Step 3: Verify we can marshal the payload (simulating serialization)COMMENT
LOWextension/datadogextension/integration_test.go539 // Step 1: Create test configuration and payloadCOMMENT
LOWextension/datadogextension/integration_test.go589 // Step 2: Create mock Datadog agent components configured to use mock backendCOMMENT
LOWextension/datadogextension/integration_test.go619 // Step 3: Create HTTP server configurationCOMMENT
LOWextension/datadogextension/integration_test.go630 // Step 4: Create and test the HTTP serverCOMMENT
LOWextension/datadogextension/integration_test.go658 // Step 5: Test SendPayload functionalityCOMMENT
LOWextension/datadogextension/integration_test.go677 // Step 6: Test HTTP endpoint functionalityCOMMENT
LOWextension/datadogextension/integration_test.go697 // Step 7: Test error scenariosCOMMENT
LOW⚡processor/spanpruningprocessor/processor.go310 // Step 1: plan the groups that would aggregate.COMMENT
LOW⚡processor/spanpruningprocessor/processor.go316 // Step 2: detect outliers at every level and sample exemplars at the top ofCOMMENT
LOW⚡processor/spanpruningprocessor/processor.go321 // Step 3: aggregate. planCandidateGroups returns groups bottom-up (leavesCOMMENT
LOW⚡…or/k8sattributesprocessor/internal/kube/client_test.go594 // Step 1: add pod with the label.COMMENT
LOW⚡…or/k8sattributesprocessor/internal/kube/client_test.go599 // Step 2: update removes the label — stale delete is queued with the old *Pod pointer.COMMENT
LOW⚡…or/k8sattributesprocessor/internal/kube/client_test.go606 // Step 3: update restores the label — a new *Pod is written to c.Pods[labelID].COMMENT
LOW⚡…or/k8sattributesprocessor/internal/kube/client_test.go613 // Step 4: the delete loop sees the pointer mismatch and skips the delete.COMMENT
LOWreceiver/gitlabreceiver/traces_event_handling.go400 // We need to check if the commit timestamp is not nil, otherwise we might have a nil pointer dereference when calling COMMENT
LOW⚡receiver/yanggrpcreceiver/grpc_service.go75 // Step 1: Initialize context bag with the node ID.COMMENT
LOW⚡receiver/yanggrpcreceiver/grpc_service.go80 // Step 2: Extract identifying keys only from the "keys" branch.COMMENT
LOW⚡receiver/yanggrpcreceiver/grpc_service.go84 // Step 3: Walk the "content" branch only to emit measurements.COMMENT
LOW⚡…orter/loadbalancingexporter/resolver_k8s_churn_test.go104 // Step 1: new pods scheduled; pod b is in the slice but has no hostname yet.COMMENT
LOW⚡…orter/loadbalancingexporter/resolver_k8s_churn_test.go111 // Step 2: pod b's hostname is now populated.COMMENT
Fake / Example Data42 hits · 46 pts
SeverityFileLineSnippetContext
LOW…ntryencodingextension/internal/auditlog/parser_test.go301 Principal: "user@example.com",CODE
LOW…ntryencodingextension/internal/auditlog/parser_test.go321 gcpAuditRequestAuthPrincipal: "user@example.com",CODE
LOW⚡…ler/logs/testdata/activitylogs/administrative-log.json41 "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress": "user@example.com",CODE
LOW⚡…ler/logs/testdata/activitylogs/administrative-log.json48 "name": "John Doe",CODE
LOW⚡…ler/logs/testdata/activitylogs/administrative-log.json56 "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "user@example.com",CODE
LOW⚡…ler/logs/testdata/activitylogs/administrative-log.json114 "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress": "user@example.com",CODE
LOW⚡…ler/logs/testdata/activitylogs/administrative-log.json121 "name": "John Doe",CODE
LOW⚡…ler/logs/testdata/activitylogs/administrative-log.json129 "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "user@example.com",CODE
LOW…unmarshaler/logs/testdata/activitylogs/policy-log.json48 "name": "John Doe",CODE
LOWprocessor/attributesprocessor/factory_test.go86 {Key: "fake_key", Action: attraction.INSERT, Value: "100"},CODE
LOWprocessor/attributesprocessor/factory_test.go94 {Key: "fake_key", Action: attraction.UPSERT},CODE
LOWprocessor/redactionprocessor/processor_test.go51 "name": pcommon.NewValueStr("placeholder"),CODE
LOWprocessor/redactionprocessor/processor_test.go118 "name": pcommon.NewValueStr("placeholder"),CODE
LOWprocessor/redactionprocessor/processor_test.go162 assert.Equal(t, "placeholder", value.Str())CODE
LOWprocessor/redactionprocessor/processor_test.go178 "name": pcommon.NewValueStr("placeholder"),CODE
LOWprocessor/redactionprocessor/processor_test.go1534 "name": pcommon.NewValueStr("placeholder"),CODE
LOWprocessor/redactionprocessor/processor_test.go1597 "name": pcommon.NewValueStr("placeholder"),CODE
LOWprocessor/redactionprocessor/processor_test.go2236 "name": pcommon.NewValueStr("placeholder"),CODE
LOWprocessor/redactionprocessor/processor_test.go2525 sqlSpan.Attributes().PutStr("db.statement", "SELECT email FROM users WHERE email = 'foo@bar.com'")CODE
LOWprocessor/redactionprocessor/README.md267| `email` | `"user@example.com"` |CODE
LOWprocessor/redactionprocessor/README.md276| `email` | `"user@example.com"` |CODE
LOWinternal/coreinternal/parseutils/parser_test.go313 input: `name="John Doe" age=30 city="New York"`,CODE
LOWreceiver/postgresqlreceiver/credentials_test.go147 component.MustNewID("aws_iam_dbauth"): fakeCredExtension{secret: "fake-token"},CODE
LOWreceiver/postgresqlreceiver/credentials_test.go312 id: fakeCredExtension{secret: "fake-token"},CODE
LOW…eventsreceiver/testdata/e2e/expected/watch_events.yaml42 stringValue: "placeholder"CODE
LOW…eventsreceiver/testdata/e2e/expected/watch_events.yaml48 stringValue: "placeholder"CODE
LOWreceiver/mysqlreceiver/credentials_test.go165 component.MustNewID("aws_iam_db_auth"): fakeCredExtension{secret: "fake-token"},CODE
LOWreceiver/mysqlreceiver/credentials_test.go289 id: fakeCredExtension{secret: "fake-token"},CODE
LOWreceiver/httpcheckreceiver/README.md128 body: '{"name": "John Doe", "email": "john@example.com"}'CODE
LOWreceiver/gitlabreceiver/traces_receiver_test.go29 validPipelineWebhookEvent = `{"object_attributes":{"id":1,"status":"success","created_at":"2022-01-0CODE
LOWpkg/stanza/operator/parser/jsonarray/parser_test.go211 Body: []any{"stanza", "Evergreen,49508", int64(1), "555-5555", "agent"},CODE
LOWpkg/stanza/operator/parser/csv/parser_test.go220 "phone": "555-5555",CODE
LOWpkg/stanza/operator/parser/csv/parser_test.go473 "phone": "555-5555",CODE
LOWpkg/stanza/operator/parser/csv/parser_test.go499 "phone": "555-5555",CODE
LOWpkg/stanza/operator/parser/csv/parser_test.go524 "phone": "555-5555",CODE
LOWpkg/stanza/operator/parser/csv/parser_test.go549 "phone": "555-5555",CODE
LOW…/testdata/cornercases/identity_as_string_expected.yaml35 "identity": "John Doe"CODE
LOW…azurelogs/testdata/cornercases/identity_as_string.json8 "identity": "John Doe"CODE
LOW⚡…nslator/azurelogs/testdata/administrative/valid_1.json41 "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress": "user@example.com",CODE
LOW⚡…nslator/azurelogs/testdata/administrative/valid_1.json48 "name": "John Doe",CODE
LOW⚡…nslator/azurelogs/testdata/administrative/valid_1.json56 "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "user@example.com",CODE
LOWpkg/translator/azurelogs/testdata/policy/valid_1.json48 "name": "John Doe",CODE
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHexporter/datasetexporter/README.md226 api_key: your_api_keyCODE
HIGHexporter/datasetexporter/README.md249 api_key: your_api_keyCODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMprocessor/lookupprocessor/lookupsource/doc.go9// # Creating a Custom SourceCOMMENT
MEDIUMinternal/buildscripts/gen-certs.sh96# Creating the client and server certificates.COMMENT
MEDIUMexporter/datadogexporter/examples/collector.yaml196 ## Create a new API key here: https://app.datadoghq.com/account/settingsCOMMENT
Redundant / Tautological Comments5 hits · 9 pts
SeverityFileLineSnippetContext
LOW.github/workflows/scripts/generate-pr-from-changelog.sh61 # Read file content from the PR head commit via git showCOMMENT
LOW…ub/workflows/scripts/check-collector-module-version.sh17# Check if GNU sed is installedCOMMENT
LOW⚡.github/workflows/scripts/compute-ci-scope.sh99# Check if script should keep runningCOMMENT
LOW⚡.github/workflows/scripts/compute-ci-scope.sh142# Check if there are changes to infrastructure filesCOMMENT
LOW⚡.github/workflows/scripts/compute-ci-scope.sh53 export GITHUB_OUTPUT="/dev/stdout" # Print results to consoleCODE
TODO Padding5 hits · 8 pts
SeverityFileLineSnippetContext
LOWprocessor/spanprocessor/span_test.go73 // TODO: Add test for "nil" Span. This needs support from data slices to allow to construct that.COMMENT
LOWprocessor/spanprocessor/span_test.go118 // TODO: Add test for "nil" Span. This needs support from data slices to allow to construct that.COMMENT
LOW…/mongodbatlasreceiver/internal/mongodb_atlas_client.go195 // TODO: Add error to a metricCOMMENT
LOWreceiver/prometheusreceiver/internal/transaction.go407 // TODO: implement this funcCOMMENT
LOWreceiver/prometheusreceiver/internal/transaction.go629 // TODO: implement this funcCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…transformprocessor/metrics_transform_processor_otlp.go222 // and the key is not found then move forward. In this approach we can make sure certain key is not present which is aCOMMENT
Hyper-Verbose Identifiers7 hits · 8 pts
SeverityFileLineSnippetContext
LOW…nerreceiver/internal/metadata/metricsdatapoint_test.go135 // We are checking that function HideLockStatsRowrangestartkeyPII() does not panic for invalid label values.COMMENT
LOW.github/workflows/scripts/generate-new-contributors.js76function generateNewContributorText(newContributors) {CODE
LOW.github/workflows/scripts/generate-weekly-report.js82function addJSONDataIfEnoughChartsAreLeftInTheIssue(report, issuesData, byStatus, seekingNewCodeOwnerCounts) {CODE
LOW.github/workflows/scripts/generate-weekly-report.js237function generateComponentsLookingForOwnersReportSection(lookingForOwners) {CODE
LOW.github/workflows/scripts/generate-weekly-report.js255function addChangesFromPreviousWeek(li, current, previous) {CODE
LOW…thub/workflows/scripts/generate-codeowners-activity.js179async function getReviewAndRequestedLogins(octokit, owner, repo, prNumber) {CODE
LOW…thub/workflows/scripts/generate-codeowners-activity.js323function formatComponentSummaryTable(byCodeOwnerAndComponent, componentPrStats) {CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHexporter/otelarrowexporter/otelarrow.go304 // We are throttled. Wait before retrying as requested by the server.COMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMextension/opampextension/README.md91## Using the AcceptsRestartCommand capability to orchestrate collector config updatesCOMMENT
MEDIUM…ainormalizerprocessor/internal/openllmetry/mappings.go53 // Traceloop workflow/entity (agentic)COMMENT
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…slogexporter/examples/config_with_syslog_receiver.yaml38 # make sure to configure and add a `file_storage` extension in `service.extensions`.COMMENT
LOW…examples/config_with_syslog_receiver_network_unix.yaml33 # make sure to configure and add a `file_storage` extension in `service.extensions`.COMMENT
LOW…logexporter/examples/config_with_filelog_receiver.yaml38 # make sure to configure and add a `file_storage` extension in `service.extensions`.COMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOW.github/workflows/scripts/run-checks-shard.sh14# Usage:COMMENT
LOW.github/workflows/scripts/find-no-race-test-packages.sh10# Usage:COMMENT
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…ver/testdata/integration/sparkprograms/long_running.py51CODE