mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Profiling] fixing flamegraph color (#160494)
Before: <img width="1170" alt="Screenshot 2023-06-26 at 9 57 58 AM" src="44993c9e
-7d13-4b41-ba1c-d85c742a81f9"> After: <img width="1076" alt="Screenshot 2023-06-26 at 9 58 29 AM" src="91c94fd4
-773b-4fab-80ea-2c45f64ae2ad">
This commit is contained in:
parent
ac288a106c
commit
5ac84d1f72
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ export function createCalleeTree(
|
|||
// e.g. when stopping the host agent or on network errors.
|
||||
const stackTrace = stackTraces.get(stackTraceID) ?? emptyStackTrace;
|
||||
const lenStackTrace = stackTrace.FrameIDs.length;
|
||||
const samples = (events.get(stackTraceID) ?? 0) * scalingFactor;
|
||||
const samples = Math.floor((events.get(stackTraceID) ?? 0) * scalingFactor);
|
||||
|
||||
let currentNode = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue