Andrej Ocenas and Isabel
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 Ocenas and Joey 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 Ocenas and Beto 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 Ocenas and ismail 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 Ocenas and Ivana 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
Andrej Ocenas and Todd Treece
d2fefec306
Prometheus: Fix aligning of labels of exemplars after backend migration ( #49924 )
...
* Fix normalization of labels
* Move sorting so it actually has an effect
* fix lint error
Co-authored-by: Todd Treece <todd.treece@grafana.com >
2022-06-01 11:13:57 +02:00
Andrej Ocenas
72367cf1ad
Prometheus: Cleanup annotation editor ( #49615 )
...
* Remove unused code
* Remove test
* Remove Builder mode and simplify the code
* Fix step mapping
* Fix import
* change placeholder
2022-05-31 11:50:23 +02:00
Andrej Ocenas and Ryan McKinley
4124294011
Prometheus: Migrate annotation editor to react ( #48814 )
...
* Modify the annotation support api
* Migrate annotation editor component
* Update public/app/features/annotations/standardAnnotationSupport.ts
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
* Move the escape hatches out of the public API
* Fix props transforms
* Break import cycle
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2022-05-24 17:43:58 +02:00
Andrej Ocenas
7cd034f33a
Loki: Cleanup some code for default editorMode ( #49431 )
2022-05-23 19:21:00 +02:00
Andrej Ocenas
bd9cec8827
Prometheus: Fix disappearing multi values in metric label values ( #48127 )
2022-04-29 10:22:49 +02:00
Andrej Ocenas
ff5aef194c
Prometheus: Highlight operations added in the query builder ( #47961 )
...
* Highlight newly added operations
* Better diff for the operations change
* Changed the highlight style
2022-04-21 10:26:27 +02:00
Andrej Ocenas
378ce4f685
Prometheus: Add documentation for the query builder ( #47324 )
...
* Update documentation for the query builder
* Review feedback
* Update docs and add pictures
2022-04-19 11:25:28 +02:00
Andrej Ocenas
95009995e4
Prometheus: Move count_values from function to aggregation ( #47260 )
...
* Move count_values from function to aggregation
* Fix typos
* Fix loki operations
* Fix error that change the aggregation variant on blur
* Fix loki ops
2022-04-12 16:08:50 +02:00
Andrej Ocenas
c449aadc1b
Prometheus: Fix executing query onBlur in Explore ( #47561 )
2022-04-12 14:55:57 +02:00
Andrej Ocenas
0d3879d1c1
Prometheus: Add beta tag to mode switch for Builder mode ( #47376 )
...
* Add beta tag to mode switch
* Fix selectors
2022-04-06 11:50:12 +02:00
Andrej Ocenas
ad4fcfd69b
Prometheus: Set default mode to Code ( #47342 )
...
* Set default to Code
* Fix tests
2022-04-06 10:07:11 +02:00
Andrej Ocenas
1110666b6b
Loki: Fix parsing chained and scalar binary queries ( #47132 )
...
* Fix bin parsing for more cases
* Add test for some utils
* Removing console.log
* Simplify some code and fix typing
* Rename function
2022-04-01 18:33:09 +02:00
Andrej Ocenas
ba2332eb96
Prometheus: bool bin op improvements ( #47198 )
...
* Change param order
* Align tooltip icon styling
2022-04-01 17:51:50 +02:00
Andrej Ocenas
10d8ccc8ff
Loki: Return false from isMetricsQuery if query is empty ( #47024 )
2022-03-29 18:18:43 +02:00
Andrej Ocenas
20b4112b3b
Prometheus: Report error when parens are used and switching to visual builder ( #46899 )
2022-03-25 14:03:30 +01:00
Andrej Ocenas
22a4c5f086
Prometheus: Add optional param tooltip for visual builder ( #46644 )
2022-03-17 10:51:42 +01:00
Andrej Ocenas
ee87ed3b51
Prometheus: Parsing for vector matching and UI changes ( #46668 )
2022-03-17 10:50:49 +01:00
Andrej Ocenas
ecdbcd4941
Prometheus: Fix support of AdHoc filters for specific queries ( #46547 )
...
* Use parser to deal with ad hoc filters
* Add comment
* Fix variable naming
* Fix tests
2022-03-15 17:37:20 +01:00
Andrej Ocenas
a2cec62fa2
Prometheus: Fix parsing of binary operations ( #46549 )
2022-03-15 17:00:29 +01:00
Andrej Ocenas
04409799fb
Prometheus: Allow boolean params on operations and add bool modifier parsing ( #46448 )
...
* Allow boolean params on operations and add bool modifier parsing
* Allow float number literals
2022-03-14 17:36:25 +01:00
Andrej Ocenas
b3f8079f4f
Prometheus: Add title to metrics in the metric select with metric help text ( #46406 )
...
* Add title to metrics in the select
* Add some comments
* Fix tests
2022-03-10 16:58:25 +01:00
Andrej Ocenas
1604e09549
Prometheus: Add text to Add operation button ( #46249 )
2022-03-04 15:59:11 +01:00
Andrej Ocenas
5aa1713941
Prometheus: Support more binary operations in visual builder ( #46241 )
...
* Add definitions and code to parse more binary ops
* Add alternativesKey
* Add signs to nested query
* Change label
2022-03-04 15:04:09 +01:00
Andrej Ocenas
6dea7275a6
Prometheus: Improved the function selector with search ( #46084 )
...
* Change to cascader with search
* Don't change to select on backspace
* Fix error on group select
* Simplify getOperationDef
* Set cascader wrapper to fixed width
* Add placeholder
* Fix tests and type errors
* Fix props for backward compatibility
* Add comments
2022-03-03 10:24:33 +01:00
Andrej Ocenas
5c6061acd2
Prometheus/QueryBuilder: Fix parsing of functions without args ( #45508 )
2022-02-24 11:37:25 +01:00
Andrej Ocenas
8e6626664f
Update version ( #45608 )
2022-02-18 14:12:59 +00:00
Andrej Ocenas
4fcbfab711
Udpate latest.json ( #45548 )
2022-02-17 17:43:30 +01:00
Andrej Ocenas
642f0a250d
Prometheus: Use single string expr as a state for the visual editor ( #45232 )
...
* Use just expr string as a state for whole editor
* Fix patterns
* Fix tests
2022-02-10 16:55:44 +01:00
Andrej Ocenas
071ff0b399
Prometheus: Query parsing for visual editor ( #44824 )
...
* Add parsing from string to visual query
* Add comments
* Parse expr when changing to builder
* Support template variables
* Report parsing errors
* More error handling
* Add ts-ignore for debug func
* Fix comments
2022-02-09 17:16:14 +01:00
Andrej Ocenas
a58e6ab622
TraceView: refactor UI components injection ( #44289 )
...
* Remove UIDivider
* Update TracePageSearchBar buttons
* Remove UIButton
* Remove UIInput
* Remove LoadingIndicator
* Remove UIIcon
* Remove UITooltip
* Remove UIDropdown
* Remove UIMenu
2022-02-08 17:14:33 +01:00
Andrej Ocenas
8b45eb1161
TraceView: Refactor theming to use Grafana theme directly ( #43856 )
...
* Use grafana theme and utils
* Use grafana colors
* Fix tests
* Use useStyles2
2022-01-11 13:34:39 +01:00
Andrej Ocenas
dcd4e74c54
Explore: Don't change query status to Done if there was Error ( #43850 )
2022-01-10 13:44:51 +01:00
Andrej Ocenas
88d17c4998
Tempo: Don't show error when running query without traceId ( #43676 )
...
* Check for traceId and return EMPTY observable if no value
* Make sure we change status on complete
* Add tests
* Fix test
2022-01-05 19:34:09 +01:00
Andrej Ocenas
dc57bcd458
Docs: Add CloudWatch Logs retry strategy timeout config ( #42485 )
...
* Add section for the timeout
* Move and remove the table
* Change header level
2021-12-14 16:18:45 +01:00
Andrej Ocenas
802ffa3f03
CloudWatch Logs: Add selected region to autocomplete requests ( #42194 )
...
* Add region to get fields query
* Fix and add tests
2021-11-26 13:33:34 +01:00