Skip to content

discard empty async task spans #1078

Description

@FrankChen021
Image Image

Some scheduled tasks may fork too many async too many tasks. but these async tasks don't contain child span logs.
It looks like meaningless to collect these logs.

Impact

  1. may take too much memory
  2. may use out the collection queue that causing discard of span logs in queue
  3. takes more space at server side to store them

Solution:
Maybe we can discard these empty tasks, and hold a counter at the parent span which forks sub tasks to indicate how many sub tasks have been forked.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions