Ed Welch
ca6281bc31
Loki Expiremental Streaming: fixes nil check conditional which was accidentally inverted in a previous PR ( #97612 )
2024-12-09 17:01:22 +03:00
Alexander Zobnin
cd7772204e
Zanzana: Handle renderer service authorization requests ( #97201 )
...
* Zanzana: Handle renderer service authorization requests
* only add context if render service is authorizing
* use group and resource from API definitions
* check prefix instead of full identity
* fix AddRenderContext
* remove unused type
2024-12-09 11:17:44 +01:00
Ryan McKinley
5f39d2eeb0
K8s: Make GetAPIRoutes an optional interface ( #97531 )
2024-12-07 03:08:18 +03:00
Andreas Christou
9f75a448d4
Azure/GCM: Improve error display ( #96921 )
...
Improve handling of errors
2024-12-06 18:16:23 +00:00
Santiago
f60caf6932
Alerting: Fix alert rules unpausing after moving rule to different folder ( #97580 )
...
Alerting: Fix alert rules unpaused after moving rule to different folder
2024-12-06 14:33:13 -03:00
Gabriel MABILLE
d9cd5a3a2c
Setting: Fix redact of entity db pass ( #97568 )
2024-12-06 17:31:36 +01:00
Ivana Huckova
9a3f8c93dc
AzureMonitor and GCM: Replace deprecated experimental/errorsource ( #97360 )
...
* Update cloud monitoring
* Update azure monitor
* Update test
2024-12-06 16:38:09 +01:00
Ida Štambuk
2e342e5b1b
CloudWatch: Add OpenSearch PPL and SQL support in Logs Insights ( #97508 )
...
Cloudwatch: OpenSearch PPL and SQL support in Logs Insights
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com >
Co-authored-by: Nathan Vērzemnieks <njvrzm@users.noreply.github.com >
2024-12-06 15:27:19 +01:00
Nathan Vērzemnieks
3d856dcb33
fix: mark bucketAgg parse errors as downstream ( #97478 )
2024-12-06 15:02:06 +01:00
Martin Disibio
356c1d3cb2
Tempo: Honor datasource TLS settings for gRPC requests ( #97484 )
...
Tempo gRPC honor same TLS settings as http
2024-12-06 11:48:53 +00:00
Dave Henderson
ced7a84f8b
chore(metrics): Add metrics & traces to DB migration ( #97181 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-12-05 17:22:19 -05:00
Steve Simpson
c440bd2bda
Alerting: Change default for max_attempts to 3. ( #97461 )
...
Currently the default is 1, this means that by default users will see transient
query errors reflected as alert evaluation failures, when often an immediate
retry is sufficient to evaluate the rule successfully.
Enabling retries by default leads to a better experience out of the box.
2024-12-05 21:48:24 +01:00
owensmallwood
9b9cb81199
Unified Storage Search: Check error first after building index ( #97504 )
...
check error first after building index
2024-12-05 21:14:04 +02:00
owensmallwood
39aede9802
Unified Storage: When prom registry is nil, use the default registry ( #97491 )
...
when prom registry is nil, use the default registry
2024-12-05 18:44:58 +02:00
Andreas Christou
addbdb0545
GCM: Correctly mark errors as downstream ( #97196 )
...
* Correctly mark query type error as downstream
* Correctly mark Prom parsing failures as downstream errors
* Rename function for clarity
2024-12-05 15:41:52 +00:00
Misi
f82eea7840
Chore: Extend OrgRoleMapper ( #97336 )
...
* Extend OrgRoleMapper
* Cover mappingCfg eq nil
* Use struct instead of a pointer in MapOrgRoles
2024-12-05 12:14:37 +01:00
Ryan McKinley
8165258a2d
Storage: Query stats within a namespace ( #97403 )
2024-12-05 13:58:13 +03:00
owensmallwood
70c9c3889f
Unified Storage Indexer: Add back metrics ( #97310 )
...
* Adds back indexer metrics. Uses config values instead of hardcoded ones.
* cast to int64
* remove unused func
* Index metrics impl doesn't depend on Bleve. Adds a TotalDocs func to SearchBackend interface.
* adds config setting for index_min_count
* rename arg
* rename metric label to namespace instead of slug
* adds default "do nothing" case to satisfy linter
* moves bleve index metrics to search package
* make bleve backend private, dont need to pass in prom reg
* imports
* adds bleve metrics to resource package to avoid circular deps
2024-12-04 15:02:40 -06:00
Gabriel MABILLE
ef79450065
Settings: Redact token keyword ( #97395 )
...
* Settings: Redact token keyword
* Be more specific
* Given section is part of key, be more specific
* Fix test
2024-12-04 16:58:29 +01:00
Ryan McKinley
b7066aa7dc
Chore: K8s registration cleanup ( #97373 )
...
cleanup
2024-12-04 09:10:31 +03:00
owensmallwood
9642eedce6
Unified Storage: Use tls preferred when grafana db using ssl ( #97378 )
...
When unified storage is using the grafana db (default case for on-prem), if the db is using ssl then set tls=preferred. This fixes an on-prem bug in 11.3.1.
2024-12-03 23:56:13 +02:00
Isabella Siu
f4e108c34f
Cloudwatch: Accept empty string for logstimeout and mark errors downstream ( #96947 )
2024-12-03 15:02:52 -05:00
maicon
7fd8877439
Unistore: Update Folders Endpoint ( #97317 )
...
* Add route for update folders via apiserver
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-12-03 15:33:01 -03:00
Ryan McKinley
9d89d8757f
Search: Build index from resource stats ( #97320 )
2024-12-03 20:20:27 +03:00
Todd Treece
ec454e04c9
Chore: Remove standalone apiserver options ( #97349 )
2024-12-03 11:42:52 -05:00
Ryan McKinley
0ea0c35198
Chore: Remove unused GetDesiredDualWriterMode ( #97359 )
...
remove desired function
2024-12-03 17:42:10 +02:00
Isabella Siu
91bdf733fb
Elasticsearch: Health endpoint should handle http errors ( #96803 )
...
Elasticsearch: health endpoint should handle http errors
2024-12-03 10:37:31 -05:00
Jean-Philippe Quéméner
5bf0872d14
fix(short-url): redirect to main page if not found ( #97347 )
2024-12-03 16:32:53 +01:00
Ivana Huckova
802b96c6f7
Bump github.com/grafana/grafana-plugin-sdk-go to v0.260.1 ( #97329 )
...
* Bump github.com/grafana/grafana-plugin-sdk-go to v0.260.1
* run make update-workspace
* make update-workspace
---------
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
2024-12-03 16:19:43 +01:00
Karl Persson
3a17d0c927
IAM: align AuthInfo interface ( #97228 )
...
* Update to use updated interface
2024-12-03 15:11:17 +01:00
Ryan McKinley
20a27da636
FeatureFlags: Add helper to check against a set of flags ( #97240 )
2024-12-02 21:41:41 +02:00
Carl Bergquist
acf67d5911
Scopes: Merge scopes filters with OR condition in case they overlap. ( #97276 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-12-02 19:16:49 +01:00
Michael Mandrus
8a1b89a5eb
Report Button: Add feature toggle for commit button [Hackathon] ( #97282 )
...
add feature toggle for commit button
2024-12-02 19:08:15 +02:00
Karl Persson
e4fbae03a1
RBAC: remove dead code ( #97234 )
...
This code is unused and always have been
2024-12-02 16:23:51 +01:00
Hugo Kiyodi Oshiro
5e91984f31
Plugins: Use grafana-com sso_api_token ( #97096 )
2024-12-02 16:04:05 +01:00
Ryan McKinley
219411f894
K8s: Upgrade v0.31.1 -> v0.31.3 ( #96964 )
2024-12-02 12:49:24 +02:00
Karl Persson
7b25804b55
K8s: Register group and kinds to internal version to fix apply ( #97184 )
...
* K8s: Register group and kinds to internal version to fix apply
2024-12-02 10:32:34 +01:00
Andres Martinez Gotor
e0935246a3
Preinstall: Allow to set a download URL ( #96535 )
2024-11-29 16:02:33 +01:00
Sven Grossmann
b544b8afff
Loki: Fix a bug when reading frames without values but warnings ( #97197 )
...
* Loki: Fix a bug when reading frames without values but warnings
* Loki: Better bail if fields are less than 2
2024-11-29 15:34:59 +01:00
Ieva
cc0ec349a4
RBAC: Allow passing in user UID when searching for user's permissions ( #97125 )
...
* allow passing in user UID instead of ID when searching for user's permissions
* fix tests
2024-11-28 16:36:26 +00:00
Karl Persson
d64c938749
K8s: Make it possible to register several kinds for a GroupVersion ( #97161 )
...
* Make it possible to register several kinds for a GroupVersion
2024-11-28 16:31:05 +01:00
Karl Persson
c5d3f8644e
K8s: Set custom config ( #97169 )
...
Set custom config
2024-11-28 16:30:43 +01:00
Karl Persson
b2626a2d65
LoginAttempt: Add setting to control max number of attempts before user login gets locked ( #97091 )
...
* Add setting to adjust number of login attempts before user login gets locked
* Ensure at least one attempt can be made
* Update documentation with new setting
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
2024-11-28 14:33:18 +01:00
Matheus Macabu
f2b96593ea
SQL: close rows to release connection ( #97147 )
...
* SQL: close rows to release connection
* dont return err from rows.Close()
2024-11-28 14:28:55 +01:00
Georges Chaudy
f6124344ba
authnz: Fix panic in the authenticator and rename metric ( #97150 )
...
* Fix: panic
* suggestion
2024-11-28 14:03:54 +02:00
Kévin Gomez
c8d3ea58f8
Support importing local cue modules when generating TS types with cog ( #96876 )
...
* Support importing local cue modules when generating TS types with cog
* Generate enums as unions of values instead of an actual `enum` statement
* Update transformers to use the new TS enums
* Update go workspaces
---------
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com >
2024-11-28 10:45:31 +01:00
Alexander Zobnin
c8caf787d4
Zanzana: handle service accounts ( #97123 )
...
* add service account to the schema
* sync managed permissions for service accounts
* sync SA basic roles
* sync SA roles
* Fix endless loop in reconciler while read openfga
2024-11-28 10:41:30 +01:00
Mihai Doarna
feecd30687
API key: Fix API key migration to service account ( #97100 )
...
fix api key migration to service account
2024-11-28 09:42:58 +02:00
Sarah Zinger
4b234c4795
Add logging to legacy datasource look up path ( #97065 )
2024-11-27 14:32:06 -05:00
Adam Yeats
b898a4540d
Azure Monitor: Add a feature flag to toggle user auth for Azure Monitor only ( #96858 )
...
* Azure Monitor: Add a feature flag to toggle user auth for Azure Monitor only
* Fix condition for userIdentityEnabled
* Re-add removed test
* Remove unused prop
* Refactor onAuthTypeChange in AzureCredentialsForm
* Add frontend unit tests
* Lint
2024-11-27 14:01:54 +00:00