kibana/x-pack/plugins/apm
jennypavlova 3dbe1e434a
[ObsUX] Add Missing transaction warning if there are Transactions or Spans with a parent.id that doesn't exist in the trace (#171196)
Closes https://github.com/elastic/kibana/issues/25117

## Summary

Add a missing transaction warning if there are Transactions or Spans
with a `parent.id` that doesn't exist in the trace.


## Testing

- Use the `trace_with_orphan_items.ts` scenario: `node
scripts/synthtrace --clean trace_with_orphan_items.ts`
- In APM -> Traces there are 2 traces:
- <img width="1423" alt="image"
src="3548d1dd-d87f-4090-a028-d62cf8ec35c8">
- Check the traces: 
   - Incomplete trace (with warning):
- <img width="1401" alt="image"
src="a75a2112-a425-43d9-bdd1-b3724ccfe6e3">

   - Complete trace (no warning):
- <img width="1387" alt="image"
src="f33614ab-269b-447c-bd0b-bc00f9799092">
- Unit test in
[waterfall_helpers.test.ts](https://github.com/elastic/kibana/pull/171196/files#diff-6cdeaa931c0085a16353ac34f937d442a39e1227621f11b3de0608a39e949fc6)
2023-11-20 17:33:11 +01:00
..
.storybook [APM] Fix storybook (#163151) 2023-08-07 12:20:03 +01:00
common [ObsInfra][APM] Extract agent utils and custom icons (#170968) 2023-11-20 16:39:42 +01:00
dev_docs [APM] Add best practices for API testing (#167507) 2023-10-03 13:45:30 +02:00
ftr_e2e [APM] Reverting manual memory fix for cypress post upgrade (#167733) 2023-10-02 08:03:22 -07:00
public [ObsUX] Add Missing transaction warning if there are Transactions or Spans with a parent.id that doesn't exist in the trace (#171196) 2023-11-20 17:33:11 +01:00
scripts [APM] Improve anomaly alert test (#169533) 2023-10-24 06:42:59 -07:00
server [ObsInfra][APM] Extract agent utils and custom icons (#170968) 2023-11-20 16:39:42 +01:00
typings [ObsInfra][APM] Extract agent utils and custom icons (#170968) 2023-11-20 16:39:42 +01:00
.prettierrc
CONTRIBUTING.md
jest.config.js [APM] Prevent console.error causing unit tests to fail locally (#161959) 2023-07-17 17:45:58 -07:00
kibana.jsonc Update new codeowners for Obs team changes (#170182) 2023-11-08 14:30:17 +00:00
readme.md [APM] plugin description (#155041) 2023-04-19 09:49:10 +01:00
tsconfig.json [ObsInfra][APM] Extract agent utils and custom icons (#170968) 2023-11-20 16:39:42 +01:00

APM

This plugin provides access to App Monitoring features provided by Elastic. It allows you to monitor your software services and applications in real-time; visualize detailed performance information on your services, identify and analyze errors, and monitor host-level and APM agent-specific metrics like JVM and Go runtime metrics.

Documentation for APM UI developers

Getting started

APM concepts

Tooling

Other resources