Skip to content

[exporter/signalfx] Add stateful deduplication for dimension updates#46042

Closed
dmitryax wants to merge 2 commits into
open-telemetry:mainfrom
dmitryax:signalfx-exporter-deduplication
Closed

[exporter/signalfx] Add stateful deduplication for dimension updates#46042
dmitryax wants to merge 2 commits into
open-telemetry:mainfrom
dmitryax:signalfx-exporter-deduplication

Conversation

@dmitryax
Copy link
Copy Markdown
Member

@dmitryax dmitryax commented Feb 12, 2026

Follow-up to #45595.

This change adds hash-based, stateful deduplication for dimension property updates to prevent duplicate API calls.

It addresses the issue where the k8s_cluster receiver periodically resends entity events every metadata_collection_interval (default: 5 minutes), which can trigger redundant dimension property updates. Even if periodic events are disabled with metadata_collection_interval: 0 on the k8s_cluster receiver side, identical entity events can still be sent because the entity payload is only a subset of the full Kubernetes object. Other parts of the Kubernetes object may change in ways that do not affect the captured entity payload, but still cause the event to be re-emitted.

For now, this is behind the feature gate exporter.signalfx.dimensionStatefulDeduplication and is disabled by default.

A follow-up PR will add an adaptive TTL for the hash cache to manage memory usage over time and evict keys for dimensions that are no longer active.

dmitryax and others added 2 commits February 11, 2026 17:36
Adds hash-based stateful deduplication for dimension property updates to prevent sending duplicate updates to SignalFx backend. This addresses the issue where k8scluster receiver periodically resends entity events every `metadata_collection_interval` (default 5 minutes), causing redundant dimension property updates.

For now, behind feature  gate `exporter.signalfx.dimensionStatefulDeduplication` (Alpha stage).

A follow-up PR will add adaptive TTL for the hash cache to manage memory usage over time and drop keys for dimensions that aren't active anymore.
@github-actions
Copy link
Copy Markdown
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions Bot added the Stale label Feb 26, 2026
@dmitryax dmitryax removed the Stale label Mar 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions Bot added the Stale label Mar 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions Bot closed this Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants