Kibana Error when showing transaction details: TypeError: Cannot read property 'prototype' of undefined

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text :slight_smile:

Kibana version: v6.6.0

Elasticsearch version: v6.6.0

APM Server version: latest elastic cloud version

APM Agent language and version: golang 1.x

Browser version: differnt browser

Original install method (e.g. download page, yum, deb, from source, etc.) and version: elastic cloud

Fresh install or upgraded from other version?
fresh deployment

Is there anything special in your setup?
No special

Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):

Error in display transaction in kibana. The site will be shown for about 0.5 seconds and then will be cleared.

Steps to reproduce:

  1. click on APM
  2. click on an app
  3. click on an transaction

Errors in browser console (if relevant):
vendors.bundle.dll.js:212 TypeError: Cannot read property 'prototype' of undefined
at isSeriesChild (vendors.bundle.dll.js:32)
at Array.filter ()
at collectSeriesTypesInfo (vendors.bundle.dll.js:32)
at getSeriesPropsFromChildren (vendors.bundle.dll.js:32)
at XYPlot._getClonedChildComponents (vendors.bundle.dll.js:39)
at XYPlot.render (vendors.bundle.dll.js:39)
at l (vendors.bundle.dll.js:212)
at beginWork (vendors.bundle.dll.js:212)
at e (vendors.bundle.dll.js:212)
at f (vendors.bundle.dll.js:212)
at G (vendors.bundle.dll.js:212)
at x (vendors.bundle.dll.js:212)
at n (vendors.bundle.dll.js:212)
at B (vendors.bundle.dll.js:212)
at v (vendors.bundle.dll.js:212)
at Object.enqueueSetState (vendors.bundle.dll.js:212)

Provide logs and/or server output (if relevant):

Same with a APM deb installation on laocal cluster with kibana 6.4.1

Hi,

I can't reproduce your issue so I want to try to narrow down where it occurs.

Steps :

  1. click on APM
  2. click on an app
  3. Use query bar (search input at the top) to filter by a single transaction eg. transaction.id : "00031b34f31f5c3a"
  4. click on an transaction

Does the problem still occur?

If so, it would be a great help to know the XHR responses for two endpoints. On the Transaction Details page, do the following:

  1. Open your browser's Dev Tools
  2. Refresh the page
  3. Filter XHR requests by "distribution" (eg. an xhr request calling an endpoint that has "distribution" in the url)
  4. Copy/paste the response here
  5. Filter XHR requests by "charts" (eg. an xhr request calling an endpoint that has "charts" in the url)
  6. Copy/paste the response here

Hi,

first I tryed your 4 steps and the same error occur with transaction.id:"5cd9e87dc8a29ccb".

Here are the XHR requests:

/api/apm/services/logfile/transaction_groups/start/Init/charts?start=2019-02-14T23%3A00%3A00.000Z&end=2019-02-15T22%3A59%3A59.999Z

over the body size from forum see spliting below

/api/apm/services/logfile/transaction_groups/start/Init/distribution?start=2019-02-14T23%3A00%3A00.000Z&end=2019-02-15T22%3A59%3A59.999Z
{"totalHits":1,"buckets":[{"key":0,"count":1,"sample":{"traceId":"5cd9e87dc8a29ccb6e71690a9113e329","transactionId":"5cd9e87dc8a29ccb"}},{"key":15,"count":0},{"key":30,"count":0},{"key":45,"count":0},{"key":60,"count":0},{"key":75,"count":0},{"key":90,"count":0},{"key":105,"count":0},{"key":120,"count":0},{"key":135,"count":0},{"key":150,"count":0},{"key":165,"count":0},{"key":180,"count":0},{"key":195,"count":0},{"key":210,"count":0},{"key":225,"count":0},{"key":240,"count":0},{"key":255,"count":0},{"key":270,"count":0},{"key":285,"count":0},{"key":300,"count":0},{"key":315,"count":0},{"key":330,"count":0},{"key":345,"count":0},{"key":360,"count":0},{"key":375,"count":0},{"key":390,"count":0},{"key":405,"count":0}],"bucketSize":15,"defaultSample":{"traceId":"5cd9e87dc8a29ccb6e71690a9113e329","transactionId":"5cd9e87dc8a29ccb"}}

/api/apm/services/logfile/transaction_groups/start/Init/distribution?start=2019-02-14T23%3A00%3A00.000Z&end=2019-02-15T22%3A59%3A59.999Z&transactionId=5cd9e87dc8a29ccb
{"totalHits":1,"buckets":[{"key":0,"count":1,"sample":{"traceId":"5cd9e87dc8a29ccb6e71690a9113e329","transactionId":"5cd9e87dc8a29ccb"}},{"key":15,"count":0},{"key":30,"count":0},{"key":45,"count":0},{"key":60,"count":0},{"key":75,"count":0},{"key":90,"count":0},{"key":105,"count":0},{"key":120,"count":0},{"key":135,"count":0},{"key":150,"count":0},{"key":165,"count":0},{"key":180,"count":0},{"key":195,"count":0},{"key":210,"count":0},{"key":225,"count":0},{"key":240,"count":0},{"key":255,"count":0},{"key":270,"count":0},{"key":285,"count":0},{"key":300,"count":0},{"key":315,"count":0},{"key":330,"count":0},{"key":345,"count":0},{"key":360,"count":0},{"key":375,"count":0},{"key":390,"count":0},{"key":405,"count":0}],"bucketSize":15,"defaultSample":{"traceId":"5cd9e87dc8a29ccb6e71690a9113e329","transactionId":"5cd9e87dc8a29ccb"}}

best regards

Split it
{"apmTimeseries":{"totalHits":1,"responseTimes":{"avg":[{"x":1550185800000,"y":null},{"x":1550186400000,"y":null},{"x":1550187000000,"y":null},{"x":1550187600000,"y":null},{"x":1550188200000,"y":null},{"x":1550188800000,"y":null},{"x":1550189400000,"y":null},{"x":1550190000000,"y":null},{"x":1550190600000,"y":null},{"x":1550191200000,"y":null},{"x":1550191800000,"y":null},{"x":1550192400000,"y":null},{"x":1550193000000,"y":null},{"x":1550193600000,"y":null},{"x":1550194200000,"y":null},{"x":1550194800000,"y":null},{"x":1550195400000,"y":null},{"x":1550196000000,"y":null},{"x":1550196600000,"y":null},{"x":1550197200000,"y":null},{"x":1550197800000,"y":null},{"x":1550198400000,"y":null},{"x":1550199000000,"y":null},{"x":1550199600000,"y":null},{"x":1550200200000,"y":null},{"x":1550200800000,"y":null},{"x":1550201400000,"y":null},{"x":1550202000000,"y":null},{"x":1550202600000,"y":null},{"x":1550203200000,"y":null},{"x":1550203800000,"y":null},{"x":1550204400000,"y":null},{"x":1550205000000,"y":null},{"x":1550205600000,"y":null},{"x":1550206200000,"y":null},{"x":1550206800000,"y":null},{"x":1550207400000,"y":null},{"x":1550208000000,"y":null},{"x":1550208600000,"y":null},{"x":1550209200000,"y":null},{"x":1550209800000,"y":null},{"x":1550210400000,"y":null},{"x":1550211000000,"y":null},{"x":1550211600000,"y":null},{"x":1550212200000,"y":null},{"x":1550212800000,"y":null},{"x":1550213400000,"y":null},{"x":1550214000000,"y":null},{"x":1550214600000,"y":null},{"x":1550215200000,"y":null},{"x":1550215800000,"y":null},{"x":1550216400000,"y":null},{"x":1550217000000,"y":null},{"x":1550217600000,"y":null},{"x":1550218200000,"y":null},{"x":1550218800000,"y":null},{"x":1550219400000,"y":null},{"x":1550220000000,"y":null},{"x":1550220600000,"y":null},{"x":1550221200000,"y":null},{"x":1550221800000,"y":null},{"x":1550222400000,"y":null},{"x":1550223000000,"y":null},{"x":1550223600000,"y":null},{"x":1550224200000,"y":null},{"x":1550224800000,"y":0},{"x":1550225400000,"y":null},{"x":1550226000000,"y":null},{"x":1550226600000,"y":null},{"x":1550227200000,"y":null},{"x":1550227800000,"y":null},{"x":1550228400000,"y":null},{"x":1550229000000,"y":null},{"x":1550229600000,"y":null},{"x":1550230200000,"y":null},{"x":1550230800000,"y":null},{"x":1550231400000,"y":null},{"x":1550232000000,"y":null},{"x":1550232600000,"y":null},{"x":1550233200000,"y":null},{"x":1550233800000,"y":null},{"x":1550234400000,"y":null},{"x":1550235000000,"y":null},{"x":1550235600000,"y":null},{"x":1550236200000,"y":null},{"x":1550236800000,"y":null},{"x":1550237400000,"y":null},{"x":1550238000000,"y":null},{"x":1550238600000,"y":null},{"x":1550239200000,"y":null},{"x":1550239800000,"y":null},{"x":1550240400000,"y":null},{"x":1550241000000,"y":null},{"x":1550241600000,"y":null},{"x":1550242200000,"y":null},{"x":1550242800000,"y":null},{"x":1550243400000,"y":null},{"x":1550244000000,"y":null},{"x":1550244600000,"y":null},{"x":1550245200000,"y":null},{"x":1550245800000,"y":null},{"x":1550246400000,"y":null},{"x":1550247000000,"y":null},{"x":1550247600000,"y":null},{"x":1550248200000,"y":null},{"x":1550248800000,"y":null},{"x":1550249400000,"y":null},{"x":1550250000000,"y":null},{"x":1550250600000,"y":null},{"x":1550251200000,"y":null},{"x":1550251800000,"y":null},{"x":1550252400000,"y":null},{"x":1550253000000,"y":null},{"x":1550253600000,"y":null},{"x":1550254200000,"y":null},{"x":1550254800000,"y":null},{"x":1550255400000,"y":null},{"x":1550256000000,"y":null},{"x":1550256600000,"y":null},{"x":1550257200000,"y":null},{"x":1550257800000,"y":null},{"x":1550258400000,"y":null},{"x":1550259000000,"y":null},{"x":1550259600000,"y":null},{"x":1550260200000,"y":null},{"x":1550260800000,"y":null},{"x":1550261400000,"y":null},{"x":1550262000000,"y":null},{"x":1550262600000,"y":null},{"x":1550263200000,"y":null},{"x":1550263800000,"y":null},{"x":1550264400000,"y":null},{"x":1550265000000,"y":null},{"x":1550265600000,"y":null},{"x":1550266200000,"y":null},{"x":1550266800000,"y":null},{"x":1550267400000,"y":null},{"x":1550268000000,"y":null},{"x":1550268600000,"y":null},{"x":1550269200000,"y":null},{"x":1550269800000,"y":null},{"x":1550270400000,"y":null}],"

p95":[{"x":1550185800000,"y":null},{"x":1550186400000,"y":null},{"x":1550187000000,"y":null},{"x":1550187600000,"y":null},{"x":1550188200000,"y":null},{"x":1550188800000,"y":null},{"x":1550189400000,"y":null},{"x":1550190000000,"y":null},{"x":1550190600000,"y":null},{"x":1550191200000,"y":null},{"x":1550191800000,"y":null},{"x":1550192400000,"y":null},{"x":1550193000000,"y":null},{"x":1550193600000,"y":null},{"x":1550194200000,"y":null},{"x":1550194800000,"y":null},{"x":1550195400000,"y":null},{"x":1550196000000,"y":null},{"x":1550196600000,"y":null},{"x":1550197200000,"y":null},{"x":1550197800000,"y":null},{"x":1550198400000,"y":null},{"x":1550199000000,"y":null},{"x":1550199600000,"y":null},{"x":1550200200000,"y":null},{"x":1550200800000,"y":null},{"x":1550201400000,"y":null},{"x":1550202000000,"y":null},{"x":1550202600000,"y":null},{"x":1550203200000,"y":null},{"x":1550203800000,"y":null},{"x":1550204400000,"y":null},{"x":1550205000000,"y":null},{"x":1550205600000,"y":null},{"x":1550206200000,"y":null},{"x":1550206800000,"y":null},{"x":1550207400000,"y":null},{"x":1550208000000,"y":null},{"x":1550208600000,"y":null},{"x":1550209200000,"y":null},{"x":1550209800000,"y":null},{"x":1550210400000,"y":null},{"x":1550211000000,"y":null},{"x":1550211600000,"y":null},{"x":1550212200000,"y":null},{"x":1550212800000,"y":null},{"x":1550213400000,"y":null},{"x":1550214000000,"y":null},{"x":1550214600000,"y":null},{"x":1550215200000,"y":null},{"x":1550215800000,"y":null},{"x":1550216400000,"y":null},{"x":1550217000000,"y":null},{"x":1550217600000,"y":null},{"x":1550218200000,"y":null},{"x":1550218800000,"y":null},{"x":1550219400000,"y":null},{"x":1550220000000,"y":null},{"x":1550220600000,"y":null},{"x":1550221200000,"y":null},{"x":1550221800000,"y":null},{"x":1550222400000,"y":null},{"x":1550223000000,"y":null},{"x":1550223600000,"y":null},{"x":1550224200000,"y":null},{"x":1550224800000,"y":0},{"x":1550225400000,"y":null},{"x":1550226000000,"y":null},{"x":1550226600000,"y":null},{"x":1550227200000,"y":null},{"x":1550227800000,"y":null},{"x":1550228400000,"y":null},{"x":1550229000000,"y":null},{"x":1550229600000,"y":null},{"x":1550230200000,"y":null},{"x":1550230800000,"y":null},{"x":1550231400000,"y":null},{"x":1550232000000,"y":null},{"x":1550232600000,"y":null},{"x":1550233200000,"y":null},{"x":1550233800000,"y":null},{"x":1550234400000,"y":null},{"x":1550235000000,"y":null},{"x":1550235600000,"y":null},{"x":1550236200000,"y":null},{"x":1550236800000,"y":null},{"x":1550237400000,"y":null},{"x":1550238000000,"y":null},{"x":1550238600000,"y":null},{"x":1550239200000,"y":null},{"x":1550239800000,"y":null},{"x":1550240400000,"y":null},{"x":1550241000000,"y":null},{"x":1550241600000,"y":null},{"x":1550242200000,"y":null},{"x":1550242800000,"y":null},{"x":1550243400000,"y":null},{"x":1550244000000,"y":null},{"x":1550244600000,"y":null},{"x":1550245200000,"y":null},{"x":1550245800000,"y":null},{"x":1550246400000,"y":null},{"x":1550247000000,"y":null},{"x":1550247600000,"y":null},{"x":1550248200000,"y":null},{"x":1550248800000,"y":null},{"x":1550249400000,"y":null},{"x":1550250000000,"y":null},{"x":1550250600000,"y":null},{"x":1550251200000,"y":null},{"x":1550251800000,"y":null},{"x":1550252400000,"y":null},{"x":1550253000000,"y":null},{"x":1550253600000,"y":null},{"x":1550254200000,"y":null},{"x":1550254800000,"y":null},{"x":1550255400000,"y":null},{"x":1550256000000,"y":null},{"x":1550256600000,"y":null},{"x":1550257200000,"y":null},{"x":1550257800000,"y":null},{"x":1550258400000,"y":null},{"x":1550259000000,"y":null},{"x":1550259600000,"y":null},{"x":1550260200000,"y":null},{"x":1550260800000,"y":null},{"x":1550261400000,"y":null},{"x":1550262000000,"y":null},{"x":1550262600000,"y":null},{"x":1550263200000,"y":null},{"x":1550263800000,"y":null},{"x":1550264400000,"y":null},{"x":1550265000000,"y":null},{"x":1550265600000,"y":null},{"x":1550266200000,"y":null},{"x":1550266800000,"y":null},{"x":1550267400000,"y":null},{"x":1550268000000,"y":null},{"x":1550268600000,"y":null},{"x":1550269200000,"y":null},{"x":1550269800000,"y":null},{"x":1550270400000,"y":null}],"p99":[{"x":1550185800000,"y":null},{"x":1550186400000,"y":null},{"x":1550187000000,"y":null},{"x":1550187600000,"y":null},{"x":1550188200000,"y":null},{"x":1550188800000,"y":null},{"x":1550189400000,"y":null},{"x":1550190000000,"y":null},{"x":1550190600000,"y":null},{"x":1550191200000,"y":null},{"x":1550191800000,"y":null},{"x":1550192400000,"y":null},{"x":1550193000000,"y":null},{"x":1550193600000,"y":null},{"x":1550194200000,"y":null},{"x":1550194800000,"y":null},{"x":1550195400000,"y":null},{"x":1550196000000,"y":null},{"x":1550196600000,"y":null},{"x":1550197200000,"y":null},{"x":1550197800000,"y":null},{"x":1550198400000,"y":null},{"x":1550199000000,"y":null},{"x":1550199600000,"y":null},{"x":1550200200000,"y":null},{"x":1550200800000,"y":null},{"x":1550201400000,"y":null},{"x":1550202000000,"y":null},{"x":1550202600000,"y":null},{"x":1550203200000,"y":null},{"x":1550203800000,"y":null},{"x":1550204400000,"y":null},{"x":1550205000000,"y":null},{"x":1550205600000,"y":null},{"x":1550206200000,"y":null},{"x":1550206800000,"y":null},{"x":1550207400000,"y":null},{"x":1550208000000,"y":null},{"x":1550208600000,"y":null},{"x":1550209200000,"y":null},{"x":1550209800000,"y":null},{"x":1550210400000,"y":null},{"x":1550211000000,"y":null},{"x":1550211600000,"y":null},{"x":1550212200000,"y":null},{"x":1550212800000,"y":null},{"x":1550213400000,"y":null},{"x":1550214000000,"y":null},{"x":1550214600000,"y":null},{"x":1550215200000,"y":null},{"x":1550215800000,"y":null},{"x":1550216400000,"y":null},{"x":1550217000000,"y":null},{"x":1550217600000,"y":null},{"x":1550218200000,"y":null},{"x":1550218800000,"y":null},{"x":1550219400000,"y":null},{"x":1550220000000,"y":null},{"x":1550220600000,"y":null},{"x":1550221200000,"y":null},{"x":1550221800000,"y":null},{"x":1550222400000,"y":null},{"x":1550223000000,"y":null},{"x":1550223600000,"y":null},{"x":1550224200000,"y":null},{"x":1550224800000,"y":0},{"x":1550225400000,"y":null},{"x":1550226000000,"y":null},

{"x":1550226600000,"y":null},{"x":1550227200000,"y":null},{"x":1550227800000,"y":null},{"x":1550228400000,"y":null},{"x":1550229000000,"y":null},{"x":1550229600000,"y":null},{"x":1550230200000,"y":null},{"x":1550230800000,"y":null},{"x":1550231400000,"y":null},{"x":1550232000000,"y":null},{"x":1550232600000,"y":null},{"x":1550233200000,"y":null},{"x":1550233800000,"y":null},{"x":1550234400000,"y":null},{"x":1550235000000,"y":null},{"x":1550235600000,"y":null},{"x":1550236200000,"y":null},{"x":1550236800000,"y":null},{"x":1550237400000,"y":null},{"x":1550238000000,"y":null},{"x":1550238600000,"y":null},{"x":1550239200000,"y":null},{"x":1550239800000,"y":null},{"x":1550240400000,"y":null},{"x":1550241000000,"y":null},{"x":1550241600000,"y":null},{"x":1550242200000,"y":null},{"x":1550242800000,"y":null},{"x":1550243400000,"y":null},{"x":1550244000000,"y":null},{"x":1550244600000,"y":null},{"x":1550245200000,"y":null},{"x":1550245800000,"y":null},{"x":1550246400000,"y":null},{"x":1550247000000,"y":null},{"x":1550247600000,"y":null},{"x":1550248200000,"y":null},{"x":1550248800000,"y":null},{"x":1550249400000,"y":null},{"x":1550250000000,"y":null},{"x":1550250600000,"y":null},{"x":1550251200000,"y":null},{"x":1550251800000,"y":null},{"x":1550252400000,"y":null},{"x":1550253000000,"y":null},{"x":1550253600000,"y":null},{"x":1550254200000,"y":null},{"x":1550254800000,"y":null},{"x":1550255400000,"y":null},{"x":1550256000000,"y":null},{"x":1550256600000,"y":null},{"x":1550257200000,"y":null},{"x":1550257800000,"y":null},{"x":1550258400000,"y":null},{"x":1550259000000,"y":null},{"x":1550259600000,"y":null},{"x":1550260200000,"y":null},{"x":1550260800000,"y":null},{"x":1550261400000,"y":null},{"x":1550262000000,"y":null},{"x":1550262600000,"y":null},{"x":1550263200000,"y":null},{"x":1550263800000,"y":null},{"x":1550264400000,"y":null},{"x":1550265000000,"y":null},{"x":1550265600000,"y":null},{"x":1550266200000,"y":null},{"x":1550266800000,"y":null},{"x":1550267400000,"y":null},{"x":1550268000000,"y":null},{"x":1550268600000,"y":null},{"x":1550269200000,"y":null},{"x":1550269800000,"y":null},{"x":1550270400000,"y":null}]},"tpmBuckets":[{"key":"transaction_result_missing","dataPoints":[{"x":1550185800000,"y":0},{"x":1550186400000,"y":0},{"x":1550187000000,"y":0},{"x":1550187600000,"y":0},{"x":1550188200000,"y":0},{"x":1550188800000,"y":0},{"x":1550189400000,"y":0},{"x":1550190000000,"y":0},{"x":1550190600000,"y":0},{"x":1550191200000,"y":0},{"x":1550191800000,"y":0},{"x":1550192400000,"y":0},{"x":1550193000000,"y":0},{"x":1550193600000,"y":0},{"x":1550194200000,"y":0},{"x":1550194800000,"y":0},{"x":1550195400000,"y":0},{"x":1550196000000,"y":0},{"x":1550196600000,"y":0},{"x":1550197200000,"y":0},{"x":1550197800000,"y":0},{"x":1550198400000,"y":0},{"x":1550199000000,"y":0},{"x":1550199600000,"y":0},{"x":1550200200000,"y":0},{"x":1550200800000,"y":0},{"x":1550201400000,"y":0},{"x":1550202000000,"y":0},{"x":1550202600000,"y":0},{"x":1550203200000,"y":0},{"x":1550203800000,"y":0},{"x":1550204400000,"y":0},{"x":1550205000000,"y":0},{"x":1550205600000,"y":0},{"x":1550206200000,"y":0},{"x":1550206800000,"y":0},{"x":1550207400000,"y":0},{"x":1550208000000,"y":0},{"x":1550208600000,"y":0},{"x":1550209200000,"y":0},{"x":1550209800000,"y":0},{"x":1550210400000,"y":0},{"x":1550211000000,"y":0},{"x":1550211600000,"y":0},{"x":1550212200000,"y":0},{"x":1550212800000,"y":0},{"x":1550213400000,"y":0},{"x":1550214000000,"y":0},{"x":1550214600000,"y":0},{"x":1550215200000,"y":0},{"x":1550215800000,"y":0},{"x":1550216400000,"y":0},{"x":1550217000000,"y":0},{"x":1550217600000,"y":0},{"x":1550218200000,"y":0},{"x":1550218800000,"y":0},{"x":1550219400000,"y":0},{"x":1550220000000,"y":0},{"x":1550220600000,"y":0},{"x":1550221200000,"y":0},{"x":1550221800000,"y":0},{"x":1550222400000,"y":0},{"x":1550223000000,"y":0},{"x":1550223600000,"y":0},{"x":1550224200000,"y":0},{"x":1550224800000,"y":0.1},{"x":1550225400000,"y":0},{"x":1550226000000,"y":0},{"x":1550226600000,"y":0},{"x":1550227200000,"y":0},{"x":1550227800000,"y":0},{"x":1550228400000,"y":0},{"x":1550229000000,"y":0},{"x":1550229600000,"y":0},{"x":1550230200000,"y":0},{"x":1550230800000,"y":0},{"x":1550231400000,"y":0},{"x":1550232000000,"y":0},{"x":1550232600000,"y":0},{"x":1550233200000,"y":0},{"x":1550233800000,"y":0},{"x":1550234400000,"y":0},{"x":1550235000000,"y":0},{"x":1550235600000,"y":0},{"x":1550236200000,"y":0},{"x":1550236800000,"y":0},{"x":1550237400000,"y":0},{"x":1550238000000,"y":0},{"x":1550238600000,"y":0},{"x":1550239200000,"y":0},{"x":1550239800000,"y":0},{"x":1550240400000,"y":0},{"x":1550241000000,"y":0},{"x":1550241600000,"y":0},{"x":1550242200000,"y":0},{"x":1550242800000,"y":0},{"x":1550243400000,"y":0},{"x":1550244000000,"y":0},{"x":1550244600000,"y":0},{"x":1550245200000,"y":0},{"x":1550245800000,"y":0},{"x":1550246400000,"y":0},{"x":1550247000000,"y":0},{"x":1550247600000,"y":0},{"x":1550248200000,"y":0},{"x":1550248800000,"y":0},{"x":1550249400000,"y":0},{"x":1550250000000,"y":0},{"x":1550250600000,"y":0},{"x":1550251200000,"y":0},{"x":1550251800000,"y":0},{"x":1550252400000,"y":0},{"x":1550253000000,"y":0},{"x":1550253600000,"y":0},{"x":1550254200000,"y":0},{"x":1550254800000,"y":0},{"x":1550255400000,"y":0},{"x":1550256000000,"y":0},{"x":1550256600000,"y":0},{"x":1550257200000,"y":0},{"x":1550257800000,"y":0},{"x":1550258400000,"y":0},{"x":1550259000000,"y":0},{"x":1550259600000,"y":0},{"x":1550260200000,"y":0},{"x":1550260800000,"y":0},{"x":1550261400000,"y":0},{"x":1550262000000,"y":0},{"x":1550262600000,"y":0},{"x":1550263200000,"y":0},{"x":1550263800000,"y":0},{"x":1550264400000,"y":0},{"x":1550265000000,"y":0},{"x":1550265600000,"y":0},{"x":1550266200000,"y":0},{"x":1550266800000,"y":0},{"x":1550267400000,"y":0},{"x":1550268000000,"y":0},{"x":1550268600000,"y":0},{"x":1550269200000,"y":0},{"x":1550269800000,"y":0},{"x":1550270400000,"y":0}]}],"overallAvgDuration":0}}

That's great, thanks!
Can you also send me the response for the XHR request to "api/apm/traces/" ?

Hi,

here is the response /api/apm/traces/5cd9e87dc8a29ccb6e71690a9113e329?start=2019-02-14T23%3A00%3A00.000Z&end=2019-02-15T22%3A59%3A59.999Z

[{"@timestamp":"2019-02-15T10:01:26.217Z","transaction":{"duration":{"us":0},"type":"start","sampled":true,"span_count":{"dropped":{"total":0},"started":0},"id":"5cd9e87dc8a29ccb","name":"Init"},"context":{"tags":{"os":"windows"},"system":{"platform":"windows","ip":"89.1.38.70","hostname":"HOSTNAME","architecture":"amd64"},"process":{"pid":8220,"ppid":10224,"title":"apm.exe","argv":["apm.exe"]},"service":{"language":{"name":"go","version":"go1.11.5"},"runtime":{"name":"gc","version":"go1.11.5"},"name":"logfile","agent":{"name":"go","version":"1.2.0"}}},"trace":{"id":"5cd9e87dc8a29ccb6e71690a9113e329"},"timestamp":{"us":1550224886217804},"beat":{"hostname":"92d6fc062e62","version":"6.6.0","name":"instance-0000000000"},"host":{"name":"instance-0000000000"},"processor":{"name":"transaction","event":"transaction"}}]

best regards

Hi again,

I was able to reproduce the issue, and create a fix. Thanks for helping me getting there.

It will be available in 7.0, 6.7, 6.6.2 and 6.5.5.

The issue was due to the trace having a duration of 0 microseconds. The page should not crash like it did, but it also sounds like an odd edge case. Do you know why the duration is 0?

Hi,

thanks for your help. Good to know this with 0 duration.
Have a nice day and weekend.

best regards