Commit Graph
26 Commits
Author SHA1 Message Date
jackyin 3012d4c043 Flame Graph: Fix crash when it receives empty data (#95604)
flame graph crash
2024-11-11 11:09:11 +00:00
Ashley Harrison 47f8717149 React: Use new JSX transform (#88802)
* update eslint, tsconfig + esbuild to handle new jsx transform

* remove thing that breaks the new jsx transform

* remove react imports

* adjust grafana-icons build

* is this the correct syntax?

* try this

* well this was much easier than expected...

* change grafana-plugin-configs webpack config

* fixes

* fix lockfile

* fix 2 more violations

* use path.resolve instead of require.resolve

* remove react import

* fix react imports

* more fixes

* remove React import

* remove import React from docs

* remove another react import
2024-06-25 12:43:47 +01:00
Andrej Ocenas 8213e8a2a6 Flamegraph: Add collapse and expand group buttons to toolbar (#87395) 2024-05-10 11:51:09 +02:00
Andrej Ocenas 9c254c7e1e Flamegraph: Add diff mode color legend (#87319) 2024-05-06 12:28:57 +02:00
kay delaney b7995ae18a Chore: Rewrite grafana-flamegraph css using object styles (#86816) 2024-04-23 23:28:37 +01:00
Dmitry FilimonovandAndrej Ocenas 33154abcd9 FlameGraph: adds ability to add context menu items (#81675)
* pyroscope: adds ability to add context menu items

* moves things around

* removes console.log

* improvements

* Change the extra context button API shape

* Add test

* lint

---------

Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2024-03-14 11:00:30 +01:00
renovate[bot]andAshley Harrison 86cb412b1d Update dependency prettier to v3.2.4 (#81047)
* Update dependency prettier to v3.2.4

* update sdk + run prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-23 11:41:24 +00:00
Ryan Perry aa12c6c772 Flamegraph: Add table filtering for Flamegraph panel (#78962) 2023-12-07 18:52:46 +01:00
Andrej Ocenas b40913c5e5 Flamegraph: Refactor css styling (#78698) 2023-12-03 12:00:42 +01:00
Leon SorokinandAndrej Ocenas 0daf0ad4b8 FlameGraph: Optimize rendering of muted regions (#78510)
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2023-11-28 11:01:14 -06:00
Joey 4f46fb412c Tempo: Embed flame graph in span details (#77537)
* Embed flame graph

* Update test

* Update test

* Use toggle

* Update test

* Add tests

* Use const

* Cleanup

* Update profile tag

* Move flame graph out of tags, remove request and other cleanup + tests

* Update test

* Set flame graph by profile id and simplify logic

* Cleanup and redrawListView

* Create/use feature toggle
2023-11-23 13:36:53 +00:00
Dmitry FilimonovandLeon Sorokin d47ac2f67e FlameGraph: reduce max height of table (#78432)
* FlameGraph: reduce max height of table

* prettier fix

* use maxHeight

* makes it actually work

* makes things actually work

---------

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2023-11-22 11:52:41 -05:00
Andrej Ocenas 9777da5502 Flamegraph: Update threshold for collapsing and fix flickering (#78206) 2023-11-15 17:59:26 +01:00
Dmitry Filimonov c755ceae31 Flamegraph: Fix rendering on non-retina screens (#78085) 2023-11-14 11:21:21 +01:00
Andrej Ocenas 494a07b522 Flamegraph: Add collapsing for similar items in the stack (#77461) 2023-11-09 15:31:07 +01:00
Andrej Ocenas c99b978857 Flamegraph: Rendering from tree instead of levels (#76215) 2023-10-18 15:53:07 +02:00
Andrej Ocenas 7329e2dc62 Flamegraph: Fix inefficient regex generating error on some function names (#76377) 2023-10-11 17:57:01 +02:00
Andrej Ocenas 9ec61f5570 Flamegraph: Fix theme propagation (#76064) 2023-10-10 10:57:39 +02:00
Andrej Ocenas 20d64705f5 Flamegraph: Make color by package the default color mode (#76137)
* Make package based the default color mode

* simplify the code a bit
2023-10-09 10:16:00 +02:00
Andrej Ocenas bc9dd475b8 Flamegraph: Fix bug where package colors would be altered after focusin on a node (#75695) 2023-09-29 14:47:53 +02:00
Andrej Ocenas 2a9ef4cce5 Flamegraph: Fix css issues when embedded outside of Grafana (#75369) 2023-09-27 11:50:42 +02:00
Andrej Ocenas b622ac2a66 Flamegraph: Remove unused code after move to package (#75103) 2023-09-20 14:51:23 +02:00
Andrej Ocenas b6bb22a67a Flamegraph: Swap lines to test CI (#75072) 2023-09-19 10:34:33 +02:00
Andrej Ocenas 7f7a155dcd Flamegraph: Test CI flow (#75022) 2023-09-18 18:17:57 +03:00
Andrej Ocenas 1c61427f57 Flamegraph: Remove unused types (#74918) 2023-09-14 16:26:59 +02:00
Andrej Ocenas e4f26a5e4b Flamegraph: Move to package (#73113) 2023-09-12 12:28:48 +02:00