[Bugfix] Remove unsupported comma-separated detailed trace values (#55702)

Signed-off-by: git-jxj <65210887+git-jxj@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
jxj
2026-09-16 18:44:48 +00:00
committed by GitHub
co-authored by Harry Mellor
parent 9639cbde04
commit 6b6bf6b3c3
2 changed files with 1 additions and 20 deletions
-8
View File
@@ -10,7 +10,6 @@ import os
import sys
from collections.abc import Callable
from dataclasses import MISSING, asdict, dataclass, fields, is_dataclass
from itertools import permutations
from types import UnionType
from typing import (
TYPE_CHECKING,
@@ -1523,13 +1522,6 @@ class EngineArgs:
observability_group.add_argument(
"--otlp-traces-endpoint", **observability_kwargs["otlp_traces_endpoint"]
)
# TODO: generalise this special case
choices = observability_kwargs["collect_detailed_traces"]["choices"]
metavar = f"{{{','.join(str(c) for c in choices)}}}"
observability_kwargs["collect_detailed_traces"]["metavar"] = metavar
observability_kwargs["collect_detailed_traces"]["choices"] += [
",".join(p) for p in permutations(get_args(DetailedTraceModules), r=2)
]
observability_group.add_argument(
"--collect-detailed-traces",
**observability_kwargs["collect_detailed_traces"],