llama-stack/docs/source/building_applications
Anamika d8a8a734b5
fix: update sink name for traces and metrics in LlamaStack 0.1.8 (#1836)
# 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.
2025-03-29 10:09:08 -07:00
..
agent.md feat(api): simplify client imports (#1687) 2025-03-20 10:15:49 -07:00
agent_execution_loop.md feat(api): simplify client imports (#1687) 2025-03-20 10:15:49 -07:00
evals.md feat(api): simplify client imports (#1687) 2025-03-20 10:15:49 -07:00
index.md docs: update Agent documentation (#1333) 2025-03-01 22:34:52 -08:00
rag.md feat(api): simplify client imports (#1687) 2025-03-20 10:15:49 -07:00
rag.png Update docs for RAG and improve CONTRIBUTING.md 2025-01-28 06:09:48 -08:00
safety.md Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
telemetry.md fix: update sink name for traces and metrics in LlamaStack 0.1.8 (#1836) 2025-03-29 10:09:08 -07:00
tools.md feat(api): simplify client imports (#1687) 2025-03-20 10:15:49 -07:00