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 建立於 2021年11月11日

在 GitHub 查看
 (10 留言) (0 反應) (0 負責人)TypeScript (19,065 star) (8,021 fork)batch import
Team:obs-ux-infra_services - DEPRECATEDapm:waterfallenhancementgood first issuestale

描述

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

貢獻者指南