mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
chore(otel-v2): drop dead enable_events config field
LITELLM_OTEL_INTEGRATION_ENABLE_EVENTS was never read in the V2 package; event emission is driven by capture_message_content (event_only / span_and_event) per the OTel ContentCapturingMode contract. Leaving the field would let an operator set it and silently get no events. The V1 integration keeps its own enable_events on OpenTelemetryConfig, which is unaffected. extra="ignore" means a stale env var is harmlessly ignored rather than erroring.
This commit is contained in:
parent
a982517eb7
commit
d8a1ad7e18
1 changed files with 0 additions and 4 deletions
|
|
@ -127,10 +127,6 @@ class OpenTelemetryV2Config(BaseSettings):
|
|||
default=False,
|
||||
validation_alias=AliasChoices("LITELLM_OTEL_INTEGRATION_ENABLE_METRICS"),
|
||||
)
|
||||
enable_events: bool = Field(
|
||||
default=False,
|
||||
validation_alias=AliasChoices("LITELLM_OTEL_INTEGRATION_ENABLE_EVENTS"),
|
||||
)
|
||||
capture_message_content: str = Field(
|
||||
default=CaptureMessageContent.NO_CONTENT,
|
||||
validation_alias=AliasChoices(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue