docs(telemetry): add telemetry to docs

This commit is contained in:
Krrish Dholakia 2023-10-07 17:49:34 -07:00
parent f2febff0bb
commit 10ad137b2e
2 changed files with 15 additions and 2 deletions

View file

@ -0,0 +1,13 @@
# Telemetry
LiteLLM contains a telemetry feature that tells us what models are used, and what errors are hit.
## What is logged?
Only the model name and exception raised is logged.
## Why?
We use this information to help us understand how LiteLLM is used, and improve stability.
## Opting out
If you prefer to opt out of telemetry, you can do this by setting `litellm.telemetry = False`.

View file

@ -108,6 +108,7 @@ const sidebars = {
type: "category", type: "category",
label: "Logging & Observability", label: "Logging & Observability",
items: [ items: [
'debugging/local_debugging',
"observability/callbacks", "observability/callbacks",
"observability/integrations", "observability/integrations",
"observability/custom_callback", "observability/custom_callback",
@ -118,6 +119,7 @@ const sidebars = {
"observability/llmonitor_integration", "observability/llmonitor_integration",
"observability/helicone_integration", "observability/helicone_integration",
"observability/supabase_integration", "observability/supabase_integration",
`observability/telemetry`,
], ],
}, },
{ {
@ -141,8 +143,6 @@ const sidebars = {
label: 'Extras', label: 'Extras',
items: [ items: [
'extras/contributing', 'extras/contributing',
'debugging/hosted_debugging',
'debugging/local_debugging',
{ {
type: "category", type: "category",
label: "❤️ 🚅 Projects built on LiteLLM", label: "❤️ 🚅 Projects built on LiteLLM",