mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 14:20:49 +08:00
Omit spurious traces
This commit is contained in:
parent
779ff30c17
commit
188eff3376
@ -46,4 +46,7 @@ class ProgressSpanSampler(Sampler):
|
||||
) -> "SamplingResult":
|
||||
if attributes is not None and "messaging.destination" in attributes and attributes["messaging.destination"].endswith("progress"):
|
||||
return SamplingResult(Decision.DROP)
|
||||
# the ephemeral reply channels are not required for correct span correlation
|
||||
if name.startswith(",amq_") or name.startswith("amq"):
|
||||
return SamplingResult(Decision.DROP)
|
||||
return SamplingResult(Decision.RECORD_AND_SAMPLE)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user