Ryan McKinley
7345ece8ef
with dashboard service
2024-06-27 00:10:30 +03:00
Ryan McKinley
197a837e1e
merge main
2024-06-26 08:48:10 +03:00
Todd Treece
71270f3203
Storage: Avoid relying on RequestInfo ( #89635 )
2024-06-25 10:06:03 -04:00
Ryan McKinley
37edc450a7
Merge remote-tracking branch 'origin/main' into resource-store
2024-06-21 17:38:20 +03: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
ec925bab80
has a watch bridge... but not working
2024-06-21 14:53:23 +03:00
Ryan McKinley
93ef90a1e4
K8s: remove (not great) example api ( #89524 )
2024-06-21 10:23:08 +03:00
Ryan McKinley
75d5ad465e
merge main
2024-06-20 22:26:33 +03:00
Ryan McKinley
83df3bdec8
Merge remote-tracking branch 'origin/main' into resource-store
2024-06-20 18:07:48 +03:00
Ryan McKinley
27e800768e
K8s: Improve identity mapping setup ( #89450 )
2024-06-20 17:53:07 +03:00
Ryan McKinley
0717e39ec2
K8s: Rename origin.key to origin.hash ( #89337 )
2024-06-19 14:57:10 +03:00
Ryan McKinley
9b7f9ae22e
K8s: Rename origin.key to origin.hash ( #89337 )
2024-06-18 22:27:16 +03:00
Ryan McKinley
1a5de75c34
lint fix
2024-06-15 00:42:19 +03:00
Ryan McKinley
31a05d5666
hack hack hack... but working from kubectl
2024-06-15 00:26:45 +03:00
Ryan McKinley
2f64556cf1
almost... but stuck on requester
2024-06-14 23:34:04 +03:00
Ryan McKinley
c1b786c718
cleanup
2024-06-14 23:10:59 +03:00
Ryan McKinley
df9baddf53
move test files
2024-06-14 21:44:33 +03:00
Ryan McKinley
d97d59ab38
Merge remote-tracking branch 'origin/main' into resource-store
2024-06-14 14:55:52 +03: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
Ryan McKinley
1857690bd0
Merge remote-tracking branch 'origin/main' into resource-store
2024-06-12 22:02:53 +03:00
Marcus Efraimsson
1abaa825c6
Tracing: Only enable traces to profiles for api servers for now ( #89126 )
2024-06-12 19:36:31 +03:00
Ryan McKinley
c9c18717f5
packaging
2024-06-12 15:26:12 +03:00
Ryan McKinley
3ae95a6eb1
K8s: Update grafana resource metadata accessor ( #89074 )
2024-06-12 14:39:37 +03:00
Ryan McKinley
0118c7666a
use reflection
2024-06-12 02:20:47 +03:00
Ryan McKinley
5c91e52922
get metadata with reflection
2024-06-12 02:15:05 +03:00
Ryan McKinley
835879aa7a
revert hash key issues
2024-06-12 00:29:52 +03:00
Ryan McKinley
ac39953d0e
basic queries
2024-06-11 23:01:40 +03:00
Will Browne
7d8722b561
API server: Add shutdown func to interface ( #88827 )
...
add shutdown func to interface
2024-06-06 15:18:54 +01:00
Diego Augusto Molina
6fcd7d9e03
Unified Storage: Fix Create, Update and Delete wrt Resource Versions ( #88183 )
...
* add sqltemplate utilities, improve tests and documentation
* bunch of things
* remove unnecessary message
* add queries
* add queries
* add queries
* add folders support
* fix diff
* fix linters
* fix diff
* fix linters
* fix linters
* fix typo
* fix linters
* fix linters
* fix linters
* several fixes
* several fixes
* temporarily disable k8s integration tests for Entity Server
* postpone some tests
* postpone documentation changes
* Fix bug in create
* improve error reporting
* fix PostgeSQL parameters
* fix MySQL sqlmode
* fix MySQL-5.7
* reduce but document the number of database connection options
* remove unused code and improve docs
2024-06-05 14:23:32 -03:00
Ryan McKinley
71be5c6eb4
K8s: Remove action metadata key ( #88591 )
...
* remove action
* remove action
* remove action
* fix test
2024-06-05 07:37:36 +03:00
Arati R
36f42853dd
Storage: Read desired mode from config instead of feature flags ( #88353 )
...
* Read desired mode from config
* Update playlist integration tests
* Add mode 1 playlist integration tests
* Add mode 0 dual writing to playlist integration tests
* Add documentation for the different dual writing modes
2024-05-31 19:29:59 +02:00
Giuseppe Guerra
2b54ce6c51
Chore: Bump google.golang.org/grpc to 1.64.0 ( #88219 )
...
* Bump google.golang.org/grpc to 1.64.0
* Address grpc.Dial deprecation notices
* go mod tidy
* Update go.work.sum
* go work sync
2024-05-27 12:44:39 +02:00
Ryan McKinley
42b0f802de
QueryTypes: Add feature toggle to show query types in datasource apiservers ( #88213 )
...
* initial attempt
* show query types
* show query types
* with formatting
* with formatting
* more cleanup
* add feature toggle
* fix build
2024-05-23 18:46:28 +02:00
Daniele Stefano Ferru
fbda55316d
K8s: Set X-Remote-Extra-User-Instance-Role header for SignedInUser ( #87958 )
2024-05-16 12:57:49 +03:00
owensmallwood
557c3a9cdd
Unified Storage: Adds metrics for database query counts ( #87781 )
2024-05-14 10:17:38 -06:00
Stephanie Hingtgen
bbb4323f7e
K8s: add server run options ( #87784 )
2024-05-14 07:11:11 +03:00
Todd Treece and Ryan McKinley
fa2f6578b3
Chore: Add info about K8s folder structure to README ( #87508 )
...
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-05-09 16:43:07 +03:00
Todd Treece
de438eae2e
K8s: Prevent the use of arbitrary namespaces ( #83636 )
2024-05-08 09:30:08 -07:00
jackyin
ba8b4bde3a
fix ipv6 startup fail #81870 ( #87108 )
...
* fix ipv6 startup fail #81870
* ipv6 startup fail
* ipv6 startup fail
2024-05-06 14:17:03 -04:00
Georges Chaudy
dd0e646e92
k8s: remove dependency on app_mode development ( #85474 )
...
* k8s: remove dependency on app_mode development
* remove dev conditions on storage server
* remove logic to drop entity tables
2024-05-03 11:28:15 +03:00
Arati R and Dan Cech
61f3d08c3f
Storage: Add List support for pagination ( #87093 )
...
* Add origin keys to List request
* Check origin keys requirement in the sql entity server's List method
* Refactor mode 2 List
* Check origin keys before making Storage List call
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-05-01 08:42:47 +02:00
Will Browne
8a5c0cfdc0
Plugins: Pass cancellable context during API server creation ( #86545 )
2024-04-19 09:22:14 +03:00
owensmallwood
8c8885ef23
Storage Api: Adds traces ( #85391 )
...
- adds traces and improved logging to the unified storage server
- add a configurable logger to the gRPC server service
2024-04-16 08:30:51 -06:00
Charandas
a39fe593c2
K8s: remove standalone authenticator in favor of providing one through the factory ( #85901 )
2024-04-11 21:30:23 +02:00
Marcus Efraimsson
3e385763c5
Tracing: Improve HTTP request/middleware spans and standalone apiserver ( #85715 )
...
Fixes so that auth middleware trace/span doesn't wrap the next handlers.
Allow tracing service name to be overridden in standalone apiserver.
Change k8s api tracing operation name to KubernetesAPI from
grafana-apiserver (which is the service name)
2024-04-11 13:28:23 +02:00
Todd Treece
72472e5eb7
K8s: Add slog wrapper ( #84680 )
2024-04-09 18:39:25 +03:00
Dan Cech
5dfe4cf407
Storage: Watch tests ( #85496 )
...
* basic watch tests working
* refactor to read previous event within poller
* add watch test files
* cleanup
* watch tests passing
* debug cleanup
* special handling for canceled context
* cleanup
* fix wire
* fix sqlite_sequence cleanup issue
* move watch tests to integration, wait for provisioned dashboards
* handle context deadline exceeded and eof errors
* add comment about sleep
2024-04-08 11:42:12 -04:00
Todd Treece
c01531dc79
K8s: Use tracing handler from component-base ( #85560 )
2024-04-04 00:39:09 +03:00
Charandas
0f1151964c
K8s: standalone authenticator that allows a type of downstream forwarding ( #85130 )
2024-03-28 20:52:28 +02:00
Dan Cech
ef26fe95dc
Storage: GuaranteedUpdate fix & other improvements ( #85206 )
...
make GuaranteedUpdate work when ignoring not found errors, increase poll frequency, fix Delete
2024-03-27 10:38:49 -04:00