APM Angular JS - Unknown transaction

Kibana version:
7.4.0
Elasticsearch version:
7.4.0
APM Server version
7.4.0
APM Agent language and version
elastic/apm-rum-angular@0.3.0
Browser version
Chrome 79.0.3945.117
Original install method (e.g. download page, yum, deb, from source, etc.) and version
APM agent via npm, apm-server via original deb, logstash via deb, Elastic/Kibana from Cloud.
Fresh install or upgraded from other version?
fresh
Is there anything special in your setup?
APM Server behind reverse proxy, points to Logstash where pipelines and index names are set.

Hi all, can you please assist me with the following issue?

We have a setup where our main portal is running on Angular 7 with an APM agent 0.3.
During the initial page load, a user has to provide credentials via Ping Federate, this one replies with a 302 and redirects to our portal on /access.
From the development team I understood there is a parent->child route from access page to the real portal on /portal/dashboard

Unfortunately this generates an Unknown transaction (of type custom), as a result the transaction is practically lost.

During the initial page load I see two events are getting pushed to our APM-server

  • "name":"/access","type":"page-load" - contains all the browser / navigation timings
  • "name":"Unknown","type":"custom" - contains all the spans with service calls to our backend

When I manually refresh the /portal/dashboard page afterwards, I see the one (correct) event being pushed:
"name":"/portal/dashboard","type":"page-load" - it contains all the browser DOM and service calls correctly

The angular implementation is as follows:

@NgModule({
  declarations: [],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    CoreModule,
    SharedModule,
    RouterModule.forRoot(routes),
    EffectsModule.forRoot([]),
    !environment.production ? StoreDevtoolsModule.instrument() : [],
  ],
  providers: [
    {
      provide: ApmService,
      useClass: ApmService,
      deps: [Router]
    }
  ],
  bootstrap: [AppComponent],
})
export class AppModule {
 
  constructor(@Inject(ApmService) service: ApmService) {
    const apm: any = service.init({
      serviceName: 'Portal',
      environment: environment.name,
      serverUrl: 'https://xxx:443',
      pageLoadTransactionName: window.location.pathname,
      distributedTracingOrigins: [environment.basepath]
    });
  }
}

This is the first events payload (during the login):

{"metadata":{"service":{"name":"Portal","agent":{"name":"js-base","version":"4.6.0"},"language":{"name":"javascript"},"environment":"dev"}}}
{"transaction":{"id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"/portal","type":"page-load","duration":4700.1299999974435,"context":{"page":{"referer":"https://pingfederate/","url":"https://dev/access?code=xxx"},"response":{"transfer_size":1198,"encoded_body_size":747,"decoded_body_size":747}},"marks":{"navigationTiming":{"fetchStart":0,"domainLookupStart":31,"domainLookupEnd":63,"connectStart":63,"connectEnd":122,"secureConnectionStart":81,"requestStart":122,"responseStart":180,"responseEnd":182,"domLoading":192,"domInteractive":1010,"domContentLoadedEventStart":1010,"domContentLoadedEventEnd":1011,"domComplete":1018,"loadEventStart":1018,"loadEventEnd":1019},"agent":{"timeToFirstByte":180,"domInteractive":1010,"domComplete":1018,"firstContentfulPaint":1527.0700000033248}},"span_count":{"started":19},"sampled":true}}
{"span":{"id":"b42ab8f49feaad6f","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"Domain lookup","type":"hard-navigation","subType":"browser-timing","start":31,"duration":32}}
{"span":{"id":"2952f46877589140","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"Making a connection to the server","type":"hard-navigation","subType":"browser-timing","start":63,"duration":59}}
{"span":{"id":"b80e8c61a30025f6","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"Requesting and receiving the document","type":"hard-navigation","subType":"browser-timing","start":122,"duration":60}}
{"span":{"id":"d72090af37b390e4","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"Parsing the document, executing sync. scripts","type":"hard-navigation","subType":"browser-timing","start":192,"duration":818}}
{"span":{"id":"09400fa153d3e439","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"https://fonts.googleapis.com/icon","type":"resource","subType":"link","start":330.00499999616295,"duration":64.83500001195353,"context":{"http":{"url":"https://fonts.googleapis.com/icon?family=Material+Icons","response":{"transfer_size":0,"encoded_body_size":290,"decoded_body_size":568}}}}}
{"span":{"id":"e1d057f1103d8286","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"https://dev/runtime.js","type":"resource","subType":"script","start":330.39499999722466,"duration":67.66500000958331,"context":{"http":{"url":"https://dev/runtime.js","response":{"transfer_size":0,"encoded_body_size":2644,"decoded_body_size":10551}}}}}
{"span":{"id":"493cc91ba1a29da6","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"https://dev/polyfills.js","type":"resource","subType":"script","start":330.9000000008382,"duration":80.91999999305699,"context":{"http":{"url":"https://dev/polyfills.js","response":{"transfer_size":0,"encoded_body_size":45624,"decoded_body_size":250206}}}}}
{"span":{"id":"a9ba136b3612e5f7","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"https://dev/styles.js","type":"resource","subType":"script","start":331.26000000629574,"duration":99.53999999561347,"context":{"http":{"url":"https://dev/styles.js","response":{"transfer_size":0,"encoded_body_size":112088,"decoded_body_size":606858}}}}}
{"span":{"id":"d96e71bfa8fd5191","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"https://dev/vendor.js","type":"resource","subType":"script","start":331.8100000033155,"duration":317.69499999063555,"context":{"http":{"url":"https://dev/vendor.js","response":{"transfer_size":0,"encoded_body_size":1405894,"decoded_body_size":8907409}}}}}
{"span":{"id":"f1f24cd79e371d13","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"https://dev/main.js","type":"resource","subType":"script","start":332.15000000200234,"duration":230.42500000155997,"context":{"http":{"url":"https://dev/main.js","response":{"transfer_size":0,"encoded_body_size":289020,"decoded_body_size":2209671}}}}}
{"span":{"id":"8751bab25b5b02cb","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"https://fonts.googleapis.com/css","type":"resource","subType":"css","start":518.3450000040466,"duration":6.074999997508712,"context":{"http":{"url":"https://fonts.googleapis.com/css?family=Ubuntu","response":{"transfer_size":0,"encoded_body_size":423,"decoded_body_size":1973}}}}}
{"span":{"id":"ae88b10792e9f66f","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKfw72.woff2","type":"resource","subType":"css","start":575.154999998631,"duration":59.72000000474509,"context":{"http":{"url":"https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKfw72.woff2","response":{"transfer_size":0,"encoded_body_size":34260,"decoded_body_size":34260}}}}}
{"span":{"id":"b7636351db940c5a","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"Fire \"DOMContentLoaded\" event","type":"hard-navigation","subType":"browser-timing","start":1010,"duration":1}}
{"span":{"id":"4232cfd8c0163cc6","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"Fire \"load\" event","type":"hard-navigation","subType":"browser-timing","start":1018,"duration":1}}
{"span":{"id":"c3328caf2eff8e77","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"GET /assets/i18n/en.json","type":"external","subType":"http","sync":false,"start":1102.950000000419,"duration":45.05000000062864,"context":{"http":{"method":"GET","url":"https://dev/assets/i18n/en.json","status_code":200}}}}
{"span":{"id":"9ed8768682d63ca0","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"GET https://pingfederate/.well-known/openid-configuration","type":"external","subType":"http","sync":false,"start":1131.2449999968521,"duration":162.90999999910127,"context":{"http":{"method":"GET","url":"https://pingfederate/.well-known/openid-configuration","status_code":200}}}}
{"span":{"id":"4d5487b307aaca6c","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"GET https://pingfederate/pf/JWKS","type":"external","subType":"http","sync":false,"start":1289.1150000068592,"duration":128.17999999970198,"context":{"http":{"method":"GET","url":"https://pingfederate/pf/JWKS","status_code":200}}}}
{"span":{"id":"0469336eadae4f44","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"POST https://pingfederate/as/token.oauth2","type":"external","subType":"http","sync":false,"start":1411.7549999937182,"duration":214.39000000827946,"context":{"http":{"method":"POST","url":"https://pingfederate/as/token.oauth2","status_code":200}}}}
{"span":{"id":"fa7a654d3333066c","transaction_id":"deca96b722630f41","parent_id":"deca96b722630f41","trace_id":"e4e7d602c2b02b66984ad1c8905eeff3","name":"GET https://dev-api/preference-service/mine","type":"external","subType":"http","sync":false,"start":1600.4749999992782,"duration":3099.4950000022072,"context":{"http":{"method":"GET","url":"https://dev-api/preference-service/mine","status_code":200}}}}

This is the second events payload (during the login):

{"metadata":{"service":{"name":"Portal","agent":{"name":"js-base","version":"4.6.0"},"language":{"name":"javascript"},"environment":"dev"}}}
{"transaction":{"id":"6d9469b906a3011e","trace_id":"60d1bac1c1fe2ef94ca48a5cbde1646f","name":"Unknown","type":"custom","duration":13474.74499999953,"context":{"page":{"referer":"https://pingfederate/","url":"https://dev/portal/dashboard"}},"span_count":{"started":8},"sampled":true}}
{"span":{"id":"24c9084a6ea3ea40","transaction_id":"6d9469b906a3011e","parent_id":"6d9469b906a3011e","trace_id":"60d1bac1c1fe2ef94ca48a5cbde1646f","name":"GET https://dev-api/preference-service/mine","type":"external","subType":"http","sync":false,"start":0.13499999477062374,"duration":821.6550000070129,"context":{"http":{"method":"GET","url":"https://dev-api/preference-service/mine","status_code":200}}}}
{"span":{"id":"bddee110647463fc","transaction_id":"6d9469b906a3011e","parent_id":"6d9469b906a3011e","trace_id":"60d1bac1c1fe2ef94ca48a5cbde1646f","name":"GET https://dev-api/dashboard-ticket-service/incident/graph/company/priority","type":"external","subType":"http","sync":false,"start":724.9600000068313,"duration":2661.5249999886146,"context":{"http":{"method":"GET","url":"https://dev-api/dashboard-ticket-service/incident/graph/company/priority","status_code":400}}}}
{"span":{"id":"6f5a2442c9441235","transaction_id":"6d9469b906a3011e","parent_id":"6d9469b906a3011e","trace_id":"60d1bac1c1fe2ef94ca48a5cbde1646f","name":"GET https://dev-api/dashboard-ticket-service/request/graph/openvsraised/12","type":"external","subType":"http","sync":false,"start":726.8400000029942,"duration":2713.579999996,"context":{"http":{"method":"GET","url":"https://dev-api/dashboard-ticket-service/request/graph/openvsraised/12","status_code":400}}}}
{"span":{"id":"de1685201f12a220","transaction_id":"6d9469b906a3011e","parent_id":"6d9469b906a3011e","trace_id":"60d1bac1c1fe2ef94ca48a5cbde1646f","name":"GET https://dev-api/dashboard-ticket-service/request/recent/5","type":"external","subType":"http","sync":false,"start":729.7950000065612,"duration":2579.6749999863096,"context":{"http":{"method":"GET","url":"https://dev-api/dashboard-ticket-service/request/recent/5","status_code":400}}}}
{"span":{"id":"95a4ee55cf93c65c","transaction_id":"6d9469b906a3011e","parent_id":"6d9469b906a3011e","trace_id":"60d1bac1c1fe2ef94ca48a5cbde1646f","name":"POST https://dev-api/dashboard-resource-service/graph/groupby","type":"external","subType":"http","sync":false,"start":736.2600000051316,"duration":12738.454999998794,"context":{"http":{"method":"POST","url":"https://dev-api/dashboard-resource-service/graph/groupby","status_code":200}}}}
{"span":{"id":"45c36be80b6e82ef","transaction_id":"6d9469b906a3011e","parent_id":"6d9469b906a3011e","trace_id":"60d1bac1c1fe2ef94ca48a5cbde1646f","name":"GET https://dev-api/dashboard-resource-service/graph/provisionedvsdecommissioned/12","type":"external","subType":"http","sync":false,"start":751.0299999994459,"duration":2269.3250000011176,"context":{"http":{"method":"GET","url":"https://dev-api/dashboard-resource-service/graph/provisionedvsdecommissioned/12","status_code":200}}}}
{"span":{"id":"81fb9f2a60c3539b","transaction_id":"6d9469b906a3011e","parent_id":"6d9469b906a3011e","trace_id":"60d1bac1c1fe2ef94ca48a5cbde1646f","name":"GET https://dev-api/dashboard-resource-service/vm/recent/5","type":"external","subType":"http","sync":false,"start":755.5900000006659,"duration":5495.574999993551,"context":{"http":{"method":"GET","url":"https://dev-api/dashboard-resource-service/vm/recent/5","status_code":200}}}}
{"span":{"id":"faedeb2c920452df","transaction_id":"6d9469b906a3011e","parent_id":"6d9469b906a3011e","trace_id":"60d1bac1c1fe2ef94ca48a5cbde1646f","name":"GET /assets/images/cloud-logo.svg","type":"external","subType":"http","sync":false,"start":3264.584999997169,"duration":45.255000004544854,"context":{"http":{"method":"GET","url":"https://dev/assets/images/cloud-logo.svg","status_code":200}}}}

This is the events payload during a page refresh (without accessing the /access page)

{"metadata":{"service":{"name":"Portal","agent":{"name":"js-base","version":"4.6.0"},"language":{"name":"javascript"},"environment":"dev"}}}
{"transaction":{"id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"/portal/dashboard","type":"page-load","duration":12055.909999995492,"context":{"page":{"referer":"https://pingfederate/","url":"https://dev/portal/dashboard"},"response":{"transfer_size":1198,"encoded_body_size":747,"decoded_body_size":747}},"marks":{"navigationTiming":{"fetchStart":0,"domainLookupStart":40,"domainLookupEnd":76,"connectStart":76,"connectEnd":158,"secureConnectionStart":105,"requestStart":158,"responseStart":299,"responseEnd":302,"domLoading":353,"domInteractive":1069,"domContentLoadedEventStart":1069,"domContentLoadedEventEnd":1071,"domComplete":1463,"loadEventStart":1463,"loadEventEnd":1463},"agent":{"timeToFirstByte":299,"domInteractive":1069,"domComplete":1463,"firstContentfulPaint":2105.21499999112}},"span_count":{"started":19},"sampled":true}}
{"span":{"id":"ff0ef7dc078b167d","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"Domain lookup","type":"hard-navigation","subType":"browser-timing","start":40,"duration":36}}
{"span":{"id":"0b3bf2f716b2fea0","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"Making a connection to the server","type":"hard-navigation","subType":"browser-timing","start":76,"duration":82}}
{"span":{"id":"90f1b04f22cb4ee4","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"Requesting and receiving the document","type":"hard-navigation","subType":"browser-timing","start":158,"duration":144}}
{"span":{"id":"b0e2bffd77e5cb74","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"Parsing the document, executing sync. scripts","type":"hard-navigation","subType":"browser-timing","start":353,"duration":716}}
{"span":{"id":"8ee34c73143b10d7","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"GET /assets/i18n/en.json","type":"external","subType":"http","sync":false,"start":991.3099999976112,"duration":95.69000000192318,"context":{"http":{"method":"GET","url":"https://dev/assets/i18n/en.json","status_code":200}}}}
{"span":{"id":"e860e4868856fa26","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"https://dev/portal-portal-module-ngfactory.js","type":"resource","subType":"script","start":1046.6900000028545,"duration":116.20999999286141,"context":{"http":{"url":"https://dev/portal-portal-module-ngfactory.js","response":{"transfer_size":0,"encoded_body_size":1816,"decoded_body_size":9332}}}}}
{"span":{"id":"40fc8293c8ed6734","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"Fire \"DOMContentLoaded\" event","type":"hard-navigation","subType":"browser-timing","start":1069,"duration":2}}
{"span":{"id":"a1e3bc600d686b0b","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"https://dev/default~dashboard-dashboard-module-ngfactory~myresources-myresources-module-ngfactory.js","type":"resource","subType":"script","start":1196.5000000054715,"duration":118.39999999210704,"context":{"http":{"url":"https://dev/default~dashboard-dashboard-module-ngfactory~myresources-myresources-module-ngfactory.js","response":{"transfer_size":0,"encoded_body_size":28794,"decoded_body_size":195163}}}}}
{"span":{"id":"bfb762b6c83a742e","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"https://dev/default~admin-admin-module-ngfactory~dashboard-dashboard-module-ngfactory.js","type":"resource","subType":"script","start":1197.9500000015832,"duration":136.52499999443535,"context":{"http":{"url":"https://dev/default~admin-admin-module-ngfactory~dashboard-dashboard-module-ngfactory.js","response":{"transfer_size":0,"encoded_body_size":19484,"decoded_body_size":114365}}}}}
{"span":{"id":"80fd8685428f566a","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"https://dev/default~dashboard-dashboard-module-ngfactory~mytickets-mytickets-module-ngfactory.js","type":"resource","subType":"script","start":1199.254999999539,"duration":153.57500000391155,"context":{"http":{"url":"https://dev/default~dashboard-dashboard-module-ngfactory~mytickets-mytickets-module-ngfactory.js","response":{"transfer_size":0,"encoded_body_size":10689,"decoded_body_size":62315}}}}}
{"span":{"id":"541cac90f36dd4ac","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"https://dev/dashboard-dashboard-module-ngfactory.js","type":"resource","subType":"script","start":1200.4999999917345,"duration":188.4450000070501,"context":{"http":{"url":"https://dev/dashboard-dashboard-module-ngfactory.js","response":{"transfer_size":0,"encoded_body_size":194933,"decoded_body_size":1399449}}}}}
{"span":{"id":"7adb31e029b8a9ec","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"GET https://dev-api/preference-service/mine","type":"external","subType":"http","sync":false,"start":1468.1299999938346,"duration":561.744999999064,"context":{"http":{"method":"GET","url":"https://dev-api/preference-service/mine","status_code":200}}}}
{"span":{"id":"9193b4c333044945","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"GET https://dev-api/dashboard-ticket-service/incident/graph/company/priority","type":"external","subType":"http","sync":false,"start":1855.6700000044657,"duration":416.40999999071937,"context":{"http":{"method":"GET","url":"https://dev-api/dashboard-ticket-service/incident/graph/company/priority","status_code":400}}}}
{"span":{"id":"043a0ad6b8304076","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"GET https://dev-api/dashboard-ticket-service/request/graph/openvsraised/12","type":"external","subType":"http","sync":false,"start":1857.8399999969406,"duration":503.8150000036694,"context":{"http":{"method":"GET","url":"https://dev-api/dashboard-ticket-service/request/graph/openvsraised/12","status_code":400}}}}
{"span":{"id":"3f1fea55d0bebfa4","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"GET https://dev-api/dashboard-ticket-service/request/recent/5","type":"external","subType":"http","sync":false,"start":1860.9600000054343,"duration":10194.809999986319,"context":{"http":{"method":"GET","url":"https://dev-api/dashboard-ticket-service/request/recent/5","status_code":400}}}}
{"span":{"id":"043e4c2d0cbf42b5","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"POST https://dev-api/dashboard-resource-service/graph/groupby","type":"external","subType":"http","sync":false,"start":1870.5599999957485,"duration":2944.610000005923,"context":{"http":{"method":"POST","url":"https://dev-api/dashboard-resource-service/graph/groupby","status_code":200}}}}
{"span":{"id":"57d12c7fa34ab3ce","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"GET https://dev-api/dashboard-resource-service/graph/provisionedvsdecommissioned/12","type":"external","subType":"http","sync":false,"start":1885.9599999996135,"duration":2494.185000003199,"context":{"http":{"method":"GET","url":"https://dev-api/dashboard-resource-service/graph/provisionedvsdecommissioned/12","status_code":200}}}}
{"span":{"id":"7ff82d546102bf95","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"GET https://dev-api/dashboard-resource-service/vm/recent/5","type":"external","subType":"http","sync":false,"start":1895.7200000004377,"duration":2039.1700000036508,"context":{"http":{"method":"GET","url":"https://dev-api/dashboard-resource-service/vm/recent/5","status_code":200}}}}
{"span":{"id":"c784894039000d43","transaction_id":"f73d32fe562c560b","parent_id":"f73d32fe562c560b","trace_id":"305a164d125c0e9767ac27a330ccc981","name":"GET /assets/images/cloud-logo.svg","type":"external","subType":"http","sync":false,"start":2260.519999996177,"duration":42.264999996405095,"context":{"http":{"method":"GET","url":"https://dev/assets/images/cloud-logo.svg","status_code":200}}}}

Hi,

Does anyone have any ideas on this issue? It would be nice if we could improve the APM experience a bit.

Thanks.

Hi @Harm,

Thanks for using Elastic APM and sorry about the slow response.

We have recently made some improvements in the way transaction types are prioritised.
Would please install our latest version both for @elastic/apm-rum and @elastic/apm-rum-angular and try again?

Cheers,
Hamid