mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
fix(breaking): remove telemtry config
This commit is contained in:
parent
994abc81b4
commit
16975d0849
1 changed files with 0 additions and 18 deletions
|
|
@ -191,22 +191,6 @@ class DistributionSpec(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")
|
|
||||||
|
|
||||||
|
|
||||||
class OAuth2JWKSConfig(BaseModel):
|
class OAuth2JWKSConfig(BaseModel):
|
||||||
# The JWKS URI for collecting public keys
|
# The JWKS URI for collecting public keys
|
||||||
uri: str
|
uri: str
|
||||||
|
|
@ -527,8 +511,6 @@ can be instantiated multiple times (with different configs) if necessary.
|
||||||
|
|
||||||
logging: LoggingConfig | None = Field(default=None, description="Configuration for Llama Stack Logging")
|
logging: LoggingConfig | None = Field(default=None, description="Configuration for Llama Stack Logging")
|
||||||
|
|
||||||
telemetry: TelemetryConfig = Field(default_factory=TelemetryConfig, description="Configuration for telemetry")
|
|
||||||
|
|
||||||
server: ServerConfig = Field(
|
server: ServerConfig = Field(
|
||||||
default_factory=ServerConfig,
|
default_factory=ServerConfig,
|
||||||
description="Configuration for the HTTP(S) server",
|
description="Configuration for the HTTP(S) server",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue