Commit Graph

19625 Commits

Author SHA1 Message Date
Levente Balogh
9c83dd43d9 Plugins: Group tests (#74667)
refactor: group plugin-details page tests together
2023-09-12 08:10:18 +02:00
Brendan O'Handley
951876b465 Prometheus: Add classic query option to variable query editor (#74060)
* add classic query to variable query editor

* copy fixes

* update test
2023-09-11 12:13:16 -04:00
Bryan Huhta
0f552053e9 Pyroscope: add public catalog description (#74630)
* Add readme

* Fix wrong link

* Update public/app/plugins/datasource/grafana-pyroscope-datasource/README.md

Co-authored-by: Dmitry Filimonov <dmitry.filimonov@grafana.com>

* Prettier fix

* Update plugins test

* Prettier fix

* updateSnapshotFlag = false

---------

Co-authored-by: Dmitry Filimonov <dmitry.filimonov@grafana.com>
2023-09-11 18:06:34 +02:00
Gilles De Mey
6a4ba13b44 Alerting: Fix default policy timing summary (#74549) 2023-09-11 18:06:08 +02:00
Yuri Tseretyan
dce492642a Alerting: Export of alert rules in HCL format (#73166)
* import hashicopr/hcl/v2
* add hcl package and export to HCL
* annotate export structs
---------

Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2023-09-11 11:48:23 -04:00
Torkel Ödegaard
73a675af02 DashboardScene: Inspect panel data tab (#74646)
* Refactor data tab to be usable from scenes

* DashboardScene: Inspect data tab

* Everything seem to work now

* don't change drawer size in this PR

* Remove uncommented code

* Fix layout issues for data actions

* Added comment explaining retry
2023-09-11 16:11:22 +02:00
Adela Almasan
89127d5ec9 Canvas: Button API - Add support for GET requests (#74566) 2023-09-11 08:03:52 -05:00
Gilles De Mey
3487e89492 Alerting: Update query options layout (#74660) 2023-09-11 15:45:46 +03:00
Gilles De Mey
1fa6623e1c Alerting: Fix flakey test for rule group export (#74665) 2023-09-11 14:35:23 +02:00
Fabrizio
a939dfadf2 Improve check on Tempo version (#74547) 2023-09-11 14:34:05 +02:00
Torkel Ödegaard
499b02b3c6 DashboardScene: Panel edit route basics (#74081)
* DashboardScene: Panel edit route basics

* remove unused file

* Removed some comments

* Minor fix

* Update

* example of apply changes implementation

* SceneObjectRef: Testing scene object ref

* Rename to ref suffix

* Update

* Fix url sync in panel edit

* Update

* Update

* simplify logic when committing change

* remove import

* Another fix for committing change
2023-09-11 13:51:05 +02:00
Esteban Beltran
b9c681e1a7 Sandbox: Fix panel custom editors not working inside the sandbox (#74589)
* Sandbox: Fix panel custom editors not working inside the sandbox

* Use the plugin-id in the specific rendering category
2023-09-11 13:43:57 +02:00
Torkel Ödegaard
7718a67b77 DashboardScene: Use TimeRangeTransformerBase in PanelTimeRange (#74647) 2023-09-11 12:18:10 +02:00
Torkel Ödegaard
97d568e60a DashbboardScene: RowRepeaterBehavior (#74505)
* Repeating rows start

* working

* Progress

* Progress

* Update

* up scenes lib

* Update

* Progress

* restore url sync

* Progress

* Fixes and tests

* Update

* Adds tests and code to remove repeats from save model

* Update

* Fix test
2023-09-11 12:02:04 +02:00
Ashley Harrison
fb367bf91d Chore: fix build (#74651)
put ts-expect-error in the right place
2023-09-11 12:07:05 +03:00
Gábor Farkas
6e75c5d182 postgres/sql: fix imports (#74535)
* postgres/sql: fix imports

* nicer import

Co-authored-by: Adam Yeats <16296989+adamyeats@users.noreply.github.com>

---------

Co-authored-by: Adam Yeats <16296989+adamyeats@users.noreply.github.com>
2023-09-11 09:48:55 +02:00
Torkel Ödegaard
349408d78c DashboardMigrator: Add migration that removes repeats (#74296)
* DashboardMigrator: Add migration that removes repeats

* Update
2023-09-11 08:34:13 +02:00
Fabrizio
3bb4e24458 Dashboards: Escape tags (#74437) 2023-09-09 14:11:36 +02:00
ismail simsek
9c50296a07 InfluxDB: Fix multiple tag selection (#74205)
Return all tag keys
2023-09-08 20:57:11 +02:00
Konrad Lalik
e7a2c95586 Alerting: Add Grafana-managed groups and rules export (#74522) 2023-09-08 16:26:54 +02:00
Ashley Harrison
a31b02035a Browse Dashboards: fix viewer permissions check (#74604)
fix permissions check
2023-09-08 15:07:00 +01:00
kay delaney
cca2905ddf usePanelSave: Fix success/error notifications (#74454) 2023-09-08 16:57:07 +03:00
Josh Hunt
315a43da93 Dashlist: Fix panel not showing for Viewer users (#74596)
* Dashlist: Fix migration failing when API fails

* don't hit api to migrate general folder

* comment
2023-09-08 13:43:15 +00:00
Sonia Aguilar
cad39b7397 Alerting: Revert "Alerting: Show annotations markers in TimeSeries panel when u… (#74576)
Revert "Alerting: Show annotations markers in TimeSeries panel when using Loki as … (#72084)"

This reverts commit de6ef53c8a.
2023-09-08 10:57:31 +02:00
Eric Leijonmarck
394976bb6e Service accounts: Fix mouse leave event by hide scrollbar in firefox and chrome (#74266)
fix: hide scrollbar in firefox and chrome for menu, due to mouse leave event
2023-09-08 07:40:18 +01:00
Ashley Harrison
a7425f875e Browse Dashboards: Update docs to remove reference to General folder (#74528)
* update documentation to remove mention of General folder

* update swagger-tags
2023-09-08 03:57:16 +01:00
ypnos
1f543425fc Internationalization: Adapt document language (#74513)
Adapt document language

HTML "lang" attribute should reflect the actual language used in texts. Important for accessibility functions (screen readers), but also usable in CSS.
2023-09-07 14:33:42 +00:00
Fabrizio
d19f75d499 Fix regex for Tempo version (#74541) 2023-09-07 16:53:33 +03:00
Jack Westbrook
0d1845f857 Plugins: Fix applying default extension and AMD detection (#74471)
* fix(plugins): support edge cases where default extension was not added

* fix(plugins): only apply AMD wrapper to AMD format plugins

* refactor(plugins): update regex for codeql warnings

* refactor(plugins): remove check for commented out dependency strings in AMD regex

* test(plugins): add tests for systemjs hook amd detection
2023-09-07 14:30:35 +02:00
Josh Hunt
44e51ffe8b Dashlist: Use new nested folder picker (#74011)
* Add new folderUID property

* Add nested folder picker + migration to UID

* fix folderUID

* comment
2023-09-07 13:57:31 +03:00
Ashley Harrison
ebe13a53f7 Browse Dashboards: Split new browse UI from nested folders backend (#74435)
* create new feature toggle + start to put stuff behind it

* block move, tidy up interfaces

* fix new/folder actions buttons

* show warning when deleting library panels/alert rules + run i18n:extract

* pseudo

* update unit tests

* pass alert in description
2023-09-07 11:41:00 +01:00
Fabrizio
96facbdfa2 Tempo: Improve autocompletion and syntax highlighting for TraceQL tab (#73707) 2023-09-07 12:36:23 +02:00
Alex Khomenko
a14af5e680 Share link: Use panel relative time for direct link rendered image (#74438)
* Use relative timerange for share link

* Fix time range
2023-09-07 12:41:21 +03:00
Konrad Lalik
8b00d7d7af Alerting: Fix contact points url field validation (#74510) 2023-09-07 10:58:47 +02:00
Oscar Kilhed
579709c7a6 MSSQL: Add support for MI authentication to MSSQL (#73597)
* Add support for MI authentication to MSSQL

This adds support for managed identity authentication for MSSQL managed
instances running in Azure.

Co-authored-by: baldm0mma <jev.forsberg@grafana.com>
2023-09-06 18:27:19 +02:00
Fabrizio
3ccfa5620f Tempo: Fix flaky test (#74169) 2023-09-06 18:08:24 +02:00
Ieva
f52936a604 Chore: remove legacy ac fallback from the route registration (#74464)
remove legacy ac fallback from the routes
2023-09-06 16:57:22 +01:00
Ieva
d46208b28a Chore: remove legacy AC fallback from frontend access control checks (#74385)
* don't use legacy AC fallback for frontend access control checks

* extend tests

* more test fixes

* more test fixes

* more test fixes

* final test fix

* team test fix

* finally fix tests
2023-09-06 16:07:49 +01:00
Sven Grossmann
f53c0a35aa LogContext: Remove feedback button (#74447)
remove feedback button
2023-09-06 16:46:48 +03:00
Esteban Beltran
ae858fcdd2 Sandbox: Fix sandbox not loading SystemJs.module objects correctly inside plugins (#74445) 2023-09-06 16:46:31 +03:00
Gilles De Mey
a2c93bb8bc Alerting: Alert creation UI changes (#73835) 2023-09-06 13:24:48 +02:00
Esteban Beltran
f8026463a8 Sandbox: Fix plugins not loading due to wrong plugin module url (#74436) 2023-09-06 13:49:09 +03:00
Konrad Lalik
7baf9cc033 Alerting: Custom contact point for OnCall in Grafana AM (#72021) 2023-09-06 12:33:35 +02:00
Matias Chomicki
9310bb632e Loki Query Builder: ensure unique ids for labelled fields (#74398)
* Loki Query Builder: ensure unique ids for labelled fields

* Rename refactored argument
2023-09-06 11:25:53 +03:00
Matias Chomicki
c3cbe220bb Elasticsearch query editor: ensure unique ids on labelled fields (#74396) 2023-09-06 10:17:11 +02:00
Fabrizio
79b421e8c8 Retrieve and use Tempo version (#72747) 2023-09-06 09:40:37 +02:00
Ryan McKinley
f7522b6322 Plugins: Move filter back to DataSourceWithBackend (#74147) 2023-09-06 01:34:23 +03:00
Eric Leijonmarck
87e8b654a2 Auth: Fix set basicrole to the previous role in UI on error from backend (#74395)
fix: onchange effect to set basicrole when error from backend
2023-09-05 18:44:57 +01:00
Brendan O'Handley
c946bcdd75 Prometheus: Add flag to SigV4 auth for styles in auth component (#73959)
add flag to sigv4 for custom styles to fit in auth component
2023-09-05 08:51:42 -04:00
Torkel Ödegaard
d82a3c9fc6 DashboardScene: Repeat panel by variable (#74294)
* Progress

* think this a bad approach

* Scene panel repeats looking good

* Update

* update

* Update

* Use key instead for inspect/view

* refactorings to improve tests

* Update

* More tests

* Update

* added support for key / value variables

* Update

* Fixes

* remove log

* Update

* Removed old gdev templating dashboard and added new and improved one

* Update

* Added repeating panels coded demo

* Update to latest scenes lib

* review feedback fixes

* update

* Sync schema
2023-09-05 13:51:46 +02:00