llama-stack/llama_stack/providers/utils
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
..
bedrock add missing init file 2024-12-17 11:49:03 -08:00
common [post training] define llama stack post training dataset format (#717) 2025-01-14 12:48:49 -08:00
datasetio Update the "InterleavedTextMedia" type (#635) 2024-12-17 11:18:31 -08:00
inference Convert SamplingParams.strategy to a union (#767) 2025-01-15 05:38:51 -08:00
kvstore Replaced zrangebylex method in the range method (#521) 2025-01-11 22:04:34 -08:00
memory [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
scoring [rag evals] refactor & add ability to eval retrieval + generation in agentic eval pipeline (#664) 2025-01-02 11:21:33 -08:00
telemetry Fix telemetry (#787) 2025-01-16 10:36:13 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00