Conversation
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
|
Tracing Configuration Cleanup and Bug Fixes This PR refactors the tracing configuration in rust/tracing/src/init_tracer.rs by cleaning up filtering logic, fixing naming inconsistencies, and simplifying layer composition. It implements changes partially aligned with the earlier PR #4292 to improve tracing reliability across services and updates the filter lists by correcting service names and adding the 'billing' component. Key Changes: Affected Areas: This summary was automatically generated by @propel-code-bot |
HammadB
left a comment
There was a problem hiding this comment.
LGTM but can we have @codetheweb TAL?
| tracing_opentelemetry::OpenTelemetryLayer::new(tracer) | ||
| .with_filter(tracing_subscriber::filter::LevelFilter::TRACE) | ||
| .boxed() | ||
| tracing_opentelemetry::OpenTelemetryLayer::new(tracer).boxed() |
There was a problem hiding this comment.
whats the default level here?
There was a problem hiding this comment.
The filter is defined in init_global_filter_layer() at TRACE
## Description of changes _Summarize the changes made by this PR._ - Improvements & Bug fixes - Implements elements of chroma-core#4292 to fix tracing on some services - New functionality - ## Test plan _How are these changes tested?_ - [ ] Tests pass locally with `pytest` for python, `yarn test` for js, `cargo test` for rust ## Documentation Changes _Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the [docs section](https://github.com/chroma-core/chroma/tree/main/docs/docs.trychroma.com)?_

Description of changes
Summarize the changes made by this PR.
New functionality
Test plan
How are these changes tested?
pytestfor python,yarn testfor js,cargo testfor rustDocumentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs section?