Skip to content

Fix static-host ignore settings propagation - #202

Open
andrba wants to merge 1 commit into
masterfrom
andrba-freno-static-host-ignore-fix
Open

andrba wants to merge 1 commit into
masterfrom
andrba-freno-static-host-ignore-fix

Conversation

@andrba

@andrba andrba commented Oct 14, 2026

Copy link
Copy Markdown

Forward IgnoreHostsCount and IgnoreHostsThreshold when building static-host probes, matching the other discovery sources.

Forward IgnoreHostsCount and IgnoreHostsThreshold when building static-host probes, matching the other discovery sources. Add focused regression coverage for probe construction and aggregation, including defaults and threshold boundaries.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@andrba
andrba marked this pull request as ready for review October 14, 2026 09:21
Copilot AI balanced review requested due to automatic review settings October 14, 2026 09:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The implementation matches other discovery sources and is comprehensively tested.

0 open findings

What changed in this PR

Propagates host-ignore settings for static MySQL host discovery.

Changes:

  • Copies ignore count and threshold into static-host probes.
  • Adds end-to-end coverage for propagation and aggregation behavior.
File Description
pkg/​throttle/​throttler.go Forwards static-host ignore settings.
pkg/​throttle/​throttler_test.go Tests propagation and aggregation cases.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

This branch has not been deployed

No deployments
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