[APM] Only show span.sync
badge when relevant
#109661
Labels
apm:test-plan-done
Pull request that was successfully tested during the test plan
apm:ux-refresh
Team:APM
All issues that need APM UI Team support
v8.1.0
Related: elastic/apm-agent-nodejs#1881
With #55113 we started showing badges for
span.sync
to indicate whether the span was async or blocking.Problem
It is visually very noisy to display the badge for every span. This was raised in elastic/apm-agent-nodejs#1881
Solution
The badge should only be displayed when
span.sync
is operating in a non-default mode relative to the language in question. So for javascript the default isasync
so the badge should only be shown whenblocking
. Opposite for php.We should talk to agent developers to get a list of the default
span.sync
values that we (unfortunately) have to hardcode in the ui.The text was updated successfully, but these errors were encountered: