Commit Graph

18313 Commits

Author SHA1 Message Date
Haris Rozajac
19ae937aa8 Explore: Unified Node Graph Container (#72558)
* Improve naming; fix tests

* Pass countWarning to titleItems

* Center warning text

* Revert variable name

* Switch from arrow function to direct assignment

* Add ability to make component controlled

* Replace remaining isOpen with collapsed

* Fix test; update story and docs

* Add test; add uncontrolled functionality
2023-08-24 15:30:25 +02:00
Fabrizio
d293b08e52 Tempo: Replace template variables in TraceQL tab when streaming is enabled (#73259) 2023-08-24 14:10:14 +02:00
Fabrizio
ed8ca02e0f Dashboard: Support template variables in Search tab for Tempo (#72867) 2023-08-24 13:06:46 +02:00
jvmdc
7bcb3597fe Alerting: Fix auto-completion snippets for KV properties (#73394) 2023-08-24 11:23:08 +02:00
Torkel Ödegaard
9b891480d6 DashboardScene: Edit mode should enable dragging (#73628)
* DashboardScene: Edit mode should enable dragging

* Update

* Update

* Update scenes lib
2023-08-24 07:26:23 +02:00
Gilles De Mey
a01a903492 Alerting: Fix incorrect timing meta information for policy (#73675) 2023-08-23 17:12:24 +02:00
Sven Grossmann
25fd8f2d59 Logs: Add datalinks to table visualisation in Explore (#73679)
add datalinks
2023-08-23 16:03:19 +02:00
Piotr Jamróz
f11cc0e60e Explore: Improve handling time range keyboard shortcuts inside Explore (#73600)
* Handle time keyboard shortcuts inside Explore

* Remove unused handler for make absolute

* Remove unused code

* Unify handling keyboard shorcuts logic
2023-08-23 16:02:49 +02:00
Ivana Huckova
fc9b8f6be1 Loki: Implement keep and drop operations (#73636)
* Update lezer

* Add functionalities for code and builder

* Add comment
2023-08-23 14:52:19 +02:00
Polina Boneva
efa428c329 Revert "Dashboard: Set descending z-index of panels in a dashboard" (#73677)
Revert "Dashboard: Set descending z-index of panels in a dashboard (#73401)"

This reverts commit f091e8f84a.
2023-08-23 14:49:31 +03:00
Ashley Harrison
02f2ff1870 Chore: some more type fixes (#73606)
* some type fixes

* some select/table fixes

* some uplot type improvements

* couple more
2023-08-23 10:11:59 +01:00
Nathan Marrs
65df5a0d7e Gauge: Add overflow scrolling support for vertical and horizontal orientations (#71690)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-08-23 03:08:11 +03:00
Ihor Yeromin
6db5ef2b82 A11y: Fix exemplar marker accessibility (#73493)
* fix(a11y): exemplar marker
2023-08-22 18:59:36 +02:00
Virginia Cepeda
27fb922f9b Alerting: Add new Recording Rule button when the list is empty (#73502)
* Add button to create RR when there are no alerts

* Remove unneeded import

* Change cards to be shown vertically
2023-08-22 13:05:22 -03:00
Ashley Harrison
1f49d480a8 Drawer: Clicking a Select arrow within a Drawer no longer causes it to close (#73557)
ensure drawer doesn't close when clicking dropdown arrow
2023-08-22 16:11:18 +01:00
Giordano Ricci
53867e3fcd Dashboards: relabel add query button (#73607) 2023-08-22 14:47:45 +01:00
Giordano Ricci
35818fa9ab Explore: Relabel secondary actions buttons (#73605) 2023-08-22 14:36:53 +01:00
Sven Grossmann
997d21f6e5 Logs: Fix log samples not present with empty first frame (#73612)
* fix log samples not present with empty first frame

* also test with empty frames

* rename test file

* remove import
2023-08-22 16:19:51 +03:00
Virginia Cepeda
2c9b74b651 Alerting: Fix Recording Rule QueryEditor builder view (#73348)
* Add missing props when changing recording rule query

* Use optional chaining for model prop
2023-08-22 10:13:55 -03:00
Andreas Christou
3256f7dd0c CloudMonitoring: ConfigEditor updates (#73561)
Update GCM config
2023-08-22 12:51:04 +01:00
Konrad Lalik
7631b0cf3f Alerting: Improve tests setup (#73316) 2023-08-22 13:50:41 +02:00
Esteban Beltran
050b9d9a85 Sandbox: Fix prismjs syntax for plugins defining its own language (#73393)
* Sandbox: Fix prismjs syntax for plugins defining its own language

* Add clarifying comment
2023-08-22 13:04:57 +02:00
Ihor Yeromin
546b2deb13 A11y: Fix resource picker accessibility (#73488)
* fix(a11y): resource picker
2023-08-21 21:35:18 +02:00
Ihor Yeromin
9e1f528919 A11y: Fix canvas element accessibility (#73483)
* fix(a11y): canvas tooltip element

* fix(a11y): canvas element selection
2023-08-21 21:34:47 +02:00
aishyandapalli
d913723451 [10.2.x] Exemplars: Move all the exemplar fields with links to the top in ExemplarMarker (#72697)
Exemplars - add fields with links to the top
2023-08-21 14:56:23 -04:00
Dominik Prokop
f00f56bbff DashboardLoaders: Add support for loading library panels (#73406)
* DashboardLoaders: Add support for loading library panels

* Bump scenes

* Scene object for loading library panels

* Remove unused function

* Remove console.log

* Bump scenes

* Review
2023-08-21 08:43:48 -07:00
mikkancso
88cdc38afa Connections: Redirect from outdated URLs (#73278)
Connections: redirect from outdated URLs
2023-08-21 15:58:02 +02:00
Matias Chomicki
f7355668e7 Query splitting: combine nanos attribute con time fields (#73505) 2023-08-21 14:19:20 +02:00
Matias Chomicki
4c37ba494e Elasticsearch: Add missing tooltips to the configuration page (#73552)
* Add missing tooltips

* Update X-Pack tooltip

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2023-08-21 14:13:23 +02:00
Ihor Yeromin
ab587b6884 A11y: Fix resource cards accessibility (#73487)
fix(a11y): resource cards
2023-08-21 12:26:12 +02:00
Ryan McKinley
e605c686f8 Transforms: Catch errors while running transforms (#73451) 2023-08-18 13:55:42 -07:00
lucychen-grafana
ca64d919ad PublicDashboard: Remove Github Disucssion link (#73517)
* remove github disucssion link

* remove unused cx import
2023-08-18 15:59:45 -04:00
Andrew Hackmann
42f4306251 Google Cloud Monitor: Prom query editor (#73503)
* revert

* works but needs clean up and tests

* clean up

* remove any

* change confusing query var to expr

* oops

* add test

* lint

* cleanup

* update docs

* Update public/app/plugins/datasource/cloud-monitoring/components/PromQLEditor.tsx

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>

* nit

* lint fix?

* remove comment from cue

* go linter

* removing parsing stuff parseresponse func

---------

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2023-08-18 11:14:43 -05:00
Joao Silva
3bb23d6be7 Whitelabeling: Add a config option to hide the Grafana edition from the footer (#73412) 2023-08-18 15:09:36 +01:00
Ezequiel Victorero
993f5491a2 DataSourcePicker: remove default property from data source variable selection (#73314) 2023-08-18 07:42:55 -05:00
Alex Khomenko
dd21584961 Dashboard: Fix version restore (#72866)
* Dashboard: Fix version restore

* Update comment
2023-08-18 15:17:45 +03:00
Andreas Christou
b0ed67a306 AzureMonitor: ConfigEditor updates (#73402)
Update config editor

- Use Field instead of InlineField
- Make use of new ConfigSection structural components
- Add DataSourceDescription component
- Add secureSocksProxy to types
2023-08-18 13:11:10 +01:00
Polina Boneva
f091e8f84a Dashboard: Set descending z-index of panels in a dashboard (#73401)
* set panel z-index to a descending number once they are ordered before they are rendered

* set styling inside grid item

* fix unresponsive RGL when style is overwritten entirely
2023-08-18 14:53:51 +03:00
Sven Grossmann
5e61b54fa3 Logs: Fix permalinks not scrolling into view (#73464)
* fix log line scrolling

* add scrolling tests

* fix `LogRow` tests
2023-08-18 12:54:08 +02:00
Joey
ab94c9d730 Tempo: Only add option to values dropdown if there is a value (#72524)
Only add option to list if there is a values
2023-08-18 08:17:56 +01:00
Ihor Yeromin
f169151143 A11y: Fix canvas setting button accessibility (#73413)
* fix(a11y): canvas setting button
2023-08-18 09:07:48 +02:00
Juan Cabanas
214f46be1f Dashboards: Widget plugins removed from suggestions tab (#73331) 2023-08-17 15:02:32 -03:00
Galen Kistler
f33f3a55a0 Loki: Label browser sticky footer (#73243)
* Create sticky footer section in loki metrics browser for query preview and action buttons
2023-08-17 11:01:30 -05:00
Matias Chomicki
48c3dc7203 Logs: Hide filters in log details if the data source doesn't support them (#73230)
* Logs: Hide filters in log details if the data source doesn't support them

* Logs Container: use logsQueries prop

* Log details: add filters visibility test
2023-08-17 17:53:11 +02:00
Dominik Prokop
30393459df DashboardsLoader: Enable cursor sync in scenes based dashboard (#73383)
* Bump scenes

* Enable cursor sync in scene dashboard
2023-08-17 07:03:26 -07:00
Torkel Ödegaard
3245e25273 SqlDataSources: Update metricFindQuery to pass on scopedVars to templateSrv (#73333) 2023-08-17 14:58:54 +02:00
Matias Chomicki
c8a9adf52a Config editor: add url placeholder (#73391) 2023-08-17 14:43:59 +02:00
mikkancso
6bc7c70c02 Datasources: Cleanup unused code from datasources (#73360)
* remove unused datasource pages

* move useDataSourceSettingsNav from datasources to connections

without any modification in the code yet

The reason for this is that its only usage is in this file, so we are
going to merge it with the other useDataSourceSettingsNav hook in the
next commit.

* merge two useDataSourceSettingsNav's

and rename consts and remove duplicated calls

* simplify useDataSourceSettingsNav
2023-08-17 14:37:39 +02:00
Piotr Jamróz
ab451d76ac Explore: Improve parsing ranges from URL (#72498)
* Fix parsing absolute range

* Silence warning issued by moment js

* Introduce URLRangeValue to enforce better type-checking

* Fix unit tests

* Allow not passing range to generate ExploreUrl

* Use updated time range format in a test

* Allow empty object to be passed as a data link for backward compatibility

* Update mocks

* Post-merge fixes

* Simplify checking if range is passed as an empty object

* Update docs
2023-08-17 12:06:52 +02:00
Yulia Shanyrova
9f4fb71a7b Plugins: remove 'admin/plugins' redirect (#73319)
Redirect was deleted because it is deprecated
2023-08-17 10:30:42 +02:00