forked from phoenix-oss/llama-stack-mirror
# What does this PR do? This PR updates the sink name configuration for traces and metrics in LlamaStack to align with the latest changes introduced in version 0.1.8. Previously, when using the `otel` sink along with other sinks (like `console` and `sqlite`), the system threw a **ValueError**, with the message: ```shell Value error, 'otel' is not a valid TelemetrySink [type=value_error, input_value='console,otel,sqlite', input_type=str] For further information visit https://errors.pydantic.dev/2.10/v/value_error ``` ## Test Plan - **Test 1:** Ran the LlamaStack server with a configuration containing `console,otel,sqlite` as sinks. - **Expected result:** No errors related to invalid sink names. - **Result:** The system ran without throwing a `ValueError`. - **Test 2:** Verified that the `otel_trace`, `otel_metric` sink now works in combination with other sinks (`console`, `sqlite`). - **Expected result:** Telemetry data is correctly sent to all specified sinks without errors. - **Result:** All telemetry data was successfully sent to the specified sinks. |
||
---|---|---|
.. | ||
agent.md | ||
agent_execution_loop.md | ||
evals.md | ||
index.md | ||
rag.md | ||
rag.png | ||
safety.md | ||
telemetry.md | ||
tools.md |