aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Rest/Module/Module.php
diff options
context:
space:
mode:
authorMáté Szabó <mszabo@wikimedia.org>2024-12-20 21:55:20 +0100
committerChris Danis <cdanis@wikimedia.org>2025-01-07 16:40:23 -0500
commitbfba18775ce338fabcd2500548a818bee17d8e35 (patch)
tree63447f3c3af292fb2ab1062c978f3b3a651849de /includes/Rest/Module/Module.php
parent95fdcb864ddc2a64f6caeb88bdac00d4598282cf (diff)
downloadmediawikicore-bfba18775ce338fabcd2500548a818bee17d8e35.tar.gz
mediawikicore-bfba18775ce338fabcd2500548a818bee17d8e35.zip
tracing: Disable tracing in CLI mode
Why: - I7896f6ebee151d7da1d88e04bb4d05dc007d67e8 is causing maintenance script runs to fail with an error if $wgOpenTelemetryConfig is set to enable tracing, because Setup.php does not initialize a root span in this case. What: - Disable tracing in CLI mode to avoid the immediate error. - Tracing in CLI mode will be reenabled as a followup, once appropriate root span generation and periodic flushing have been implemented. Bug: T340552 Change-Id: I981090c887cf42581533f03ee18e5e8a912c6a3c
Diffstat (limited to 'includes/Rest/Module/Module.php')
0 files changed, 0 insertions, 0 deletions