mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
cd778582d5
commit
d5ad0ae862
1 changed files with 8 additions and 2 deletions
|
|
@ -693,10 +693,16 @@ OTEL_EXPORTER_OTLP_INSECURE = (
|
||||||
os.environ.get("OTEL_EXPORTER_OTLP_INSECURE", "False").lower() == "true"
|
os.environ.get("OTEL_EXPORTER_OTLP_INSECURE", "False").lower() == "true"
|
||||||
)
|
)
|
||||||
OTEL_METRICS_EXPORTER_OTLP_INSECURE = (
|
OTEL_METRICS_EXPORTER_OTLP_INSECURE = (
|
||||||
os.environ.get("OTEL_METRICS_EXPORTER_OTLP_INSECURE", "False").lower() == "true"
|
os.environ.get(
|
||||||
|
"OTEL_METRICS_EXPORTER_OTLP_INSECURE", str(OTEL_EXPORTER_OTLP_INSECURE)
|
||||||
|
).lower()
|
||||||
|
== "true"
|
||||||
)
|
)
|
||||||
OTEL_LOGS_EXPORTER_OTLP_INSECURE = (
|
OTEL_LOGS_EXPORTER_OTLP_INSECURE = (
|
||||||
os.environ.get("OTEL_LOGS_EXPORTER_OTLP_INSECURE", "False").lower() == "true"
|
os.environ.get(
|
||||||
|
"OTEL_LOGS_EXPORTER_OTLP_INSECURE", str(OTEL_EXPORTER_OTLP_INSECURE)
|
||||||
|
).lower()
|
||||||
|
== "true"
|
||||||
)
|
)
|
||||||
OTEL_SERVICE_NAME = os.environ.get("OTEL_SERVICE_NAME", "open-webui")
|
OTEL_SERVICE_NAME = os.environ.get("OTEL_SERVICE_NAME", "open-webui")
|
||||||
OTEL_RESOURCE_ATTRIBUTES = os.environ.get(
|
OTEL_RESOURCE_ATTRIBUTES = os.environ.get(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue