Skip to content

Add docs for a the operation timings#248

Merged
StarpTech merged 1 commit intowundergraph:mainfrom
AlenaSviridenko:asviridenko-add-query-timings-documentation
Feb 11, 2026
Merged

Add docs for a the operation timings#248
StarpTech merged 1 commit intowundergraph:mainfrom
AlenaSviridenko:asviridenko-add-query-timings-documentation

Conversation

@AlenaSviridenko
Copy link
Copy Markdown
Contributor

@AlenaSviridenko AlenaSviridenko commented Feb 11, 2026

Description

This is documentation that addresses changes I'm making in wundergraph/cosmo#2491. It explains what operation timing is, and how to use in a customer module.

Summary by CodeRabbit

  • Documentation
    • Added guidance on accessing operation timings within Middleware, detailing available timing fields (ParsingTime, ValidationTime, NormalizationTime, PlanningTime) and timing accuracy considerations.

Checklist

  • I have validated my changes locally using mintlify dev
  • I have validated my changes are working as expected by looking at the preview deployment
  • All links in my documentation work correctly
  • All images render properly
  • Code examples are tested and formatted correctly
  • If I added new pages, they are included in the navigation (docs.json)

@AlenaSviridenko AlenaSviridenko requested review from a team as code owners February 11, 2026 10:04
@AlenaSviridenko AlenaSviridenko requested review from JivusAyrus, SkArchon and StarpTech and removed request for a team February 11, 2026 10:04
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Feb 11, 2026

Walkthrough

Adds a new documentation section to the custom modules guide explaining how to access operation timing information from the request context within Middleware. The section includes a code example, documentation of OperationTimings fields (ParsingTime, ValidationTime, NormalizationTime, PlanningTime), and a note regarding timing accuracy. The section appears in two locations within the document.

Changes

Cohort / File(s) Summary
Documentation
docs/router/custom-modules.mdx
Added new "Access operation timings" section with Middleware code example, OperationTimings field descriptions, and timing accuracy note (29 lines added). Section appears duplicated in two document locations.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Add docs for a the operation timings' is related to the changeset, which adds documentation about operation timings. However, it contains a grammatical error ('for a the' should be 'for the') and is somewhat generic.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


No actionable comments were generated in the recent review. 🎉

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@StarpTech StarpTech left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@StarpTech StarpTech merged commit 990c9d4 into wundergraph:main Feb 11, 2026
1 check passed
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.

2 participants