Commit Graph

15232 Commits

Author SHA1 Message Date
Charandas
ea788975e0
K8s: refactor build handler chain func to allow easier injection from enterprise (#100777) 2025-02-15 04:08:00 +02:00
Stephanie Hingtgen
9494e6eb37
K8s: Search fallback: Support tag search (#100767) 2025-02-14 16:57:10 -05:00
Stephanie Hingtgen
b89fd287c7
K8s: Dashboards: Fix history list (#100763) 2025-02-14 22:12:18 +02:00
Will Assis
77fd572973
dont return not found error in mode 2 (#100758)
* dual writer: dont return not found error in mode 2 when failing to find object in unistore
2025-02-14 20:39:51 +02:00
Todd Treece
30ae434a2e
K8s: Support multiple versions in builder (#100331) 2025-02-14 12:29:43 -05:00
Ashley Harrison
39db59fc73
Chore: remove the queryLibraryDashboards toggle since we didn't end up using it (#100749)
remove the queryLibraryDashboards toggle since we didn't end up using it
2025-02-14 16:39:22 +00:00
Mihai Doarna
dc5602bad9
SSO: Fix team_ids validation for Generic OAuth (#100732)
fix team_ids validation in the API
2025-02-14 17:57:28 +02:00
Alexander Akhmetov
cbae35c28b
Alerting: Delete protobuf alert rule state on alert rule deletion (#100736) 2025-02-14 16:56:14 +01:00
Tito Lins
e343cb5ac9
Alerting: Stop running AM integration tests on CI (#100702) 2025-02-14 16:55:20 +01:00
Peter Štibraný
d0394bfa7e
Extract NewSearchOptions from unified sql client setup. (#100719)
* Extract NewSearchOptions from unified sql client setup.

Co-authored-by: Georges Chaudy <chaudyg@gmail.com>
2025-02-14 16:39:48 +01:00
Agnès Toulet
37ee1c427d
Plugins: Upgrade grafana-plugin-sdk to 0.266.0 (#100727) 2025-02-14 16:33:45 +01:00
Jean-Philippe Quéméner
c522a5b13b
fix(unified-storage): proper setup TLS in new db_engine for MySQL (#100686) 2025-02-14 16:23:25 +01:00
Kyle Brandt
4d7b9a3c77
SQL Expressions: Improve response to frame conversion handling (#100625)
- use types.Convert to get a more normalized type returned from GMS. After syncing with GMS maintainers, the underlying type of the row could be different things (e.g. int when unit32, so this calls the Convert method from the GMS types library to normalize the interface.
- Clean up fieldValFromRow more
- Use IsText to capture different string types
- Add more types to test, also update test to use same cmp.Diff method as others

---------

Co-authored-by: Sam Jewell <2903904+samjewell@users.noreply.github.com>
2025-02-14 17:21:08 +02:00
Carl Bergquist
9cff383830
scopenodes: check if the query exists in the title instead of starts with the query (#100578)
scopenodes: check if the string contains the search param instead of limiting to prefix

Signed-off-by: bergquist <carl.bergquist@gmail.com>
2025-02-14 09:21:35 -05:00
Carl Bergquist
23a657a72d
scopes: adds more logging details to the scopedashboard query (#100267)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2025-02-14 09:20:07 -05:00
Kyle Brandt
c291ec7ba9
SQL Expressions: Include SQL Parser/Syntax error in the public message (#100725)
fixes #100721
2025-02-14 09:09:21 -05:00
beejeebus
196a73ec72
influxdb - fix nil pointer usage - fixes #100723 (#100724)
When introducing errorsource over in:

https://github.com/grafana/grafana/pull/99900

I introduced a bug - trying to use a http response with a non-nil error.
In that case, the response is nil, so code panics.

This PR removes that check.
2025-02-14 08:25:26 -05:00
Sonia Aguilar
af8cab9210
Alerting: Add Jira integration to cloud AMs (#100482)
* Add Jira integration to cloud AMs

* Add alertingJiraIntegration feature toggle for jira integration

* Update integration name to Jira Service Management

* address pr comments

* gen ff

* add project to the getReceiverDescription for jira

* Update getReceiverDescription for jira

* update text

* update texts and add required option

* Add conversion for fields jira integration to JSON format in the dto and viceversa

* add tests

* Add translation for jira receiver summary

* Add placeholder for Jira duration option

* move logic cheking integrtion type outside the conversion method

---------

Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2025-02-14 13:22:04 +01:00
Peter Štibraný
1856d47e47
Remove GetResourceClient hack from unified package. (#100636)
* Remove GetResourceClient hack from unified package.
2025-02-14 12:34:52 +01:00
Andrej Ocenas
d092998927
Query Library: Move backend to enterprise (#100371)
* Move files to enterprise

* Remove last parts of QL api

* Fix CODEOWNERS
2025-02-14 11:05:03 +00:00
Georges Chaudy
9d68c4f665
unified: allow customising the ProvideUnifiedStorageClient (#100704)
* unified: allow customising the ProvideUnifiedStorageClient

* fix go mod
2025-02-14 11:26:51 +01:00
Georges Chaudy
b1222be02e
unistore: add small buffer of watched events (#100431)
* change log level

* Add a small buffer when watching events
2025-02-14 12:18:59 +02:00
Karl Persson
d8b26b0a31
Search: Search dashboards without a parent (#100615)
* Search dashboards without a parent
2025-02-14 10:39:57 +01:00
Andres Martinez Gotor
12bb50f97f
Advisor: Make evaluation interval and max history configurable (#100534) 2025-02-14 10:05:34 +01:00
Will Assis
c963032915
search: handle "sharedwithme" use-case in both legacy/US modes (#100286)
* handle "sharedwithme" use-case in both legacy/US modes

* display "Shared with me" as location in dashboard list

* fix missing "TotalHits" prop in mode 2
2025-02-13 15:56:29 -05:00
Stephanie Hingtgen
e2081c3e0c
K8s: Fix legacy fallback provisioning (#100566) 2025-02-13 21:32:25 +02:00
xavi
eeadb7e771
IAM: Log error when malformed json arrays are found in SSO configs (#99896) 2025-02-13 18:02:54 +01:00
linoman
19777ba3e9
Skip flaky test that's breaking the CI pipelines (#100640) 2025-02-13 17:49:21 +01:00
Georges Chaudy
b58b5b5768
grpc: improve grpc logger (#100606)
use proper grpc logging
2025-02-13 17:39:33 +01:00
Will Assis
155492c8a5
search: handle "permission" query param in search (#100607)
handle "permission" query param in search
2025-02-13 11:35:53 -05:00
Gabriel MABILLE
90eb499b78
PublicDashboards: Fetch dashboard as Grafana (#100344) 2025-02-13 17:17:14 +01:00
Todd Treece
5a74a1a0f6
Metrics: Use correct gatherer in graphite bridge (#100624) 2025-02-13 10:19:22 -05:00
Ivan Ortega Alba
527fc3bb21
Dashboards: Remove schemaVersion < min_version validation (#100555) 2025-02-13 06:56:16 -08:00
Yuri Tseretyan
9dd75aee32
Alerting: Refactor State Transition (part 2 of n) (#99985)
* split create to create and patch and move to state

patch will be refactored further

* move setNextState to state transition

* move tests

* split tests for patch function
2025-02-13 09:45:16 -05:00
Karl Persson
a58564a35e
Unified Storage: Register metrics (#100600)
use seperate once struct
2025-02-13 14:24:59 +01:00
Karl Persson
be60ef0500
IDToken: cache invalidation (#100592)
* Make org role part of id token cache key. This way we will always sign a new token when it changes

* Remove calls to remove id token
2025-02-13 14:10:58 +01:00
Ivana Huckova
a69fac6e16
Mark grpc data source timeouts as cancelled queries (#100573)
* Set up to reproduce issue locally

* add check for deadline exceeded

* Revert "Set up to reproduce issue locally"

This reverts commit d8d9b354ca.

* Trigger build

---------

Co-authored-by: Will Browne <will.browne@grafana.com>
2025-02-13 13:40:53 +01:00
Ryan McKinley
3c56e32b0c
K8s/Utils: Find title in unstructured content (#100576) 2025-02-13 14:04:03 +03:00
Karl Persson
1b1954de28
Authz: add support to use folder api to fetch folder tree (#100038)
* Add FolderStore interface

* Authz: add implementation to use folders api and use it inproc with loopback config

* Add tracing and add rest.Config for talking with folder api using access tokens

* Restructure test to get rid of circular dependencies in tests

* use correct group version kind

---------

Co-authored-by: gamab <gabriel.mabille@grafana.com>
2025-02-13 11:59:59 +01:00
Tito Lins
ae9837b793
Alerting: Add alertmanager integration tests (#100106) 2025-02-13 11:36:45 +01:00
Karl Persson
0b4c622df8
AuthN: Refetch user on "ErrUserAlreadyExists" (#100346)
* AuthN: Refetch user on "ErrUserAlreadyExists"
2025-02-13 11:27:57 +01:00
Dominik Süß
8a8e47fcea
PluginExtensions: Added support for sharing functions (#98888)
* feat: add generic plugin extension functions

* updated betterer.

* Fixed type issues after sync with main.

* Remved extensions from datasource and panel.

* Added validation for extension function registry.

* Added tests and validation logic for function extensions registry.

* removed prop already existing on base.

* fixed lint error.

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2025-02-13 10:18:55 +01:00
Karl Persson
df64dd0762
LibraryElements: Propagate service identity in context when searching for dashboards (#100220)
* Propagate service identity in context when searching for dashboards
2025-02-13 09:17:16 +01:00
Mariell Hoversholm
2dee9ccbbc
APIServer: Cancel forked context after handler returns (#100504)
We currently cancel the context when the adapter function is done. We should wait for the entire handler we're wrapping
to finish before cancelling our context.
2025-02-12 23:54:58 -08:00
Ivan Ortega Alba
2b2b19478a
Dashboard V0->V1 Migration: Schema migration v41 (#100554) 2025-02-13 08:19:51 +01:00
owensmallwood
a34e7e176d
Unified Storage: Sprinkles latency metric (#100542)
* add sprinkles latency metric

* fixes failing tests - forgot to register metric only once
2025-02-12 16:22:18 -06:00
Sergej-Vlasov
d1dee968c3
Schema V2: Adjust quick_ranges in time settings and remove time_options (#100135)
* adjut quickRanges type in v2

* clean up unused time_options property

* remove deprecated time_options property on time picker

* add schema migration for time_options

* adjust test
2025-02-12 19:23:09 +00:00
Ivan Ortega Alba
e60e217a23
Dashboard V0->V1 Migration: Schema migration v37 (#99962) 2025-02-12 21:19:57 +02:00
Ivan Ortega Alba
950726a3c5
Dashboard V0->V1 Migration: Schema migration v38 (#99778) 2025-02-12 19:52:39 +01:00
Alexander Akhmetov
3cc4320aa9
Alerting: Add rule conversion package (#100224) 2025-02-12 19:38:48 +02:00