Skip to content

Conversation

@micheleRP
Copy link
Contributor

@micheleRP micheleRP commented May 27, 2025

Description

This pull request tags enable_consumer_group_metrics, rpk cluster config get, and part of the monitoring page for single sourcing in Cloud docs. Related PR = redpanda-data/cloud-docs#311.

Documentation Updates:

  • Consumer Group Metrics Documentation:
    • Added detailed tags (enable_consumer_group_metrics) to describe consumer group metrics and their behavior for both cloud and non-cloud environments.
  • rpk cluster config get Documentation:
    • Introduced tags (single-source) to structure the documentation for retrieving cluster configuration properties, improving readability and organization. [1] [2]

Configuration Updates:

  • Branch Reference Update in local-antora-playbook.yml:
    • Updated the branch reference for the redpanda-data/cloud-docs repository from 'main' to 'DOC-1404-Document-new-configurable-property' to reflect the new documentation branch.

Resolves https://redpandadata.atlassian.net/browse/DOC-1407
Review deadline:

Page previews

enable_consumer_group_metrics in Cloud
enable_consumer_group_metrics in SM
rpk cluster config get in Cloud
Monitor Redpanda Cloud

Checks

  • New feature
  • Content gap
  • Support Follow-up
  • Small fix (typos, links, copyedits, etc)

@micheleRP micheleRP requested a review from a team as a code owner May 27, 2025 23:33
@netlify
Copy link

netlify bot commented May 27, 2025

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit 90ce28e
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/683de7d5fc95e80008c41c8b
😎 Deploy Preview https://deploy-preview-1139--redpanda-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented May 27, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

The changes update documentation to support environment-specific content and improve single-sourcing for cloud and non-cloud builds. The Antora playbook is modified to source documentation from a specific feature branch. The enable_consumer_group_metrics cluster property documentation is split into conditional blocks for cloud and non-cloud environments, with tailored descriptions, defaults, and references. Additionally, source tagging markers are added to the rpk cluster config get documentation for content reuse, without altering the substantive documentation content.

Sequence Diagram(s)

sequenceDiagram
    participant Antora
    participant cloud-docs (feature branch)
    participant Docs Build

    Antora->>cloud-docs (feature branch): Fetch content (branch: DOC-1404-Document-new-configurable-property)
    Antora->>Docs Build: Build docs with environment conditionals
    Docs Build->>Docs Build: Render cluster property docs (env-specific)
    Docs Build->>Docs Build: Include tagged content for rpk cluster config get
Loading

Assessment against linked issues

Objective Addressed Explanation
Single source additions for Cloud: rpk cluster config get, enable_consumer_group_metrics (DOC-1407)
Document new configurable property, note performance impact (DOC-1404)

Possibly related PRs

Suggested reviewers

  • mattschumpert
  • alenkacz

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
local-antora-playbook.yml (1)

19-20: Branch reference updated to feature branch
The cloud-docs source now points to the DOC-1404-Document-new-configurable-property branch, which aligns this playbook with the new configurable-property documentation changes.

Nitpick: for consistency with other multi-branch entries, you could use a YAML list here:

-  branches: 'DOC-1404-Document-new-configurable-property'
+  branches: ['DOC-1404-Document-new-configurable-property']
modules/reference/pages/properties/cluster-properties.adoc (1)

1233-1239: Cloud conditional block: Consider adding usage guidance.

The ifdef::env-cloud[] block mirrors the overhead warning but omits any pointer to consumer_group_lag_collection_interval_sec. For consistency, it would be helpful to include the same usage note in the cloud context so users know how to adjust the lag collection interval there as well.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3dc1e40 and de09429.

📒 Files selected for processing (3)
  • local-antora-playbook.yml (1 hunks)
  • modules/reference/pages/properties/cluster-properties.adoc (1 hunks)
  • modules/reference/pages/rpk/rpk-cluster/rpk-cluster-config-get.adoc (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Redirect rules - redpanda-docs-preview
  • GitHub Check: Header rules - redpanda-docs-preview
  • GitHub Check: Pages changed - redpanda-docs-preview
🔇 Additional comments (3)
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-config-get.adoc (1)

2-2: Single-source tags correctly wrap the document
The // tag::single-source[] and matching // end::single-source[] markers are placed at the very start and end of the page content, enabling source extraction without altering any of the substantive documentation.

Also applies to: 35-35

modules/reference/pages/properties/cluster-properties.adoc (2)

1223-1231: Non-cloud conditional block: Overhead note and usage guidance added.

The ifndef::env-cloud[] section now includes a clear warning about the extra processing overhead when enabling consumer_lag, along with a link to the consumer_group_lag_collection_interval_sec property to control collection frequency. This enhances clarity and helps users tune the setting appropriately.


1247-1253: Default values and related topics scoped correctly to non-cloud.

The default list (["group", "partition"]) and the related-topic link are properly enclosed in the non-cloud block, ensuring cloud builds don’t display irrelevant defaults. This aligns with the single‐sourcing strategy.

Copy link
Contributor

@Feediver1 Feediver1 left a comment

Choose a reason for hiding this comment

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

lgtm

@micheleRP micheleRP merged commit d9cb98a into main Jun 13, 2025
7 checks passed
@micheleRP micheleRP deleted the DOC-1407-single-source-additions-for-Cloud branch June 13, 2025 16:00
@coderabbitai coderabbitai bot mentioned this pull request Jun 15, 2025
4 tasks
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.

5 participants