]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Rewrite comment that no longer reflects reality
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 13 Jun 2025 09:36:09 +0000 (11:36 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 13 Jun 2025 09:36:09 +0000 (11:36 +0200)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/recursordist/rec-eventtrace.cc

index a050909a09d4cf455d9f0da06941db5a1bde2cf4..c8cc69b7447ca8bf710e023432372404e27bcf9a 100644 (file)
@@ -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<pdns::trace::Span> RecEventTrace::convertToOT(const Span& span) const
 {
   timespec realtime{};