Update configuration files for Langfuse integration and logging enhancements
- Change LANGFUSE_HOST to LANGFUSE_OTEL_HOST in stack.env for OpenTelemetry compatibility. - Update litellm_settings.yaml to use the "langfuse_otel" callback for improved logging. - Remove unnecessary callback settings from general_settings.yaml. - Add extensive session logging data to status_line.json for better tracking of session activities.
This commit is contained in:
@@ -32,8 +32,4 @@ general_settings:
|
||||
health_check_interval: 300
|
||||
# alerting: ["slack", "email"]
|
||||
# alerting_threshold: 0
|
||||
use_client_credentials_pass_through_routes: true # use client credentials for all pass through routes like "/vertex-ai", /bedrock/. When this is True Virtual Key auth will not be applied on these endpoints
|
||||
|
||||
callback_settings:
|
||||
langfuse:
|
||||
message_logging: true # Langfuse logging callback specific settings
|
||||
use_client_credentials_pass_through_routes: true # use client credentials for all pass through routes like "/vertex-ai", /bedrock/. When this is True Virtual Key auth will not be applied on these endpoints
|
||||
@@ -1,6 +1,6 @@
|
||||
litellm_settings:
|
||||
# Logging/Callback settings
|
||||
callbacks: ["langfuse"] # runs on success and failure (native SDK, not OTEL)
|
||||
callbacks: ["langfuse_otel"] # runs on success and failure (native SDK, not OTEL)
|
||||
# service_callbacks: ["datadog", "prometheus"] # logs redis, postgres failures on datadog, prometheus (enterprise only)
|
||||
turn_off_message_logging: false # prevent the messages and responses from being logged to on your callbacks, but request metadata will still be logged. Useful for privacy/compliance when handling sensitive data.
|
||||
redact_user_api_key_info: false # Redact information about the user api key (hashed token, user_id, team id, etc.), from logs. Currently supported for Langfuse, OpenTelemetry, Logfire, ArizeAI logging.
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -8,7 +8,7 @@
|
||||
DATABASE_URL=postgresql://vasceannie:squirtle123456@192.168.50.210:5432/sandbox?schema=pvgo7i70amd9xkx
|
||||
LANGFUSE_PUBLIC_KEY=pk-lf-d19aa5c3-9bd2-4cda-953a-74d67d174602
|
||||
LANGFUSE_SECRET_KEY=sk-lf-dd3a0363-2d85-4291-9a42-91d5f8181a1a
|
||||
LANGFUSE_HOST=http://fuse.lab
|
||||
LANGFUSE_OTEL_HOST=http://fuse.lab
|
||||
UI_USERNAME=vasceannie
|
||||
UI_PASSWORD=$QUirtle123
|
||||
LITELLM_MASTER_KEY=sk-1234
|
||||
|
||||
Reference in New Issue
Block a user