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
This branch adds some documentation to the `FormatEvent` trait in
`tracing_subscriber::fmt` on ...
* chore(CI): split CI into separate workflows
Tracing runs a very large number of jobs on CI....
0512245893edb2137e603c93da3de8ed1633925a authored about 3 years ago by Eliza Weisman <[email protected]>e51f0835beec59c910f3670add87d7a43db80111 authored about 3 years ago by Daiki Mizukami <[email protected]>
## Motivation
Can be though of as a continuation to #1120 and #1125.
Example with problema...
b439705a8f6f2f81935a7747765935869003f7d3 authored about 3 years ago by trtt <[email protected]>
Add comments to clarify the provenance of `fmt/time/datetime.rs`,
addressing https://github.com...
Per discussion with @hawkw in #1698 I'm adding a few simple integration
tests for the journald ...
Depends on #1696
## Motivation
PR #1696 adds a new API for propagating whether or not ANS...
414b1c6df4a5d659a27fbab48db456ed7fa86b91 authored about 3 years ago by Eliza Weisman <[email protected]>## Motivation
Currently, whether `tracing-subscriber`'s `fmt` subscriber will ANSI
formattin...
## Motivation
The `time` crate must be compiled with `--cfg unsound_local_offset` in
order f...
This fixes a handful of broken RustDoc links I noticed in
`tracing-subscriber`.
Resolves #1669. Namely, I:
- fixed the incorrect docs on `LevelFilter`.
- Removed a stray backti...
Brings the `fmt` docs in line with the crate docs.
d6f5a3f86e269421f54ac73511c7a215a4c1f086 authored about 3 years ago by Arpad Borsos <[email protected]>## Motivation
Currently, `tracing_subscriber::fmt` will bail out of formatting the log
line ...
## Motivation
Currently, there are some `pub(crate)` methods on the `Extensions`,
`Extension...
## Motivation
Currently, the `pub use` re-export for the `LocalTime` struct is enabled
whene...
This branch is @dzvon's PR #1508, with the following changes:
* Add a newtype wrapping the er...
c91504dee5027d24c846f9e076c5dd024acfa221 authored about 3 years ago by Eliza Weisman <[email protected]>While we're breaking things, we may as well do this as well.
Closes #630
Closes #662
## Motivation
This PR continues the work started in
https://github.com/tokio-rs/tracing/pull...
This branch adds some environment variables to configure *all* CI jobs.
In particular, we:
-...
6aafe528e1c22f9e6f1b88ad2ac7b3e374f812af authored about 3 years ago by Eliza Weisman <[email protected]>As requested at https://twitter.com/mycoliza/status/1451288675547967514
6b6eb6ad371e38daa4fef1f76b6d3abdacbde53f authored about 3 years ago by Bryan Burgers <[email protected]>`Event::parent()` and `Span::parent()` returns an `Option`, not boolean.
9c131c0902cea03d2da93f99692675c280fc70fd authored about 3 years ago by Markus Bergkvist <[email protected]>## Motivation
Currently, the `FormatEvent` and `FormatFields` traits in
`tracing-subscriber`...
## Motivation
Currently, some `tracing-subscriber` dependencies in other crates use
`default...
## Motivation
Currently, `cargo audit` checks are run on every push that modifies
`Cargo.tom...
Depends on #1649
## Motivation
Presently, the `tracing-subscriber` crate requires the Rus...
226f605900838d3a0e0db5d50359e667f530f33b authored about 3 years ago by Eliza Weisman <[email protected]>
Implementing `Subscribe` for `Arc`s, which are immutable, breaks the
ability to implement `Subs...
This changes `tracing-subscriber` so that the `env-filter`, `json`,
and `chrono` features are ...
## Motivation
Currently, `tracing-subscriber` supports the `chrono` crate for
timestamp form...
## Motivation
Currently, `tracing-attributes` consists of one very large `lib.rs`
module tha...
## Motivation
Recent `rust-analyzer` versions enabled automatic expansion of proc
macro attr...
## Motivation
This PR attempts to solve #1630 by introducing `err(Debug)` meta to
`intrument...
This PR adds tracing-etw which is a new crate.
* Update README.md
* Update lib.rs
93962111643aa563d2cc85d1e6ec9515f67afb39 authored about 3 years ago by Ricky Han <[email protected]>
Previously, the documentation explained that an `EnvFilter` consisted
of multiple directives, b...
## Motivation
Apparently, using `quote_spanned!` can trigger a Clippy bug where the
text `el...
## Motivation
The changes in #1607 introduced a potential compilation error when using
the `...
Currently, `tracing-attributes` generates a `let _ = ();` in between the
`if tracing::level_ena...
## Motivation
In #1600, the `instrument` code generation was changed to avoid ever
construct...
## Motivation
The version of `WithCollector` in `tracing::instrument` (rather than in
`traci...
## Motivation
When a `RollingFileAppender` is refreshed, the previous `BufWriter` may
encoun...
This should *actually* fix the build on no-std.
Signed-off-by: Eliza Weisman <[email protected]>
87e27a1582ee2ceecfa5d0d5df93cd42ea2fde62 authored about 3 years ago by Eliza Weisman <[email protected]>Allow the deprecated API for now, until the next MSRV bump.
Signed-off-by: Eliza Weisman <eli...
96aa8211d158a1423657985ac67b98b6593650ff authored about 3 years ago by Eliza Weisman <[email protected]>## Motivation
Adding `#[instrument(level = "debug")]` attributes to functions in rustc
cause...
## Motivation
Looks like doc is missing a parenthesis
## Solution
Add a parenthesis
Co-authored-by: Eliza Weisman <[email protected]>
314b20412961944a40605fd3bd1105dccffcac26 authored about 3 years ago by Aleksey Kladov <[email protected]>
It turns out panic hooks also work nicely even when panics are captured.
I figured we may as we...
## Motivation
Currently, our MSRV CI build is broken because of the `tracing-tower`
crate, w...
3dfe41acd6eda472a86bbec3f02484e6f59527df authored about 3 years ago by Imbolc <[email protected]>
This fixes the build on Rust 1.42.0, where primitive types don't have
associated consts. My bad!
So...it turns out that passing `--bins` actually makes `cargo check` do
*nothing* on library-onl...
Add `Layer<S>` impls for:
- `Box<L>`
- `Box<dyn Layer<S>>`
- `Arc<L>`
- `Arc<dyn Layer<S>>`
whe...
And for Arc
This is a fixup for https://github.com/tokio-rs/tracing/pull/1536.
50a334047535f3b7fdeae70bc85feb3e1a1993a9 authored over 3 years ago by David Barsky <[email protected]>Co-authored-by: Eliza Weisman <[email protected]>
5fdbcbf61da27ec3e600678121d8c00d2b9b5cb1 authored over 3 years ago by LIU JIE <[email protected]>## Motivation
Currently, some types in the `filter` module that require the
"env-filter" fea...
This fixes a few broken rustdoc links in the `MakeWriter` and
`MakeWriterExt` rustdocs.
Previously, the Netlify configuration copied the docs into a
`_netlify_out` dir as a workaround...
This is a little bit nicer IMO.
Signed-off-by: Eliza Weisman <[email protected]>
54780fb2b08d8b4d0c88179ca8b9cb963b7f6258 authored over 3 years ago by Eliza Weisman <[email protected]>
This adds a new `Span::or_current` method that returns the span it's
called on, if that span is...
## Motivation
When reviewing https://github.com/tokio-rs/tracing/pull/1523, I
suggested that...
* subscriber: add feature flags to tests (#1532)
## Motivation
Currently we can't run
`...
0be67ad02747c1c395444bf5f7799f75b34e9d24 authored over 3 years ago by David Barsky <[email protected]>
The default behavior for GitHub Actions `matrix` strategies is to cancel
all remaining jobs in ...
Companion PR with #1507.
57fca59c0c9948c494c6bf1b6f3465df682e993c authored over 3 years ago by Folyd <[email protected]>## Motivation
Tracing is a really useful framework but a lack of floating point value
suppor...
Repeat of #1480 to merge on master.
## Motivation
Discussed in #1121, the opentelemetry sp...
eb9b685246e43fb30c0d811b3729ee2e1c645ea4 authored over 3 years ago by Max Lehuraux <[email protected]>Bit of a bug and mistake.
3449c7740c49bde098c7774de6a100618cccca24 authored over 3 years ago by David Barsky <[email protected]>
This commit removes the `--tests` from the MSRV build's `cargo check`
invocation. This way, CI w...
Currently, there are a few examples that include CLI argument parsing.
These currently use the `...
Similarly, `tracing-flame`'s tests also use the unmaintained `tempdir`
crate. This commit replac...
`tracing-appender`'s tests use the `tempdir` crate, which is no longer
actively maintained, and ...
`cargo audit` currently emits a warning that the `net2` crate is
unmaintained. We only depend on...
This commit updates the `inferno-flame` example to use the `tempfile`
crate as a replacement
for...
Whoops, this example _also_ uses `tempdir`. My bad!
Signed-off-by: Eliza Weisman <eliza@buoyant...
cdde7c770e48c6d5e0fba63bfc1157978baf8e76 authored over 3 years ago by Eliza Weisman <[email protected]>
Currently, CI runs `cargo check --all --bins --tests --benches` on our
MSRV. This is failing, be...
This version includes patches for a couple of RUSTSEC advisories that
`cargo audit` is mad about...
4b75e5405359ccfa84af58d335b957d98744b79d authored over 3 years ago by Julian Tescher <[email protected]>
Signed-off-by: Arthur Gautier <[email protected]>
a01e100ee5a2a61a612c4011007079bb1e674a09 authored over 3 years ago by Arthur Gautier <[email protected]>## Motivation
Currently, there is some unnecessary complexity in the `FormatEvent`
implement...
Updates to the latest otel spec version and addresses small internal
method and module updates.
Forward-port of #1460 to the 0.2.x (master) branch.
## Motivation
Fixes #1347
## Solu...
c307e2a9e9ccd705e79dd614b4725189b86d05f7 authored over 3 years ago by Teo Klestrup Röijezon <[email protected]>## Motivation
Currently, `tracing-subscriber`'s `Registry` type doesn't document how
span ID...
Fixes: #1376
Co-authored-by: Eliza Weisman <[email protected]>
6ad45eff6b8248d57f35c42a67ba08c0e0e004fc authored over 3 years ago by David <[email protected]>## Motivation
I'm writing a tracing subscriber layer that captures tracing events to
dis...
Clippy added a new lint detecting unnecessary borrows in expressions
where the borrowed thing i...
Fixes #1196. I reported this a while ago but noticed it again recently
and decided I might as w...
* futures: Replace pin-project by pin-project-lite
* tower: Replace pin-project by pin-project-...
53a0c24dc826c269c52fb930ee6cbca58e535ec7 authored over 3 years ago by Luca Palmieri <[email protected]>
## Motivation
It should be possible to remove `timestamp` and `level` fields when
using json...
This adds a section to the `Level` docs explaining the comparison rules
for `Level` and `LevelF...
Depends on #1141.
This branch adds a `MakeWriterExt` trait which adds a number of
combinator...
The `SpanBuilder` uses `Vec` to store span's fields. However, the
current solution can be sligh...
Forward-port of #1431 and #1434
* subscriber: unify span traversal (#1431)
## Motivation
...
* subscriber: explain why we always call `inner.register_callsite()` before if statement
* Ap...
60f816b9a78bbc23fc4d3a30392f0ef5c33a0c26 authored over 3 years ago by Folyd <[email protected]>This fixes a handful of new clippy lints. Should fix CI.
Signed-off-by: Eliza Weisman <eliza@...
4af08fac6cefc4d9a3c769d4f7e9cbf61e5ade79 authored over 3 years ago by Eliza Weisman <[email protected]>## Motivation
Newest versions of opentelemetry and opentelemetry-jaeger don't work
with the ...
- Removes the default implementation.
- Makes tracing_core::span::Current::unknown public so th...
3ddf54f44b73208e2e5caff7d3f72e8516d0eb08 authored over 3 years ago by David Barsky <[email protected]>
6b7051c9897a6ea2afd61cfa139714cfeed8bf4f authored over 3 years ago by Folyd <[email protected]>
## Motivation
I dislike using `*` imports in my code, so I'm not using prelude modules
provi...
Co-authored-by: Eliza Weisman <[email protected]>
d92d7394027254f5fa86b518ea52e2d173b8fb87 authored over 3 years ago by Mark Lodato <[email protected]>## Motivation
Get the string representation of the `Level` is quite a common usecase.
Withou...
The opentelemetry specification calls for a number of attributes to correlate
traces to their l...