Commit Graph

56211 Commits

Author SHA1 Message Date
Tobias Skarhed
ec42a8f83f
MultiCombobox: Add basic filtering (#98608)
Add filtering to Multi
2025-01-13 17:24:54 +01:00
ismail simsek
f74396b51d
Prometheus: Update prometheus to v0.301.0 for utf8 support (#98848)
* update github.com/prometheus/prometheus to v0.301.0

* have an adapter for infra logger

* go mod tidy and go work sync

* remvoe the cuelang.org/go replace

* remove slog_adapter
2025-01-13 17:14:20 +01:00
renovate[bot]
598e9f4dc1
Update dependency i18next-parser to v9.1.0 (#98889)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 15:18:55 +00:00
Ryan McKinley
98c7861936
Search: Update repository query apis (#98886) 2025-01-13 17:05:04 +02:00
Gabriel MABILLE
4d699d4810
AuthZ: Use M3 AuthZ Service (#98621)
* AuthZ: Use M3 AuthZ Service

Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>

* Fix oss

* fake auth info

---------

Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
2025-01-13 16:03:14 +01:00
renovate[bot]
460dab57c7
Update dependency eslint to v9.18.0 (#98880)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 14:58:57 +00:00
Mariell Hoversholm
e754ea7a64
Fix: MySQL integration tests don't need to verify CA (#98857)
* Fix: MySQL integration tests don't need to verify CA

The _better_ solution here is to use our own, custom CA certificate. But there is also no real problem in risking a MITM
attack here as it's just test code, with no sensitive data, and it's ran on our own infra (so if we have a MITM problem,
we have even bigger issues...).

* Chore: make drone

* Chore: buildifier format
2025-01-13 15:40:19 +01:00
Gilles De Mey
4aa29c79a4
Alerting: Update useAsync to typeguard states (#98884) 2025-01-13 15:20:48 +01:00
Stephanie Hingtgen
9ec10be1c7
K8s: Provisioned dashboard support (#98843) 2025-01-13 08:14:12 -06:00
Victor Marin
d8d84a000a
Dashboards: Allow DashboardDS subqueries in MixedDS (#97116)
* Allow dashboardDS to run in mixedDS

* Make mixedDS panel wait for dashboardDS panel to load first

* cleanup

* cleanup

* refresh dashboardDS queries within mixedDS when source panel changes

* more tests

* fix

* fixes scenario where source returns an error

* do not allow dashboardDS references to mixedDS targets that contain other dashboardDS panels

* test

* lint

* Show invalid panels as invalid and with a message

* refactor

* avoid bunching shared dashboard queries

* skip instead of debouncing to avoid stale data

* debouce dashboard ds result stream when coming from mixed ds

* restore unnecessarily touched files

* fix import

* increase debounce interval value to account for slower machines

---------

Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com>
2025-01-13 15:01:34 +02:00
renovate[bot]
e028924fc9
Update dependency @stylistic/eslint-plugin-ts to v2.13.0 (#98878)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 12:43:20 +00:00
ismail simsek
96011a5fbb
Chore: Bump promlib to v0.0.7 (#98849)
bump promlib to v0.0.7
2025-01-13 13:08:35 +01:00
Dominik Prokop
99e1780527
Revert "Schema v2: Reason about new dashboard based on UID (#98800)" (#98877)
This reverts commit 72846e3431.
2025-01-13 13:07:45 +01:00
Jack Baldry
6f02d2d73d
Fix syntax (#98875) 2025-01-13 11:49:04 +00:00
renovate[bot]
2928cd43aa
Update dependency react-hook-form to v7.54.2 (#98867)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 11:43:06 +00:00
Dominik Prokop
72846e3431
Schema v2: Reason about new dashboard based on UID (#98800)
* Schema v2: Reason about new dashboard based on UID

* Fix test
2025-01-13 12:16:35 +01:00
Torkel Ödegaard
e0cfd12fb3
Dashboard: Edit mode element selection (#97718)
* Dashboard: Edit mode elemenmt selection

* Add new panel to rows layout (#97729)

* Add new panel to rows layout

* Use `DashboardEditPane` to obtain selected object

* Fixed rows bottom padding issue

* Update

* Minor fix

* Update

* Update

* Update

---------

Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com>
2025-01-13 12:15:16 +01:00
Karl Persson
0f9b107201
Zanzana: Consistently add context (#98862)
* Zanzana: Reworks how contextuals are loaded

* Cleanup listObjectWithStream

* Run list test with streaming enabled
2025-01-13 12:11:51 +01:00
Eric Leijonmarck
04acbcdef2
LBAC for datasources: Add feature toggle LBAC for datasources mimir teamHttpHeadersMimir (#98866)
adds feature toggle LBAC for datasources mimir
2025-01-13 12:42:47 +02:00
renovate[bot]
c6b7e35c4e
Update dependency micro-memoize to v4.1.3 (#98863)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 10:33:37 +00:00
Jack Baldry
60aaa8d703
Fix only run on fork guard (#98795) 2025-01-13 10:28:43 +00:00
renovate[bot]
a3a1fa7f2c
Update dependency eslint-plugin-react to v7.37.4 (#98858)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 10:05:16 +00:00
renovate[bot]
0d06ed5f78
Update dependency browserslist to v4.24.4 (#98835)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 09:41:59 +00:00
Daniel-Davies
ddca09fb02
OAuth: Return SocialError on membership check failure (#98330)
use socialerror
2025-01-13 11:39:31 +02:00
Alexander Zobnin
5922015fec
Zanzana: Setup GRPC authentication in client/server mode (#98680)
* Zanzana: Setup GRPC authentication in client/server mode

* don't use grpcutils

* refactor

Co-authored-by: Karl Persson <kalle.persson@grafana.com>

* Add a namespace stub for in-proc mode

Co-authored-by: Karl Persson <kalle.persson@grafana.com>

* Read parameters from config

* authorize server requests

* add namespace to the tests context

* use stack id from config

* simplify authorize func

* properly format namespace

* return Unauthenticated if namespace is empty

* use insecure cred only in dev env

* check request namespace

* Use CallCredentials API for client auth

* provide config

* fail if stack id is missing

* improve error message

* use insecure connection by default

---------

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2025-01-13 10:02:15 +01:00
Marcus Andersson
8f79a59e1f
PluginExtensions: Persisting log messages accross the browser session (#95836)
* making sure to keep the messages across a session.

* moved values into consts.
2025-01-13 09:23:14 +01:00
Marcus Andersson
5282b7ca8c
Bugfix: Updating storybook example to pass theme property to BarGuage (#98804)
* Updating storybook example and making sure BarGauage has theme setup.

* removed unneccessary theme.

* Reverted change updated example.
2025-01-13 09:21:17 +01:00
Scott Lepper
01aeb56646
[search] fix browse mode to show dashboards (#98842)
[search] fix browse mode to show dashboards
2025-01-11 11:09:31 -05:00
Matthew Jacobson
ad1417b732
Alerting: Return default builtin templates in k8s templategroup API and UI (#96330)
* Alerting: PoC - default template in k8s templategroup API

* Move code to grafana/alerting

* Move validation to admission validation abstraction

* Testing

* Linting

* Workspace update

* Update grafana/alerting hash to the merged commit

* More user-friendly name and remove need for CREATE/UPDATE validation

Use __default__ for k8s object name and UID so that we don't need to restrict
CREATE/UPDATE for similarly named user-owned templates.
2025-01-10 19:53:18 -05:00
Kristina
0029f92ac3
VizTooltip: Add option to hide zeros when all series are shown (#97986)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2025-01-10 17:23:50 -06:00
Ida Štambuk
d73bb12b99
Features: Remove cloudwatchMetricInsightsCrossAccount feature toggle (#98826) 2025-01-11 00:23:23 +02:00
Selene
9e5fd78b52
Codegen: Remove pfs codegen dependency from Grafana codebase (#98840)
* Remove pfs dependency for IAM struct to avoid to import codegen code in main go.mod

* Remove pointer

* Remove dependency cycle

* Update tests
2025-01-10 22:43:40 +02:00
Michael Mandrus
c9d22f06c3
CloudMigrations: Bulk update local resources (#96002)
* wip

* make tests pass

* get all tests passing

* fixes

* some small cleanup

* fix test

* convert delimiter keys to struct keys

* dont execute empty sql statement

* remove printlns

* fix unit test

* a bit more cleanup

* whoops
2025-01-10 14:42:18 -05:00
Ezequiel Victorero
99a0eb825d
Revert "Share: Add analytics to invite user flow" (#98838)
Revert "Share: Add analytics to invite user flow (#98617)"

This reverts commit 79cd8ac894.
2025-01-10 16:17:09 -03:00
Ryan McKinley
ed39259461
Search: Replace Origin calls with Repository (#98754) 2025-01-10 20:27:10 +02:00
Matias Chomicki
3eace5f7c8
Loki: Sync query direction with sort order in Explore and Dashboards (#98722)
* Logs: sync direction and sort order for loki queries in explore

* Logs: emit event on sort order change

* Loki query editor: listen to sort change events and update direction

* Loki query editor: unsubscribe to sort event

* Logs: don't publish events in Explore

* LokiQueryBuilderOptions: use stored order as default value when in explore

* Query builder options: initialize query direction

* Logs: unit test

* LogsPanel: update unit test

* Update tests

* LokiQueryBuilderOptions: unit test

* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryBuilderOptions.tsx

Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com>

* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryBuilderOptions.tsx

---------

Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com>
2025-01-10 19:59:03 +02:00
renovate[bot]
90e65f6ce6
Update dependency @rsdoctor/webpack-plugin to v0.4.13 (#98833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 17:48:16 +00:00
Alexander Akhmetov
aaa4fe1fe4
Alerting: handle err-mimir-label-value-too-long as user error in the prom writer (#98783)
Alerting: handle err-mimir-label-value-too-long as user error in the writer
2025-01-10 18:36:05 +01:00
renovate[bot]
d7da75c480
Update dependency @grafana/plugin-e2e to v1.14.6 (#98830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 17:16:41 +00:00
Gabriel MABILLE
bc7e90bc28
AuthZ: Fix client dial options (#98827) 2025-01-10 17:41:56 +01:00
xavi
345757c3ae
Auth: Fix SAML user IsExternallySynced not being set correctly (#98487) 2025-01-10 17:37:37 +01:00
Misi
9df20eda77
Docs: Update SAML docs (#98809)
* Update feature toggle name in SAML docs

* Update SAML docs
2025-01-10 17:32:49 +01:00
renovate[bot]
5f1005aa4f
Update dependency @formatjs/intl-durationformat to v0.7.2 (#98820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 16:32:08 +00:00
Ashley Harrison
2e969686f0
Theme: Extract extra theme definitions into their own directory (#98610)
extract theme definitions into their own directory
2025-01-10 16:31:19 +00:00
Tom Ratcliffe
1ba9a27f70
Chore: Update no-untranslated-strings to check tooltip and template literals (#98281) 2025-01-10 16:26:03 +00:00
Galen Kistler
6568f3669d
Loki Datasource: Don't escape single quotes (#98767)
* fix: remove single quote escape
2025-01-10 10:01:17 -06:00
Haris Rozajac
f3d2313f09
Dashboard SchemaV2: Panel repeater (#98654)
* Wip: working layout for repeaters

* Update schema

* only persist orig panel

* Keep only supported mode and rename repeater function

* refactor dimension calcs

* v1 transformer uses calculateGridItemDimensions
2025-01-10 08:09:06 -07:00
Hugo Kiyodi Oshiro
7499611129
Plugins: Disable version installation for specific plugin types (#98597) 2025-01-10 16:02:09 +01:00
renovate[bot]
67ddadbab9
Update dependency i18next to v24.2.1 (#98816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 14:52:32 +00:00
Ashley Harrison
ee362ed978
Snapshot: Show proper breadcrumb path (#98806)
* fix snapshot breadcrumbs

* cleaner
2025-01-10 14:50:44 +00:00