You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[feature] Automatic aggregation of traces without parent span #108
There is no way to realize that if the upper layer does not pass the parent span, I become the parent span myself. To achieve automatic aggregation of scattered spans.
I've thought about it for a while and if the user doesn't provide the parent span there is no way to aggregate perfectly. The standard library sql is not a tree model, somewhat similar to a forest.
Users do not execute sql through the same portal
Activity
XSAM commentedon Jul 28, 2022
sql.rowsis not a child ofsql.conn.query, or you will see weird spans in which the child span starts where the parent span ends.So, there is no need to aggregate these spans even though they are the root span.
AtlanCI commentedon Jul 28, 2022
I've thought about it for a while and if the user doesn't provide the parent span there is no way to aggregate perfectly. The standard library sql is not a tree model, somewhat similar to a forest.
Users do not execute sql through the same portal
I will close the issue
Add SpanOptions.RowsChildOfQuery to make sql.rows spans children of q…