mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-26 21:58:04 +00:00
feat: improve telemetry
* Use a single env variable to setup OTEL endpoint * Update telemetry provider doc * Update general telemetry doc with the metric with generate * Left a script to setup telemetry for testing Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
df6ce8befa
commit
1ac53dad1d
11 changed files with 237 additions and 38 deletions
|
|
@ -53,6 +53,7 @@ providers:
|
|||
service_name: "${env.OTEL_SERVICE_NAME:=\u200B}"
|
||||
sinks: ${env.TELEMETRY_SINKS:=console,sqlite}
|
||||
sqlite_db_path: ${env.SQLITE_STORE_DIR:=~/.llama/distributions/vllm-gpu}/trace_store.db
|
||||
otel_exporter_otlp_endpoint: ${env.OTEL_EXPORTER_OTLP_ENDPOINT:=}
|
||||
eval:
|
||||
- provider_id: meta-reference
|
||||
provider_type: inline::meta-reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue