Commit Graph

48653 Commits

Author SHA1 Message Date
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
Ashley Harrison
e0bff6247c
Chore: ignore loader-utils update (#82236)
ignore loader-utils
2024-02-09 11:46:23 +00:00
Fabrizio
8beff98142
Update Prettier checks to parse also JSON files (#82046) 2024-02-09 13:16:40 +02:00
Sonia Aguilar
beca6a08b0
Alerting: defaults for simplified routing (#82050)
* Expand route settings by default when alert rule has values in these fields

* Default to manual routing option if FF is enabled and local storage is not set to false

* Add test for getDefautManualRouting function

* Update seting local storage item to false in case of policy routing

* Only save to local storage when creating a new alert rule
2024-02-09 12:16:28 +01:00
Sonia Aguilar
3e93a0991f
Alerting: Use new readonly permission endpoints for getting contact points and mute timings (#82132)
* use new read only contact points list endpoint in simplified routing section

* Dont use alertmanager endpoint to get groupby defaults

* Use the new read only endpoint for mute timings in route settings

* review suggestions

* Rename hook

* Use options in params for useContactPointsWithStatus hook

* Refactor useContactPointsWithStatus

* second part of the enhanceContactPointsWithMetadata refactor
2024-02-09 12:13:37 +01:00
renovate[bot]
ed9e26122a Update dependency @types/node to v20.11.17 2024-02-09 10:47:01 +00:00
marybelvargas
fc498f5375
Update RBAC role name: fixed:datasources.id:reader (#82186) 2024-02-09 10:44:29 +00:00
ismail simsek
b0dfeb1911
Chore: Clean up intervalv2 functions (#82074)
* clean up intervalv2 functions

* use roundInterval from grafana-plugin-sdk-go

* use from grafana-plugin-sdk-go

* have intervalv2 in publicdashboards and remove tsdb/intervalv2

* legacydata cleanup

* remove unused variables

* Update pkg/tsdb/legacydata/interval/interval.go

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>

---------

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>
2024-02-09 11:39:21 +01:00
Eric Leijonmarck
3d73cd5c8e
Docs: Team LBAC create concept and tasks (#82020)
* create concept and tasks

* update docs

* formattting

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/administration/data-source-management/teamlbac/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* update of docs

* updated w. limitations and explaination of permissions

* spelling

* formatting

* formatting

* added another task

* formatting

---------

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-02-09 10:20:09 +00:00
Misi
e03a96d09b
Docs: Update default value of rbac.permission_validation_enabled (#82234)
* Update permission_validation_enabled default value in docs

* Lint
2024-02-09 11:14:56 +01:00
renovate[bot]
00fd023fda
Update dependency lerna to v8 (#82196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-09 10:07:57 +00:00
Ashley Harrison
765a1f8533
Chore: fix some bad uses of userEvent (#82191)
* fix some bad uses of userEvent

* wrap advance call in act

* don't use act

* remove skip

* need act here (see https://kentcdodds.com/blog/fix-the-not-wrapped-in-act-warning#1-when-using-jestusefaketimers)

* remove test that isn't correct anymore

* implement same change in grafana-prometheus
2024-02-09 10:04:35 +00:00
github-actions[bot]
e9dab611fe
Update make docs procedure (#82223)
Co-authored-by: grafanabot <bot@grafana.com>
2024-02-09 10:01:47 +00:00
Eric Jacobson
8afab6a80f
Icons: Add support for docker icon (#81884)
- add docker icon to registry
2024-02-09 14:37:43 +07:00
Sergey Kostrukov
cc33f0bd10
Prometheus: Azure scopes from Grafana Azure SDK (#82023)
* Prometheus: Azure scopes from Grafana Azure SDK

* Refactor and add tests

* Cosmetic fix

* Cosmetic change 2
2024-02-08 23:47:09 +01:00
Leon Sorokin
930c8c5aa3
EventBus: Add ability to tag events with arbitrary classification meta (#82087) 2024-02-08 16:15:32 -06:00
Nathan Marrs
829672759c
Deprecation: Create explicit feature toggle to auto-migrate from graph panel (#79369) 2024-02-08 14:00:48 -08:00
Matthew Jacobson
ce57166c9a
Alerting: GA alertingPreviewUpgrade and enable by default (#82038)
* Alerting: GA alertingPreviewUpgrade and enable by default
2024-02-08 18:59:25 +01:00
Galen Kistler
633e354a76
Transformations: Fix converting time fields to number in reduceFields (#81830)
* Fix bug converting time fields to number in reduce
---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2024-02-08 11:29:10 -06:00
renovate[bot]
903e54e622 Update dependency postcss to v8.4.35 2024-02-08 17:27:54 +00:00
Ryan McKinley
ac5a387086
Peakq: move templates into query service (#82193) 2024-02-08 18:27:03 +01:00
Darren Janeczek
a439ee46bf
datatrails: fix: propagate unit to breakdown graphs (#82176)
fix: propagate unit to breakdown graphs
2024-02-08 12:02:03 -05:00