Commit Graph

56254 Commits

Author SHA1 Message Date
Laura Fernández
7660fa3921
Unified History: Going to a dashboard page creates two history entries (#98333) 2025-01-10 14:59:06 +01:00
grafana-pr-automation[bot]
6c1cce407a
I18n: Download translations from Crowdin (#98690)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-10 13:45:54 +00:00
Torkel Ödegaard
7639934818
RuntimeDataSource: Support in core for runtime registered data sources (#93956)
* RuntimeDataSource: Support in core for runtime registered data sources

* Added tests for runtime datasource.

* added another test to make sure runtime ds isn't included in datasource list.

* changed so we not are expecting the settings to be returned by name.

* Fixed betterer error.

* fixed type issues.

* updated comment according to feedback.

* will prevent runtime ds registration from overwriting regular ds.

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2025-01-10 14:42:49 +01:00
renovate[bot]
d4de5022eb
Update dependency core-js to v3.40.0 (#98805)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 13:40:26 +00:00
Misi
de290cf6a5
Auth: Fallback to default client authentication setting in AzureAD OAuth (#98798)
Fallback to default client authentication setting for backwards compatibility
2025-01-10 14:21:16 +01:00
Selene
0501ff9079
Codegen: Isolate schema generation code (#98742)
* Create go.mod files for plugins and core kinds

* Update go work and main go.mod dependencies

* Update pfs import

* Missing update of pfs dependency

* Remove fixed cuelang dependency

* Update codeowners

* Update workspace

* Update Dockerfile

* Missing go.mod codeowner

* Use intermediate kin-openapi dependency to make all workspaces to work
2025-01-10 13:33:51 +01:00
renovate[bot]
32cb6d9dab
Update scenes to v5.36.4 (#98797)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 11:57:40 +00:00
renovate[bot]
6e8bbe7964
Update dependency uuid to v11.0.5 (#98796)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 11:29:48 +00:00
Michael Mandrus
7aa747eb7b
CloudMigrations: Enable feature toggle by default in 11.5 (#98686)
* update toggle state for 11.5

* remove unneeded e2c toggle

* remove public preview condition

* regen some stuff
2025-01-10 05:28:35 -06:00
renovate[bot]
ae257246bc
Update dependency glob to v11.0.1 (#98793)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 11:02:30 +00:00
Timur Olzhabayev
50668d527a
Chore: Lift pluginsFrontendSandbox feature toggle to the next stage (#98789)
Move pluginsFrontendSandbox feature toggle to the next stage
2025-01-10 13:00:31 +02:00
Karl Persson
c593b20465
Zanana: Add custom verb for get_permissions and set_permissions. (#98616)
* Add custom verb for get_permissions and update_permissions.

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
2025-01-10 11:49:26 +01:00
renovate[bot]
c62864a7ea
Update dependency @swc/core to v1.10.7 (#98791)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 10:41:04 +00:00
renovate[bot]
fa7f5d1a5c
Update dependency @grafana/plugin-e2e to v1.14.6 (#98788)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 10:20:39 +00:00
Alex Khomenko
16d899f1b0
Announcement banner: Remove feature toggle (#98782) 2025-01-10 12:18:43 +02:00
Andrej Ocenas
41c120ba89
Sidecar: Fix cases when sidecar wouldn't open depending on the first loaded route (#98679)
Update mainOnAllowedRoute even if no activeId
2025-01-10 11:09:12 +01:00
renovate[bot]
a0a32fc5df
Update dependency @prometheus-io/lezer-promql to v0.301.0 (#98770)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 09:49:33 +00:00
Karl Persson
bdb4725768
UserDisplay: Handle both service accounts and user names when resolving "createdBy" (#98719)
* Handle both user and service accounts when resolving identity name for dashboards and folders

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
2025-01-10 10:06:59 +01:00
Konrad Lalik
557820df56
Alerting: Improve k8s error type (#98569)
* Add more checks to isApiMachineryError type guard

* Make the k8s error details property optional
2025-01-10 09:02:36 +01:00
Marcus Andersson
e4b94fce8a
E2E: Updated selectors from 11.4 to target 11.5 (#98784)
Updated selectors to target 11.5.0 since the 11.4 was a special release.
2025-01-10 09:51:56 +02:00
Andrew Hackmann
be1505f2fb
InfluxDB: adhoc filters can use template vars as values (#98567)
---------

Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2025-01-10 09:49:28 +02:00
Stephanie Hingtgen
9488bf2915
Dashboards: use service for quotas (#98756) 2025-01-09 22:21:21 -07:00
Stephanie Hingtgen
e195a56c24
Dashboards: move validation to service (#98769) 2025-01-09 22:28:26 -06:00
Zach Day
0e953a8ff3
Docs: Add 11.4 to supported versions table (#98772) 2025-01-09 17:31:32 -05:00
Scott Lepper
07d3bdbe72
[search] - filter by starred (#98651)
[search] - filter by starred
2025-01-09 16:45:04 -05:00
renovate[bot]
1e9f5367af
Update dependency @bsull/augurs to ^0.8.0 (#98757)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 21:41:26 +00:00
Alex Bikfalvi
cfdc27b4c6
docs(TraceView): Add documentation for span filters as panel options (#98721)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2025-01-09 14:44:30 -05:00
Isabella Siu
5690859f5f
CloudWatch: Fix conditions for fetching wildcards (#98648) 2025-01-09 14:42:06 -05:00
Selene
7cad430ca7
ContactPoints: Remove blank lines prefixes in contact point types (#98590)
Remove blank lines prefixes in contact point types
2025-01-09 19:07:29 +01:00
Yuri Tseretyan
4f62c8a160
Alerting: Update state manager to take image only once per rule evaluation (#98289)
* add test

* update state manager to take image only once per rule evaluation process execution

* update test
2025-01-09 12:57:58 -05:00
Dave Henderson
ee7ffb7a04
chore(deps): remove obsolete prometheus replace directive (#96925)
* chore(deps): remove obsolete prometheus replace directive

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* chore: Replace newly-deprecated call

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

---------

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2025-01-09 12:56:42 -05:00
renovate[bot]
bf8524e5a6
Update dependency typescript to v5.7.3 (#98753)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 17:47:23 +00:00
Andre Pereira
ce1ae404db
Trace View: Set span filters as panel options (#98328)
* Set span filters through panel options WIP

* Replace vars, tags editor, service and span name are now selects

* Fix undefined access

* Fix sync between panel options and span filters component

* Refactor tags input and use it in the plugin options

* Fix options to panel communication

* Rename Tags file. Fix tag values loading in dropdown

* Fix clear tags

* useMount instead of useEffect

* Replace HorizontalGroup with Stack

* Update betterer results

---------

Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com>
2025-01-09 17:47:07 +00:00
Leonor Oliveira
90035f9786
Remove permissions call which would get folders again (#98729)
* Remove permissions call which would get folders again

* Remove comment
2025-01-09 18:45:20 +01:00
renovate[bot]
bad9044745
Update dependency browserslist to v4.24.4 (#98743)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 17:23:28 +00:00
Misi
c52ec21c75
Auth: Add a feature toggle to roll out SAML session improvements (#98750)
Add separate feature toggle to roll out SAML-related external session improvements
2025-01-09 19:02:49 +02:00
colin-stuart
4581a82ac4
Auth: disable passwordless auth if any SAML/OAuth is enabled (#98227)
* Auth: disable passwordless auth if any SAML/OAuth is enabled

* Update pkg/services/authn/authnimpl/registration.go

Co-authored-by: Victor Cinaglia <victor@grafana.com>

* simplify check if any auth providers are enabled

* add accidentally removed break statement, use IsEnabled with empty context to check if PasswordlessMagicLinkAuth enabled

* use IsClientEnabled

* Update pkg/api/frontendsettings.go

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>

---------

Co-authored-by: Victor Cinaglia <victor@grafana.com>
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
2025-01-09 11:44:16 -05:00
margotphelps
9e9adbf5b5
Docs: Add G12 release date to upgrade guide (#98728)
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2025-01-09 11:34:54 -05:00
Andres Martinez Gotor
82892fa034
Plugins: Enable userStorageAPI feature flag by default (#98745) 2025-01-09 18:31:07 +02:00
renovate[bot]
3c0dc15bf0
Update dependency @grafana/plugin-e2e to v1.14.4 (#98737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 15:42:43 +00:00
Sven Grossmann
5a86f032f1
Loki: Only hide a set of labels instead of every label starting with __ (#98730)
Loki: Only hide a set of labels
2025-01-09 16:29:59 +01:00
renovate[bot]
e0121055fb
Update dependency typescript to v5.7.2 (#93749)
* Update dependency typescript to v5.7.2

* typescript fixes

* don't need this change

* remaining typescript fixes

* remove emotion/react aliasing

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2025-01-09 15:20:45 +00:00
Haris Rozajac
6b03adbbb0
Dashboard V2: Snapshot variables and read snapshot (#98463)
* Introduce DashboardScenePageStateManagerLike interface

* Implement dash loader for handling v2 api

* Transformation improvements

* Update response transformer test

* v2 schema: Remove defaultOptionEnabled from ds variable schema

* v2 schema: Make annotations filter optional

* WIP render dashboard from v2 schema

* Force dashbaord scene for v2 api

* V2 schema -> scene meta transformation

* v2 api: Handle home dashboard

* Use correct api client in DashboardScenePage

* Correctly use v2 dashboard scene serializer

* Remove unnecesary type assertions

* Handle v2 dashboard not found

* Fix type

* Fix test

* Some more tests fix

* snapshot

* Add dashboard id annotation

* Nits

* Nits

* Rename v2 api

* Enable snapshot variables

* Support getSnapshotUrl() for v2 serializer

* fix

* Make metadata available in the serializer

* Test

* Decouple meta info

* State Manager: Extract snapshot loading into loadSnapshot

* Fix tests

* Add test for snapshot url

* Don't expose dashboardLoaderSrvV2

* Remove TODO

* Bubble up loading snapshot error to error boundary

* Fix test

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2025-01-09 08:14:41 -07:00
Eric Leijonmarck
78fda78a56
LBAC for datasources: Extend docs to direct to our terraform provider for provisioning of lbac rules (#98678)
* update docs to direct to our terraform provider for provisioning

* run prettier

* Update _index.md

---------

Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
2025-01-09 15:12:32 +01:00
Ryan McKinley
a84ab52cc7
Provisioning: Add resource types (#98727)
Co-authored-by: Mariell Hoversholm <mariell.hoversholm@grafana.com>
Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com>
2025-01-09 17:12:01 +03:00
Oscar Kilhed
56be39ed4f
Dashboards: Fix issue where filtered panels would not react to variable changes (#98718)
* Make sure we activate the parent and tree even if current panel is active

* force activate full scene object tree

---------

Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com>
2025-01-09 14:51:00 +01:00
Esteban Beltran
9e8c1acd00
Docs: Add documentation for auto-triage github action (#97672)
* Add documentation about auto-triager bot

* Add diagram

* Update links to prompts and labels files
2025-01-09 14:58:26 +02:00
Ivan Ortega Alba
9aacc1a04b
Scenes: Upgrade to 5.36.3 (#98661) 2025-01-09 14:56:16 +02:00
renovate[bot]
03ea0e3b3b
Update dependency @rsdoctor/webpack-plugin to v0.4.13 (#98688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 11:35:04 +00:00
Andreas Christou
2860eb52d0
Azure: Improve Azure Prometheus exemplars UI/UX (#97198)
* Add better error messaging

- Ensure it's clear to users what action needs to be taken if an operation ID cannot be found
- Add test

* Display resource picker for trace exemplar queries

* Remove unneeded test

* Update tests
2025-01-09 13:33:47 +02:00