From 1263a18851320613afc73179c14429d6ff6ea76b Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Wed, 11 Dec 2024 17:37:37 -0800 Subject: [PATCH] [user_events] Add _typeName to PartB for Log exporter (#507) --- exporters/user_events/src/recordable.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/exporters/user_events/src/recordable.cc b/exporters/user_events/src/recordable.cc index debfd7fd6..41b2031b3 100644 --- a/exporters/user_events/src/recordable.cc +++ b/exporters/user_events/src/recordable.cc @@ -48,6 +48,7 @@ void Recordable::SetBody(const opentelemetry::common::AttributeValue &message) n // Set intial bookmark size to 1 for body below. cs_part_b_bookmark_size_++; event_builder_.AddStruct("PartB", 1, 0, &cs_part_b_bookmark_); + utils::PopulateAttribute("_typeName", "Log", event_builder_); utils::PopulateAttribute("body", message, event_builder_); }