This release introduces the [Filter] trait, a new API for [per-layer
filtering][plf]. This allows controlling which spans and events are
recorded by various layers individually, rather than globally.
In addition, it adds a new [Targets] filter, which provides a
lighter-weight version of the filtering provided by [EnvFilter], as
well as other smaller API improvements and fixes.
Deprecated
registry: SpanRef::parent_id, which cannot properly support
per-layer filtering. Use .parent().map(SpanRef::id) instead.
(#1523)
Fixed
layerContext methods that are provided when the Subscriber
implements LookupSpan no longer require the "registry" feature flag
(#1525)
layerfmt::Debug implementation for Layered no longer requires
the S type parameter to implement Debug (#1528)
Added
... (truncated)
Commits
a792aa8 subscriber: prepare to release v0.2.23 (#1573)
f12176e docs: remove divs from all notes/warnings (#1572)
3b8e680 subscriber: clear per-layer interest when short circuiting (#1569)
08865f6 subscriber: don't use SmallVecs for filter fields (#1568)
c24621f tracing: prepare to release v0.1.27 (#1561)
47036aa attributes: prepare to release v0.1.16 (#1560)
00ffaee subscriber: prepare to release 0.2.22 (#1559)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps tracing-subscriber from 0.2.20 to 0.2.23.
Release notes
Sourced from tracing-subscriber's releases.
... (truncated)
Commits
a792aa8
subscriber: prepare to release v0.2.23 (#1573)f12176e
docs: remove divs from all notes/warnings (#1572)3b8e680
subscriber: clear per-layer interest when short circuiting (#1569)08865f6
subscriber: don't use SmallVecs for filter fields (#1568)c24621f
tracing: prepare to release v0.1.27 (#1561)47036aa
attributes: prepare to release v0.1.16 (#1560)00ffaee
subscriber: prepare to release 0.2.22 (#1559)2a329ec
chore: docs and tests cleanups(#1556)6df3fd1
subscriber: fixfilter::ParseError
accidentally being renamed (#1558)47f1cd2
subscriber: prepare to release v0.2.21 (#1555)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)