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
6692aaf subscriber: prepare to release 0.2.25 (#1622)
29ffdbc subscriber: forward Filtered::downcast_raw to wrapped Layer (#1619)
645f282 attributes: prepare to release 0.1.18 (#1621)
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.19 to 0.2.25.
Release notes
Sourced from tracing-subscriber's releases.
... (truncated)
Commits
6692aaf
subscriber: prepare to release 0.2.25 (#1622)29ffdbc
subscriber: forwardFiltered::downcast_raw
to wrapped Layer (#1619)645f282
attributes: prepare to release 0.1.18 (#1621)7dda7f5
attributes: remove unnecessary quote_spanned! (#1617)243a3e2
attributes: fix compile error with instrumented async functions (#1616)ac74ba0
attributes: suppressclippy::suspicious_else
without nop let (#1614)66cd79f
attributes: prepare to release v0.1.17 (#1611)3ee87f3
core: prepare to release 0.1.21 (#1610)84c1c26
chore: fix CI tracing-core nostd testing tracingc9db496
attributes: skipasync
spans if level disabled (#1607)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)