Skip to content

Commit 38a9146

Browse files
committed
fix
1 parent 9d33fd3 commit 38a9146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/phlaredb/head.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func (h *Head) Ingest(ctx context.Context, p *profilev1.Profile, id uuid.UUID, e
194194

195195
delta := phlaremodel.Labels(externalLabels).Get(phlaremodel.LabelNameDelta) != "false"
196196
externalLabels = phlaremodel.Labels(externalLabels).Delete(phlaremodel.LabelNameDelta)
197-
otel := phlaremodel.Labels(externalLabels).Get(phlaremodel.LabelNameOTEL) != "false"
197+
otel := phlaremodel.Labels(externalLabels).Get(phlaremodel.LabelNameOTEL) == "true"
198198
externalLabels = phlaremodel.Labels(externalLabels).Delete(phlaremodel.LabelNameOTEL)
199199

200200
enforceLabelOrder := phlaremodel.Labels(externalLabels).Get(phlaremodel.LabelNameOrder) == phlaremodel.LabelOrderEnforced

0 commit comments

Comments
 (0)