Commit Graph
100 Commits
Author SHA1 Message Date
Andrej Ocenas 5b085976bf Pyroscope: Fix template variable support (#84477) 2024-03-18 14:25:47 +01:00
Andrej Ocenas d48bf34227 DataFrame: Improve typing of arrayToDataFrame helper and fix null/undefined handling (#83104) 2024-02-21 10:14:29 +01:00
Andrej Ocenas de4171862c Tempo: Add custom headers middleware for grpc client (#81693) 2024-02-02 16:49:51 +01:00
Andrej Ocenas cb945aa5df NodeGraph: Use layered layout instead of force based layout (#78957) 2024-01-31 17:26:12 +01:00
Andrej Ocenas 59595c7318 Table: Keep expanded rows persistent when data changes if it has unique ID (#80031) 2024-01-23 14:14:57 +01:00
Andrej Ocenas 5b122a25b3 DataFrame: Add optional unique row id definition as frame.meta.uniqueRowIdFields (#80428)
* Define an unique id for a row in dataframe

* Update comment

* Rename attribute

* Add comment about plugin sdk

* Fix comment
2024-01-18 18:51:25 +01:00
Andrej Ocenas 22266b2a73 Tempo: Add note about how to send traces from grafana to devenv readme (#79893) 2024-01-02 15:00:25 +01:00
Andrej Ocenas b40913c5e5 Flamegraph: Refactor css styling (#78698) 2023-12-03 12:00:42 +01:00
Andrej Ocenas 9777da5502 Flamegraph: Update threshold for collapsing and fix flickering (#78206) 2023-11-15 17:59:26 +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 9d8be05cce Test data source: Add random node radius for nodegraph (#75381) 2023-10-12 18:33:18 +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 2a6c16d969 Pyroscope: Change phlare/api module to pyroscope/api module (#76271) 2023-10-10 18:13:14 +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 1cbae72a9e Pyroscope: Fix backend panic when querying out of bounds (#76053) 2023-10-06 15:03:20 +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 15e54df9f2 Pyroscope: Remove "phlare" from variable, types, strings etc (#75140) 2023-09-20 16:31:22 +02:00
Andrej Ocenas b622ac2a66 Flamegraph: Remove unused code after move to package (#75103) 2023-09-20 14:51:23 +02:00
Andrej Ocenas 501e547bea Pyroscope: Fix error when no profile types are returned (#75143) 2023-09-20 12:29:56 +02:00
Andrej Ocenas b6bb22a67a Flamegraph: Swap lines to test CI (#75072) 2023-09-19 10:34:33 +02:00
Andrej Ocenas f7aab06e23 Pyroscope: Remove support for old pyroscope (#74683) 2023-09-19 10:09:28 +02:00
Andrej Ocenas 7f7a155dcd Flamegraph: Test CI flow (#75022) 2023-09-18 18:17:57 +03:00
Andrej Ocenas f6f47678a4 QueryRunners: Bind the query function where it is passed on (#73399) 2023-09-18 17:00:43 +02: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
Andrej Ocenas a6ff50300e Pyroscope: Template variable support (#73572) 2023-08-30 10:48:39 +02:00
Andrej Ocenas dc6675cade Template Variables: Fix conversion from non standard data to dataFrame (#73486) 2023-08-30 10:01:32 +02:00
Andrej Ocenas 3aae7b089e Tempo: Fix [object Object] shown as an Event message in Trace view (#73473)
Remove the wrapper json value
2023-08-18 14:26:35 +02:00
Andrej OcenasandVictor Marin 15ac12637d Table: Add storybook and docs for custom render cell type (#72619)
* Add storybook and docs for custom rendering cell

* Update packages/grafana-ui/src/components/Table/Table.mdx

Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com>

---------

Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com>
2023-08-08 19:02:48 +02:00
Andrej Ocenas 58314e6414 Flamegraph: Remove feature flag and code to switch to pyroscope version (#72689) 2023-08-02 17:01:12 +02:00
Andrej Ocenas 91c7096eda Flamegraph: Diff profile support (#72383) 2023-08-01 16:08:46 +02:00
Andrej Ocenas 09c7190bfe Flamegraph: Add nice empty state for dashboard panel (#72583) 2023-08-01 10:49:52 +02:00
Andrej OcenasandIsabel a227dcdfcb Flamegraph: Update docs for 10.1 (#72058)
* Update docs

* Using figure to size some images

* Apply suggestions from code review

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Code review suggestions

* Change headers

* Apply suggestions from code review

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-07-24 17:23:21 +02:00
Andrej Ocenas 689d9ed430 Pyroscope: Fix panic on query when symbol names are repeating (#72188)
Use EnumItemIndex type in values map
2023-07-24 13:06:38 +02:00
Andrej Ocenas c2778325f6 FlameGraph: Add column in table with buttons to filter and sandwich a symbol (#71773) 2023-07-18 09:54:25 +02:00
Andrej Ocenas dd41c7c262 Flamegraph: Fix wrong positioning of tooltip in dashboards (#71396) 2023-07-17 22:29:39 +02:00
Andrej Ocenas bca9fc5293 Table: Add custom cell rendering option (#70999) 2023-07-17 11:20:33 +02:00
Andrej Ocenas 7ccd73c9ef DataLinks: Fix bug where links which use built in variables could be hidden (#71372) 2023-07-13 14:38:07 +02:00
Andrej Ocenas 6f102ccad0 Flamegraph: Remove feature toggle for sandwich view and color schemes (#71305) 2023-07-11 14:58:43 +02:00
Andrej Ocenas 3eaee12e3e Flamegraph: Add switch for color scheme by value or by package (#70770) 2023-06-30 17:01:11 +02:00
Andrej Ocenas 4969a78f83 Pyroscope: Fix normalize query function (#70836) 2023-06-28 15:22:13 +02:00
Andrej Ocenas 0259ae2630 Pyroscope: Preselect default profile type or app in the query editor dropdown (#70624) 2023-06-28 12:26:09 +02:00
Andrej Ocenas 0f2922d709 Flamegraph: Prevent cropping of tooltip by bottom of the viewport (#70633) 2023-06-26 18:03:41 +02:00
Andrej Ocenas 5ca03a82f0 FlameGraph: Add sandwich view (#70268) 2023-06-19 16:34:06 +02:00
Andrej Ocenas 417f6ceeb6 Grafana/ui: Fix margin in RadioButtonGroup option when only icon is present (#68899) 2023-06-09 10:54:06 +02:00
Andrej Ocenas fb904852af Pyroscope: Fix wrong defaults when importing query from different datasource (#69307) 2023-06-01 12:14:19 +02:00
Andrej Ocenas 4908045fc3 FlameGraph: Simplify the data needed for context menu and item focusing (#69006) 2023-05-25 18:26:14 +02:00
Andrej Ocenas 55bba165b1 FlameGraph: Add option to align text left or right (#68893) 2023-05-25 11:08:03 +02:00
Andrej Ocenas b9ee723bb7 Pyroscope: Fix some phlare mentions in the docs (#68846) 2023-05-23 10:38:15 +02:00
Andrej Ocenas 14936f85df NodeGraph: Fix overlaps preventing opening an edge context menu when nodes were too close (#68571) 2023-05-17 15:22:21 +02:00
Andrej Ocenas 47b7b05591 FlameGraph: Add user interaction reporting (#68458) 2023-05-15 15:02:37 +02:00
Andrej Ocenas a0942bd1df FlameGraph: Fix table sort being reset when search changes (#68409) 2023-05-15 14:25:06 +02:00
Andrej Ocenas e6db01dcbe FlameGraph: Debounce search update preventing too frequent rerenders (#68405) 2023-05-15 14:24:54 +02:00
Andrej Ocenas dd80471a92 Docs: Rename Phlare to Grafana Pyroscope (#67224) 2023-05-12 10:38:15 +02:00
Andrej Ocenas 37de4a825b Flamegraph: Fix tooltip positioning (#67938) 2023-05-11 16:08:16 +02:00
Andrej Ocenas 8da90f624d Pyroscope: Add authentication when calling backendType resource API (#67667) 2023-05-11 16:07:49 +02:00
Andrej Ocenas 92d47a8d8f Pyroscope: Fix autodetection in case of using Phlare backend (#67536) 2023-04-28 19:53:46 +02:00
Andrej Ocenas 63777ea368 Phlare: Support both Phlare and Pyroscope backends (#66989) 2023-04-25 16:08:18 +02:00
Andrej Ocenas 37eaf50197 FlameGraph: Use pyroscope/flamegraph (#65896) 2023-04-05 14:57:24 +02:00
Andrej Ocenas 977a7e9a55 Phlare: Rollback pprof code (#65689) 2023-03-31 15:27:14 +02:00
Andrej Ocenas abec183e37 Phlare: Fix error when there are no profileTypes to send from backend (#65455)
Send empty array if no types
2023-03-30 11:33:23 +02:00
Andrej Ocenas db6694994f FlameGraph: Refactor handling of the labels (#65491) 2023-03-30 11:32:44 +02:00
Andrej Ocenas d10ce5a122 TraceView: Don't require preferredVisualisationType to render (#64920) 2023-03-23 10:27:34 +01:00
Andrej Ocenas 998b035d52 Phlare: Fix panic on empty pprof profile (#64888) 2023-03-16 14:02:56 +01:00
Andrej Ocenas 23e0f85ef9 Flamegraph: Fix rendering on contextMenu click and improve rendering perf (#64742) 2023-03-14 15:41:27 +01:00
Andrej Ocenas 6647217208 Phlare: Use enum config to send deduplicated func and filenames (#64435) 2023-03-13 11:06:04 +01:00
Andrej Ocenas c7a1216cf6 TraceView: Add key and url escaping of json tag values (#64331) 2023-03-08 11:20:08 +01:00
Andrej Ocenas 58eb25e47d Phlare: Refactor the pprof transform (#64028) 2023-03-07 10:26:51 +01:00
Andrej Ocenas 1fb2e7bba9 ContextMenu: Fix padding and show border based on items (#63948) 2023-03-01 20:14:28 +01:00
Andrej Ocenas 78b39bb282 NodeGraph: Support icons for nodes (#60989) 2023-03-01 16:02:33 +01:00
Andrej Ocenas 99a16d27c1 Tempo: Trace to logs update image (#62796) 2023-02-02 16:52:34 +01:00
Andrej Ocenas 1aae808723 Tempo: Update docs for trace to logs functionality (#62338) 2023-02-02 16:06:11 +01:00
Andrej Ocenas 039b30b1ea NodeGraph: Schema for panel options (#62121) 2023-01-26 18:02:41 +01:00
Andrej Ocenas a414b07991 Tempo: Trace to logs custom query with interpolation (#61702) 2023-01-26 16:37:16 +01:00
Andrej Ocenas d8273eeb6b Parca: Use client dependency from buf.dev instead of generated sources (#60969) 2023-01-19 16:26:00 +01:00
Andrej Ocenas 85d8d9c00b Phlare: Add devenv block (#60911)
Add Phlare devenv block
2023-01-04 11:29:45 +01:00
Andrej Ocenas c6840cfdec Tempo: Fix traceQL suggestions for tag names with dots (#59736) 2022-12-05 17:05:22 +01:00
Andrej Ocenas 038c97f31c TestDatasource: Add scenario for generating trace data (#59299) 2022-11-29 22:50:01 +01:00
Andrej Ocenas e033775264 NodeGraph: Allow usage with single dataframe (#58448) 2022-11-28 15:03:00 +01:00
Andrej Ocenas 9e03355e53 Flamegraph: Add self to tooltip (#57548)
* Add self to tooltip

* Fix tests

* Update layout

* Fixed too much space on the bottom
2022-11-02 19:07:11 +01:00
Andrej Ocenas dfb75815b1 Profiling: Add docs for Parca and Phlare (#57833)
* Add docs for Parca and Phlare

* Add feature toggle note

* Wording fixes

* Update images and some links

* Update links
2022-11-01 11:14:36 +01:00
Andrej OcenasandJoey Tawadrous 0845ac2f53 Profiling: Add Phlare and Parca datasources (#57809)
* Add phlare datasource

* Rename

* Add parca

* Add self field to parca

* Make sure phlare works with add to dashboard flow

* Add profiling category and hide behind feature flag

* Update description and logos

* Update phlare icon

* Cleanup logging

* Clean up logging

* Fix for shift+enter

* onRunQuery to set label

* Update type naming

* Fix lint

* Fix test and quality issues

Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com>
2022-10-28 13:33:37 +02:00
Andrej Ocenas 82d79780d8 Flamegraph: Fix vertical offset (#57618) 2022-10-25 17:55:49 +02:00
Andrej Ocenas 67aa99af78 NodeGraph: Fix rendering issues when values of arc are over 1 (#57460) 2022-10-24 11:28:49 +02:00
Andrej OcenasandBeto Muniz f30795b088 Prometheus: Throw error on direct access (#50162)
* Disable direct access

* Hide access select if Server mode is already selected

* Update docs

* Add more tests

Co-authored-by: Beto Muniz <contato@betomuniz.com>
2022-08-17 09:37:29 -03:00
Andrej Ocenas d0e548c3e5 Prometheus: Add flag to compare streaming and buffered responses (#51711)
* Add flag to compare streaming and buffered

* Move log

* Fix lint

* Fix tests

* Remove debug logs
2022-07-28 14:26:51 +02:00
Andrej Ocenas bf334ab777 Prometheus: Small improvements to the custom client (#51709)
* Add suggestions

* Fix tests
2022-07-04 22:55:07 +02:00
Andrej Ocenas 3df34fe064 Prometheus: Remove cache, pass headers in request, simplify client creation for resource calls and custom client (#51436)
* Remove cache, pass headers in request, simplify client creation

* Add test for http options creation
2022-07-04 11:18:45 +02:00
Andrej Ocenas 2372501368 Prometheus: Remove middleware for custom headers (#51518) 2022-06-29 11:04:57 +02:00
Andrej Ocenasandismail simsek d20afa2a39 Prometheus: Use contextual middleware for req headers and simplify client creation (#51061)
* Use contextual middleware and simplify client creation

* Fix tests

* Add test for the header propagation

* Fix tests and lint

* Update pkg/tsdb/prometheus/prometheus.go

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2022-06-23 14:48:16 +02:00
Andrej Ocenas 677b2a43b5 Prometheus: Add test for resource call header handling (#51036)
* Add test

* Remove unused test
2022-06-17 16:48:32 +02:00
Andrej Ocenas 07be95a001 Prometheus: Fix body not being included in resource calls if they are POST (#50833)
* Pass on request body

* Fix GETs and add tests

* Fix err handling

* Add comments

* Close response body

* Fix lint maybe

* Fix test
2022-06-15 16:46:21 +02:00
Andrej Ocenas bd04b776b5 Prometheus: Don't show undefined for step in collapsed options in query editor when value is "auto" (#50511) 2022-06-13 11:21:38 +02:00
Andrej Ocenas fee0b9d1f2 Docs: Fix Prometheus query editor Legend docs (#50312)
* Update docs for label

* Fix wording

* Fix typo
2022-06-08 15:08:00 +02:00
Andrej OcenasandIvana Huckova 37aedd6906 Loki: Add user analytics for query editor mode (#49619)
* Add reportInteraction call

* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryEditorSelector.tsx

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-06-06 10:38:45 +02:00
Andrej Ocenas cc90f9bb69 Prometheus/Loki: Add raw query and syntax highlight in explain mode (#50070) 2022-06-02 13:50:58 +02:00
Andrej Ocenas c63071f519 Prometheus/Loki: Show raw query by default in the builder(#50007) 2022-06-02 13:50:10 +02:00