Commit Graph

48643 Commits

Author SHA1 Message Date
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
renovate[bot]
b8f7230dee
Update dependency @types/gtag.js to ^0.0.19 (#82178)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 17:29:00 +01:00
renovate[bot]
e612b9b46b Update dependency @types/react-dom to v18.2.19 2024-02-08 16:26:58 +00:00
Jo
fb86ed79fc
Stats: Remove ACL references (#82112)
remove acl references
2024-02-08 17:19:24 +01:00
renovate[bot]
37eb2e39f4 Update dependency @grafana/scenes to v2.6.6 2024-02-08 16:04:36 +00:00
Ashley Harrison
0e15b4ac76
Navigation: Add config for grafana-slo-app and grafana-aws-app (#82174)
add config for grafana-slo-app and grafana-aws-app
2024-02-08 15:56:43 +00:00
Misi
4a7dde5b97
Chore: Remove unnecessary usage of DynamicSection from SocialService (#82139)
Remove unnecessary usage of DynamicSection
2024-02-08 16:53:51 +01:00
renovate[bot]
36a1f28086
Update dependency i18next-parser to v8 (#82085)
* Update dependency i18next-parser to v8

* remove deprecated option

* fix lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-02-08 15:47:29 +00:00
Josh Hunt
732f9cacb4
ReturnToPrevious: Add interaction reporting (#81948)
* Add analytics for return to previous

* fix typos lol
2024-02-08 15:44:22 +00:00
Darren Janeczek
71497c98e8
datatrails: style: improve panel display (#82017)
* style: improve panel display

- Show summary text in hover legends (no queries)
- Show additional description in main panel title
2024-02-08 10:36:20 -05:00
Darren Janeczek
312f8f0f69
datatrails: debounce search and prefix filter (#81842)
fix: debounce search and prefix filter
2024-02-08 10:35:09 -05:00