mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #16237] [MERGED] chore: separate otel logs config #39705
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/16237
Author: @expruc
Created: 8/2/2025
Status: ✅ Merged
Merged: 8/3/2025
Merged by: @tjbck
Base:
dev← Head:chore/separate_otel_logs_config📝 Commits (1)
58180c0added otel lgos specific config📊 Changes
2 files changed (+26 additions, -11 deletions)
View changed files
📝
backend/open_webui/env.py(+15 -0)📝
backend/open_webui/utils/telemetry/logs.py(+11 -11)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Following #16222 and #16192, this PR introduces separate otel logs exporter config.
Added
New configuration/environment variables:
OTEL_LOGS_EXPORTER_OTLP_ENDPOINT- otel logs exporter endpoint, defaults to theOTEL_EXPORTER_OTLP_ENDPOINTone if not specifiedOTEL_LOGS_BASIC_AUTH_USERNAMEandOTEL_LOGS_BASIC_AUTH_PASSWORD- basic credentials for authentication handling in logs endpoint. Defaults to the traces credentials.OTEL_LOGS_OTLP_SPAN_EXPORTER- the span method for the logs exporter (http/grpc). Defaults to the traces span exporter methodOTEL_LOGS_EXPORTER_OTLP_INSECURE- whether the logs exporter should be insecure or not. Defaults toFalselike the traces one.Additional Information
Only configuration naming was changed. No changes to exporter logic.
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.