Skip to content

Commit

Permalink
[user_events] Add _typeName to PartB for Log exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan committed Dec 12, 2024
1 parent 6a11053 commit b37887d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporters/user_events/src/recordable.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_);
}

Expand Down

0 comments on commit b37887d

Please sign in to comment.