forked from phoenix/litellm-mirror
doc - team based logging
This commit is contained in:
parent
09dcf4f3bb
commit
4465675d9a
3 changed files with 13 additions and 2 deletions
|
@ -202,6 +202,9 @@ print(response)
|
||||||
|
|
||||||
### Team based Logging to Langfuse
|
### Team based Logging to Langfuse
|
||||||
|
|
||||||
|
[👉 Tutorial - Allow each team to use their own Langfuse Project / custom callbacks](team_logging)
|
||||||
|
<!--
|
||||||
|
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
This config would send langfuse logs to 2 different langfuse projects, based on the team id
|
This config would send langfuse logs to 2 different langfuse projects, based on the team id
|
||||||
|
@ -228,7 +231,7 @@ curl -X POST 'http://0.0.0.0:4000/key/generate' \
|
||||||
-d '{"team_id": "ishaans-secret-project"}'
|
-d '{"team_id": "ishaans-secret-project"}'
|
||||||
```
|
```
|
||||||
|
|
||||||
All requests made with these keys will log data to their team-specific logging.
|
All requests made with these keys will log data to their team-specific logging. -->
|
||||||
|
|
||||||
### Redacting Messages, Response Content from Langfuse Logging
|
### Redacting Messages, Response Content from Langfuse Logging
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,13 @@ curl --location 'http://0.0.0.0:4000/v1/chat/completions' \
|
||||||
}'
|
}'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Team Based Logging
|
||||||
|
|
||||||
|
[👉 Tutorial - Allow each team to use their own Langfuse Project / custom callbacks](team_logging.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
## Logging / Caching
|
## Logging / Caching
|
||||||
|
|
||||||
Turn on/off logging and caching for a specific team id.
|
Turn on/off logging and caching for a specific team id.
|
||||||
|
@ -102,4 +108,4 @@ curl -X POST 'http://0.0.0.0:4000/key/generate' \
|
||||||
-d '{"team_id": "ishaans-secret-project"}'
|
-d '{"team_id": "ishaans-secret-project"}'
|
||||||
```
|
```
|
||||||
|
|
||||||
All requests made with these keys will log data to their team-specific logging.
|
All requests made with these keys will log data to their team-specific logging. -->
|
||||||
|
|
|
@ -5,6 +5,8 @@ import TabItem from '@theme/TabItem';
|
||||||
# 👥📊 Team Based Logging
|
# 👥📊 Team Based Logging
|
||||||
|
|
||||||
Allow each team to use their own Langfuse Project / custom callbacks
|
Allow each team to use their own Langfuse Project / custom callbacks
|
||||||
|
|
||||||
|
**This allows you to do the following**
|
||||||
```
|
```
|
||||||
Team 1 -> Logs to Langfuse Project 1
|
Team 1 -> Logs to Langfuse Project 1
|
||||||
Team 2 -> Logs to Langfuse Project 2
|
Team 2 -> Logs to Langfuse Project 2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue