Skip to content

Commit 97f9a65

Browse files
todo
1 parent 708ffbf commit 97f9a65

File tree

1 file changed

+1
-0
lines changed
  • internal/component/pyroscope/java

1 file changed

+1
-0
lines changed

internal/component/pyroscope/java/loop.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ func (p *profilingLoop) push(jfrBytes []byte, startTime time.Time, endTime time.
180180
sz := req.Profile.SizeVT()
181181
l := log.With(p.logger, "metric", metric, "sz", sz)
182182
ls := labels.NewBuilder(nil)
183+
// todo do not use AsMap()
183184
for _, l := range jfrpprofPyroscope.Labels(target.AsMap(), profiles.JFREvent, req.Metric, "", spyName) {
184185
ls.Set(l.Name, l.Value)
185186
}

0 commit comments

Comments
 (0)