open-telemetry
opentelemetry-collector
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[exporter/exporterhelper] Add DroppedItemsErr to report intentionally dropped items Exporters that intentionally discard items (e.g. the Prometheus exporter dropping non-monotonic DELTA sums) previously had no way to signal this to the exporterhelper observation layer. Those items were silently counted as successfully sent, making internal telemetry misleading. This change adds: - exporterhelper.DroppedItemsErr / NewDroppedItemsErr: a public, non-failure sentinel that an exporter's push function can return to report a number of intentionally dropped items and an optional reason. The type is re-exported from the internal experr package so external exporters can construct it. - Four new telemetry counters (otelcol_exporter_dropped_{spans,metric_points,log_records,profile_samples}) emitted by the obsReportSender whenever a DroppedItemsErr is received. - At detailed telemetry level, an exporter.dropped.reason metric attribute is attached to the four counters. A metric view in service/internal/metricviews filters the attribute out at non-detailed levels, mirroring the existing handling of error.type / error.permanent on exporter_send_failed_*, to bound cardinality. - An items.dropped span attribute is added alongside items.sent / items.failed on the exporter span. - A warning is logged when an exporter reports more dropped items than the request actually contained; the sent counter is clamped to zero in that case. - obsReportSender adjusts the sent count so that dropped items are excluded from "sent" and the DroppedItemsErr is not propagated as a pipeline error. An end-to-end test exercises the full public API (exporterhelper.NewMetrics + NewDroppedItemsErr) and asserts the emitted telemetry contract. Resolves #13643 Signed-off-by: Kc Balusu <kcbalusu@meta.com>
Krishnachaitanyakc:fix/issue-13643
1 day ago
test(confignet): add coverage for Unix socket error paths Cover the Listen invalid endpoint, removeStaleSocket Stat error, and Chmod failure paths to meet the 95% patch coverage target. Assisted-by: Claude Opus 4.6
jsokol805:confignet-unix-socket-lifecycle
2 days ago
Merge branch 'open-telemetry:main' into find-metadata-feature-gates
TylerHelmuth:find-metadata-feature-gates
2 days ago
Apply suggestion from @TylerHelmuth
TylerHelmuth:find-metadata-feature-gates
2 days ago
feat(mdatagen): enforce feature name naming and reference links
TylerHelmuth:find-metadata-feature-gates
2 days ago
fix(confignet): resolve CI lint failures and Windows test skip Move Unix-socket-specific tests to confignet_unix_test.go with //go:build !windows constraint to fix Windows CI failures. Fix lint issues: gosec G306 (0o644→0o600), testifylint require-error, usetesting nolint directives for short socket paths, and gofumpt trailing whitespace. Assisted-by: Claude Opus 4.6
jsokol805:confignet-unix-socket-lifecycle
2 days ago
Move npipe config to its own section
swiatekm:feat/confignet-npipe-security-descriptor
2 days ago
Move npipe config to its own section
swiatekm:feat/confignet-npipe-security-descriptor
2 days ago
Latest Branches
CodSpeed Performance Gauge
0%
[exporter/exporterhelper] Add DroppedItemsErr to report intentionally dropped items
#15028
16 days ago
ca51457
Krishnachaitanyakc:fix/issue-13643
CodSpeed Performance Gauge
-3%
feat(confignet): add Unix domain socket lifecycle management
#15199
2 days ago
5ce70cb
jsokol805:confignet-unix-socket-lifecycle
CodSpeed Performance Gauge
-1%
feat(mdatagen): enforce feature name naming and reference links
#15310
2 days ago
b3d72d6
TylerHelmuth:find-metadata-feature-gates
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs