mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 20:19:52 +00:00
opentelemetry provider working with existing traces and spans
This commit is contained in:
parent
e9d5a7735b
commit
deb11be3e3
2 changed files with 19 additions and 15 deletions
|
|
@ -218,7 +218,7 @@ class TracingMiddleware:
|
|||
|
||||
async def __call__(self, scope, receive, send):
|
||||
path = scope["path"]
|
||||
await start_trace(path)
|
||||
await start_trace(path, {"location": "server"})
|
||||
try:
|
||||
return await self.app(scope, receive, send)
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue