Skip to content

Commit

Permalink
Update reporter/internal/pdata/generate.go
Browse files Browse the repository at this point in the history
Co-authored-by: Christos Kalkanis <[email protected]>
  • Loading branch information
dmathieu and christos68k authored Dec 6, 2024
1 parent 9fde270 commit 1fe30b4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions reporter/internal/pdata/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ const (
func (p Pdata) Generate(events map[samples.TraceAndMetaKey]*samples.TraceEvents) pprofile.Profiles {
profiles := pprofile.NewProfiles()
rp := profiles.ResourceProfiles().AppendEmpty()

sp := rp.ScopeProfiles().AppendEmpty()

prof := sp.Profiles().AppendEmpty()
prof.SetProfileID(pprofile.ProfileID(mkProfileID()))
p.setProfile(events, prof)
Expand Down

0 comments on commit 1fe30b4

Please sign in to comment.