Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MoveResourcesIf ¶
func MoveResourcesIf(from, to ptrace.Traces, f func(ptrace.ResourceSpans) bool)
MoveResourcesIf calls f sequentially for each ResourceSpans present in the first ptrace.Traces. If f returns true, the element is removed from the first ptrace.Traces and added to the second ptrace.Traces.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.