File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
opentelemetry-exporter-geneva/geneva-uploader/src/payload_encoder Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ impl OtlpEncoder {
190
190
fields. push ( ( FIELD_SPAN_ID . into ( ) , BondDataType :: BT_STRING ) ) ;
191
191
}
192
192
if log. flags != 0 {
193
- fields. push ( ( FIELD_TRACE_FLAGS . into ( ) , BondDataType :: BT_INT32 ) ) ;
193
+ fields. push ( ( FIELD_TRACE_FLAGS . into ( ) , BondDataType :: BT_UINT32 ) ) ;
194
194
}
195
195
196
196
// Part B - Core log fields
@@ -292,7 +292,7 @@ impl OtlpEncoder {
292
292
BondWriter :: write_string ( & mut buffer, hex_str) ;
293
293
}
294
294
FIELD_TRACE_FLAGS => {
295
- BondWriter :: write_numeric ( & mut buffer, log. flags as i32 ) ;
295
+ BondWriter :: write_numeric ( & mut buffer, log. flags ) ;
296
296
}
297
297
FIELD_NAME => {
298
298
BondWriter :: write_string ( & mut buffer, & log. event_name ) ;
You can’t perform that action at this time.
0 commit comments