Commit Graph

48567 Commits

Author SHA1 Message Date
Dan Cech
1f1461734c
Storage: Add support for sortBy selector (#80680)
* add support for sortBy field selector

* use label selectors instead of field selectors

* set entity_labels on create & update

* make entity server integration tests work

* test fixes

* be more consistent with handling of empty body, meta or status

* workaround for database is locked errors during migration

* fix double import of sqlite3

* rename functions and tidy up

* refactor update

* disable integration tests until we can fix the database locking issue
2024-02-07 15:05:10 -05:00
Todd Treece
bb6db46ecc
Chore: Update wire to v0.6.0 (#82114) 2024-02-07 13:29:32 -05:00
Dan Cech
156d7ae194
use in-process grpc client instead of wrapping server interface (#81926)
* use in-process grpc client instead of wrapping server interface

* comment out jwt token checks until we're ready to validate the token
2024-02-07 13:17:02 -05:00
Torkel Ödegaard
ba7e0d5c2e
DashboardScene: Fix issue with url sync after saving title change (#81851)
DashboardScene: Fix issue with url sycn after saving title change
2024-02-07 18:58:23 +01:00
Matthew Jacobson
dd0ca1263b
Alerting: Include rule uid, title, namespace in unique constraint errors (#82011)
* Alerting: Include rule_uid, title, namespace_uid in unique constraint errors
2024-02-07 12:55:48 -05:00
Josh Hunt
645684df15
I18n: Add crowdin PRs to project board (#82100)
* Revert all previous changes to the workflow

Revert "I18n: Add pr to project board (#82096)"
This reverts commit 30730ebdd8.

Revert "I18n: Fix workflow for adding PR to project board (#82078)"
This reverts commit c16cb7ed3c.

Revert "I18n: Use correct project and pull request ID (#82070)"
This reverts commit 10a130191f.

Revert "Fix incorrect quotes in crowdin-download github action (#82063)"
This reverts commit 945e26516b.

Revert "I18n: Add crowdin PRs to project board (#82059)"
This reverts commit 5b9b990220.

* Add crowdin pr to frontend platform project board

* refactor: clean up first trial

---------

Co-authored-by: Laura Benz <laura.benz@grafana.com>
2024-02-07 18:22:39 +01:00
Gilles De Mey
791ead7806
Alerting: Detail view part 3 (#81286) 2024-02-07 18:02:20 +01:00
Ryan McKinley
3464b6e581
Peakq: support multi-value template variables (#82036) 2024-02-07 18:46:43 +02:00
Gilles De Mey
e77ec26897
UI: No interactive table pagination controls for rows < page size (#82109) 2024-02-07 17:13:05 +01:00
Kyle Brandt
3ad860a63c
PeakQ: (Chore) Update Render to work with UTF (#82107) 2024-02-07 17:48:53 +02:00
Ashley Harrison
ef6e315322
Chore: use Box in command palette empty state (#82101)
* use Box

* use paddingTop/paddingBottom
2024-02-07 17:39:15 +02:00
Tobias Skarhed
00d69bc8e5
i18n: Phrases for login page (#81478)
* i18n markup for login components

* Add serviceName to translation

* Fix typo

* Reset from main

* Extract

* Fix extract
2024-02-07 15:37:42 +00:00
Alexander Weaver
843c477899
Alerting: Add exported API to scheduler to access currently loaded rules (#82031)
* Add exported API to fetch rule definitions from scheduler

* Add comment
2024-02-07 09:31:22 -06:00
Darren Janeczek
9fb04be7ff
enhancement: use SVG icon for cascader expand instead of > (#81844)
* feature: use icon for cascader expand
2024-02-07 10:26:39 -05:00
Jack Baldry
832eda7963
Add missing step (#82066) 2024-02-07 15:01:54 +00:00
Josh Hunt
30730ebdd8
I18n: Add pr to project board (#82096) 2024-02-07 14:57:14 +00:00
Kyle Cunningham
756cd3c28b
Transformations: Add Group to Nested Tables Transformation (#79952)
* Stub group to subframe transformation

* Get proper field grouping

* Mostly working but fields not displaying 😭

* Fix display processing in nested tables

* Modularize and start merging groupBy and groupToSubrame

* Get this working

* Prettier

* Typing things

* More types

* Add option for showing subframe table headers

* Prettier

* Get tests going

* Update tests

* Fix naming and add icons

* Betterer fix

* Prettier

* Fix CSS object syntax

* Prettier

* Stub alert for calcs with grouping, start renaming

* Add logic to show warning message for calculations

* Add calc warning

* Renaming and feature flag

* Rename images

* Prettier

* Fix tests

* Update feature toggle

* Fix error showing extra blank row

* minor code cleanup

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-02-07 21:28:26 +07:00
Andres Martinez Gotor
26bc87b60e
Chore: Replace core plugins as external warning (#81877) 2024-02-07 16:17:13 +02:00
kay delaney
114e9e90f3
Scenes/PanelEditor: Fix panel options search crash (#82003)
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-02-07 14:09:21 +00:00
Haris Rozajac
00aa876e46
Dashboard Scene: All panel menu items available (#81678)
* WIP: removing panel functionality

* wip

* Deleting works with old model and with unified alerting

* Add shortcut for removing panel

* Add duplicate panel functionality; improve remove panel logic

* Copy and new alert rule

* Hide legend

* WIP: Help wizard

* Fix PanelMenuBehavior tests

* Got help wizard to work in scenes

* Fix HelpWizard and SupportSnapshotService tests

* Use object for writing styles

* betterer

* Fix create lib panel

* PanelRepeaterItem should be duplicated

* Share randomizer from dashboard-scenes

* share randomizer

* Fix import

* Update error message

* Fix test

* When duplicating PanelRepeaterGridItem's child use  PanelRepeaterGridItem.state.source

* Don't use getResultsStream

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-02-07 06:32:08 -07:00
Nathan Vērzemnieks
b5f26560c2
Cloudwatch: Remove core imports from infra/log (#81543)
* Cloudwatch: use logging from plugin-sdk-go instead of infra/log
* Add a link to the TODO issue for moving `instrumentContext`
2024-02-07 13:53:05 +01:00
Josh Hunt
c16cb7ed3c
I18n: Fix workflow for adding PR to project board (#82078) 2024-02-07 12:47:21 +00:00
renovate[bot]
79cfd67fde
Update dependency react-hook-form to v7.50.1 (#82072)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 12:43:57 +00:00
renovate[bot]
fb4de35c0e
Update dependency react-zoom-pan-pinch to v3.4.2 (#82073)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 12:42:58 +00:00
Josh Hunt
10a130191f
I18n: Use correct project and pull request ID (#82070)
* use correct project and pr ids

* add github token

* fix env
2024-02-07 12:21:19 +00:00
Andres Martinez Gotor
9c0501a167
Chore: Fix rootDir path when compiling core ds (#82068) 2024-02-07 13:00:13 +01:00
Oscar Kilhed
1f2f85004d
Scenes: Add alerts from panel edit (#81588)
* Display alerts in scenes dashboard

* sort of working adding alerts

* move alert button to own component

* First fixes

* Generate link/url on click

* some cleanup

* making sure all links from scene go back to scene dashboard/panel; add rule button when there are rules; styling

* remove unused import

* add &scenes to url for alert instance annotations

* Add tests from old alert tab

* Revert addition of &scenes to dashboard urls

* Refactor to simplify NewAlertRuleButton interface

* update test

* Use the raw range to calculate the relative range

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-02-07 12:59:18 +01:00
Gábor Farkas
420a23c064
sql: simplify time-conversion code (#81499)
sql: simplify code
2024-02-07 12:42:22 +01:00
renovate[bot]
370e973256
Update dependency html-loader to v5 (#82062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 11:35:25 +00:00
Josh Hunt
945e26516b
Fix incorrect quotes in crowdin-download github action (#82063) 2024-02-07 11:19:40 +00:00
renovate[bot]
f5a60568b4
Update dependency fork-ts-checker-webpack-plugin to v9 (#82061)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 13:18:52 +02:00
Ashley Harrison
af8ea896d0
GroupBy: add new groupby variable type and optional groupByKeys (#81717)
* add new groupby type

* rename to groupByKeys + introduce GroupByVariableModel

* fix unit test

* update scenes package

* update interface

* update fixture

* update unit test

* bump to scenes 2.6.2

* remove baseFilters for now
2024-02-07 11:14:04 +00:00
Josh Hunt
5b9b990220
I18n: Add crowdin PRs to project board (#82059)
Add i18n prs to frontend platform project board
2024-02-07 11:01:04 +00:00
renovate[bot]
17358bd7c9
Update dependency expose-loader to v5 (#82058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 12:43:33 +02:00
renovate[bot]
c3865771ca
Update dependency react-hook-form to v7.50.1 (#82057)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 12:40:28 +02:00
Joey
ff21f941df
Parca: Fix flaky test (#81968)
Fix flaky test
2024-02-07 10:21:53 +00:00
renovate[bot]
c4cee75551
Update dependency eslint-config-prettier to v9 (#82013)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 10:20:19 +00:00
renovate[bot]
7607671791
Update dependency eslint-plugin-jsdoc to v48 (#82014)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 10:19:56 +00:00
brendamuir
899e06b439
Alerting docs: changes alerting rules to alert rules (#82049)
* Alerting docs: changes alerting rules to alert rules

* ran prettier
2024-02-07 11:04:13 +01:00
ismail simsek
2679599968
Prometheus: Remove grafana/pkg/setting imports (#81813)
* upgrade grafana-azure-sdk-go v1.12.0

* add AzureAuthEnabled to config

* remove grafana/pkg/setting imports

* remove grafana/pkg/setting imports

* remove comment

* add better error message

* Fix the unit test

* fix lint
2024-02-07 11:01:09 +01:00
ismail simsek
9a045e24e8
Chore: Bump grafana-plugin-sdk-go version to v0.207.0 (#82028)
* bump grafana-plugin-sdk-go version to v0.207.0

* update go.sum
2024-02-07 10:51:30 +01:00
Sonia Aguilar
f59e76d54b
Alerting: Use mute_time_intervals as field name in dto ,for simplified routing (#82045)
Use mute_time_intervals as field name in dto ,for simplified routing
2024-02-07 09:54:31 +01:00
Dominik Prokop
a385ae4fa5
DashboardScene: Do not show data pane for panels with skipDataQuery (#81934)
* Bump scenes

* Don't show data pane for panels without data support

* Add tests

* Review
2024-02-07 00:51:25 -08:00
Gábor Farkas
8616f2e80a
sql: removed unnecessary error-check (#81808)
* sql: removed unnecessary error-check

* updated tests
2024-02-07 08:41:49 +01:00
Gábor Farkas
7b8c7b623c
sql: remove the usage of "errutil" (#81888) 2024-02-07 08:39:24 +01:00
Ryan McKinley
40a08a7720
K8s: use +enum tag in playlist and unstructured dummy (#82022) 2024-02-06 16:10:32 -08:00
Ezequiel Victorero
83ea51f241
Scenes: Add snapshots view support (#81522) 2024-02-06 19:29:57 -03:00
Yuri Tseretyan
47546a4c72
Alerting: Update API to use folders' full paths (#81214)
* update GetUserVisibleNamespaces to use FolderSeriver
* update GetNamespaceByUID to use FolderService.GetFolders
* update GetAlertRulesForScheduling to use FolderService.GetFolders 

* Update API and GetAlertRulesForScheduling to use the folder's full path
* get full path of folder in RouteTestGrafanaRuleConfig

* fix escaping of titles for MySQL
2024-02-06 17:12:13 -05:00
Kevin Yu
6f8852095e
CloudWatch: Remove core imports from CloudWatchRequest (#81422)
* CloudWatch: Remove core imports from CloudWatchRequest and use appEvents for notifications

* add error message to variable query editor multi filters

* fix tests

* fix lint

* fix lint

* add test for non multi-variable

* pr comments
2024-02-06 22:22:41 +02:00
Ryan McKinley
a052dab7bc
K8s/Playlists: Only dual write when an external storage is configured (#82015) 2024-02-06 12:09:33 -08:00