sentry-demos / android

15 stars 19 forks source link

product_retrieval Doesn't Have http.client Spans as Children #135

Open sdzhong opened 4 months ago

sdzhong commented 4 months ago

Span hierarchy of product_retrieval changed from having http.client spans as children--now they are not.

Expected behavior: The http.client spans should be product_retrieval children spans, like it was in 2.10.3 and 2.10.4: image image

Observed behavior: The http.client spans are not nested as product_retrieval children spans in 2.10.5: image

stefanosiano commented 4 months ago

Android SDK v7+ now binds the http spans directly to the transaction, and not to the current span anymore. Changing this behaviour is not that simple, so i'd like to discuss how to proceed here

sdzhong commented 3 months ago

@stefanosiano , is there anything we can do on the code-level to match the nesting we had in 2.10.3?