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
Andrej Ocenas
5cd4cde12a
Tempo: Add error details when json upload fails ( #41803 )
2021-11-18 10:35:09 +01:00
Andrej Ocenas
9a7e411f55
Tempo: Fix basic auth password reset on adding tag ( #41808 )
2021-11-18 10:34:13 +01:00
Andrej Ocenas
e237ff20a9
CloudWatch Logs: Add retry strategy for hitting max concurrent queries ( #39290 )
...
* Add error passing and retry strategy
* Change generic error to specific one
* Make the error more generic
* Refactor retry strategy
* Add retry that handles multiple queries
* Rollback some backend changes
* Remove simple retry strategy
* Add comments
* Add tests
* Small test fixes
* Add log timeout config
* Fix tests
* Fix tests
* Add validation
* Remove commented code and add comment
* Fix snapshots
* Remove unnecessary cast
2021-11-17 21:46:13 +01:00
Andrej Ocenas
5cc9ff8b28
Tempo: Add filtering for service graph query ( #41162 )
...
* Add filter based on AdHocFilter element
* Add tests
* Cancel layout in case we have have new data or we unmount node graph
* Fix typing
* Fix test
2021-11-11 14:27:59 +01:00
Andrej Ocenas
5f27959a5e
Tempo: Add links to nodes in Service Graph pointing to Prometheus metrics ( #41135 )
2021-11-03 15:56:39 +01:00
Andrej Ocenas
00ffe1a4fd
TraceView: Allow span links defined on dataFrame ( #40563 )
...
* Align range to seconds in log queries
* Use default display processor if there is none in FieldDisplayProxy
* Allow links defined in dataframe
* Remove debug log
* Fix typings for span links
* Lint go
* Fix tests
* Update tests
* Add test for the display proxy
* Streamline the fallback for diplayProcessor
2021-10-27 18:40:40 +02:00
Andrej Ocenas
c9507f8f8a
NodeGraph: Fix zooming sensitivity on touchpads ( #40718 )
2021-10-26 13:17:54 +02:00
Andrej Ocenas
8cf7e520e8
CloudWatch Logs: Fix variable interpolation in queries ( #40899 )
...
* Interpolate variables in queries
* Remove test
2021-10-26 11:40:49 +02:00
Andrej Ocenas
73e66d97a5
Tempo: Add error metric to service graph ( #40774 )
...
* Add typings
* Query error metric for service graph
2021-10-22 16:37:41 +02:00
Andrej Ocenas and Ivana
b9ff68d4d6
Tempo: Rename metrics for service graph ( #40584 )
...
* Rename tempo -> traces
* Fix tests
Co-authored-by: Ivana <ivana.huckova@gmail.com >
2021-10-19 11:58:21 +02:00
Andrej Ocenas
0b89bdd47d
CloudWatch Logs: Docs for X-Ray links ( #39725 )
2021-10-01 09:48:42 +02:00
Andrej Ocenas
3e47fb1432
CloudWatch Logs: Skip caching for Log queries ( #39860 )
...
* Add x-skip-cache header to queries
* Specify caching works for CW metrics
2021-10-01 09:45:37 +02:00
Andrej Ocenas
14d90b0cf8
Link to contributing docs and fix some image markdown examples ( #39726 )
2021-09-30 12:59:35 -04:00
Andrej Ocenas
515d6afec3
CloudWatch Logs: Disable query path using websockets (Live) feature ( #39231 )
...
* Use only non live branch for querying logs.
* Update tests
* fix lint
2021-09-15 16:28:34 +02:00
Andrej Ocenas
fb1c31e1b6
CloudWatch Logs: Add link to Xray data source for trace IDs in logs ( #39135 )
...
* Refactor log query handling
* Add link to config page
* Change message about missing xray to alert
* Add xrayTraceLinks
* Fix typo in field name
* Fix tests and lint
* Move test
* Add test for trace id link
* lint
2021-09-14 17:02:41 +02:00
Andrej Ocenas
91a67ab0fb
CloudWatch/Logs: Don't group dataframes for non time series queries for non live path ( #38915 )
...
* Use the same grouping function in legacy code
* Add error propagation
* Fix tests
* Fix tests
2021-09-08 16:30:55 +02:00
Andrej Ocenas
60a0c5da05
CloudWatch/Logs: Don't group dataframes for non time series queries ( #37998 )
...
* Don't split response when there is no time field
* Refactor grouping to separate function
* Add test
2021-08-18 15:05:06 +02:00
Andrej Ocenas
11c848f00d
Tempo: Service map ( #37661 )
...
* Add prometheus queries
* Add stats
* Refactor transform
* Fix stat format
* Refactor transform
* Hide behind feature flag
* Better linking error messages
* Add test
* Add test for datasource
* Fix lint
* Make optionality checking more explicit
2021-08-17 15:48:29 +02:00
Andrej Ocenas
b5f7df3e62
CloudWatch/Logs: Fix crash when time column has nil values ( #37708 )
2021-08-12 10:36:06 +02:00
Andrej Ocenas
e9c032f10f
CloudWatch Logs: Fix crash when no region is configured ( #37639 )
2021-08-06 15:47:27 +02:00
Andrej Ocenas
93b4cc7035
Explore: Fix encoding of internal URLs ( #36919 )
...
* Encode internal explore url
* Fix tests
* Fix comma
2021-07-22 14:42:20 +02:00
Andrej Ocenas
001331e2ac
Explore: Fix query cancellation when opening an url with split panes ( #36847 )
...
* Add exploreId to requestId
* Fix tests
2021-07-19 17:29:51 +02:00
Andrej Ocenas
ea2ba06b93
CloudWatch/Logs: Fix log alerts in new unified alerting ( #36558 )
...
* Pass FromAlert header from new alerting
* Add better error messages
2021-07-09 13:43:22 +02:00
Andrej Ocenas
16a0e7b6a4
LogsPanel: Fix performance drop when moving logs panel in dashboard. ( #35379 )
2021-06-17 09:53:26 +02:00
Andrej Ocenas
9a3e3014dd
CloudWatch/Logs: Fix missing response data for log queries ( #35724 )
2021-06-15 14:42:55 +02:00
Andrej Ocenas
382d9ce622
Bump latest json ( #35524 )
2021-06-10 17:42:18 +02:00
1f16fac8d7
Docs: Update node graph docs ( #35196 )
...
* Update node graph docs
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Update image links
* Update wording
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
2021-06-04 10:00:02 +02:00
Andrej Ocenas
1dc387536e
NodeGraph: Fix sorting markers in grid view ( #35200 )
...
* Fix test data field label
* Fix sorting
* Changed icon for sorting
2021-06-03 23:52:20 +02:00
Andrej Ocenas
0b94f33813
NodeGraph: Don't check for preferredVisualisationType ( #35116 )
...
* Don't check for preferredVisualisationType inside the NodeGraph
* Fix layout worker mocking
2021-06-03 12:48:26 +02:00
Andrej Ocenas
aa7dbd7a69
NodeGraph: Make grid view responsive ( #35047 )
2021-06-01 17:30:47 +02:00
Andrej Ocenas
cb4f5b249f
NodeGraph: Make web worker inline fixing error when assets are loaded with different origin ( #35013 )
2021-06-01 09:56:28 +02:00
Andrej Ocenas
fcdab32750
NodeGraph: Fix error when clicking link in a context menu ( #34817 )
...
* Add prevent default if onClick exists
* Apply field overrides
2021-05-27 15:33:25 +02:00
Andrej Ocenas
9dafd4f863
NodeGraph: Show node graph collapsed by default with trace view ( #34491 )
...
* Show node graph collapsed by default with trace view
* Fix rename variable
* Change the message
* Add test
* Fix e2e test
* Remove expect in exemplars test
* Align icon
* review fixes
2021-05-26 15:11:47 +02:00