Yuri Tseretyan
d79822db37
[v11.2.x] Chore: Add go workspace scripts ( #92297 )
...
Chore: Add go workspace scripts (#91707 )
(cherry picked from commit 7f155b2b6f )
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
2024-08-22 10:51:46 -04:00
Yuri Tseretyan
8c1926a422
Revert "update open API"
...
This reverts commit 00ff74cc96 .
2024-08-22 10:05:40 -04:00
Todd Treece
00ff74cc96
update open API
2024-08-22 10:02:46 -04:00
grafana-delivery-bot[bot]
5b5d067df0
[v11.2.x] Chore: Remove depguard rule skip in apiserver ( #92287 )
...
Chore: Remove depguard rule skip in apiserver (#91705 )
(cherry picked from commit f463d622d0 )
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
2024-08-22 16:25:09 +03:00
Andreas Christou
d76b8f6ca8
[v11.2.x] Bump grafana-azure-sdk-go and related dependencies ( #92236 )
...
Bump grafana-azure-sdk-go and related dependencies (#91124 )
* Bump Azure SDK and related dependencies
* Update go.mods
* update-workspace
* Update go files
(cherry picked from commit 24c9aad5bb )
# Conflicts:
# go.mod
# pkg/apimachinery/go.sum
# pkg/apiserver/go.sum
# pkg/promlib/go.sum
2024-08-21 21:10:16 +01:00
Todd Treece
b4126d3bce
Chore: Update k8s.io dependencies ( #91692 )
2024-08-08 18:39:44 +03:00
Leonor Oliveira
fb9903ed7c
Allow to watch from the dual writer ( #91375 )
...
* Allow to watch from the dual writer
* Remove comments
* Lint
2024-08-01 15:09:51 +02:00
Todd Treece
e890279dcf
Chore: Add go work sync to workspace update ( #91360 )
2024-08-01 00:06:05 +03:00
Leonor Oliveira
8345af928c
[Dual writer] Read kind value passed as dualwriter's argument ( #91113 )
...
* Include kind on the dualwriter to be used on metrics
* Use kind as argument
* Skip dual writer in mode4
2024-07-29 13:57:44 +02:00
Leonor Oliveira
6a1e835f12
Get kind from runtime.Object. Unify metric names ( #91041 )
...
* Normalize name labels
* Access kind
* Read kind from the runtime object instead from the options object
* use kind from object on create
2024-07-29 09:58:48 +02:00
Ryan McKinley
9db3bc926e
Identity: Rename "namespace" to "type" in the requester interface ( #90567 )
2024-07-25 12:52:14 +03:00
Santiago
b79b38f02c
Alertmanager: Support limits for silences ( #90826 )
...
* Alertmanager: support limits for silences
* update grafana/alerting to latest main
2024-07-24 14:22:29 +02:00
Leonor Oliveira
ec343f276f
Dual writer: mode 4 ( #90581 )
...
* Itroduce watcher and mode4
* Logging
* Mode4 should be initialized from the dual writer for observability
* Comment watch while it's not implemented
* Lint
* Use mode log when dual writer is initiated
* Use error from logger
2024-07-24 14:10:10 +02:00
Leonor Oliveira
67b74e1e8a
Dual writer: mode 3 ( #90045 )
...
* Dual writer: mode 3
* Add integration tests for playlits in mode 3
* Remove todo
* Update pkg/apiserver/rest/dualwriter_mode3.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Admin: Fixes an issue where user accounts could not be enabled (#88117 )
Fix: unable to enable user
* [REVIEW] FInish mode 3 and add tests
* Improve logging
* Update dependencies
* Update pkg/apiserver/rest/dualwriter_mode3_test.go
Co-authored-by: maicon <maiconscosta@gmail.com >
* remove test assertion
* Use mode log when dual writer is initiated
---------
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
Co-authored-by: gonvee <gonvee@qq.com >
Co-authored-by: maicon <maiconscosta@gmail.com >
2024-07-24 09:28:14 +02:00
Dave Henderson
f446096eb1
chore(deps): Upgrade openapi dep, remove replace directive ( #90609 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-07-18 14:42:18 -04:00
Ryan McKinley
bb40fb342a
Chore: go mod tidy + sum cleanup ( #90576 )
2024-07-18 07:48:21 -07:00
Ryan McKinley
6e39f24588
Storage: Update storage.Interface for backend ( #90382 )
2024-07-18 07:47:47 -07:00
maicon
93221f12da
Unified Storage: Fix Compare method ( #90455 )
...
* Unified Storage: Fix Compare method
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-07-16 11:36:21 -03:00
Santiago
e097ffc771
Alerting: Update grafana/alerting dependency ( #90365 )
...
* update grafana/alerting to latest main
* update alertmanager to 66ec17e3aa45
2024-07-12 14:05:17 -04:00
Todd Treece
3a51260ef9
K8s: Add file store tests ( #90151 )
2024-07-12 08:54:00 -04:00
Todd Treece
66a384247c
Storage: Fix list in mode 4 ( #90354 )
2024-07-12 08:20:13 -04:00
Charandas
4abb4d1662
ExtJwt: don't log verify errors as they spam for grafana-agent ( #90351 )
...
* ExtJwt: don't log verify errors as they spam for grafana-agent
* remove dead code
* revert unintended change
* revert unintended change
2024-07-11 18:23:43 -07:00
Ryan McKinley
d2bc4f3255
DualWrite: Cleanup and centralize the dual write creation ( #90013 )
2024-07-11 23:23:31 +03:00
Leonor Oliveira
d0afa60feb
Remove unused metric ( #90327 )
2024-07-11 15:31:37 +02:00
Leonor Oliveira
b75276c641
Fix outcome metric ( #90322 )
2024-07-11 13:50:20 +02:00
Marcus Efraimsson
c8af659f02
Plugins: Enhanced plugin instrumentation ( #90199 )
...
* Plugins: Enhanced plugin instrumentation
* use backend.CallResourceResponseSenderFunc
* sdk v0.237.0
* support admission control
* cover all handlers in log and metrics middlewares
* fix after review
2024-07-09 15:03:46 +02:00
Charandas
c210617735
K8s: use contexthandler in standalone handler chain ( #90102 )
2024-07-08 12:22:10 -07:00
Todd Treece
5f9ce12542
K8s: Generic watch tests ( #90023 )
2024-07-05 21:17:20 +03:00
Leonor Oliveira
ec6a939815
Compare results when reading/writing between unified_storage and legacy ( #89773 )
...
* Compare results when reading/writing between unified_storage and legacy
* Always use name when comparing objects
* Compare on get method
* Update pkg/apiserver/rest/dualwriter.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Add new metric to count how many times we read from legacy in mode 2
* Move counter
* Add name in mode1
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-07-05 14:01:05 +02:00
Todd Treece
274bd08afc
K8s: Improve key generation and parsing ( #90014 )
2024-07-04 01:11:45 +03:00
Todd Treece
9c6d3590a2
Chore: Fix apiserver circular dependencies ( #89918 )
2024-07-01 11:42:34 -04:00
Leonor Oliveira
2645958c8c
Use global function to compare any entity to both stores ( #89282 )
...
* WIP implement generic compare interface
* Use global compare fn for all entities
* Lint
* Update pkg/apiserver/rest/dualwriter.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Don't need to hash, just compare bytes
* Fix tests
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-06-26 10:19:40 +02:00
Todd Treece
71270f3203
Storage: Avoid relying on RequestInfo ( #89635 )
2024-06-25 10:06:03 -04:00
Leonor Oliveira
e216de56e6
Unified Storage: Always populate RV and UID on create ( #89554 )
2024-06-21 17:37:53 +01:00
Ryan McKinley
70cd002826
Storage: Make entity to runtime.Object conversion public ( #89549 )
...
* make conversion public
* make conversion public
2024-06-21 16:28:09 +03:00
Ryan McKinley
5e95c1bdf8
Storage: Move grpc helper from entity store to resource store ( #89490 )
2024-06-20 22:32:19 +03:00
Kevin Minehart
78e9226ad8
CI: Add bump-version action to the release PR workflow ( #89491 )
2024-06-20 13:15:09 -05:00
Ryan McKinley
27e800768e
K8s: Improve identity mapping setup ( #89450 )
2024-06-20 17:53:07 +03:00
Andres Martinez Gotor
5f44c97e5f
API Servers: Avoid crashing on panic ( #89281 )
2024-06-20 09:10:03 +02:00
Ryan McKinley
9b7f9ae22e
K8s: Rename origin.key to origin.hash ( #89337 )
2024-06-18 22:27:16 +03:00
Karl Persson
606a74d0af
Zanzana: Initial work to run openFGA as embedded or standalone service ( #89211 )
...
* Zanana: Initial work to run zanana as ebeddedn or standalone
* Add addr settings for when remote client is used.
* sync dependencies
* Lock mysql driver version
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-06-18 10:04:18 +02:00
Leonor Oliveira
1691d80412
Refactor enrichObj function ( #89210 )
2024-06-14 13:13:59 +02:00
Leonor Oliveira
fd44f2ee4f
Init dualwriter metrics ( #89003 )
...
* Pass prometheus registerer to the dual writer
* Fix tests
* Remove unused var
* Fix tests
* Uncomment test
* Remove leading line
* Fix tests. Reuse registerer if there's already one
* Lint
* Improve double registering logic
* Rebase main
2024-06-14 11:01:49 +02:00
Will Browne
74230937f4
Plugins: Update plugin SDK Go to 0.235.0 ( #89153 )
...
update plugin SDK go to 0.235.0
2024-06-13 15:14:39 +02:00
Gabriel MABILLE
afcb5a855c
AuthZ: embed an authorization server ( #89018 )
...
* AuthZ: embed an authorization server
* CODEOWNERS
* Remove swagger
* WIP
* Flatten structure and inject wireset
* sync mod files
* Rename authorization package
* Fix swagger gen
* CODEOWNERS
* Use itf instead of impl
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-06-13 11:41:35 +02:00
Ryan McKinley
3ae95a6eb1
K8s: Update grafana resource metadata accessor ( #89074 )
2024-06-12 14:39:37 +03:00
Leonor Oliveira
b30c81b1ad
Add and fix tests for playlists in mode1 ( #88543 )
...
* Add and fix tests for playlists in mode1
* Make etcd tests pass mode1 for now
* Fix mode1 and add more tests for playlists in mode 1
* Remove repeated test
* Fix test setup
2024-06-10 16:11:01 +02:00
Todd Treece
22989acf95
K8s: Improve response writer error handling ( #88926 )
...
---------
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-06-07 16:10:02 -04:00
Isabella Siu
cd15e9732d
Cloudwatch: Use the metric map from grafana-aws-sdk ( #88733 )
2024-06-06 21:25:54 +03:00
Dave Henderson
ca1379bad3
chore: A few updates for the pkg/build/wire fork ( #88813 )
...
* chore: A few updates for the pkg/build/wire fork
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* chore: run go work sync
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-06 16:09:27 +03:00