elastic/kibana

[APM] Add more info to the "Number of items in this trace exceed what is displayed" (xpack.apm.waterfall.exceedsMax) EuiCallOut

Open

#118.282 aberto em 11 de nov. de 2021

Ver no GitHub
 (10 comments) (0 reactions) (0 assignees)TypeScript (8.021 forks)batch import
Team:obs-ux-infra_services - DEPRECATEDapm:waterfallenhancementgood first issuestale

Métricas do repositório

Stars
 (19.065 stars)
Métricas de merge de PR
 (Mesclagem média 1d 16h) (999 fundiu PRs em 30d)

Description

Kibana version

7.15.1

Steps to Reproduce

  1. set up a separate deployment's kibana to report into APM
  2. pull up a trace for alerting:monitoring_alert_jvm_memory_usage (it's a taskManager run type)
  3. check the trace sample, especially after some time has passed

Expected Behavior

When the number of items exceeds the setting xpack.apm.waterfall.exceedsMax we should display the message:

Number of items in this trace exceed the maximum configured value (100). Please configure xpack.apm.ui.maxTraceItems to increase this value. See docs for more details

Actual Behavior

Get a number of items exceed message like this:

Screen Shot 2021-11-11 at 13 15 56

To work around this I ended up just browsing the kibana code to find the setting (maxTraceItems). Once I had that I was able to google my way to https://www.elastic.co/guide/en/kibana/current/apm-settings-in-kibana.html

Implementation details

https://github.com/elastic/kibana/blob/main/x-pack/plugins/apm/server/routes/traces/get_trace_items.ts#L77

Guia do colaborador