Comments (4)
#241 has been merged, which should hopefully unblock this.
from tracing.
I'm working on a draft pr in #1345 that addresses this.
from tracing.
Adding a "user story" comment, since I think I am looking for this feature.
I log to stdout, file, and OpenTelemetry.
Because I want the OpenTelemetry frontend (jaeger) to display things correctly, I add an extra field to my span: otel.name = %var
.
But this looks ugly in stdout and file logs, so I would like to not display fields starting with otel.*
there (and not implement a whole new formatter or similar).
So I guess +1 to this feature.
from tracing.
Similar use case to @torsteingrindvik (otel.*
). It would be nice to have more control over the span fields which are logged in the Full
formatter. That's another +1 for this feature.
from tracing.
Related Issues (20)
- unable to get LocalTime on OpenBSD HOT 1
- Allow `tracing_log` log to trace env_logger init from custom env. var
- event!(name: ...) is ignored in "full" and "json" output HOT 4
- Docs say that #[instrument] uses Value trait, but experiment disagree HOT 6
- #[instrument(skip_all, fields(x))] silently doesn't work HOT 4
- tracing 0.2: "impl Valuable for Option" is a design bug. None is indistinguishable from Some(None) HOT 4
- docs: fix incorrect incorrect links/typos across `tracing` HOT 1
- subscriber: record error source with `Json` format
- `#[instrument(skip_all, ret)]` does not report return value HOT 2
- `fmt::format::Writer` should have more visibility HOT 1
- `#[tracing::instrument(err)]` fails to build when Ok variant has lifetime, "lifetime may not live long enough"
- osv-scanner results HOT 4
- Different timestamps in different outputs HOT 5
- Expose simultaneous access to Span and Inner on Instrumented so that implementation of foreign traits are possible HOT 2
- tracings-subscriber: add display_span_list and display_current_span from Json formatter to Pretty, Compact and Full HOT 1
- `EnvFilter` enable span and events for a given field value pair `[{field=\"value\"}]` with no specific span or target
- Change `Layer` timer implementation at runtime using reload HOT 1
- Instrument an empty field in a function with multiple layers in subscriber, the log output will contain the empty field multiple times. HOT 2
- Make `in_current_span` work on Fn types HOT 1
- When the `tracing-subscriber` exits the block, it loses the file handle. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tracing.