kibana/packages/kbn-profiling-utils
Tim Rühsen 79f63c2a3d
[Profiling] Ignore error frames (#176537)
This change allows the Universal Profiling agent to send error frames,
which will give us more accurate values for CO2 emission and $ costs.

The reason is that unwinding errors resulting in 0-length stacktraces
happen quite often. These are not sent to the backend currently, so the
related CPU activity doesn't go into the calculations. This can make up
showing 10% less CPU / CO2 / costs in the UI.
Adding artificial error frames in case of unwinding errors guarantees
that stacktraces always have a length of > 0.

Once we settled on how error frames can be displayed in a user-friendly
way, this code can be removed.

---------

Co-authored-by: Joel Höner <joel@elastic.co>
Co-authored-by: Caue Marcondes <caue.marcondes@elastic.co>
2024-02-13 07:40:21 +01:00
..
common [Profiling] Ignore error frames (#176537) 2024-02-13 07:40:21 +01:00
index.ts [Profiling] Ignore error frames (#176537) 2024-02-13 07:40:21 +01:00
jest.config.js [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
kibana.jsonc Update new codeowners for Obs team changes (#170182) 2023-11-08 14:30:17 +00:00
package.json flag packages without side effects (#173351) 2023-12-19 02:46:39 -07:00
tsconfig.json [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00