Commit Graph

49415 Commits

Author SHA1 Message Date
Andres Martinez Gotor
265200799d
Chore: Update grafana-plugin-sdk (#84289) 2024-03-12 17:13:23 +01:00
Gilles De Mey
e6150a792a
Alerting: Always omit IDs from all routes when updating notification policy tree (#84304) 2024-03-12 18:04:49 +02:00
renovate[bot]
e421ff3e2c Update dependency webpack-dev-server to v5.0.3 2024-03-12 15:40:14 +00:00
Aaron Godin
5c96b90852
docs: rewrite grafana-com oauth to better align with naming conventions (#84294)
* docs: rewrite grafana-com oauth to better align with naming conventions

* docs: update links used to grafana-cloud auth page
2024-03-12 10:38:43 -05:00
Ezequiel Victorero
98fb8fad43
Docs: Update external snapshots cloud docs (#84255)
* Docs: Update external snapshots cloud docs

* Update docs/sources/dashboards/share-dashboards-panels/index.md

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

---------

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-03-12 12:22:10 -03:00
renovate[bot]
46a35775ae
Update dependency @types/lodash to v4.17.0 (#84299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 17:13:14 +02:00
Dominik Prokop
7c1ad64bb2
DashboardScene: Make sure dashboard prompt is shown when navigating away way from an edited dashboard (#84077)
DashboardScene: Make sure dashboard prompt is shown when navigating away from an edited dashboard

Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2024-03-12 16:12:00 +01:00
ismail simsek
22860a7978
Chore: Use mapUtil from grafana-plugin-sdk-go (#84297)
use mapUtil from grafana-plugin-sdk-go
2024-03-12 10:08:10 -05:00
Joao Silva
6080a9c094
Cascader: Don't lose input value when typing (#84274) 2024-03-12 15:00:51 +00:00
renovate[bot]
d63bc6d2e4
Update dependency @playwright/test to v1.42.1 (#84292)
* Update dependency @playwright/test to v1.42.1

* update playwright image

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-03-12 14:53:55 +00:00
Matias Chomicki
fb172b1b33
Explore logs: remove exploreScrollableLogsContainer and track scroll to top (#84291)
* exploreScrollableLogsContainer: remove

* LogsNavigation: track scroll to top clicks

* Add missing dependency to the effect
2024-03-12 15:53:13 +01:00
Leonard Gram
f15aa2d30d
CloudMigrations: draft of cloud migration tables (#83990)
* CloudMigrations: draft of cloud migration tables

* naming migration rules

* removes feature flag for migration

* tweaked db types

* removed comment
2024-03-12 15:44:10 +01:00
Marie Cruz
90ff576cb7
docs: slight update to grafana fundamentals (#84287) 2024-03-12 14:23:45 +00:00
Michael Mandrus
d69b19e431
Queries: Improve debug logging of metrics queries (#84048)
* just log everything

* fix times
2024-03-12 16:17:22 +02:00
Joey
42d8f1bef9
Tempo: Update TraceQLStreaming feature toggle stage (#84203)
Update TraceQLStreaming feature toggle stage
2024-03-12 14:10:13 +00:00
renovate[bot]
bce6a0a987
Update dependency @grafana/scenes to v3.12.0 (#84280)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 14:03:20 +00:00
William Wernert
10dc6c6d75
Alerting: Add "Keep Last State" backend functionality (#83940)
* Implement keep last state for state transitions

* Respect For duration when keeping state

* Only keep transition from recording an annotation

* Add keep last state option for nodata/error in UI
2024-03-12 10:00:43 -04:00
Sergey Kostrukov
fe1ed0a9e1
Azure: Add list of clouds in frontend AzureSettings (#84039)
Add list of supported clouds in AzureSettings
2024-03-12 13:49:30 +00:00
ismail simsek
ae70cd953d
Chore: Use the promlib v0.0.1 (#84210)
* use the promlib v0.0.1

* add a readme

* go mod update

* replace promlib

* update readme

* update

* update go work sum

* update 2

* update readme
2024-03-12 15:25:32 +02:00
Eric Leijonmarck
0cb9f2bb8d
Users: Add back check for undefined / null for value for lastSeenAtAge in table view (#84265)
bug: add check for undefined / null for value
2024-03-12 14:22:13 +01:00
Josh Hunt
6eaab9e57d
E2C: Use ConfirmModal for DisconnectModal (#84279)
change disconnect modal to use confirmmodal
2024-03-12 13:07:23 +00:00
renovate[bot]
ff62474f9b
Update dependency @grafana/faro-web-sdk to v1.4.2 (#84278)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 13:03:21 +00:00
Dominik Prokop
b8d4d28f4a
DashboardScene: Fix Get Help panel menu for lib panels (#84272) 2024-03-12 13:54:55 +01:00
Dominik Prokop
39b682e333
DashboardScene: Fix dashboard being restored to initial state after successful save (#84183)
* Failing test

* Do not restore initial state after edit mode exit when dashboard is not dirty
2024-03-12 13:54:47 +01:00
Erik Sundell
2a7785c262
CI: Allow failed Playwright tests to fail entire build (#84244)
* bump plugin-e2e and fix failing test

* do not ignore failures

* generate trace on every test

* force test to fail for debugging purposes

* fix broken test

* regenerate drone file
2024-03-12 13:48:32 +01:00
renovate[bot]
7348d9cd47
Update dependency @grafana/faro-web-sdk to v1.4.2 (#84270)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 12:42:24 +00:00
Josh Michielsen
297d73a7df
InfluxDB: Add configuration option for enabling insecure gRPC connections (#83834)
* InfluxDB: add configuration option for enabling insecure gRPC connections

* fix: add insecureGrpc to InfluxOptions

* rename options label 'gRPC' -> 'Connection'

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>

* update docs: rename options label 'gRPC' -> 'Connection'

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>

* default insecure connection boolean to false in frontend

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>

* run prettier:write

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2024-03-12 13:36:11 +01:00
Gilles De Mey
388e0c27f2
Alerting: Allow inserting before or after existing policy (#83704) 2024-03-12 13:28:37 +01:00
renovate[bot]
78478dc235
Update dependency @grafana/faro-core to v1.4.2 (#84267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 14:09:47 +02:00
renovate[bot]
2fe9376d12 Update dependency ol-ext to v4.0.17 2024-03-12 11:50:49 +00:00
Josh Hunt
4fc4a1c4a8
Playlists: Fix kiosk mode not activating when starting a playlist (#84262)
* Playlists: Fix Kiosk mode not activating when starting a playlist

* oops remove debugger
2024-03-12 11:48:18 +00:00
renovate[bot]
a883df633e Update dependency @types/react to v18.2.65 2024-03-12 11:30:56 +00:00
Victor Gorchilov
fa6e4bbcd0
Users: Resurrect org picker's search functionality (#78886)
[up] return search for org picker
2024-03-12 13:29:02 +02:00
Eric Leijonmarck
fbfaf8e003
OrgUsers: Refactor change LastSeenAtAge from '10 years' to 'Never' (#84247)
* refactor: change lastseenatage to Never

* removed unncessecary fragments
2024-03-12 12:18:33 +01:00
ismail simsek
c45f96e9de
Chore: Fix feature toggle docs (#84256)
update docs
2024-03-12 12:07:07 +01:00
Alex Khomenko
59fed9278b
Switch: Remove "transparent" prop (#83705)
* Switch: Remove transparent prop

* Cleanup

* Remove redundant prop
2024-03-12 12:51:58 +02:00
Sofia Papagiannaki
22d8258e48
Postgres: Allow disabling SNI on SSL-enabled connections (#83892)
* Postgres: Allow disabling SNI on SSL-enabled connections

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-03-12 12:03:24 +02:00
Adam Yeats
c2b94429e4
Google Cloud Monitor: Fix res being accessed after it becomes nil in promql_query.go (#84223)
Fix res being accessed after it becomes nil in promql_query.go
2024-03-12 10:38:16 +01:00
renovate[bot]
3085d53802 Update dependency @types/node to v20.11.26 2024-03-12 09:32:25 +00:00
renovate[bot]
6e661fa770
Update babel monorepo to v7.24.0 (#84206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 08:46:11 +00:00
Misi
63f1c30313
Auth: Set the default org after User login (#83918)
* poc

* add logger, skip hook when user is not assigned to default org

* Add tests, move to hook folder

* docs

* Skip for OrgId < 1

* Address feedback

* Update docs/sources/setup-grafana/configure-grafana/_index.md

* lint

* Move the hook to org_sync.go

* Update pkg/services/authn/authnimpl/sync/org_sync.go

* Handle the case when GetUserOrgList returns error

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2024-03-12 09:35:13 +01:00
Erik Sundell
8c06c0dea7
Panel edit: Add e2e selectors to input fields (#83246)
add selectors for input fields
2024-03-12 09:17:41 +01:00
Karl Persson
6ea9f0c447
AuthN: Use fetch user sync hook for render keys connected to a user (#84080)
* Use fetch user sync hook for render keys connected to a user
2024-03-12 09:15:14 +01:00
Victor Marin
f50624d257
Scenes: Duplicate library panels (#84159)
duplicate library panels
2024-03-12 10:11:15 +02:00
linoman
298384cea9
Disable skip button when strong password feature is enabled (#84211) 2024-03-12 08:31:52 +01:00
Armand Grillet
e33e219a9a
Remove legacy alerting docs (#84190) 2024-03-12 05:37:41 +01:00
Charandas
da327ce807
K8s: enable insecure to skip server cert validation for now (#84038) 2024-03-12 01:13:14 +02:00
Alexander Weaver
6c5e94095d
Alerting: Scheduler and registry handle rules by an interface (#84044)
* export Evaluation

* Export Evaluation

* Export RuleVersionAndPauseStatus

* export Eval, create interface

* Export update and add to interface

* Export Stop and Run and add to interface

* Registry and scheduler use rule by interface and not concrete type

* Update factory to use interface, update tests to work over public API rather than writing to channels directly

* Rename map in registry

* Rename getOrCreateInfo to not reference a specific implementation

* Genericize alertRuleInfoRegistry into ruleRegistry

* Rename alertRuleInfo to alertRule

* Comments on interface

* Update pkg/services/ngalert/schedule/schedule.go

Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>

---------

Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>
2024-03-11 22:57:38 +02:00
Oscar Kilhed
0b2640e9ff
Dashboard scenes: Editing library panels. (#83223)
* wip

* Refactor find panel by key

* clean up lint, make isLoading optional

* change library panel so that the dashboard key is attached to the panel instead of the library panel

* do not reload everything when the library panel is already loaded

* Progress on library panel options in options pane

* We can skip building the edit scene until we have the library panel loaded

* undo changes to findLibraryPanelbyKey, changes not necessary when the panel has the findable id instead of the library panel

* fix undo

* make sure the save model gets the id from the panel and not the library panel

* remove non necessary links and data providers from dummy loading panel

* change library panel so that the dashboard key is attached to the panel instead of the library panel

* make sure the save model gets the id from the panel and not the library panel

* do not reload everything when the library panel is already loaded

* Fix merge issue

* Clean up

* lint cleanup

* wip saving

* working save

* use title from panel model

* move library panel api functions

* fix issue from merge

* Add confirm save modal. Update library panel to response from save request. Add library panel information box to panel options

* Better naming

* Remove library panel from viz panel state, use sourcePanel.parent instead. Fix edited by time formatting

* Add tests for editing library panels

* implement changed from review feedback

* minor refactor from feedback
2024-03-11 20:48:27 +01:00
David Harris
efbcd53119
docs: update angular deprecation notice (#84227)
update docs
2024-03-11 19:17:20 +00:00