Skip to content

Commit

Permalink
Merge pull request #89 from afzalabbasi/bug/durationfix
Browse files Browse the repository at this point in the history
fix duration bug  in case of golang profile.
  • Loading branch information
akvlad authored Oct 10, 2024
2 parents 28f4e7c + eb5cd67 commit 7daacd5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion receiver/pyroscopereceiver/receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@ func (r *pyroscopeReceiver) readProfiles(ctx context.Context, req *http.Request,
} else {
timestampNs = pm.start
durationNs = pm.end - pm.start
durationNs = ns(durationNs)
}
record.SetTimestamp(pcommon.Timestamp(timestampNs))
m := record.Attributes()
Expand Down

0 comments on commit 7daacd5

Please sign in to comment.