Commit Graph

48774 Commits

Author SHA1 Message Date
Galen Kistler
c4b869790a
Logs Panel: Table UI - better default column spacing (#82205)
* add default width to time fields in logs table
2024-02-12 09:35:03 -06:00
Torkel Ödegaard
8f36f905ee
SceneSolo: Minor fixes (#82289)
* SceneSolo: Minor fixes

* remove logging
2024-02-12 16:23:12 +01:00
Darren Janeczek
cd09c36448
datatrails: fix: improve performance of related metrics sort (#82285)
fix: improve performance of related metrics sort
2024-02-12 09:52:44 -05:00
Victor Marin
1fe32479d7
Scenes: Annotations functionality in settings (#81361)
* wip listing/viewing annotations

* list annotations in settings

* fix tests

* wip edit mode

* PR mods

* move, delete, edit, add new

* edit annotation in settings

* Annotations functionality

* revert change

* add ui tests, move angularEditorLoader

* remove flaky test

* refactor

* bump scenes version, refactor getVizPanels, refactor edit page

* fix nav breadcrumbs

* annotation set dirty flag, add overlay to edit view

* PR mods

* PR mods

* remove flaky test

* change dirty flag setting logic for anotations

* change button variants
2024-02-12 16:06:46 +02:00
Karl Persson
1315c67c8b
Team/User: UID migrations (#82298)
* Add user uid migration to run on every startup to protect against empty values in a upgrade downgrade scenario

* Add team uid migration to run on every startup to protect against empty values in a upgrade downgrade scenario

* Run team uid migration
2024-02-12 14:48:29 +01:00
Ashley Harrison
685e84b1f8
Chore: Remove react-popper from DataLinkInput and SuggestionsInput (#82160)
* replace popper with floating-ui in DataLinkInput

* replace popper with floating-ui in SuggestionsInput
2024-02-12 13:22:24 +00:00
Joao Silva
71e7d654de
Card: Revert adding overline component (#82308) 2024-02-12 13:07:40 +00:00
Will Browne
788b9afda3
Plugins: Make it possible to support multiple plugin versions (#82116)
* first pass

* use version in more places

* add comment

* update installer

* fix wire

* fix tests

* tidy

* simplify changes

* fix in mem

* remove unused step

* fix step dupe logic for child plugins + add tests
2024-02-12 12:47:49 +01:00
Sonia Aguilar
730e1d2485
Alerting: Fix folder and rule name in groupBy for simplified routing (#82148)
* Fix folder and rule name in groupBy for simplified routing

* Review suggestions

* Use proper type for MultiValueRemove props

* hoist getting groupBy count

* Use watch instead of getValues

* Bring back validation for required fields
2024-02-12 12:45:29 +01:00
Gábor Farkas
d65d2ceb1b
sql: add explanation comment (#82304) 2024-02-12 12:42:12 +01:00
Gábor Farkas
67f006a91d
sql: remove setting-import from sqleng (#82088) 2024-02-12 12:37:23 +01:00
Faye Lin
a3f3429290
Variable: Inform users of the error details when Grafana is unable to retrieve the variable values from an SQL data source. (#82222)
* feat: Inform users of the error details when Grafana is unable to retrieve the variable values from an SQL data source.

* format code

* use getAppEvents

* throw an error when failing to executing the sql query

* optimize code

* prettier
2024-02-12 12:19:22 +01:00
Gilles De Mey
70fc603d26
Alerting: Improve 404 and other HTTP request error handling (#82249) 2024-02-12 12:17:19 +01:00
Tobias Skarhed
d91803c35a
Keybindings: Change 'h' to 'mod+h' to open help modal (#82253)
Keybindings: Change 'h' to 'mod+h'
2024-02-12 11:54:24 +01:00
Torkel Ödegaard
7f7f1b17e6
DashboardScene: Panel edit progress (#82288) 2024-02-12 11:45:34 +01:00
github-actions[bot]
18ee8f7583
I18n: Download translations from Crowdin (#82181)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-12 10:35:01 +00:00
Torkel Ödegaard
e2ea20b446
DashboardScene: Fixes compatability wrapper to make annotation list panel work (#82287) 2024-02-12 11:26:39 +01:00
Kyle Cunningham
14ec1a7971
Table Panel: Update column alignment labels in panel config (#82069)
Update column alignment labels
2024-02-12 17:15:26 +07:00
Misi
00e96e4584
Auth: SSO Settings UI frontend improvements (#82264)
* Add frontend fixes

* Update labels + link
2024-02-12 11:12:08 +01:00
Pepe Cano
9c92329bee
Alerting docs: Provision alerting resources updates (#82221)
* Alert provisioning: initial restructuring

* Fix products labels

* Restructure `Import and export Grafana Alerting resources`

* Change URL to `export-alerting-resources`

* Complete `Export alerting resources`

* Export alerting resources

* Update `configuration files` provisioning

* Terraform Provisioning

* Change to `Provision/Import/Export` terms and some notes

* Replace `config` to `configuration`

* Set (menu)Title `Export alerting resources`

* Minor change on note about `Export Alerting endpoints`

* Fix `doc-validator` issues

* Fix grammar

* Update docs/sources/alerting/set-up/provision-alerting-resources/terraform-provisioning/index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

* Update docs/sources/alerting/set-up/provision-alerting-resources/terraform-provisioning/index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

* Fix numbered lists and `Note:` without admonition

* Convert text-based notes (`Note:`) to `admonition` blocks

* Replace text-based `Note:` with adminitions

* Remove `file-provisioning` grafana-cloud links

* Update `Export alerting resources` intro

* nitpicky format order

---------

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-02-12 10:27:18 +01:00
Kim Nylander
815e61258c
[DOC] Update Pyroscope data source (#82130)
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-02-12 08:34:36 +00:00
Gábor Farkas
fcf2543fe3
updated grafana-plugin-sdk-go dependency (#82136)
update grafana-plugin-sdk-go dependency
2024-02-12 09:14:03 +01:00
Torkel Ödegaard
fe6d1460b0
DashboardScene: Adds solo page that uses dasboarde scene to render single panel (#77940)
* DashboardScene: Adds solo page that uses dasboarde scene to render single panel

* Update

* Panel and row repeats working

* Update

* added e2e tests

* Refactor

* Fixes

* Fix e2e

* fix

* fix

* fix
2024-02-11 09:08:47 +01:00
Darren Janeczek
02c0f5929c
prometheus: fix: use shallow clone of scopedVars (#82280)
fix: use shallow clone of scopedVars
2024-02-10 09:57:11 -05:00
Kyle Cunningham
f0bbfc8422
Chore: Move BI feature flags to Dataviz (#82224) 2024-02-10 02:24:08 +02:00
Ryan McKinley
ce910a7eb2
FeatureFlags: manage creation/modification times automatically (#82131) 2024-02-09 15:34:12 -08:00
Todd Treece
14869cc400
Docs: Update developer dependencies (#82034) 2024-02-09 17:25:15 -05:00
Alexander Weaver
5bbe9c6e61
Alerting: Enable group-level rule evaluation jittering by default, remove feature toggle (#82212)
* remove jitter feature flag

* Add an out so users can manually disable jitter

* Pass in cfg

* Add TODO to remove knob in future
2024-02-09 15:53:58 -06:00
Torkel Ödegaard
b5d14d03d7
Scenes: Upgrade to 2.6.5 and Add query controller DashboardScene (#82232)
* Update scenes and add query controller

* Update

* Update
2024-02-09 21:44:44 +01:00
Stephanie Hingtgen
87c3d0fb6a
K8s: Update stack id validation (#82275) 2024-02-09 21:51:00 +02:00
Matias Chomicki
c9593531ef
Loki query builder: force click in e2e test (#82051) 2024-02-09 20:48:10 +02:00
Alyssa Bull
77111a0714
Cloud Monitoring: Fix naming and warnings (#82271) 2024-02-09 11:22:44 -07:00
Kevin Yu
7f109c885d
CloudWatch: Fix code editor not resizing on mount when content height is > 200px (#81911) 2024-02-09 09:44:29 -08:00
João Calisto
42d6e176bc
Feature Toggle Management: allow editing PublicPreview toggles (#81562)
* Feature Toggle Management: allow editing PublicPreview toggles

* lint

* fix a bunch of tests

* tests are passing

* add permissions unit tests back

* fix display

* close dialog after submit

* use reload method after submit

* make local development easier

* always show editing alert in the UI

* fix readme

---------

Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2024-02-09 18:48:56 +02:00
Ryan McKinley
f60b5ecec4
Chore: Avoid NPE with annotations query (#82216) 2024-02-09 08:48:11 -08:00
Alex Khomenko
1f208cd8ae
Icons: Update observability icon (#82266)
Update observability icon
2024-02-09 17:42:17 +01:00
Stephanie Hingtgen
54a77fa55e
K8s: StackIDs can be single digits (#82267) 2024-02-09 18:39:58 +02:00
Mitsuhiro Tanda
9bc3517617
Snapshots: Fix issue where off-screen panels are not included in snapshots (#82135) 2024-02-09 11:37:55 -05:00
Jo
6f62d970e3
JWT Authentication: Add support for specifying groups in auth.jwt for teamsync (#82175)
* merge JSON search logic

* document public methods

* improve test coverage

* use separate JWT setting struct

* correct use of cfg.JWTAuth

* add group tests

* fix DynMap typing

* add settings to default ini

* add groups option to devenv path

* fix test

* lint

* revert jwt-proxy change

* remove redundant check

* fix parallel test
2024-02-09 16:35:58 +01:00
Adela Almasan
32a1f3955a
Canvas: Keep tooltip open until dismissed (#82213) 2024-02-09 09:09:34 -06:00
Konrad Lalik
fbdd27c237
Alerting: Add support for UTF-8 characters in notification policies and silences (#81455)
* Add label matcher validation to support UTF-8 characters

* Add double quotes wrapping and escaping on displating matcher form inputs

* Apply matchers encoding and decoding on the RTKQ layer

* Fix unescaping order

* Revert "Apply matchers encoding and decoding on the RTKQ layer"

This reverts commit 4d963c43b5.

* Add matchers formatter

* Fix code organization to prevent breaking worker

* Add matcher formatter to Policy and Modal components

* Unquote matchers when finding matching policy instances

* Add tests for quoting and unquoting

* Rename cloud matcher formatter

* Revert unintended change

* Allow empty matcher values

* fix test
2024-02-09 15:46:28 +01:00
Dan Cech
790e1feb93
Chore: Update test database initialization (#81673)
* streamline initialization of test databases, support on-disk sqlite test db

* clean up test databases

* introduce testsuite helper

* use testsuite everywhere we use a test db

* update documentation

* improve error handling

* disable entity integration test until we can figure out locking error
2024-02-09 09:35:39 -05:00
Galen Kistler
de4acb27ce
Table: Add initial row index (#82200)
* Add initial row index prop in table
2024-02-09 07:49:48 -06:00
kay delaney
984d2da9ae
LibraryPanels: Fix issue with repeated library panels (#82255)
Fixes an issue where a library panel being repeated by a
template variable would briefly use the All value for the first
repeat instance
2024-02-09 13:48:53 +00:00
Ashley Harrison
fc5f228675
Revert "Update dependency lerna to v8 (#82196)" (#82254)
This reverts commit 00fd023fda.
2024-02-09 15:30:50 +02:00
Leon Sorokin
02d61857ab
Annotations: Fix axis markers rendering in wrong (stale) positions (#82219) 2024-02-09 06:55:09 -06:00
Joao Silva
bc83d8263b
Card: Add isCompact prop and Overline sub-component (#82077) 2024-02-09 12:37:28 +00:00
Ivana Huckova
48b4ca8228
Elasticsearch: Decouple frontend dependencies from core (#82179)
* Elasticsearch: Decouple frontend dependencies from core

* Remove not needed code change
2024-02-09 14:11:08 +02:00
Misi
b1dc505a2b
Auth: Validate admin assignment in SSO Settings (#82233)
* Add validation for allowAssignGrafanaAdmin

* Update default values

* Do not render hidden fields

* Change error message

* Improve tests

---------

Co-authored-by: Clarity-89 <homes89@ukr.net>
2024-02-09 13:10:23 +01:00
Sergej-Vlasov
5a5520b5da
Dashboards: add delete variable flow to VariableEditorForm (#82149)
* add delete variable flow to VariableEditorForm

* adjust modal logic and replace HorizontalGroup with Stack

* revert onDelete prop name
2024-02-09 12:01:58 +00:00