Skip to content

docs: fix config reference links in the heavy queries guide - #7926

Merged
SungJin1212 merged 1 commit into
cortexproject:masterfrom
sarankumar1325:docs/heavy-queries-config-links
Nov 10, 2026
Merged

SungJin1212 merged 1 commit into
cortexproject:masterfrom
sarankumar1325:docs/heavy-queries-config-links

Conversation

@sarankumar1325

Copy link
Copy Markdown
Contributor

What this PR does:

Fixes the config reference links in docs/guides/protecting-cortex-from-heavy-queries.md:

  • The resource-based throttling link was https://cortexmetrics.io/docs/configuration/configuration-file/:~:text=query_protection. The # is missing, so the browser asks for the path /configuration-file/:~:text=query_protection, which returns 404. It now uses #ingester_config:~:text=query_protection, matching the ingester example right above it.
  • The four static-limit links (max_outstanding_requests_per_tenant, max_fetched_data_bytes_per_query, max_fetched_series_per_query, max_fetched_chunk_bytes_per_query) used the #query_frontend_config anchor, but these settings are in limits_config (see docs/configuration/config-file-reference.md). They now use #limits_config, so browsers without text-fragment support also land on the right section.

I checked that the ingester_config and limits_config anchors exist on the published page. Docs-only change, so no tests or CHANGELOG entry.

I used an AI assistant to help find and fix these links, and I checked every change myself.

Which issue(s) this PR fixes:
None, small docs fix.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
  • docs/configuration/v1-guarantees.md updated if this PR introduces experimental flags

Signed-off-by: sarankumar1325 <120080287+sarankumar1325@users.noreply.github.com>
@sarankumar1325
sarankumar1325 requested a review from a team as a code owner November 9, 2026 13:34
@sarankumar1325
sarankumar1325 requested a review from yeya24 November 9, 2026 13:34

@SungJin1212 SungJin1212 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing it. LGTM.

@SungJin1212
SungJin1212 merged commit 079b59a into cortexproject:master Nov 10, 2026
39 of 40 checks passed
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