Skip to content

Conversation

czechboy0
Copy link
Contributor

Motivation

Swift Log/Swift Metrics integration should be enabled by default. And the operator can always pass in a no-op log/metrics backend if they want to discard it.

This is important when Configuration is used as a transitive dependency, as there the operator wouldn't have a way to enable observability from this library unless the direct dependency that pulled in Configuration was cooperative.

Modifications

Enabled logging/metrics by default by changing the default parameter values in the reloading providers.

Result

Logs/metrics emitted for reloading providers by default.

Test Plan

Adapted tests.

@czechboy0 czechboy0 requested a review from FranzBusch October 13, 2025 12:14
@czechboy0 czechboy0 linked an issue Oct 13, 2025 that may be closed by this pull request
@czechboy0 czechboy0 added the 🆕 semver/minor Adds new public API. label Oct 14, 2025
@czechboy0 czechboy0 enabled auto-merge (squash) October 14, 2025 13:33
@czechboy0 czechboy0 merged commit f078f10 into apple:main Oct 14, 2025
32 checks passed
@czechboy0 czechboy0 deleted the hd-observability-default-on branch October 14, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't suppress metrics by default

2 participants