Skip to content

Commit

Permalink
rename profiles SetStartTime and SetEndTime
Browse files Browse the repository at this point in the history
  • Loading branch information
dmathieu committed Nov 21, 2024
1 parent b6b8679 commit b559fc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/encoding/otlpencodingextension/extension_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ func generateProfiles() pprofile.Profiles {
for i := 0; i < num; i++ {
im := ilm.Profiles().AppendEmpty()
im.SetProfileID(pprofile.ProfileID([16]byte{0x01, 0x02, 0x03, 0x04}))
im.SetStartTime(pcommon.NewTimestampFromTime(now))
im.SetEndTime(pcommon.NewTimestampFromTime(now))
im.SetTime(pcommon.NewTimestampFromTime(now))
im.SetDuration(pcommon.NewTimestampFromTime(now))
}
return pd
}

0 comments on commit b559fc7

Please sign in to comment.