-
Notifications
You must be signed in to change notification settings - Fork 337
Per-component / tag cardinality limits in client-side stats #11387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
dougqh
wants to merge
59
commits into
dougqh/lazy-error-latencies
Choose a base branch
from
dougqh/control-tag-cardinality
base: dougqh/lazy-error-latencies
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
129ebd1
Cap per-field metric tag cardinality via Property/TagCardinalityHandler
dougqh 8aab88d
Canonicalize SpanSnapshot before hashing so blocked values collapse
dougqh 9b70705
Defer peer-tag pair construction; capture values + canonicalize via s…
dougqh ceec2af
Rename ConflatingMetricsAggregator to ClientStatsAggregator
dougqh dd372e7
Cleanups: fix previousCounts size, drop dead code
dougqh 3a1d67e
Hoist peer-tag schema sync to once per trace
dougqh fb32366
Use cached span.kind ordinal in metrics producer; drop tag-map lookup
dougqh 1221b2b
Add client metrics pipeline design doc
dougqh e72fd01
Add DDAgentFeaturesDiscovery.peerTagsRevision()
dougqh dce4b2c
Move peer-tag schema cache from PeerTagSchema statics to ClientStatsA…
dougqh 8f4c6f4
Merge dougqh/optimize-metric-key into dougqh/control-tag-cardinality
dougqh 5a52622
Fold AggregateMetric into AggregateEntry
dougqh ece78c9
Remove accidentally-staged .claude/worktrees entries
dougqh b6c4f5f
Address review on AggregateEntry nullables + PeerTagSchema revision
dougqh 14f7f58
Consolidate cardinality-handler reset behind one entry point
dougqh b953b3a
Parameterize PropertyCardinalityHandler on T extends CharSequence
dougqh 40e8cbd
Add long-lived LRU cache to PropertyCardinalityHandler
dougqh d88a863
Centralize per-field cardinality limits in MetricCardinalityLimits
dougqh d01036f
Reimplement cardinality handlers as open-addressed flat arrays
dougqh 7b6c5f1
Drop parallel keys array in PropertyCardinalityHandler
dougqh 10ca111
Drop type parameter from PropertyCardinalityHandler
dougqh 4610078
Guard cardinality-handler ctor against pathological inputs
dougqh 713aa34
Make EMPTY the universal absent sentinel for AggregateEntry UTF8 fields
dougqh 617bc51
Use EMPTY consistently for absent values in peer-tag canonicalization
dougqh e1dec83
Tighten handler visibility + add tests for EMPTY-on-null contract
dougqh 2336bb5
Notify on peer-tag cardinality blocks
dougqh 5b6c5aa
Address PR #11387 review: dual-role docs, rename, @Nullable, consumer…
dougqh 3c3c8b1
Lock in cardinality-handler prior-cycle UTF8 reuse with explicit tests
dougqh d61a3c6
Merge branch 'dougqh/optimize-metric-key' into dougqh/control-tag-car…
dougqh 1df8bd2
Merge branch 'dougqh/optimize-metric-key' into dougqh/control-tag-car…
dougqh 57cb018
Merge branch 'dougqh/optimize-metric-key' into dougqh/control-tag-car…
dougqh 517ef75
Merge branch 'dougqh/optimize-metric-key' into dougqh/control-tag-car…
dougqh 9bbe2d0
Rename bootstrap test to ClientStatsAggregator + adapt PeerTagSchemaTest
dougqh 0c50037
Drop unused Tags imports flagged by codenarc
dougqh 078382f
Drop unused SpanKindFilter imports flagged by codenarc
dougqh 7455fcc
Merge branch 'dougqh/optimize-metric-key' into dougqh/control-tag-car…
dougqh 4171d15
Sync client_metrics_design doc with reconcile-on-aggregator-thread
dougqh 3fb86d3
Spread input hash before masking in cardinality-handler probes
dougqh e5cfb54
Apply Spotless Javadoc reflows on metrics files
dougqh b382df5
Merge remote-tracking branch 'origin/dougqh/optimize-metric-key' into…
dougqh e4ed029
Reflow reconcilePeerTagSchema Javadoc after merge
dougqh 620241e
Merge remote-tracking branch 'origin/dougqh/optimize-metric-key' into…
dougqh a6b7854
Merge remote-tracking branch 'origin/dougqh/optimize-metric-key' into…
dougqh 3d8cccc
Merge remote-tracking branch 'origin/dougqh/optimize-metric-key' into…
dougqh ad01d7d
Merge remote-tracking branch 'origin/dougqh/optimize-metric-key' into…
dougqh 60edaa4
Merge remote-tracking branch 'origin/dougqh/optimize-metric-key' into…
dougqh 6b10345
Move AggregateEntry equality contract to test-only helper
dougqh 2c3730e
Merge remote-tracking branch 'origin/dougqh/optimize-metric-key' into…
dougqh 49124e5
Merge remote-tracking branch 'origin/dougqh/optimize-metric-key' into…
dougqh db08d58
Tighten client-stats cardinality plumbing
dougqh 553bfbd
Merge branch 'dougqh/optimize-metric-key' into dougqh/control-tag-car…
dougqh 5e72808
Encapsulate EMPTY-as-absent sentinel + align hashOf field order with …
dougqh 703c9e1
Preserve warm TagCardinalityHandlers across peer-tag schema rebuilds
dougqh 92a9af3
Revert "Preserve warm TagCardinalityHandlers across peer-tag schema r…
dougqh 3f4c1c6
Add trace.stats.cardinality.limits.enabled flag (default off)
dougqh 6dc6701
Doc the regime shift after cardinality-limits flag landed
dougqh 1469811
Merge branch 'dougqh/optimize-metric-key' into dougqh/control-tag-car…
dougqh c48399d
Merge branch 'dougqh/optimize-metric-key' into dougqh/control-tag-car…
dougqh 690b796
Merge branch 'dougqh/lazy-error-latencies' into dougqh/control-tag-ca…
dougqh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Claude, this change is unnecessary