chore!: BREAKING CHANGE: remove sqlite from telemetry config (#3808)

# What does this PR do?
- Removed sqlite sink from telemetry config.
- Removed related code
- Updated doc related to telemetry

## Test Plan
CI
This commit is contained in:
ehhuang 2025-10-15 14:24:45 -07:00 committed by GitHub
parent 0a96a7faa5
commit 6ba9db3929
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 26 additions and 1026 deletions

View file

@ -207,8 +207,9 @@ class AsyncLlamaStackAsLibraryClient(AsyncLlamaStackClient):
super().__init__()
# when using the library client, we should not log to console since many
# of our logs are intended for server-side usage
current_sinks = os.environ.get("TELEMETRY_SINKS", "sqlite").split(",")
os.environ["TELEMETRY_SINKS"] = ",".join(sink for sink in current_sinks if sink != "console")
if sinks_from_env := os.environ.get("TELEMETRY_SINKS", None):
current_sinks = sinks_from_env.strip().lower().split(",")
os.environ["TELEMETRY_SINKS"] = ",".join(sink for sink in current_sinks if sink != "console")
if in_notebook():
import nest_asyncio