Skip to content

Commit 1263a18

Browse files
authored
[user_events] Add _typeName to PartB for Log exporter (open-telemetry#507)
1 parent 4421243 commit 1263a18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

exporters/user_events/src/recordable.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ void Recordable::SetBody(const opentelemetry::common::AttributeValue &message) n
4848
// Set intial bookmark size to 1 for body below.
4949
cs_part_b_bookmark_size_++;
5050
event_builder_.AddStruct("PartB", 1, 0, &cs_part_b_bookmark_);
51+
utils::PopulateAttribute("_typeName", "Log", event_builder_);
5152
utils::PopulateAttribute("body", message, event_builder_);
5253
}
5354

0 commit comments

Comments
 (0)