mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-14 11:52:37 +00:00
chore: remove telemetry API usage
remove telemetry as a providable API from the codebase. This includes removing it from generated distributions but also the provider registry, the router, etc relates to #3806 Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
parent
f70aa99c97
commit
60c168f1ba
41 changed files with 48 additions and 188 deletions
|
|
@ -445,7 +445,7 @@ def create_app() -> StackApp:
|
|||
if cors_config:
|
||||
app.add_middleware(CORSMiddleware, **cors_config.model_dump())
|
||||
|
||||
if Api.telemetry in impls:
|
||||
if config.telemetry.enabled:
|
||||
setup_logger(impls[Api.telemetry])
|
||||
else:
|
||||
setup_logger(TelemetryAdapter(TelemetryConfig(), {}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue