From: Otto Moerbeek Date: Fri, 13 Jun 2025 09:36:09 +0000 (+0200) Subject: Rewrite comment that no longer reflects reality X-Git-Tag: rec-5.3.0-alpha1^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d12856b1fa2aa51f957894d88650262a68ab324f;p=thirdparty%2Fpdns.git Rewrite comment that no longer reflects reality Signed-off-by: Otto Moerbeek --- diff --git a/pdns/recursordist/rec-eventtrace.cc b/pdns/recursordist/rec-eventtrace.cc index a050909a09..c8cc69b744 100644 --- a/pdns/recursordist/rec-eventtrace.cc +++ b/pdns/recursordist/rec-eventtrace.cc @@ -63,10 +63,8 @@ static void addValue(const RecEventTrace::Entry& event, Span& work) } } -// The event trace uses start-stop records which need to be mapped to opentrace spans, which is a -// list of spans. Spans can refer to other spans as their parent. I have the feeling this code is -// too complex and brittle. Maybe we should add some extra info to the event trace records to make -// it easier to map the event trace list to the open trace list of spans. +// The event trace uses start-stop records which need to be mapped to OpenTelemetry Spans, which is a +// list of spans. Spans can refer to other spans as their parent. std::vector RecEventTrace::convertToOT(const Span& span) const { timespec realtime{};