docs: installation: upgrade-notes: add v5.0 notes, fix spelling suggestion#2528
Conversation
…stion - Add v5.0 section: hot_reloaded_times metric type change (gauge to counter) - Add v5.0 section: emitter backpressure auto-enabled with filesystem storage - Replace "stringified" with "string-encoded" in v1.2 Kubernetes filter note Fixes fluent#2527 Signed-off-by: Eric D. Schabell <eric@schabell.org>
📝 WalkthroughWalkthroughAdded a new Fluent Bit v5.0 upgrade notes section documenting two breaking changes: the internal metric Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (3)
installation/upgrade-notes.md (3)
25-25: Clarify configuration syntax and placement.The instruction "explicitly set
storage.pause_on_chunks_overlimit off" could be clearer about:
- The value
offshould be in backticks for consistency- Where this setting should be placed (on the input plugin configuration)
📝 Suggested improvement for clarity
-If you rely on the previous unlimited accumulation behavior, explicitly set `storage.pause_on_chunks_overlimit off` on the relevant input. Otherwise, review your `storage.max_chunks_up` value to ensure it's tuned for your expected throughput. +If you rely on the previous unlimited accumulation behavior, explicitly set `storage.pause_on_chunks_overlimit` to `off` on the relevant input plugin. Otherwise, review your `storage.max_chunks_up` value to ensure it's tuned for your expected throughput.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@installation/upgrade-notes.md` at line 25, Clarify that the setting key is `storage.pause_on_chunks_overlimit` and the literal value should be written as `off` (in backticks) and explicitly state that this line belongs inside the relevant input plugin block (i.e., add it to the input plugin configuration for the data source that previously relied on unlimited accumulation); also mention that `storage.max_chunks_up` is the global/related config to review and tune for expected throughput.
21-21: Awkward phrasing: "automatically enables".The phrase "now automatically enables
storage.pause_on_chunks_overlimit" is grammatically awkward. The plugin is the subject, but the phrasing makes it unclear whether the plugin actively enables something or has a setting automatically enabled.✍️ Suggested rephasing for clarity
-The internal emitter plugin, used by filters such as `rewrite_tag`, now automatically enables `storage.pause_on_chunks_overlimit` when filesystem storage is in use and that option hasn't been explicitly configured. +The internal emitter plugin, used by filters such as `rewrite_tag`, now has `storage.pause_on_chunks_overlimit` automatically enabled when filesystem storage is in use and that option hasn't been explicitly configured.or alternatively:
-The internal emitter plugin, used by filters such as `rewrite_tag`, now automatically enables `storage.pause_on_chunks_overlimit` when filesystem storage is in use and that option hasn't been explicitly configured. +The internal emitter plugin, used by filters such as `rewrite_tag`, now defaults to `storage.pause_on_chunks_overlimit on` when filesystem storage is in use and that option hasn't been explicitly configured.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@installation/upgrade-notes.md` at line 21, Rephrase the sentence about the internal emitter plugin to remove the awkward active phrasing "automatically enables" and make the behavior clear; for example, say that the internal emitter plugin (used by filters such as `rewrite_tag`) will cause `storage.pause_on_chunks_overlimit` to be enabled when filesystem storage is detected and that option has not been explicitly set, or say that the plugin now defaults `storage.pause_on_chunks_overlimit` to enabled under those conditions — ensure you reference `internal emitter plugin`, `rewrite_tag`, `storage.pause_on_chunks_overlimit`, and "filesystem storage" in the new sentence for clarity.
19-25: Updatepipeline/buffering.mdto document automatic emitter behavior withstorage.pause_on_chunks_overlimit.The upgrade notes document that emitters automatically enable
storage.pause_on_chunks_overlimitwhen filesystem storage is in use, butpipeline/buffering.md:140shows the default asoffwithout mentioning this automatic enablement for emitter-backed pipelines. Add a note to thestorage.pause_on_chunks_overlimitconfiguration description to clarify that this setting is automatically enabled for emitters with filesystem storage unless explicitly set otherwise.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@installation/upgrade-notes.md` around lines 19 - 25, Update the storage.pause_on_chunks_overlimit description in pipeline/buffering.md to note that emitter-backed pipelines (e.g., the internal emitter used by filters like rewrite_tag) automatically enable storage.pause_on_chunks_overlimit when filesystem storage is detected unless the option is explicitly set; keep the default shown as off but add a clarifying sentence referencing "emitter" behavior and the exception for explicit configuration so readers know to set storage.pause_on_chunks_overlimit off if they want the old unlimited accumulation behavior.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@installation/upgrade-notes.md`:
- Line 25: Clarify that the setting key is `storage.pause_on_chunks_overlimit`
and the literal value should be written as `off` (in backticks) and explicitly
state that this line belongs inside the relevant input plugin block (i.e., add
it to the input plugin configuration for the data source that previously relied
on unlimited accumulation); also mention that `storage.max_chunks_up` is the
global/related config to review and tune for expected throughput.
- Line 21: Rephrase the sentence about the internal emitter plugin to remove the
awkward active phrasing "automatically enables" and make the behavior clear; for
example, say that the internal emitter plugin (used by filters such as
`rewrite_tag`) will cause `storage.pause_on_chunks_overlimit` to be enabled when
filesystem storage is detected and that option has not been explicitly set, or
say that the plugin now defaults `storage.pause_on_chunks_overlimit` to enabled
under those conditions — ensure you reference `internal emitter plugin`,
`rewrite_tag`, `storage.pause_on_chunks_overlimit`, and "filesystem storage" in
the new sentence for clarity.
- Around line 19-25: Update the storage.pause_on_chunks_overlimit description in
pipeline/buffering.md to note that emitter-backed pipelines (e.g., the internal
emitter used by filters like rewrite_tag) automatically enable
storage.pause_on_chunks_overlimit when filesystem storage is detected unless the
option is explicitly set; keep the default shown as off but add a clarifying
sentence referencing "emitter" behavior and the exception for explicit
configuration so readers know to set storage.pause_on_chunks_overlimit off if
they want the old unlimited accumulation behavior.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 5c42cc08-3dd5-4ab8-8c52-200f41bdf011
📒 Files selected for processing (1)
installation/upgrade-notes.md
|
@patrick-stephens ready for review! |
Fixes #2527
Summary by CodeRabbit
Documentation