Commit Graph

17428 Commits

Author SHA1 Message Date
Torkel Ödegaard
4c536e5942 AngularDeprecation: Show warnings in panel edit for angular panels (#67891)
* AngularDeprecation: Show warnings in panel edit for angular panels

* update wording

* Update public/app/features/dashboard/components/PanelEditor/AngularPanelPluginWarning.tsx

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Update public/app/features/dashboard/components/PanelEditor/AngularPanelPluginWarning.tsx

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-05-09 14:51:02 +02:00
Torkel Ödegaard
ea1c1b9fb8 DashboardGrid: Fixes moving panels on first load (#67953)
* DashboardGrid: Fixes moving panels on first load

* Minor tweak

* Use theme breakpoint and add media query
2023-05-09 14:33:41 +02:00
Polina Boneva
6137e45fe1 Template Variables: Input field in dashboard does not send network requests for query var with ${__searchFilter} (#67839)
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
2023-05-09 14:31:30 +02:00
Torkel Ödegaard
1d537086c4 DashboardPage: Remove file drop code (#67954) 2023-05-09 11:01:09 +02:00
Gábor Farkas
8779526f15 elasticsearch: improved deprecation warning (#67909)
* elasticsearch: improved deprecation warning

* adjusted warning-level
2023-05-09 04:42:37 -04:00
Juan Cabanas
24668137f8 NavBar: app chrome state wrongly overwritten when ds modal is opened (#67952) 2023-05-08 16:51:42 -03:00
Joao Silva
d0adcd7d5b Navigation: Fixes issue where kiosk mode was not being exited (#68021) 2023-05-08 19:35:34 +02:00
Virginia Cepeda
29801a5ec0 Alerting: Fix condition on invalid interval dropdown (#68024)
Fix condiiton on invalid interval dropdown
2023-05-08 14:24:57 -03:00
Galen Kistler
a1bc1bd368 Prometheus: bug in creating autocomplete queries with labels (#68003)
Fix bug formatting multiple prometheus labels when doing metric query
2023-05-08 11:33:30 -05:00
Victor Marin
5416ec4768 Datagrid: Refactor header column delete/clear (#67842)
* refactor header column delete/clear

* fix tests, add clear option on header dropdown

* fix e2e tests
2023-05-08 19:02:20 +03:00
Torkel Ödegaard
5155455c55 Dashboard: Change add panel button to fill to remove outline border (#68004) 2023-05-08 16:56:06 +02:00
Virginia Cepeda
e7f11f2456 Alerting: Show export button for org admins (#67939)
Show export button for org admins
2023-05-08 09:28:09 -03:00
Sonia Aguilar
97802e44a6 Alerting: Make two boxes in template form adaptative to the screen (#67967)
Make two boxes in template form adaptative to the screen width to be align in the same line when possible
2023-05-08 11:32:46 +02:00
Sven Grossmann
0fc9a47779 Log Context: Add feature tracking of limit change (#67966)
* add feature tracking of load more

* Update public/app/features/logs/components/log-context/LogRowContextModal.tsx

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* fix condition

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
2023-05-08 11:53:11 +03:00
Laura Fernández
17a3c0c101 Navigation: Fix 'Page not found' when sending or going back from 'Invitate user' page (#67863) 2023-05-08 10:12:18 +02:00
Torkel Ödegaard
32fafffed7 PanelQueryRunner: Return previous processed (transform+field config) series for loading state (#67768)
* Return same series for loading state

* Fix shared query issue

* include structureRev

* heatmap should depend on the series, not the wrapper

* fix more panels

* keep config for comparison

* fieldConfig.fieldConfig!

* cleanup

* cmon

---------

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-05-07 15:21:40 +02:00
ismail simsek
69a38def63 Prometheus: Fix Query Inspector expression range value (#67919)
* Use metadata from respective query

* Unit test to cover having proper metadata for each query we run
2023-05-06 22:48:25 +02:00
Ivana Huckova
3145660f5a Elasticsearch: Run getTerms trough resource call if enableElasticsearchBackendQuerying enabled (#67848)
* Elasticsearch: Run getTerms torugh backend if toggle enabled

* Add template variables to devenv dashboard for easier testing

* Add TODO

* Run feature toggle gen to fix build
2023-05-06 10:00:43 +02:00
Adam Simpson
b2e1b3ad91 Google Cloud Monitor: Fix mem usage for dropdown (#67683)
* Google Cloud Monitor: Fix mem usage for dropdown

Previously the Metric name dropdown would attempt to load _all_ the
available metric names into the Select which would eventually crash the
browser if the dataset was large enough.

We can fix this by using AsyncSelect and making another query once a
Service is selected _and_ the user types a few characters.

* fix: update tests for AsyncSelect

* fix lint

* fix: add subset of metrics on initial load
2023-05-05 20:48:41 +00:00
Ryan McKinley
854d497f94 Schema: Fix dimension schemas (#67935) 2023-05-05 12:16:31 -07:00
Andreas Christou
765ae6cd90 AzureMonitor: Clear queries if header value changes (#67916)
Clear queries if header value changes
2023-05-05 16:46:58 +01:00
Kristina
80162146a0 Correlations: Add links to prometheus dataframe where labels are split out (#67736)
Add links to prometheus dataframe where labels are split out
2023-05-05 10:25:26 -05:00
Torkel Ödegaard
ae1a85b5ad Drawer: Position under nav & minor redesign (#67824)
* Drawer: Redesign WIP

* Fix double margin

* Teak pos

* align paddings

* Hide toolbar actions when drawer is open

* deprecate expandable

* Updated test

* remove expandable var

* Added clickaway
2023-05-05 17:00:33 +02:00
Andre Pereira
26fc359933 Trace View: Rename span detail attribute sections (#67849)
* Rename span detail attribute sections

* Fix tests

* Fix more tests
2023-05-05 15:51:13 +01:00
Marcus Andersson
b8336fe910 PluginExtensions: Make context read only with a proxy instead of object freeze (#67781)
* quick poc on how we could use proxies instead of object freeze for the extension context.

* wip

* wip

* added tests for readOnlyProxy.

* Changed so we use the read only proxy for the context instead of the frozen object.

* updated names according to feedback.
2023-05-05 15:50:40 +02:00
Josh Hunt
29e4df6a33 Chore: Remove 'PerformanceBackend: flushing' log (#67915)
Remove 'PerformanceBackend: flushing' log
2023-05-05 14:46:53 +01:00
Gábor Farkas
af9176b3a5 Elasticsearch: Improve query type selection (#63402)
* elastic: display query types explicitly

* fixed test

* fixed test

* updated test names

* fix react-key-issue
2023-05-05 15:00:39 +02:00
Victor Marin
eb2eb65de8 TablePanel: Do not allow auto-reset (#67477)
disallow react table to autoreset
2023-05-05 13:57:57 +03:00
Armand Grillet
6b51f9e06d Update error message when Alertmanager configuration override (#67895) 2023-05-05 11:38:35 +02:00
Ivana Huckova
f5ac099907 Elasticsearch: Run requestAllIndices trough resource call if enableElasticsearchBackendQuerying enabled (#67825)
* Elasticsearch: Run requestAllIndices trough resource call if enabled

* Unlock resource call path

* Fix lint
2023-05-05 11:35:30 +02:00
Torkel Ödegaard
20217db100 Drawer: Introduce a size property that set's width percentage and minWidth (#67809)
* Drawer: Introduce drawer size that sets width and min-width

* media queries

* Change large drawer to 75%

* Change news drawer to medium as the news items have better layout then with images on the side

* Tweaks and fixed inline drawer issue

* review fixes

* Deprecate inline, update mdx docs

* remove inline var
2023-05-05 11:31:02 +02:00
Torkel Ödegaard
fcb14d2548 InspectDrawer: Fixes issue with double scrollbars (#67884)
* InspectDrawer: Fixes issue with double scrollbars

* Fixed minor issue
2023-05-05 09:54:43 +02:00
Levente Balogh
21459c7c97 Connections: Show core datasource plugins as well (#67815)
fix: add a new hook & selector that can show core plugins by default
2023-05-05 09:38:18 +02:00
Sonia Aguilar
49ff85ef54 Alerting: Fix action buttons label and placement in several views following standard and being consistent with the rest of the ui (#67799)
* Fix action buttons label and placement in several views following standard and being consistent with the rest of the ui

* Update public/app/features/alerting/unified/components/mute-timings/MuteTimingForm.tsx

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>

* Fix secondary buttons to not have outline

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2023-05-04 17:05:26 +02:00
Gilles De Mey
dafd202bb2 Alerting: Fix "show all instances" (#67833) 2023-05-04 16:26:30 +03:00
Sonia Aguilar
d10ee8263c Alerting: Change order of buttons bellow payload data editor (#67830)
Change order of buttons bellow payload data editor
2023-05-04 15:23:08 +02:00
ismail simsek
764f87b485 InfluxDB: Fix adding FROM statement when the measurement is an empty string (#67827)
* If the measurement empty don't add FROM statement

* Add comment line
2023-05-04 15:21:08 +02:00
Ashley Harrison
37378c4dd8 Navigation: more nav interface cleanup (#67708)
more nav interface cleanup
2023-05-04 14:17:44 +01:00
Virginia Cepeda
3c42dea10b Alerting: Use standard validation/error pattern on group selection (#67787) 2023-05-04 14:30:25 +02:00
Aleksandr Mikhailov
111118dd68 TraceToLogs: Enable trace-to-log feature for cloud-logging-data-source-plugin (#65614)
* TraceToLogs: Enable trace-to-log feature for cloud-logging-data-source-plugin

* TraceToLogs: Add tests for googlecloud-logging-datasource
2023-05-04 13:23:13 +01:00
Jack Westbrook
8ca9a89cf1 Connections: Fix create new datasource route (#67802)
fix(connections): prevent datasources details route matching new route
2023-05-04 12:37:14 +02:00
Ivan Ortega Alba
1afaf4d73e Improve empty state when no ds picker were found (#67422) 2023-05-04 13:17:03 +03:00
Karl Persson
e03a8b6826 BackendSrv: Restructure response stream to resolve a retried request correctly (#66095)
* BackendSrv: Restrucutre response stream to resolve a retried request
correctly

* BackendSrv: Get signed in property from user

* Fix test with correct number of calls

* To prevent retry we need to throw error

* Fix tests

* revert change

* Fixes to token rotation

* Align tests

* Remove commented out code

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com>
2023-05-04 11:56:51 +02:00
Josh Hunt
338e98e237 NestedFolders: Fetch access control metadata for folder view (#67786) 2023-05-04 10:32:37 +01:00
Sarah Zinger
43c7a5b603 Cloudwatch: Fix description of plugin (#67744)
Fix description of Cloudwatch
2023-05-03 12:33:15 -04:00
Ivana Huckova
4d7c0904ef Elasticsearch: Run version check thorugh backend if enableElasticsearchBackendQuerying enabled (#67679)
* Elasticsearch: Run getDBversion trough resource calls

* Update

* Update

* Fix lint

* Close response body

* Fix lint

* Refactor
2023-05-03 18:09:18 +02:00
Oleg Zaytsev
c378dbb01b AlertRuleForm: s/Edit yaml/Edit YAML/ (#67714)
YAML is an acronym and should be uppercased when used in texts.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2023-05-03 18:57:18 +03:00
Giordano Ricci
f03d0698d3 Explore: move panes into a keyed object (#66117) 2023-05-03 16:45:11 +01:00
Virginia Cepeda
049029b6a2 Alerting: Fix banner button variant (#67750)
Fix banner button variant
2023-05-03 12:43:45 -03:00
Torkel Ödegaard
e3efecacb5 PageHeader: Set h1 style from wrapping element (#67735) 2023-05-03 17:19:56 +02:00