Skip to content

Document version-specific MongoDB query stats parameters - #39721

Merged
lu-zhengda merged 1 commit into
masterfrom
zhengda.lu/document-mongodb-query-stats-rate-limit
Sep 3, 2026
Merged

Document version-specific MongoDB query stats parameters#39721
lu-zhengda merged 1 commit into
masterfrom
zhengda.lu/document-mongodb-query-stats-rate-limit

Conversation

@lu-zhengda

@lu-zhengda lu-zhengda commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

What does this PR do? What is the motivation?

Documents the query stats server parameter for each supported MongoDB 8.0 patch range:

  • MongoDB 8.0.0 through 8.0.19 uses internalQueryStatsRateLimit=-1.
  • MongoDB 8.0.20 or later uses internalQueryStatsSampleRate=1.0.

The page includes configuration file, command-line, and runtime examples for both ranges.

Merge readiness

  • Ready for merge

For Datadog employees:

  • ⚠️ Your branch name must follow the name/description convention.
  • 🤖 Comment with /review to run the automated documentation check.

AI assistance

Used Codex to compare MongoDB 8.0 source tags, update the page, and run validation.

Additional notes

MongoDB source definitions were checked for each tag from r8.0.0 through r8.0.20.

@lu-zhengda
lu-zhengda marked this pull request as ready for review September 3, 2026 19:15
@lu-zhengda
lu-zhengda requested review from a team as code owners September 3, 2026 19:15

@datadog-datadog-prod-us1 datadog-datadog-prod-us1 Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Datadog Autotest: PASS

More details

The page uses internalQueryStatsSampleRate for MongoDB 8.0.20 and later. It uses internalQueryStatsRateLimit for versions 8.0.0 through 8.0.19 in all three examples.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Datadog Autotest · Commit 7560a79 · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Preview links (active after the build_preview check completes)

Modified Files

@lu-zhengda
lu-zhengda merged commit 666c03d into master Sep 3, 2026
32 of 35 checks passed
@lu-zhengda
lu-zhengda deleted the zhengda.lu/document-mongodb-query-stats-rate-limit branch September 3, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants