[release-v2.6] [TraceQL Metrics] Remove all obsolete settings and code for RF3 metrics #4010
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.
Backport 43d9326 from #3995
What this PR does:
Deletes all obsolete settings and code for metrics queries against RF3 blocks. This path didn't scale, so we pivoted in the last release to a read path using RF1 blocks flushed from the generators. These don't need deduping or complex job handling, and it scales really well. This is the long-term duration, and some of the RF3 path is already broken accidentally by other feature additions, so it's good to delete it now.
This introduces some breaking changes against
main
builds in the past few months. (There is no breaking change with v2.5, these are unreleased features changing pre-2.6){ } | rate()
. If not enabled metrics queries fail with the errorlocalblocks processor not found
. Enabling the local-blocks processor can be done two ways:(a) . Per-tenant in the per-tenant overrides:
(b) or by default for all tenants in the main config:
Other changes:
sample
andjob_interval
are obsolete and were only parts of the RF3 sharding mechanism. These hints no longer do anything.Which issue(s) this PR fixes:
Fixes n/a
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]