Commit Graph

18431 Commits

Author SHA1 Message Date
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
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
Gareth Dawson
f18cd13f2b
SQL: Add feature tracking to sql datasources (#73996)
* add sql ds feature tracking

* feature tracking

* remove unused imports

* Update public/app/features/plugins/sql/components/QueryHeader.tsx

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>

* suggestion

* add datasource to report interaction

* report editor collapse

* pass ds on preview copy

* update missing instance checks

* add confirm modal data to report

---------

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2023-09-05 12:45:41 +01:00
Piotr Jamróz
c5a0d64652
Explore: Fix interpolating external data link in Explore table (#74351)
Fix interpolating external links in Explore table
2023-09-05 13:10:01 +02:00
Piotr Jamróz
975edf14dc
Explore: Unify spec setup (#73994)
* Simplify Explore spec setup

* Update public/app/features/explore/spec/helper/setup.tsx

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

---------

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-09-05 13:05:11 +02:00
Ivan Ortega Alba
087e1658c2
Revert "Rename "Add new data source" to "Connect data"" (#74321)
Revert "Rename "Add new data source" to "Connect data" (#73688)"

This reverts commit 7543a28ae2.
2023-09-05 12:43:35 +02:00
Sven Grossmann
a403027608
Loki: Add backend healthcheck (#74330)
* add loki healthcheck

* remove `testDatasource` call

* remove unused error check

* change success message

* improve error messages
2023-09-05 08:59:13 +02:00
Juan Cabanas
52d963a7b9
PublicDashboards: Configuration link from item list fixed (#74352) 2023-09-04 18:19:22 -03:00
kay delaney
3777ae0275
AdHocVars: Allow selecting datasource variable from data source picker (#74192) 2023-09-04 18:10:15 +03:00
Joey
3a90e2d13c
Tempo: Remove noop (#74207)
Remove noop
2023-09-04 15:55:22 +01:00
Joey
7f2841aeca
Tempo: Update default editor to TraceQL tab (#74153)
Update default editor to TraceQL tab
2023-09-04 15:53:03 +01:00
Matias Chomicki
04c44f0a11
Explore Logs: Update log filtering functions to only have effect in the source query (#73626)
* isFilterLabelActive: add row parameter to method signature

* onClickFilter: add row parameter to method signature

* Explore: implement optional row parameter to modify queries

* LogDetails: add integration test with filters and log details row

* Change signature from LogRowModel to string

* Add refid reference to tooltips
2023-09-04 14:30:17 +00:00
Piotr Jamróz
fdd384ab56
Explore: Decouple TimeSrv from Explore (#73559) 2023-09-04 14:08:52 +01:00