collab: Add is_staff
to spans (#16389)
This PR adds the `is_staff` field to our LLM spans so that we can distinguish between staff and non-staff traffic. Release Notes: - N/A
This commit is contained in:
parent
1b1070e0f7
commit
3d997e5fd6
2 changed files with 5 additions and 2 deletions
|
@ -154,7 +154,8 @@ async fn main() -> Result<()> {
|
|||
matched_path,
|
||||
user_id = tracing::field::Empty,
|
||||
login = tracing::field::Empty,
|
||||
authn.jti = tracing::field::Empty
|
||||
authn.jti = tracing::field::Empty,
|
||||
is_staff = tracing::field::Empty
|
||||
)
|
||||
})
|
||||
.on_response(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue