collab: Attach user_id to LLM spans (#16311)

This PR updates the LLM service to attach the user ID to the spans.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-08-15 15:49:12 -04:00 committed by GitHub
parent ff83e5b55a
commit 5e05821d18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -150,6 +150,7 @@ async fn main() -> Result<()> {
"http_request",
method = ?request.method(),
matched_path,
user_id = tracing::field::Empty,
authn.jti = tracing::field::Empty
)
})