Skip to content

Conversation

@thomasqueirozb
Copy link
Contributor

@thomasqueirozb thomasqueirozb commented Nov 7, 2025

Summary

This PR disables internal log rate limiting for unrecoverable or important error messages. When these errors occur, they should always be visible regardless of rate limiting.

The changes add internal_log_rate_limit = false to error logs for:

  • Config reload failures (unable to reload components, enrichment tables, or config from disk)
  • Lua script build failures
  • AMQP template build failures
  • Vector reload, config load, and recovery errors
  • Config reload rejections due to non-reloadable global options

Additionally improves debug log formatting in the AWS ECS metrics parser.

Vector configuration

NA

How did you test this PR?

NA

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our guidelines.
  • No. A maintainer will apply the no-changelog label to this PR.

References

@thomasqueirozb thomasqueirozb requested a review from a team as a code owner November 7, 2025 21:31
@github-actions github-actions bot added the domain: sinks Anything related to the Vector's sinks label Nov 7, 2025
@thomasqueirozb thomasqueirozb added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Nov 7, 2025
daveth3t3chg33k

This comment was marked as off-topic.

@thomasqueirozb thomasqueirozb modified the milestones: 0.51.0, 0.51.1 Nov 10, 2025
@thomasqueirozb thomasqueirozb added this pull request to the merge queue Nov 10, 2025
Merged via the queue into master with commit affe703 Nov 10, 2025
45 checks passed
@thomasqueirozb thomasqueirozb deleted the fix-internal-non-rate-limited-logs branch November 10, 2025 15:51
thomasqueirozb added a commit that referenced this pull request Nov 11, 2025
…or logs (#24192)

* Improve debug log in aws_ecs_metrics

* Add internal_log_rate_limit = false to config reload errors

* Disable rate limiting for lua build failure

* Disable rate limiting for amqp build failure

* Add internal_log_rate_limit = false to important failures during reload

* Disable log rate limit for repeated events in process.rs

* Update src/config/watcher.rs

* Fix message format
thomasqueirozb added a commit that referenced this pull request Nov 11, 2025
…or logs (#24192)

* Improve debug log in aws_ecs_metrics

* Add internal_log_rate_limit = false to config reload errors

* Disable rate limiting for lua build failure

* Disable rate limiting for amqp build failure

* Add internal_log_rate_limit = false to important failures during reload

* Disable log rate limit for repeated events in process.rs

* Update src/config/watcher.rs

* Fix message format
thomasqueirozb added a commit that referenced this pull request Nov 11, 2025
* chore(ci): reorganize integration test files (#24108)

* chore(ci): reorganize integration test files

* revert nats data move

* fix paths to data

* fix more paths

* amqp fix

* Fix logstash int tests shared files paths

* Rename scripts/integration -> tests/integration

* scripts/integration -> tests/integration in source files

* Fix scripts->tests

* Fix gcp paths

* Fix http-client pem path

* move nats data

---------

Co-authored-by: Thomas <[email protected]>

* chore(vdev): move all utils in a new utils folder (#24143)

* chore(vdev): move all utils in a new utils folder

* move remaining files to utils dir

* move remaining files to utils dir

* fmt

* chore(vdev): make modules visible to rustfmt (#24162)

* Remove mod inside cli_subcommands macro

* cargo fmt

* chore(vdev): apply vdev rust check fixes

* Link to rustfmt issue

* fix(vdev): release prepare vrl version pinning (#24158)

* Add --dry-run to release prepare

* Add error handling and checks to pin_vrl_version

* Add wrapper to toml

* Remove wrapper, parse as Table instead

* Fix vrl pinning logic

* Enable preserve_order feature in toml crate

* Use dependency instead of whole toml

* Fix dry run docs

* Fix dry run wording

* refactor to use toml_edit

* Add update_vrl_to_version to add unit test

* Use indoc in prepare.rs

* Remove preserve_order feature

* chore(deps): update VRL to add missing stdlib fns from 0.28 (#24178)

* chore(ci): temporarily remove homebrew publish step from publish workflow (#24185)

This temporarily removes the publish-homebrew job from the publish
workflow to address issue #24139. This is step 1 of the plan to fix
the homebrew publishing process.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <[email protected]>

* fix(blackhole sink): disable rate limiting for periodic stats messages (#24190)

* fix(blackhole sink): disable rate limiting for periodic stats messages

The blackhole sink's informational "Collected events" messages were being
rate-limited since rate limiting was enabled by default in #24024. This is
undesirable because:

1. These are deliberately scheduled periodic messages (controlled by the
   `print_interval_secs` config option), not error conditions that could
   flood the logs
2. Users explicitly configure the frequency - rate limiting defeats that
   explicit configuration and breaks user expectations
3. The interval timer already prevents log flooding, making additional
   rate limiting redundant
4. The blackhole sink is used for debugging/testing, where predictable
   output is essential

This fix adds `internal_log_rate_limit = false` to both info! calls,
similar to how the console sink disables rate limiting for its critical
operational messages.

Fixes #24188

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* chore: add changelog fragment for blackhole sink rate limiting fix

---------

Co-authored-by: Claude <[email protected]>

* chore(internal logs): Disable rate limiting for critical internal error logs (#24192)

* Improve debug log in aws_ecs_metrics

* Add internal_log_rate_limit = false to config reload errors

* Disable rate limiting for lua build failure

* Disable rate limiting for amqp build failure

* Add internal_log_rate_limit = false to important failures during reload

* Disable log rate limit for repeated events in process.rs

* Update src/config/watcher.rs

* Fix message format

* fix(tracing): prevent panic for traces without standard fields (#24191)

* fix(tracing): prevent panic for traces without std fields

* forbid unwrap in this lib

* clippy fix

* improve events_with_custom_fields_no_message_dont_panic, advance to next window

* chore(tracing): do not rate limit utlization report (#24202)

* chore(internal metrics): move config_reload_* metrics to VectorReload* (#24203)

* chore(internal metrics): move config_reload_* metrics to VectorReloaded and VectorReloadedError

* update topology_doesnt_reload_new_data_dir test

* chore(dev): cargo fmt

* strengthen tests, since now we have a better interface

* chore(releasing): Add 0.51.0 known issues (#24211)

* Format fixes

* Add 0.51.0 known issues

* Add dots

* Reword log panic known issue

* Reword VRL missing fns

* Backtick versions

* Update website/cue/reference/releases/0.51.0.cue

Co-authored-by: Pavlos Rontidis <[email protected]>

* Fix cue docs fmt

---------

Co-authored-by: Pavlos Rontidis <[email protected]>

* Bump vector version to 0.51.1

* Bump VRL to 0.28.1

* Generate 0.51.1 cue

* Add vrl_changelog

* Remove whitespace

* chore(releasing): Updated distribution/install.sh vector version to 0.51.1

* chore(releasing): Add 0.51.1 to versions.cue

* chore(releasing): Created release md file

* Add description

* Reorder items and fix format

* Finally fix styling

* Bump date

---------

Co-authored-by: Pavlos Rontidis <[email protected]>
Co-authored-by: Claude <[email protected]>
thomasqueirozb added a commit that referenced this pull request Nov 13, 2025
* chore(ci): reorganize integration test files (#24108)

* chore(ci): reorganize integration test files

* revert nats data move

* fix paths to data

* fix more paths

* amqp fix

* Fix logstash int tests shared files paths

* Rename scripts/integration -> tests/integration

* scripts/integration -> tests/integration in source files

* Fix scripts->tests

* Fix gcp paths

* Fix http-client pem path

* move nats data

---------

Co-authored-by: Thomas <[email protected]>

* chore(vdev): move all utils in a new utils folder (#24143)

* chore(vdev): move all utils in a new utils folder

* move remaining files to utils dir

* move remaining files to utils dir

* fmt

* chore(vdev): make modules visible to rustfmt (#24162)

* Remove mod inside cli_subcommands macro

* cargo fmt

* chore(vdev): apply vdev rust check fixes

* Link to rustfmt issue

* fix(vdev): release prepare vrl version pinning (#24158)

* Add --dry-run to release prepare

* Add error handling and checks to pin_vrl_version

* Add wrapper to toml

* Remove wrapper, parse as Table instead

* Fix vrl pinning logic

* Enable preserve_order feature in toml crate

* Use dependency instead of whole toml

* Fix dry run docs

* Fix dry run wording

* refactor to use toml_edit

* Add update_vrl_to_version to add unit test

* Use indoc in prepare.rs

* Remove preserve_order feature

* chore(deps): update VRL to add missing stdlib fns from 0.28 (#24178)

* chore(ci): temporarily remove homebrew publish step from publish workflow (#24185)

This temporarily removes the publish-homebrew job from the publish
workflow to address issue #24139. This is step 1 of the plan to fix
the homebrew publishing process.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <[email protected]>

* fix(blackhole sink): disable rate limiting for periodic stats messages (#24190)

* fix(blackhole sink): disable rate limiting for periodic stats messages

The blackhole sink's informational "Collected events" messages were being
rate-limited since rate limiting was enabled by default in #24024. This is
undesirable because:

1. These are deliberately scheduled periodic messages (controlled by the
   `print_interval_secs` config option), not error conditions that could
   flood the logs
2. Users explicitly configure the frequency - rate limiting defeats that
   explicit configuration and breaks user expectations
3. The interval timer already prevents log flooding, making additional
   rate limiting redundant
4. The blackhole sink is used for debugging/testing, where predictable
   output is essential

This fix adds `internal_log_rate_limit = false` to both info! calls,
similar to how the console sink disables rate limiting for its critical
operational messages.

Fixes #24188

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* chore: add changelog fragment for blackhole sink rate limiting fix

---------

Co-authored-by: Claude <[email protected]>

* chore(internal logs): Disable rate limiting for critical internal error logs (#24192)

* Improve debug log in aws_ecs_metrics

* Add internal_log_rate_limit = false to config reload errors

* Disable rate limiting for lua build failure

* Disable rate limiting for amqp build failure

* Add internal_log_rate_limit = false to important failures during reload

* Disable log rate limit for repeated events in process.rs

* Update src/config/watcher.rs

* Fix message format

* fix(tracing): prevent panic for traces without standard fields (#24191)

* fix(tracing): prevent panic for traces without std fields

* forbid unwrap in this lib

* clippy fix

* improve events_with_custom_fields_no_message_dont_panic, advance to next window

* chore(tracing): do not rate limit utlization report (#24202)

* chore(internal metrics): move config_reload_* metrics to VectorReload* (#24203)

* chore(internal metrics): move config_reload_* metrics to VectorReloaded and VectorReloadedError

* update topology_doesnt_reload_new_data_dir test

* chore(dev): cargo fmt

* strengthen tests, since now we have a better interface

* chore(releasing): Add 0.51.0 known issues (#24211)

* Format fixes

* Add 0.51.0 known issues

* Add dots

* Reword log panic known issue

* Reword VRL missing fns

* Backtick versions

* Update website/cue/reference/releases/0.51.0.cue

Co-authored-by: Pavlos Rontidis <[email protected]>

* Fix cue docs fmt

---------

Co-authored-by: Pavlos Rontidis <[email protected]>

* Bump vector version to 0.51.1

* Bump VRL to 0.28.1

* Generate 0.51.1 cue

* Add vrl_changelog

* Remove whitespace

* chore(releasing): Updated distribution/install.sh vector version to 0.51.1

* chore(releasing): Add 0.51.1 to versions.cue

* chore(releasing): Created release md file

* Add description

* Reorder items and fix format

* Finally fix styling

* Bump date

---------

Co-authored-by: Pavlos Rontidis <[email protected]>
Co-authored-by: Claude <[email protected]>

chore(releasing): pull in `internal_logs` fix into 0.51.1 (#24225)

* fix(internal_logs source): remove rate limit (#24218)

* fix(internal_logs source): remove rate limit

* add changelog

* Debug commit

* Fix validated - Revert "Debug commit"

This reverts commit c7b9ec9.

* add unit test

* fix check-events

* Pull in internal_logs source fix

* Add internal_logs known issue

* Bump date

* Update website/cue/reference/releases/0.51.0.cue

Co-authored-by: Pavlos Rontidis <[email protected]>

---------

Co-authored-by: Pavlos Rontidis <[email protected]>
thomasqueirozb added a commit that referenced this pull request Nov 13, 2025
* chore(ci): reorganize integration test files (#24108)

* chore(ci): reorganize integration test files

* revert nats data move

* fix paths to data

* fix more paths

* amqp fix

* Fix logstash int tests shared files paths

* Rename scripts/integration -> tests/integration

* scripts/integration -> tests/integration in source files

* Fix scripts->tests

* Fix gcp paths

* Fix http-client pem path

* move nats data

---------

Co-authored-by: Thomas <[email protected]>

* chore(vdev): move all utils in a new utils folder (#24143)

* chore(vdev): move all utils in a new utils folder

* move remaining files to utils dir

* move remaining files to utils dir

* fmt

* chore(vdev): make modules visible to rustfmt (#24162)

* Remove mod inside cli_subcommands macro

* cargo fmt

* chore(vdev): apply vdev rust check fixes

* Link to rustfmt issue

* fix(vdev): release prepare vrl version pinning (#24158)

* Add --dry-run to release prepare

* Add error handling and checks to pin_vrl_version

* Add wrapper to toml

* Remove wrapper, parse as Table instead

* Fix vrl pinning logic

* Enable preserve_order feature in toml crate

* Use dependency instead of whole toml

* Fix dry run docs

* Fix dry run wording

* refactor to use toml_edit

* Add update_vrl_to_version to add unit test

* Use indoc in prepare.rs

* Remove preserve_order feature

* chore(deps): update VRL to add missing stdlib fns from 0.28 (#24178)

* chore(ci): temporarily remove homebrew publish step from publish workflow (#24185)

This temporarily removes the publish-homebrew job from the publish
workflow to address issue #24139. This is step 1 of the plan to fix
the homebrew publishing process.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <[email protected]>

* fix(blackhole sink): disable rate limiting for periodic stats messages (#24190)

* fix(blackhole sink): disable rate limiting for periodic stats messages

The blackhole sink's informational "Collected events" messages were being
rate-limited since rate limiting was enabled by default in #24024. This is
undesirable because:

1. These are deliberately scheduled periodic messages (controlled by the
   `print_interval_secs` config option), not error conditions that could
   flood the logs
2. Users explicitly configure the frequency - rate limiting defeats that
   explicit configuration and breaks user expectations
3. The interval timer already prevents log flooding, making additional
   rate limiting redundant
4. The blackhole sink is used for debugging/testing, where predictable
   output is essential

This fix adds `internal_log_rate_limit = false` to both info! calls,
similar to how the console sink disables rate limiting for its critical
operational messages.

Fixes #24188

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* chore: add changelog fragment for blackhole sink rate limiting fix

---------

Co-authored-by: Claude <[email protected]>

* chore(internal logs): Disable rate limiting for critical internal error logs (#24192)

* Improve debug log in aws_ecs_metrics

* Add internal_log_rate_limit = false to config reload errors

* Disable rate limiting for lua build failure

* Disable rate limiting for amqp build failure

* Add internal_log_rate_limit = false to important failures during reload

* Disable log rate limit for repeated events in process.rs

* Update src/config/watcher.rs

* Fix message format

* fix(tracing): prevent panic for traces without standard fields (#24191)

* fix(tracing): prevent panic for traces without std fields

* forbid unwrap in this lib

* clippy fix

* improve events_with_custom_fields_no_message_dont_panic, advance to next window

* chore(tracing): do not rate limit utlization report (#24202)

* chore(internal metrics): move config_reload_* metrics to VectorReload* (#24203)

* chore(internal metrics): move config_reload_* metrics to VectorReloaded and VectorReloadedError

* update topology_doesnt_reload_new_data_dir test

* chore(dev): cargo fmt

* strengthen tests, since now we have a better interface

* chore(releasing): Add 0.51.0 known issues (#24211)

* Format fixes

* Add 0.51.0 known issues

* Add dots

* Reword log panic known issue

* Reword VRL missing fns

* Backtick versions

* Update website/cue/reference/releases/0.51.0.cue

Co-authored-by: Pavlos Rontidis <[email protected]>

* Fix cue docs fmt

---------

Co-authored-by: Pavlos Rontidis <[email protected]>

* Bump vector version to 0.51.1

* Bump VRL to 0.28.1

* Generate 0.51.1 cue

* Add vrl_changelog

* Remove whitespace

* chore(releasing): Updated distribution/install.sh vector version to 0.51.1

* chore(releasing): Add 0.51.1 to versions.cue

* chore(releasing): Created release md file

* Add description

* Reorder items and fix format

* Finally fix styling

* Bump date

---------

Co-authored-by: Pavlos Rontidis <[email protected]>
Co-authored-by: Claude <[email protected]>

chore(releasing): pull in `internal_logs` fix into 0.51.1 (#24225)

* fix(internal_logs source): remove rate limit (#24218)

* fix(internal_logs source): remove rate limit

* add changelog

* Debug commit

* Fix validated - Revert "Debug commit"

This reverts commit c7b9ec9.

* add unit test

* fix check-events

* Pull in internal_logs source fix

* Add internal_logs known issue

* Bump date

* Update website/cue/reference/releases/0.51.0.cue

Co-authored-by: Pavlos Rontidis <[email protected]>

---------

Co-authored-by: Pavlos Rontidis <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Nov 13, 2025
* chore(releasing): prepare v0.51.1 release (#24214)

* chore(ci): reorganize integration test files (#24108)

* chore(ci): reorganize integration test files

* revert nats data move

* fix paths to data

* fix more paths

* amqp fix

* Fix logstash int tests shared files paths

* Rename scripts/integration -> tests/integration

* scripts/integration -> tests/integration in source files

* Fix scripts->tests

* Fix gcp paths

* Fix http-client pem path

* move nats data

---------

Co-authored-by: Thomas <[email protected]>

* chore(vdev): move all utils in a new utils folder (#24143)

* chore(vdev): move all utils in a new utils folder

* move remaining files to utils dir

* move remaining files to utils dir

* fmt

* chore(vdev): make modules visible to rustfmt (#24162)

* Remove mod inside cli_subcommands macro

* cargo fmt

* chore(vdev): apply vdev rust check fixes

* Link to rustfmt issue

* fix(vdev): release prepare vrl version pinning (#24158)

* Add --dry-run to release prepare

* Add error handling and checks to pin_vrl_version

* Add wrapper to toml

* Remove wrapper, parse as Table instead

* Fix vrl pinning logic

* Enable preserve_order feature in toml crate

* Use dependency instead of whole toml

* Fix dry run docs

* Fix dry run wording

* refactor to use toml_edit

* Add update_vrl_to_version to add unit test

* Use indoc in prepare.rs

* Remove preserve_order feature

* chore(deps): update VRL to add missing stdlib fns from 0.28 (#24178)

* chore(ci): temporarily remove homebrew publish step from publish workflow (#24185)

This temporarily removes the publish-homebrew job from the publish
workflow to address issue #24139. This is step 1 of the plan to fix
the homebrew publishing process.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <[email protected]>

* fix(blackhole sink): disable rate limiting for periodic stats messages (#24190)

* fix(blackhole sink): disable rate limiting for periodic stats messages

The blackhole sink's informational "Collected events" messages were being
rate-limited since rate limiting was enabled by default in #24024. This is
undesirable because:

1. These are deliberately scheduled periodic messages (controlled by the
   `print_interval_secs` config option), not error conditions that could
   flood the logs
2. Users explicitly configure the frequency - rate limiting defeats that
   explicit configuration and breaks user expectations
3. The interval timer already prevents log flooding, making additional
   rate limiting redundant
4. The blackhole sink is used for debugging/testing, where predictable
   output is essential

This fix adds `internal_log_rate_limit = false` to both info! calls,
similar to how the console sink disables rate limiting for its critical
operational messages.

Fixes #24188

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* chore: add changelog fragment for blackhole sink rate limiting fix

---------

Co-authored-by: Claude <[email protected]>

* chore(internal logs): Disable rate limiting for critical internal error logs (#24192)

* Improve debug log in aws_ecs_metrics

* Add internal_log_rate_limit = false to config reload errors

* Disable rate limiting for lua build failure

* Disable rate limiting for amqp build failure

* Add internal_log_rate_limit = false to important failures during reload

* Disable log rate limit for repeated events in process.rs

* Update src/config/watcher.rs

* Fix message format

* fix(tracing): prevent panic for traces without standard fields (#24191)

* fix(tracing): prevent panic for traces without std fields

* forbid unwrap in this lib

* clippy fix

* improve events_with_custom_fields_no_message_dont_panic, advance to next window

* chore(tracing): do not rate limit utlization report (#24202)

* chore(internal metrics): move config_reload_* metrics to VectorReload* (#24203)

* chore(internal metrics): move config_reload_* metrics to VectorReloaded and VectorReloadedError

* update topology_doesnt_reload_new_data_dir test

* chore(dev): cargo fmt

* strengthen tests, since now we have a better interface

* chore(releasing): Add 0.51.0 known issues (#24211)

* Format fixes

* Add 0.51.0 known issues

* Add dots

* Reword log panic known issue

* Reword VRL missing fns

* Backtick versions

* Update website/cue/reference/releases/0.51.0.cue

Co-authored-by: Pavlos Rontidis <[email protected]>

* Fix cue docs fmt

---------

Co-authored-by: Pavlos Rontidis <[email protected]>

* Bump vector version to 0.51.1

* Bump VRL to 0.28.1

* Generate 0.51.1 cue

* Add vrl_changelog

* Remove whitespace

* chore(releasing): Updated distribution/install.sh vector version to 0.51.1

* chore(releasing): Add 0.51.1 to versions.cue

* chore(releasing): Created release md file

* Add description

* Reorder items and fix format

* Finally fix styling

* Bump date

---------

Co-authored-by: Pavlos Rontidis <[email protected]>
Co-authored-by: Claude <[email protected]>

chore(releasing): pull in `internal_logs` fix into 0.51.1 (#24225)

* fix(internal_logs source): remove rate limit (#24218)

* fix(internal_logs source): remove rate limit

* add changelog

* Debug commit

* Fix validated - Revert "Debug commit"

This reverts commit c7b9ec9.

* add unit test

* fix check-events

* Pull in internal_logs source fix

* Add internal_logs known issue

* Bump date

* Update website/cue/reference/releases/0.51.0.cue

Co-authored-by: Pavlos Rontidis <[email protected]>

---------

Co-authored-by: Pavlos Rontidis <[email protected]>

* Delete changelog entries

---------

Co-authored-by: Pavlos Rontidis <[email protected]>
elkh510 pushed a commit to elkh510/vector that referenced this pull request Nov 19, 2025
…or logs (vectordotdev#24192)

* Improve debug log in aws_ecs_metrics

* Add internal_log_rate_limit = false to config reload errors

* Disable rate limiting for lua build failure

* Disable rate limiting for amqp build failure

* Add internal_log_rate_limit = false to important failures during reload

* Disable log rate limit for repeated events in process.rs

* Update src/config/watcher.rs

* Fix message format
elkh510 pushed a commit to elkh510/vector that referenced this pull request Nov 19, 2025
* chore(releasing): prepare v0.51.1 release (vectordotdev#24214)

* chore(ci): reorganize integration test files (vectordotdev#24108)

* chore(ci): reorganize integration test files

* revert nats data move

* fix paths to data

* fix more paths

* amqp fix

* Fix logstash int tests shared files paths

* Rename scripts/integration -> tests/integration

* scripts/integration -> tests/integration in source files

* Fix scripts->tests

* Fix gcp paths

* Fix http-client pem path

* move nats data

---------

Co-authored-by: Thomas <[email protected]>

* chore(vdev): move all utils in a new utils folder (vectordotdev#24143)

* chore(vdev): move all utils in a new utils folder

* move remaining files to utils dir

* move remaining files to utils dir

* fmt

* chore(vdev): make modules visible to rustfmt (vectordotdev#24162)

* Remove mod inside cli_subcommands macro

* cargo fmt

* chore(vdev): apply vdev rust check fixes

* Link to rustfmt issue

* fix(vdev): release prepare vrl version pinning (vectordotdev#24158)

* Add --dry-run to release prepare

* Add error handling and checks to pin_vrl_version

* Add wrapper to toml

* Remove wrapper, parse as Table instead

* Fix vrl pinning logic

* Enable preserve_order feature in toml crate

* Use dependency instead of whole toml

* Fix dry run docs

* Fix dry run wording

* refactor to use toml_edit

* Add update_vrl_to_version to add unit test

* Use indoc in prepare.rs

* Remove preserve_order feature

* chore(deps): update VRL to add missing stdlib fns from 0.28 (vectordotdev#24178)

* chore(ci): temporarily remove homebrew publish step from publish workflow (vectordotdev#24185)

This temporarily removes the publish-homebrew job from the publish
workflow to address issue vectordotdev#24139. This is step 1 of the plan to fix
the homebrew publishing process.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <[email protected]>

* fix(blackhole sink): disable rate limiting for periodic stats messages (vectordotdev#24190)

* fix(blackhole sink): disable rate limiting for periodic stats messages

The blackhole sink's informational "Collected events" messages were being
rate-limited since rate limiting was enabled by default in vectordotdev#24024. This is
undesirable because:

1. These are deliberately scheduled periodic messages (controlled by the
   `print_interval_secs` config option), not error conditions that could
   flood the logs
2. Users explicitly configure the frequency - rate limiting defeats that
   explicit configuration and breaks user expectations
3. The interval timer already prevents log flooding, making additional
   rate limiting redundant
4. The blackhole sink is used for debugging/testing, where predictable
   output is essential

This fix adds `internal_log_rate_limit = false` to both info! calls,
similar to how the console sink disables rate limiting for its critical
operational messages.

Fixes vectordotdev#24188

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* chore: add changelog fragment for blackhole sink rate limiting fix

---------

Co-authored-by: Claude <[email protected]>

* chore(internal logs): Disable rate limiting for critical internal error logs (vectordotdev#24192)

* Improve debug log in aws_ecs_metrics

* Add internal_log_rate_limit = false to config reload errors

* Disable rate limiting for lua build failure

* Disable rate limiting for amqp build failure

* Add internal_log_rate_limit = false to important failures during reload

* Disable log rate limit for repeated events in process.rs

* Update src/config/watcher.rs

* Fix message format

* fix(tracing): prevent panic for traces without standard fields (vectordotdev#24191)

* fix(tracing): prevent panic for traces without std fields

* forbid unwrap in this lib

* clippy fix

* improve events_with_custom_fields_no_message_dont_panic, advance to next window

* chore(tracing): do not rate limit utlization report (vectordotdev#24202)

* chore(internal metrics): move config_reload_* metrics to VectorReload* (vectordotdev#24203)

* chore(internal metrics): move config_reload_* metrics to VectorReloaded and VectorReloadedError

* update topology_doesnt_reload_new_data_dir test

* chore(dev): cargo fmt

* strengthen tests, since now we have a better interface

* chore(releasing): Add 0.51.0 known issues (vectordotdev#24211)

* Format fixes

* Add 0.51.0 known issues

* Add dots

* Reword log panic known issue

* Reword VRL missing fns

* Backtick versions

* Update website/cue/reference/releases/0.51.0.cue

Co-authored-by: Pavlos Rontidis <[email protected]>

* Fix cue docs fmt

---------

Co-authored-by: Pavlos Rontidis <[email protected]>

* Bump vector version to 0.51.1

* Bump VRL to 0.28.1

* Generate 0.51.1 cue

* Add vrl_changelog

* Remove whitespace

* chore(releasing): Updated distribution/install.sh vector version to 0.51.1

* chore(releasing): Add 0.51.1 to versions.cue

* chore(releasing): Created release md file

* Add description

* Reorder items and fix format

* Finally fix styling

* Bump date

---------

Co-authored-by: Pavlos Rontidis <[email protected]>
Co-authored-by: Claude <[email protected]>

chore(releasing): pull in `internal_logs` fix into 0.51.1 (vectordotdev#24225)

* fix(internal_logs source): remove rate limit (vectordotdev#24218)

* fix(internal_logs source): remove rate limit

* add changelog

* Debug commit

* Fix validated - Revert "Debug commit"

This reverts commit c7b9ec9.

* add unit test

* fix check-events

* Pull in internal_logs source fix

* Add internal_logs known issue

* Bump date

* Update website/cue/reference/releases/0.51.0.cue

Co-authored-by: Pavlos Rontidis <[email protected]>

---------

Co-authored-by: Pavlos Rontidis <[email protected]>

* Delete changelog entries

---------

Co-authored-by: Pavlos Rontidis <[email protected]>
elkh510 pushed a commit to elkh510/vector that referenced this pull request Nov 19, 2025
…or logs (vectordotdev#24192)

* Improve debug log in aws_ecs_metrics

* Add internal_log_rate_limit = false to config reload errors

* Disable rate limiting for lua build failure

* Disable rate limiting for amqp build failure

* Add internal_log_rate_limit = false to important failures during reload

* Disable log rate limit for repeated events in process.rs

* Update src/config/watcher.rs

* Fix message format
elkh510 pushed a commit to elkh510/vector that referenced this pull request Nov 19, 2025
* chore(releasing): prepare v0.51.1 release (vectordotdev#24214)

* chore(ci): reorganize integration test files (vectordotdev#24108)

* chore(ci): reorganize integration test files

* revert nats data move

* fix paths to data

* fix more paths

* amqp fix

* Fix logstash int tests shared files paths

* Rename scripts/integration -> tests/integration

* scripts/integration -> tests/integration in source files

* Fix scripts->tests

* Fix gcp paths

* Fix http-client pem path

* move nats data

---------

Co-authored-by: Thomas <[email protected]>

* chore(vdev): move all utils in a new utils folder (vectordotdev#24143)

* chore(vdev): move all utils in a new utils folder

* move remaining files to utils dir

* move remaining files to utils dir

* fmt

* chore(vdev): make modules visible to rustfmt (vectordotdev#24162)

* Remove mod inside cli_subcommands macro

* cargo fmt

* chore(vdev): apply vdev rust check fixes

* Link to rustfmt issue

* fix(vdev): release prepare vrl version pinning (vectordotdev#24158)

* Add --dry-run to release prepare

* Add error handling and checks to pin_vrl_version

* Add wrapper to toml

* Remove wrapper, parse as Table instead

* Fix vrl pinning logic

* Enable preserve_order feature in toml crate

* Use dependency instead of whole toml

* Fix dry run docs

* Fix dry run wording

* refactor to use toml_edit

* Add update_vrl_to_version to add unit test

* Use indoc in prepare.rs

* Remove preserve_order feature

* chore(deps): update VRL to add missing stdlib fns from 0.28 (vectordotdev#24178)

* chore(ci): temporarily remove homebrew publish step from publish workflow (vectordotdev#24185)

This temporarily removes the publish-homebrew job from the publish
workflow to address issue vectordotdev#24139. This is step 1 of the plan to fix
the homebrew publishing process.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <[email protected]>

* fix(blackhole sink): disable rate limiting for periodic stats messages (vectordotdev#24190)

* fix(blackhole sink): disable rate limiting for periodic stats messages

The blackhole sink's informational "Collected events" messages were being
rate-limited since rate limiting was enabled by default in vectordotdev#24024. This is
undesirable because:

1. These are deliberately scheduled periodic messages (controlled by the
   `print_interval_secs` config option), not error conditions that could
   flood the logs
2. Users explicitly configure the frequency - rate limiting defeats that
   explicit configuration and breaks user expectations
3. The interval timer already prevents log flooding, making additional
   rate limiting redundant
4. The blackhole sink is used for debugging/testing, where predictable
   output is essential

This fix adds `internal_log_rate_limit = false` to both info! calls,
similar to how the console sink disables rate limiting for its critical
operational messages.

Fixes vectordotdev#24188

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* chore: add changelog fragment for blackhole sink rate limiting fix

---------

Co-authored-by: Claude <[email protected]>

* chore(internal logs): Disable rate limiting for critical internal error logs (vectordotdev#24192)

* Improve debug log in aws_ecs_metrics

* Add internal_log_rate_limit = false to config reload errors

* Disable rate limiting for lua build failure

* Disable rate limiting for amqp build failure

* Add internal_log_rate_limit = false to important failures during reload

* Disable log rate limit for repeated events in process.rs

* Update src/config/watcher.rs

* Fix message format

* fix(tracing): prevent panic for traces without standard fields (vectordotdev#24191)

* fix(tracing): prevent panic for traces without std fields

* forbid unwrap in this lib

* clippy fix

* improve events_with_custom_fields_no_message_dont_panic, advance to next window

* chore(tracing): do not rate limit utlization report (vectordotdev#24202)

* chore(internal metrics): move config_reload_* metrics to VectorReload* (vectordotdev#24203)

* chore(internal metrics): move config_reload_* metrics to VectorReloaded and VectorReloadedError

* update topology_doesnt_reload_new_data_dir test

* chore(dev): cargo fmt

* strengthen tests, since now we have a better interface

* chore(releasing): Add 0.51.0 known issues (vectordotdev#24211)

* Format fixes

* Add 0.51.0 known issues

* Add dots

* Reword log panic known issue

* Reword VRL missing fns

* Backtick versions

* Update website/cue/reference/releases/0.51.0.cue

Co-authored-by: Pavlos Rontidis <[email protected]>

* Fix cue docs fmt

---------

Co-authored-by: Pavlos Rontidis <[email protected]>

* Bump vector version to 0.51.1

* Bump VRL to 0.28.1

* Generate 0.51.1 cue

* Add vrl_changelog

* Remove whitespace

* chore(releasing): Updated distribution/install.sh vector version to 0.51.1

* chore(releasing): Add 0.51.1 to versions.cue

* chore(releasing): Created release md file

* Add description

* Reorder items and fix format

* Finally fix styling

* Bump date

---------

Co-authored-by: Pavlos Rontidis <[email protected]>
Co-authored-by: Claude <[email protected]>

chore(releasing): pull in `internal_logs` fix into 0.51.1 (vectordotdev#24225)

* fix(internal_logs source): remove rate limit (vectordotdev#24218)

* fix(internal_logs source): remove rate limit

* add changelog

* Debug commit

* Fix validated - Revert "Debug commit"

This reverts commit c7b9ec9.

* add unit test

* fix check-events

* Pull in internal_logs source fix

* Add internal_logs known issue

* Bump date

* Update website/cue/reference/releases/0.51.0.cue

Co-authored-by: Pavlos Rontidis <[email protected]>

---------

Co-authored-by: Pavlos Rontidis <[email protected]>

* Delete changelog entries

---------

Co-authored-by: Pavlos Rontidis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: sinks Anything related to the Vector's sinks no-changelog Changes in this PR do not need user-facing explanations in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants