feat: add otel endpoint config (#22492)

This commit is contained in:
heyszt
2025-07-16 18:24:17 +08:00
committed by GitHub
parent 30aa052a57
commit f082452c9b
5 changed files with 29 additions and 4 deletions

View File

@ -12,6 +12,16 @@ class OTelConfig(BaseSettings):
default=False,
)
OTLP_TRACE_ENDPOINT: str = Field(
description="OTLP trace endpoint",
default="",
)
OTLP_METRIC_ENDPOINT: str = Field(
description="OTLP metric endpoint",
default="",
)
OTLP_BASE_ENDPOINT: str = Field(
description="OTLP base endpoint",
default="http://localhost:4318",