No lines drawn in "Time spent by span time", although data is available

Hi,

The "Time spent by span type" doesn't show lines if any of data is N/A, in most cases it is http.

Kibana version: 7.3.1

Elasticsearch version: 7.3.1

APM Server version: 7.3.1

APM Agent language and version: Java, 1.9

Browser version: Chromium 75

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

Fresh install or upgraded from other version? upgraded

Is there anything special in your setup?

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

Steps to reproduce:

  1. Setup APM plus Java Agent in a server providing HTTP access and do some requests
  2. go to APM page in Kibana and choose the service
  3. have a look at the upper most panel in the transactions tab

Errors in browser console (if relevant):

Best regards,
Robert

Hi Robert,

The breakdown graphs need at least two adjacent x data points to draw an area, e.g. if we have data for x: 0, and x:2, but not x: 1, we don't draw a line or area, only dots on hover. Additionally, 7.3 has an issue with vertical stacking if any of the series do not have data for a given time. In 7.4 we have a better approach for dealing with data gaps: https://github.com/elastic/kibana/pull/43663.

Are you able to post the full response here from the endpoint that returns the breakdown data? The pathname should end with /api/apm/services/{serviceName}/transaction_groups/breakdown.

Hi,

The response is:

{
"error": "no handler found for uri [/api/apm/services/Jenkins/transaction_groups/breakdown] and method [GET]"
}

Robert