Skip to content

Commit 33ce9f5

Browse files
authored
[BUG] Add hosted-frontend to OTel stdout layer (#4564)
## Description of changes _Summarize the changes made by this PR._ - Improvements & Bug fixes - Adds `hosted-frontend` to stdout layer in tracing - 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)?_
1 parent ef112ae commit 33ce9f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rust/tracing/src/init_tracer.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ pub fn init_stdout_layer() -> Box<dyn Layer<Registry> + Send + Sync> {
143143
.module_path()
144144
.unwrap_or("")
145145
.starts_with("opentelemetry_sdk")
146+
|| metadata
147+
.module_path()
148+
.unwrap_or("")
149+
.starts_with("hosted-frontend")
146150
}))
147151
.with_filter(tracing_subscriber::filter::LevelFilter::INFO)
148152
.boxed()

0 commit comments

Comments
 (0)