This release adds experimental support for recording structured field
values using the [valuable] crate to the format::Json formatter. In
particular, user-defined types which are recorded using their
[valuable::Valuable] implementations will be serialized as JSON objects,
rather than using their fmt::Debug representation. See [this blog post][post]
for details on valuable.
Note that valuable support currently requires --cfg tracing_unstable. See
the documentation for details.
Additionally, this release includes a number of other smaller API improvements.
Added
json: Experimental support for recording [valuable] values as structured
JSON (#1862, #1901)
filter: Targets::would_enable method for testing if a Targets filter
would enable a given target (#1903)
fmt: map_event_format, map_fmt_fields, and map_writer methods to
fmt::Layer and fmt::SubscriberBuilder (#1871)
Changed
tracing-core: updated to [0.1.22][core-0.1.22]
Fixed
Set smallvec minimal version to 1.2.0, to fix compilation errors with -Z minimal-versions (#1890)
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.3.3 to 0.3.9.
Release notes
Sourced from tracing-subscriber's releases.
... (truncated)
Commits
2974ae9
subscriber: prepare to release v0.3.9 (#1938)008339d
subscriber: updateparking_lot
to 0.12846a53e
tracing: prepare to release v0.1.31 (#1937)94379a3
docs: clean uptracing_subscriber::fmt
formatter docs (#1927)38a99d8
docs: addtracing-forest
to "Related Crates" section (#1935)b37d8af
tracing: fix wrong log level inwarn!
macro (#1930)e5921ba
docs: updateCompact
formatter docs (#1926)f4a44cf
opentelemetry: prepare to release v0.17.1 (#1922)21eb741
opentelemetry: allocate fewer strings for recording events (#1917)f8a93f1
opentelemetry: forward event source locations (#1911)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)