Disable ansi colors for `tracing_tracy`
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 171
Description
## What problem does this solve or what need does it fill?
When profiling using tracy the colors are not rendered and instead obfuscate the span names instead.
## What solution would you like?
The ideal solution would be to have this problem be solved in `rust_tracy_client`, but as a short term solution documenting that setting `NO_COLOR` makes tracy names much cleaner could work. Another solution would be to maybe add a layer filter to the tracy layer that removes the color values.
## What alternative(s) have you considered?
Right now I just set `NO_COLOR` whenever I need to do profiling.
## Additional context
Issue in `rust_tracy_client`: https://github.com/nagisa/rust_tracy_client/issues/123

Contributor guide
Research direction
Start by reading the tracing_tracy integration and the linked rust_tracy_client issue. Compare Tracy span names with and without NO_COLOR, then determine whether the fix belongs in this repository or upstream. Done means Tracy profiling no longer shows ANSI color sequences in span names without relying on a manual environment setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100