mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-05 02:17:31 +00:00
Merge 5a991b5634 into sapling-pr-archive-ehhuang
This commit is contained in:
commit
cdeb41f438
1 changed files with 12 additions and 0 deletions
|
|
@ -177,6 +177,18 @@ class DistributionSpec(BaseModel):
|
||||||
|
|
||||||
|
|
||||||
class TelemetryConfig(BaseModel):
|
class TelemetryConfig(BaseModel):
|
||||||
|
"""
|
||||||
|
Configuration for telemetry.
|
||||||
|
|
||||||
|
Llama Stack uses OpenTelemetry for telemetry. Please refer to https://opentelemetry.io/docs/languages/sdk-configuration/
|
||||||
|
for env variables to configure the OpenTelemetry SDK.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
```bash
|
||||||
|
OTEL_SERVICE_NAME=llama-stack OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318 uv run llama stack run starter
|
||||||
|
```
|
||||||
|
"""
|
||||||
|
|
||||||
enabled: bool = Field(default=False, description="enable or disable telemetry")
|
enabled: bool = Field(default=False, description="enable or disable telemetry")
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue