Skip to content

out_chronicle: Add descriptions for label and namespace mappings#2582

Merged
eschabell merged 2 commits into
masterfrom
cosmo0920-chronicle-namespace-mapping
May 28, 2026
Merged

out_chronicle: Add descriptions for label and namespace mappings#2582
eschabell merged 2 commits into
masterfrom
cosmo0920-chronicle-namespace-mapping

Conversation

@cosmo0920
Copy link
Copy Markdown
Contributor

@cosmo0920 cosmo0920 commented May 22, 2026

Corresponding PR is: fluent/fluent-bit#11836.

Summary by CodeRabbit

  • Documentation
    • Expanded Chronicle output plugin docs with new configuration options for labels and namespaces, including repeatable labels and a namespace fallback.
    • Added examples (YAML and Fluent Bit formats) showing fallback namespace resolution and combining static and record-derived labels to control batch grouping.

Review Change Stack

Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
@cosmo0920 cosmo0920 requested review from a team and eschabell as code owners May 22, 2026 06:31
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 22, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 95302131-d7d5-43f1-8bc3-bd215ba75312

📥 Commits

Reviewing files that changed from the base of the PR and between 3a17b3b and c3e3f67.

📒 Files selected for processing (1)
  • pipeline/outputs/chronicle.md

📝 Walkthrough

Walkthrough

Documentation for the Google Chronicle output plugin adds label (repeatable), namespace, and namespace_key to the configuration reference and includes YAML and Fluent Bit examples demonstrating namespace fallback and record-derived labels that cause separate Chronicle batches.

Changes

Chronicle Output Configuration Documentation

Layer / File(s) Summary
Configuration parameter reference table
pipeline/outputs/chronicle.md
Configuration parameters table extended with new label (repeatable), namespace, and namespace_key entries to document Chronicle batching controls and namespace fallback/separation semantics.
Namespace resolution and label usage examples
pipeline/outputs/chronicle.md
Added documentation section with YAML and Fluent Bit config examples demonstrating fallback namespace, namespace_key-based namespace resolution from records, and attachment of both static and record-derived labels to Chronicle output batches.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • fluent/fluent-bit-docs#2419: Both PRs modify pipeline/outputs/chronicle.md's configuration parameters table and related Chronicle examples, with direct content overlap in the same documentation file.

Suggested labels

5.0

Suggested reviewers

  • eschabell
  • patrick-stephens

Poem

🐰 I hopped through docs with nimble paws,
Adding labels and namespaces with no pause.
YAML and config now sing in tune,
Chronicle batches find their room.
Hooray—the docs have grown by leaps and bounds!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title 'out_chronicle: Add descriptions for label and namespace mappings' directly and clearly describes the main change: adding documentation for label and namespace mapping parameters in the Chronicle output plugin.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cosmo0920-chronicle-namespace-mapping

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.

Comment thread pipeline/outputs/chronicle.md Outdated
…pace and label example

  Applies to #2582

Signed-off-by: Eric D. Schabell <eric@schabell.org>
@eschabell eschabell merged commit cab5957 into master May 28, 2026
8 checks passed
@eschabell eschabell deleted the cosmo0920-chronicle-namespace-mapping branch May 28, 2026 06:08
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.

3 participants