[APM] When creating Trace Explorer links transaction.id
is replaced when page is loaded
#171368
Labels
apm:trace-explorer
APM UI Trace Explorer Work
bug
Fixes for quality problems that affect the customer experience
Team:obs-ux-infra_services
Observability Infrastructure & Services User Experience Team
We're instrumenting the Security Assistant with APM and linking off to the Trace Explorer UI for any given message that has a transaction/trace id. E.g.
I first started by just copying the main URL from the Trace Explorer page and replacing
traceId
andtransactionId
ala:http://localhost:5601/kbn/app/apm/traces/explorer/waterfall?comparisonEnabled=false&detailTab=timeline&environment=ENVIRONMENT_ALL&kuery=&query=&rangeFrom=now-1y/d&rangeTo=now&showCriticalPath=false&traceId=37d559d825f68d3b5251f8e16029c604&transactionId=83c8c2c5f680a65d&type=kql&waterfallItemId=
however I noticed that when navigating to the route both the
traceId
andtransactionId
were rewritten:http://localhost:5601/kbn/app/apm/traces/explorer/waterfall?comparisonEnabled=false&detailTab=timeline&environment=ENVIRONMENT_ALL&kuery=&query=&rangeFrom=now-1y/d&rangeTo=now&showCriticalPath=false&traceId=bedffbd989af4982cd7530794bc32c8c&transactionId=019047f20836c69a&type=kql&waterfallItemId=
I then constructed a link with a kql
query
param for filtering ontransaction.id
. While thetransactionId
param got updated to4a5ff15270e35400
from of83c8c2c5f680a65d
, it seems the search filter overrides this and gives the correct view:http://localhost:5601/kbn/app/apm/traces/explorer/waterfall?comparisonEnabled=false&detailTab=timeline&environment=ENVIRONMENT_ALL&kuery=&query=transaction.id:%2083c8c2c5f680a65d&rangeFrom=now-1y/d&rangeTo=now&showCriticalPath=false&traceId=37d559d825f68d3b5251f8e16029c604&transactionId=4a5ff15270e35400&type=kql&waterfallItemId=
The text was updated successfully, but these errors were encountered: