feat: add otel endpoint config (#22492)
This commit is contained in:
parent
30aa052a57
commit
f082452c9b
5 changed files with 29 additions and 4 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue