llama-stack/llama_stack
Dinesh Yeduguru 05f6b44da7
Fix telemetry (#787)
# What does this PR do?

PR fixes couple of issues with telemetry:
1) The REST refactor changed the method from get_span_tree to
query_span_tree, which is causing the server side to return empty spans
2) Library client has introduced a new event loop, which required
changing the location of where start and end trace are called


## Test Plan

LLAMA_STACK_CONFIG="/Users/dineshyv/.llama/distributions/llamastack-fireworks/fireworks-run.yaml"
pytest -v tests/client-sdk/agents/test_agents.py -k
"test_builtin_tool_web_search"


And querying for spans from the agent run using the library client.
2025-01-16 10:36:13 -08:00
..
apis More idiomatic REST API (#765) 2025-01-15 13:20:09 -08:00
cli [CICD] Github workflow for publishing Docker images (#764) 2025-01-15 09:01:33 -08:00
distribution Fix telemetry (#787) 2025-01-16 10:36:13 -08:00
providers Fix telemetry (#787) 2025-01-16 10:36:13 -08:00
scripts Fix to conda env build script 2024-12-17 12:19:34 -08:00
templates fix nvidia inference provider (#781) 2025-01-15 18:49:36 -08:00
__init__.py export LibraryClient 2024-12-13 12:08:00 -08:00