You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -303,6 +309,12 @@ LibreChat has built-in central logging, see [Logging System](/docs/configuration
303
309
'Enable verbose console/stdout logs in the same format as file debug logs.',
304
310
'DEBUG_CONSOLE=false',
305
311
],
312
+
[
313
+
'LOG_TO_FILE',
314
+
'boolean',
315
+
'Set to false to disable file-backed Winston transports while keeping console logging available.',
316
+
'LOG_TO_FILE=true',
317
+
],
306
318
[
307
319
'CONSOLE_JSON',
308
320
'boolean',
@@ -356,6 +368,65 @@ Note: `DEBUG_CONSOLE` is not recommended, as the outputs can be quite verbose, a
356
368
]}
357
369
/>
358
370
371
+
### OpenTelemetry Tracing
372
+
373
+
LibreChat can emit backend OpenTelemetry traces for general API, HTTP, MongoDB, Mongoose, Redis, and outbound request visibility. Use Langfuse for GenAI-specific prompt/model observability.
374
+
375
+
<OptionTable
376
+
options={[
377
+
[
378
+
'OTEL_TRACING_ENABLED',
379
+
'boolean',
380
+
'Enable backend OpenTelemetry tracing. Tracing remains disabled when OTEL_SDK_DISABLED=true.',
381
+
'# OTEL_TRACING_ENABLED=false',
382
+
],
383
+
[
384
+
'OTEL_SERVICE_NAME',
385
+
'string',
386
+
'Service name reported to OpenTelemetry. Default: librechat.',
387
+
'# OTEL_SERVICE_NAME=librechat',
388
+
],
389
+
[
390
+
'OTEL_SERVICE_VERSION',
391
+
'string',
392
+
'Service version reported to OpenTelemetry. Defaults to the package version when unset.',
['PROXY', 'string', 'Proxy setting for all endpoints.', 'PROXY='],
505
+
[
506
+
'PROXY',
507
+
'string',
508
+
'Outbound proxy for server-side requests, including endpoint calls and remote MCP HTTP/SSE transports. Remote MCP transports also honor HTTP_PROXY, HTTPS_PROXY, and NO_PROXY when PROXY is unset.',
509
+
'PROXY=',
510
+
],
435
511
['TITLE_CONVO', 'boolean', 'Enable titling for all endpoints.', 'TITLE_CONVO=true'],
'Overrides the Secure attribute for session/auth cookies. Leave unset to use the default NODE_ENV/DOMAIN_SERVER heuristic.',
1837
+
'# SESSION_COOKIE_SECURE=false',
1838
+
],
1757
1839
]}
1758
1840
/>
1759
1841
@@ -1995,7 +2077,7 @@ For more information:
1995
2077
[
1996
2078
'OPENID_USE_PKCE',
1997
2079
'boolean',
1998
-
'Use PKCE (Proof Key for Code Exchange) for OpenID authentication.',
2080
+
'Use PKCE (Proof Key for Code Exchange) for OpenID authentication. For public clients without a client secret, leave OPENID_CLIENT_SECRET empty and set this to true.',
1999
2081
'# OPENID_USE_PKCE=true',
2000
2082
],
2001
2083
[
@@ -2694,6 +2776,18 @@ Configure Model Context Protocol settings for enhanced server management and OAu
2694
2776
'Skip code challenge method validation. When set to true, forces S256 code challenge even if not advertised in .well-known/openid-configuration',
2695
2777
'MCP_SKIP_CODE_CHALLENGE_CHECK=false',
2696
2778
],
2779
+
[
2780
+
'MCP_STREAMABLE_HTTP_MAX_RESPONSE_BYTES',
2781
+
'number',
2782
+
'Maximum bytes allowed in a non-GET streamable HTTP MCP response before rejecting it. Set to 0 to disable. Default: 16777216 (16 MiB).',
0 commit comments