Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/tokio-rs/tracing
Application level tracing for Rust.
https://github.com/tokio-rs/tracing
## Motivation
Const argumetns in `level!` macros do not work when in the first
position.
...
If something like `warn!(?foo)` and `warn!(name: "foo", ?foo)` works, then `warn!(name: "foo", t...
0e3577f6f3995b92accee21e0737c25ef0f1953c authored 10 months ago by Tobias Bieniek <[email protected]>## Motivation
In the simple macro cases with e.g. only "name" or only "target" these
prefixe...
This results in a substantial performance improvement,
and is compatible with our MSRV.
Signed...
baeba47cdaac9ed32d5ef3f6f1d7b0cc71ffdbdf authored 11 months ago by Alex Saveau <[email protected]>b461897c78a63faa8c88304b6276122564e43aaa authored 11 months ago by Cijo Thomas <[email protected]>
## Motivation
Fix typo "synchonous" => "synchronous" in the crate level documentation.
aa50d0e61373bb4af1ba567963e396dd2a54eb22 authored 11 months ago by Min Deng <[email protected]>335380a6b17e733899b95e0524ad03581861cbc2 authored 11 months ago by John Vandenberg <[email protected]>
This allows to manually map tracing levels to journald levels.
It seems that @little-dude, wh...
d4ca988252211b12e3beccfa6b029064ede1d6dc authored 12 months ago by Gabriel Goller <[email protected]>07b490067c0e2af61f48a3d2afb85a20ab70ba95 authored 12 months ago by Taiki Endo <[email protected]>
Signed-off-by: Alex Saveau <[email protected]>
00ca2dc116d11b450cdc9c6306aaf59f6b7ed34a authored 12 months ago by Alex Saveau <[email protected]>
With the release of Rust 1.74, there are some new or modified clippy
lints that need adaption i...
fixes https://github.com/tokio-rs/tracing/actions/runs/6785393202/job/18443641813
cargo test ...
8ba80ae82371638aa749436e4f284b65adf9ff90 authored about 1 year ago by Sleep_AllDay <[email protected]>
This change adds documentation to the tracing-mock `field` module and
all the public APIs withi...
This change adds documentation to the tracing-mock span module and all
the public APIs within i...
## Motivation
There has been interest around publishing tracing-mock to crates.io
for some t...
011ff82ee37829e6a3ece2a038011ae7825d2159 authored about 1 year ago by David Barsky <[email protected]>
When using a function annotated with `#[instrument]` it parses the
parameters of the function a...
The `from_env` and `try_from_env` methods on the builder had the same documentation. This change...
bfc859314f7ea82c39184270a3cb6aff069c21d2 authored about 1 year ago by Nathaniel Cook <[email protected]>
When a user has a crate named `core`, it can cause issues
because our crates import from `::cor...
These docs were updated (in response to #1669), but the "or equal to"
phrase should have been m...
The current code is UB and LLVM could choose to reuse the stack slot causing a UAF.
## Motiva...
82a22ee4cc4aeca2c3c1537e4115521c4a7c3c31 authored about 1 year ago by Manish Goregaokar <[email protected]>## Motivation
`NonBlocking` from `tracing-appender` wraps a writer and requires that
writer ...
When a custom macro "format_args" is defined, macros such as
`tracing::warn`, `tracing::debug`,...
22975803faca6a5e600a4b784b79302871b3eef6 authored about 1 year ago by David Barsky <[email protected]>
Currently, the `hyper_echo` example uses the `tracing-log` env logger
support for some weird rea...
The package `atty`, a dependent of `env_logger` < 0.10, has a RUSTSEC advisory
raised against it...
Co-authored-by: Eliza Weisman <[email protected]>
9eda68bb9c4123d52ac454952448e6d248e36553 authored about 1 year ago by Toby Murray <[email protected]>## Motivation
As seen here #2512 and #2223. Previously pr'ed here #2525, but no progress has
...
Clippy doesn't like the redefinition of a binding with itself. I don't
think this was necessary ...
The latest Clippy emits warnings for uses of `unwrap_or_else` with
functions that return a type'...
## Motivation
Currently, link points to an outdated version.
## Solution
Make the link ...
4be2eabd4f9761e2efd04c983383c0f0e8d090a2 authored about 1 year ago by Benoît Burnichon <[email protected]>## Motivation
It's currently awkward to have an optional per-subscriber filter.
## Solutio...
62d57a62c327e387a7bb91d3f503be6162b81db3 authored about 1 year ago by Jeremy Fitzhardinge <[email protected]>
As part of landing #2728, I noticed that the `-Zminimal-versions` check fails
due to proc-macro...
## Motivation
Issue https://github.com/tokio-rs/tracing/issues/2080 explains that it's not
p...
## Motivation
Adding a relevant library to the list of `tracing`-enabled crates.
## Soluti...
b8c45ccd067a6aebdd9257c5edda6bc90bcf9028 authored over 1 year ago by Aaron Roney <[email protected]>## Motivation
I've found myself in the case where I wanted to have customized event field nam...
245d6075533651b2ebfaed7f06fc80e6ea76fc53 authored over 1 year ago by Joseph Perez <[email protected]>## Motivation
It's currently not possible to customize how messages will get send to journald...
672dfdf694eed7f2284a8c7537083e085c18706b authored over 1 year ago by Finomnis <[email protected]>## Motivation
The motivation is #1426. Currently, event names are set to a default
value of...
## Motivation
Fixes: #1566
## Solution
This change removes the maximum of 32 fields lim...
1c855ae04528e3f6cf1d681827fd2f468edc21fc authored over 1 year ago by Ethan Brierley <[email protected]>## Motivation
`#[tracing::instrument]` uses `unreachable!()` macro which needlessly
expands ...
## Motivation
The `.folded` format expects a `;`-separated list of the stack function,
optio...
## Motivation
There are a few errors in the file appender docs - this fixes them.
It also ...
9a7257d7ffcd3ab4de313c524c0a5bf83deee9f0 authored over 1 year ago by C L Eckhardt <[email protected]>## Motivation
The instrument macro currently doesn't work with the "log" crate
feature: #258...
This branch fixes a handful of new warnings which have shown up after
updating to Rust 1.72.0.
...
## Motivation
It's necessary at times to be able to disable ANSI color output for
rust util...
## Motivation
Tests involving `wasm_bindgen_test` currently fail:
https://github.com/tokio...
6c530d5b07c678d8f103c216edd62bc22c370679 authored over 1 year ago by Harry Barber <[email protected]>## Motivation
Sharing tooling.
## Solution
Adds `clippy-tracing` to related crates.
...
887b9e79bacc85f894688f4f4bc2ef93760c28f3 authored over 1 year ago by Jonathan Woollett-Light <[email protected]>8f4157e0f8ee3bfaba075601d99b94cd48e63c24 authored over 1 year ago by Alexander Tesfamichael <[email protected]>
The test relies on TEST_CALLSITE_1 and TEST_CALLSITE_2 to have
different addresses. However, as...
941b1591faeea55d62c1c8cf524ffa3e95b66887 authored over 1 year ago by Ana Hobden <[email protected]>
79dd541ff63f9f860a954955a3123f63cf7173c0 authored over 1 year ago by Yuta Yamaguchi <[email protected]>
ef201ab3a9134c25b3d344a2df9c3f9ce74db88f authored over 1 year ago by David Barsky <[email protected]>
## Motivation
Currently, in many places, macros do not use fully qualified names for
items e...
## Motivation
A deadlock exists when a collector's `register_callsite` method calls
into cod...
There has been interest around publishing `tracing-mock` to crates.io
for some time. In order t...
## Motivation
This PR adds two new accessor functions that are useful for creating a
structu...
## Motivation
#2609 added an allow to generated code to allow a lint that was added in
Clipp...
## Motivation
Module `tracing::field` documentation is missing a word.
## Solution
Fixi...
c14525e1610db88986f849d46bd3e9795878b012 authored over 1 year ago by Guillaume Desmottes <[email protected]>
The purpose of this test is to assert two clones of the same span are
equal to each other, so t...
Co-authored-by: Hayden Stainsby <[email protected]>
Co-authored-by: Eliza Weisman <eliza...
e6f4ff15b812e8c276ee5b3332703e4037fd0a8a authored over 1 year ago by Cijo Thomas <[email protected]>
e603c2a254d157a25a7a1fbfd4da46ad7e05f555 authored over 1 year ago by John Gillott <[email protected]>
## Motivation
This was inconsistent with other features, which mention their
requirements, a...
We should make it explicit that tracing uses the security policy of Tokio.
bfc44ba2fd170f10e17f6f242b979517edb89b5f authored over 1 year ago by Alice Ryhl <[email protected]>## Motivation
Missing features for the `regex` crate were causing build time errors
due to ...
updated UI tests using TRYBUILD=overwrite with the latest stable version of Rust
## Motivatio...
c59a7fb14d4642cb1c230ce68ffaa28642c00e5c authored over 1 year ago by Devin Bidwell <[email protected]>## Motivation
Currently it is not possible to disable ANSI in `fmt::Subscriber`
without enab...
## Motivation
Currently it is not possible to disable ANSI in `fmt::Subscriber`
without enab...
This reverts commit 9744ec03f925a4ea3de8578e7a27f2fe2a5f1655. This
change breaks MSRV compatibil...
## Motivation
syn 2.0 is out!
## Solution
Update to syn 2.0 :rocket:
Co-authored-by:...
539ffbe189dfd7bb89055097043282d268aaaa94 authored over 1 year ago by David Pedersen <[email protected]>Remove unused `syn`s feature `visit`
ca26746391b1ce55bbe49883d021dcef91c49c63 authored over 1 year ago by klensy <[email protected]>
Bump up the version of the `time` crate so that we don't need to
build with `--cfg unsound_loca...
## Motivation
Same reason as https://github.com/rust-lang/log/pull/536 :
`cfg_if` is only ...
5722b4503e01686ef9ca00882003ee8579e3e18e authored over 1 year ago by Jiahao XU <[email protected]>## Motivation
Make `tracing::event!` codegen smaller
## Solution
Add `inline` to seve...
db64fc2d18ca0adc3ffb54df779129734fa72f4c authored over 1 year ago by Donough Liu <[email protected]>49cbc5a68bdd0fdaa88c31502c4c9cab9dd7ac63 authored over 1 year ago by Eliza Weisman <[email protected]>
As part of upgrading syn to 2.0 (e.g.,
https://github.com/tokio-rs/tracing/pull/2516), we need ...
This PR removes tracing-opentelemetry to a dedicated repo located at
https://github.com/tokio-r...
a0126b2e2d465e8e6d514acdf128fcef5b863d27 authored almost 2 years ago by Arif Driessen <[email protected]>
## Motivation
The current description for the default level of the `err` return value
event ...
## Motivation
The documentation under https://tracing.rs/tracing/ is missing CSS
styles. Fix...
There are new warnings as errors reported by clippy in Rust 1.67.0.
This are causing builds t...
264a417b4b13728e7f46383b838668389ea8967e authored almost 2 years ago by Hayden Stainsby <[email protected]>## Motivation
There has been interest around publishing `tracing-mock` to crates.io
for some...
## Motivation
There has been interest around publishing tracing-mock to crates.io
for some t...
## Motivation
The `#[instrument]` macro cannot be used on `const fn`s, because the
generated...
The error message suggesting that you remove a semicolon to return a
value (instead of unit) wa...
## Motivation
Fixes https://github.com/tokio-rs/tracing/issues/2408
## Solution
Jus...
02903cbcdcbec946fd4086395409b1cacd9807de authored about 2 years ago by John Howard <[email protected]>Fixes #2383.
60c60bef62972e447414a748a95b31ff9027165b authored about 2 years ago by Luca Palmieri <[email protected]>## Motivation
There has been interest around publishing `tracing-mock` to crates.io
for some...
## Motivation
There is a small wording mistake in the tracing-subscriber docs
that can be ...
* mock: change helper functions to `expect::<thing>`
The current format of test expectations ...
22c1ed9657f70766cbfbf442d8a9c9ea6e166215 authored about 2 years ago by Hayden Stainsby <[email protected]>
The `tracing-mock` crate provides a mock collector (and a subscriber for
use by the tests in th...
The `MakeWriter` trait comes from the `tracing-subscriber` crate,
not `tracing-appender`.
The `tracing-subscriber` module `tests::support` included functionality
to mock a subscriber (v...
## Motivation
PR #2270 added an unreachable branch with an explicit return value to
`#[instr...
## Motivation
The worker thread name in non blocking mode is always "tracing-appender".
It c...
This `doc_cfg` attribute's `cfg` part has multiple predicates without an
`all`, which iis what'...
68f830d392b3b2fc07704d107d223414a1291da4 authored about 2 years ago by Eliza Weisman <[email protected]>
This branch adds documentation and tests noting that the `#[instrument]`
macro accepts `tracing...
This branch adds the ability to override the level of the events
generated by the `ret` and `er...
## Motivation
There's currently a `fmt::Display` impl for `EnvFilter` that emits an
equioval...