Ryan McKinley
9db3bc926e
Identity: Rename "namespace" to "type" in the requester interface ( #90567 )
2024-07-25 12:52:14 +03:00
Alex Khomenko
8cdf5ee824
E2C: Add Public Preview banner ( #90922 )
...
* E2C: Add public preview message
* Read feedback URL from the settings
* Translate strings
* Add missing translation
* Add missing translation[2]
2024-07-25 12:44:49 +03:00
Sven Grossmann
94dd4105e2
Loki: Allow alert headers to be forwarded ( #90890 )
...
* Loki: Allow alert headers to be forwarded
* Loki: fix tests
---------
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
2024-07-25 07:39:34 +02:00
Michael Mandrus
dc355331a6
CloudMigrations: Store encryption key in unified secrets table ( #90908 )
...
* store encryption key in unified secrets table
* fix local dev mode
* make metadata more realistic
* fix tests
* fix sql queries against postgres
* fix stats endpoint
2024-07-25 06:34:25 +03:00
Ieva
9bb2cf4968
RBAC: Allow omitting default permissions when a new resource is created ( #90720 )
...
* Cfg: Move rbac settings to own struct
* Cfg: Add setting to control if resource should generate managed permissions when created
* Dashboards: Check if we should generate default permissions when dashboard is created
* Folders: Check if we should generate default permissions when folder is created
* Datasource: Check if we should generate default permissions when datasource is created
* ServiceAccount: Check if we should generate default permissions when service account is created
* Cfg: Add option to specify resources for wich we should default seed
* ManagedPermissions: Move providers to their own files
* Dashboards: Default seed all possible managed permissions if configured
* Folders: Default seed all possible managed permissions if configured
* Cfg: Remove service account from list
* RBAC: Move utility function
* remove managed permission settings from the config file examples, change the setting names
* remove ini file changes from the PR
* fix setting reading
* fix linting errors
* fix tests
* fix wildcard role seeding
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
Co-authored-by: jguer <me@jguer.space>
2024-07-24 19:31:26 +03:00
Vardan Torosyan
82236976ae
Add support ticket fixed roles to cloud role sync ( #90864 )
...
* Add support ticket fixed roles to cloud role sync
* Adding tests
* Fix the linter
2024-07-24 17:58:21 +02:00
Jo
93a979d46d
Auth: Fix grafana-auth-app menu not being displayed ( #90882 )
...
Auth: Fix grafana-auth-app menu not being displayed if user only has access to cloud access policies
2024-07-24 15:10:19 +02: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
Sven Grossmann
80b2e793ab
Loki: Remove unnecessary featuremgmt
( #90874 )
...
Loki: Remove unnecessary featuremgmt
2024-07-24 11:00:41 +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
owensmallwood
8fd2245ce6
Grafana: Skip US tests breaking enterprise for now ( #90869 )
...
* skip US tests breaking enterprise for now
* skips rest of tests
2024-07-23 16:08:47 -06:00
Adam Simpson
a7d37d4ed5
azuremonitor: add labels for single resource query ( #90832 )
...
* azuremonitor: add labels for single resource query
* fix tests
2024-07-23 13:31:44 -04:00
Ieva
c2e0952553
Folders: Improve folder move permission checks ( #90588 )
...
* check that a user doesn't have higher plugin access on the destination folder than they have on the source folder when moving folders
* Update pkg/services/folder/folderimpl/folder_test.go
---------
Co-authored-by: Jo <joao.guerreiro@grafana.com>
2024-07-23 17:07:27 +01:00
Julien Duchesne
25f0c70022
OpenAPI: Document the /api/health
endpoint ( #88203 )
...
Document `/api/health` with OpenAPI
To do so, the response build had to be re-implemented as a struct
2024-07-23 09:41:03 -04:00
Dave Henderson
a59c9525c1
notifications: Fix flaky SMTP tests ( #90801 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-07-23 08:22:00 -04:00
Alex Khomenko
8966083132
Pin Nav Items: Add tracking for pinned items clicks ( #90803 )
...
* Pin Nav Items: Add tracking for pinned items clicks
* Update id
* Simplify onClick logic
2024-07-23 14:58:50 +03:00
Ashley Harrison
8f9dc4a923
Navigation: move bodyScrolling
to be public preview ( #90811 )
...
move bodyScrolling to be publicPreview
2024-07-23 10:02:06 +01:00
Michael Mandrus
8e3e64460b
CloudMigrations: Change onPremToCloudMigrations feature toggle to public preview ( #90757 )
...
* update feature toggle stage
* a word
* update docs
2024-07-23 03:30:51 +03:00
William Wernert
45f298120e
Alerting: Return error when writing recorded metrics instead of default writing NaN ( #90743 )
...
* Return error instead of default writing NaN
2024-07-22 15:47:02 -04:00
Jean-Philippe Quéméner
bf09d8f615
chore(tests): skip flaky test ( #90763 )
2024-07-22 21:18:05 +04:00
Diego Augusto Molina
399d77a0fd
Resource server improvements and fixes ( #90715 )
...
* cleanup dependencies and improve list method
* Improve Resource Server API, remove unnecessary dependencies
* Reduce the API footprint of ResourceDBInterface and its implementation
* Improve LifecycleHooks to use context
* Improve testing
* reduce API size and improve code
* sqltemplate: add DialectForDriver func and improve naming
* improve lifecycle API
* many small fixes after adding more tests
2024-07-22 20:08:30 +03:00
Bruno
8d8f2ba587
Cloud migration: encryption key is a byte slice ( #90739 )
...
* Cloud migrations: include metadata returned by CMS in the index file
* Cloud migrations: make EncryptionKey a []byte in structs
* test
2024-07-22 11:25:12 -03:00
Bruno
07685646a3
Cloud migrations: include metadata returned by CMS in the index file ( #90658 )
2024-07-22 10:11:57 -03:00
Georges Chaudy
b2766ece5e
Resource store sql backend watch ( #90480 )
...
* Squashed commit of the following:
commit 3ae9aea0fdc5eef70e16e0ba26f817ca1883ebc9
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Wed Jul 17 23:21:07 2024 +0200
Add group and resource to ListOptions
commit 638441a656d4098343fd72f1942c5845fb50f536
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Wed Jul 17 22:25:35 2024 +0200
poll for resources independently
commit 4c4c88e2d6b69a589a03fc4ea3b287ef557d67a0
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Wed Jul 17 17:39:10 2024 +0200
Update pkg/storage/unified/sql/data/resource_history_poll.sql
Co-authored-by: Dan Cech <dcech@grafana.com>
commit 67f42dbfcaa6b92056c7e6e25f21e870b7fa08e6
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Wed Jul 17 16:01:13 2024 +0200
Update pkg/storage/unified/sql/backend.go
Co-authored-by: Dan Cech <dcech@grafana.com>
commit e869e829d07d6fce6f79f18679680d32fa9491f5
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Wed Jul 17 16:01:06 2024 +0200
Update pkg/storage/unified/sql/backend.go
Co-authored-by: Dan Cech <dcech@grafana.com>
commit 6e498c0cd7434007649fd8de30a7d17e1c425c42
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Tue Jul 16 16:47:35 2024 +0200
Add watch working for multiple resources
commit 0da775e521
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Tue Jul 16 11:14:55 2024 +0200
indent
commit e15d1d060c
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 15 14:41:15 2024 +0200
reindent sql
commit a64f88b0ea
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Fri Jul 12 18:32:13 2024 +0200
Update pkg/storage/unified/sql/backend.go
Co-authored-by: Dan Cech <dcech@grafana.com>
commit dd383150bf
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Wed Jul 10 10:45:56 2024 +0200
lint
commit ccf12406a6
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 9 15:25:54 2024 -0700
merge main
commit 2b4b9f66d3
Merge: df72a61a52
079f0715aa
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 9 15:12:51 2024 -0700
merge main
commit df72a61a52
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 9 15:06:32 2024 -0700
clearnup against smaller upstream
commit 12257d9dfe
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 9 15:03:50 2024 -0700
clearnup against smaller upstream
commit 07b804457e
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Tue Jul 9 21:41:30 2024 +0200
listAtRevision should always use the token from the RV if present
commit 1fc1dd0914
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Tue Jul 9 19:45:44 2024 +0200
Update pkg/storage/unified/sql/backend.go
commit 2207ef10de
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Tue Jul 9 19:44:35 2024 +0200
Update pkg/storage/unified/sql/queries_test.go
commit 36d9099d1a
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Tue Jul 9 15:57:55 2024 +0200
lint
commit 37e0745d7a
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Tue Jul 9 12:26:49 2024 +0200
Fix missing rows.Close()
commit a6538fa8df
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 8 23:54:33 2024 +0200
add resource_history_list test
commit e8214869de
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 8 23:51:14 2024 +0200
add resource_history_list test
commit f6b32c94bd
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 8 23:42:46 2024 +0200
improve tests for pagination
commit d305f1baf4
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 8 22:57:11 2024 +0200
Add pagination
commit c8f516fc55
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 8 21:55:25 2024 +0200
pagination first page
commit f3c554e668
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 8 12:16:16 2024 +0200
watch
commit 68a0cf5d81
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 8 12:12:09 2024 +0200
remove testdataJSON
commit d98da81a42
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 8 11:49:05 2024 +0200
move sqltemplate
commit 80bf285216
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 8 10:49:25 2024 +0200
watch from head
commit 396979bcf6
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 8 10:19:01 2024 +0200
Cleanup
commit 26a2f947e8
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 8 10:04:13 2024 +0200
basic list
commit 4275a01bc2
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 8 00:54:33 2024 +0200
add watch
commit 75c25a527d
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 8 00:51:40 2024 +0200
add watch
commit 774ae238cb
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Sun Jul 7 21:49:44 2024 +0200
Implement SQL store
commit 95ffa3486b
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 20:30:42 2024 -0700
cleanup
commit ab591cf4d1
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 20:25:12 2024 -0700
cleanup
commit aa4901e206
Merge: 36f7610097
40cb4ac30f
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 20:16:34 2024 -0700
merge upstream
commit 40cb4ac30f
Merge: 8f4b3062d6
fe201b6bb2
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 20:02:04 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store-bridge
commit 8f4b3062d6
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 19:23:40 2024 -0700
fix lint
commit 428b90c14b
Merge: 9e5b88c6dd
edc1f50c4e
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 18:46:30 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store-bridge
commit 9e5b88c6dd
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 15:56:28 2024 -0700
add field selectors
commit 8dd8bc85a6
Merge: 59a142095f
de06762852
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 15:44:27 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store-bridge
commit 59a142095f
Merge: 53f16521a7
f70f60efd0
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 14:45:35 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store-bridge
commit 53f16521a7
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 14:45:25 2024 -0700
add doc.go
commit 9fa906ab80
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 14:45:14 2024 -0700
add doc.go
commit 22d3f163df
Merge: d09979b332
411bab6d44
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 13:55:27 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store-bridge
commit d09979b332
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 13:55:12 2024 -0700
check for deleted
commit ddcbc753d3
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 13:38:16 2024 -0700
fix tabs to spaces
commit 2a4fedb6ee
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 10:58:43 2024 -0700
remove sort parsing
commit e728b12ec0
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 10:56:22 2024 -0700
remove watch tests -- key func complications
commit dc163d10cc
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jul 3 08:59:09 2024 -0700
add resource store abstraction
commit 36f7610097
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 2 21:37:01 2024 -0700
using basic storage engine
commit 26ef342b7e
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 2 21:24:53 2024 -0700
renamed to basic
commit ddb5f125f0
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 2 18:21:59 2024 -0700
add sqlobj basic implementation
commit 6a08224725
Merge: 04d57a99e5
5b6edc96d9
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 2 17:47:36 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store
commit 04d57a99e5
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 2 14:47:02 2024 -0700
merge main
commit 33917141f0
Merge: 924c42f707
2a1b620c38
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 2 14:45:45 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store
commit 924c42f707
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 2 14:37:35 2024 -0700
make list preparelist
commit 0db0e13248
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 2 14:37:28 2024 -0700
make list preparelist
commit a3d9f8aab2
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 2 14:08:42 2024 -0700
remove eventID
commit 8c1f60aa8b
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 2 14:08:34 2024 -0700
remove eventID
commit abacd9aef2
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 2 07:36:07 2024 -0700
split off blob store services
commit ddae2b4969
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jul 2 07:23:53 2024 -0700
rename search service to index service
commit a984a4e4f9
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Mon Jul 1 17:03:23 2024 -0700
more lint
commit b25e735c02
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Mon Jul 1 16:04:53 2024 -0700
frontend refactors
commit 1fb97cf417
Merge: fe8a05c648
c3b5cabb14
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Mon Jul 1 15:02:34 2024 -0700
minor lint fixes
commit fe8a05c648
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Mon Jul 1 08:12:28 2024 -0700
minor lint fixes
commit 9f2aae1c48
Merge: ece478e12d
86466aec61
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Mon Jul 1 08:03:18 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store
commit ece478e12d
Merge: f472e95f92
55ba32bda7
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Mon Jul 1 01:41:29 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store
commit f472e95f92
Author: Andres Martinez Gotor <andres.martinez@grafana.com>
Date: Mon Jul 1 09:31:05 2024 +0200
Adapt docs/sources/developers/plugins/plugin.schema.json codeowners (#89832 )
commit 8674d705ea
Author: Sebastian Hiebl <bastidest@mailbox.org>
Date: Sat Jun 29 01:13:34 2024 +0200
TimeSeries: Expose option for "Bar width factor" (#77338 )
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
commit 52d476db05
Author: Leon Sorokin <leeoniya@gmail.com>
Date: Thu Jun 27 18:58:49 2024 -0500
Table: Don't error if first frame is field-less (empty response) (#89867 )
commit cc5b4d6a94
Author: Simon Podlipsky <simon@podlipsky.net>
Date: Fri Jun 28 00:53:43 2024 +0300
Dockerfile: Fix go deps (#89857 )
Add missing deps
commit 7c86705b9b
Author: Adela Almasan <88068998+adela-almasan@users.noreply.github.com>
Date: Thu Jun 27 15:49:20 2024 -0600
VizTooltip: Hide tooltip options from when tooltip is hidden (#89864 )
commit aa9299c4d7
Author: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
Date: Thu Jun 27 17:16:57 2024 -0400
Docs: Add tooltip options to histogram v11.2 (#89863 )
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com>
commit f90168f500
Author: Nathan Marrs <nathanielmarrs@gmail.com>
Date: Thu Jun 27 14:43:10 2024 -0600
Chore: Lint json files in .github directory (#89861 )
commit 0f65c06cfe
Author: Nathan Marrs <nathanielmarrs@gmail.com>
Date: Thu Jun 27 14:22:15 2024 -0600
Chore: Update DataViz github automation (#89852 )
commit 058538287f
Author: Lucy Chen <140550297+lucychen-grafana@users.noreply.github.com>
Date: Thu Jun 27 15:36:23 2024 -0400
ShareModal: Export options (JSON) (#87082 )
* Adding new export button
* Create Export as JSON drawer
* update scene drawer and add css
* update css
* Update ExportAsJson to be regular react component
* add tests to export menu and button
* add tests
* prettier and lint
* fix translations
* update translation
* Apply suggestions from code review
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
* delete extra file
* Update to use SceneObject
* add spinner
* Rename ExportAsJSON.tsx to ExportAsJson.tsx
* update i18n
* Upate texts
* small fixes from code review
* add space
* i18n
* fix build issues
* changes from review feedback
* update test
* update test
---------
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
commit 79092ebc6a
Author: Juan Cabanas <juan.cabanas@grafana.com>
Date: Thu Jun 27 14:30:33 2024 -0300
ShareDrawer: Schedule Report (#89802 )
commit d842178c6a
Author: linoman <2051016+linoman@users.noreply.github.com>
Date: Thu Jun 27 18:29:16 2024 +0200
SAML: Add Azure AD configuration for SAML integration (#89767 )
* Add Azure AD configuration for SAML integration
commit 920756f797
Author: Ashley Harrison <ashley.harrison@grafana.com>
Date: Thu Jun 27 16:43:43 2024 +0100
Storybook: Add basic e2e verification test (#89779 )
* add very basic tests to verify storybook builds correctly
* add storybook step to drone
* reorder steps
* drone tweaks
* don't need host since it's set in env
* don't need to wait
* format build.star and readd wait
* install netcat in CI
* do a yarn install here to get correct bindings
* refactoring to hopefully work better in CI
* add wait-on
* add verbose logging
* localhost?
* more logging
* specify storybook host
* ...
* back to grafana-server
* does this work? 🤔
* run storybook e2e test after rgm-package so the backround process is running for less time
* split into separate step
* format
commit a760dad1e3
Author: Ivan Ortega Alba <ivanortegaalba@gmail.com>
Date: Thu Jun 27 17:26:38 2024 +0200
VizPanelManager: Adapt color palete after plugin change (#89790 )
* VizPanelManager: Adapt color palete after plugin change
* Upgrade scenes
* Remove broken code
* Upgrade scenes version
* linter
commit c8ce20a807
Author: Ida Štambuk <ida.stambuk@grafana.com>
Date: Thu Jun 27 17:10:28 2024 +0200
Cloudwatch: Round up endTime in GetMetricData to next minute (#89341 )
* Add cloudWatchRoundUpEndTime feature toggle
commit 17ebc9614b
Author: Kristina <kristina.durivage@grafana.com>
Date: Thu Jun 27 09:46:49 2024 -0500
Explore / Query Library : Show user data (#88258 )
* Add basic button for adding a query template
* Add hook to create a template
* Handle notifications
* Add tags to invalidate cache
* Generate translations
* Updates types
* Add tests
* Simplify code
* Add user to type
* Add a better default title
* bring in piotrs pr and try to add user data
* Move out of metadata (reserved in k8s) and make new values exportable
* Show user data
* Fix bad merge
* WIP
* Add annotation data to FE
* add (failing) test
* Fix types and test
* Cleanup
* Enhance user data and send to component for display
* Fix type
* Fix expected values
* fix betterer
* Fix test
* Remove user lookup
* testing slug usage for api
* Revert "testing slug usage for api"
This reverts commit cc4556c3b7
.
* change types, display userid if login isnt returned
* Simply display whatever is in property
* skip test on removed logic
* Try waiting for query to finish before eval
* Revert "Try waiting for query to finish before eval"
This reverts commit 6220cabd17
.
* Handle attribute not existing when storage type is file
---------
Co-authored-by: Piotr Jamroz <pm.jamroz@gmail.com>
commit 91895e4835
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu Jun 27 17:43:59 2024 +0300
Chore(deps): Bump github.com/alicebob/miniredis/v2 from 2.30.1 to 2.33.0 (#88588 )
Bumps [github.com/alicebob/miniredis/v2](https://github.com/alicebob/miniredis ) from 2.30.1 to 2.33.0.
- [Release notes](https://github.com/alicebob/miniredis/releases )
- [Changelog](https://github.com/alicebob/miniredis/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alicebob/miniredis/compare/v2.30.1...v2.33.0 )
---
updated-dependencies:
- dependency-name: github.com/alicebob/miniredis/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit ed6c948db0
Author: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Date: Thu Jun 27 14:17:21 2024 +0100
Dashboards: Change datemath parse logic so parsed dates always take timezone into account (#88182 )
* Dashboards: Change datemath parse logic so parsed dates always take timezone into account
commit 523d999414
Author: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com>
Date: Thu Jun 27 14:00:42 2024 +0200
Alerting: Use runtime data source for getting events from alert state history in the bar chart (#89307 )
* Use runtime data source for getting events from alert state history in the bar chart
* extract translations
* refactor
* More refactor
* Update events limit
* Add info icon with tooltip info for label querying filter
* Add translations
* Create new useRuleHistoryRecords hook skipping extraction of common labels as they are not used
* Fix test
* update limit value for the events in the api to 5000
* Use state for rows key
* remove React import
* Address review comments
* Address review comments
* run prettier
* Remove duplicated handlers
commit c3337c39b1
Author: Laura Benz <48948963+L-M-K-B@users.noreply.github.com>
Date: Thu Jun 27 14:00:12 2024 +0200
RestoreDashboards: Add search (#89692 )
* feat: add search
* feat: run i18n extraction
* refactor: styling issue for smaller screen sizes
commit 06084f0ed1
Author: Alexander Zobnin <alexanderzobnin@gmail.com>
Date: Thu Jun 27 13:57:06 2024 +0200
Zanzana: Initial schema loading (#89492 )
* Zanzana: Dummy schema loading
* Load authorzation model for client
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
commit ddea4ba8b2
Author: ismail simsek <ismailsimsek09@gmail.com>
Date: Thu Jun 27 13:33:35 2024 +0200
Chore: Remove CancelablePromise (#89564 )
* Remove CancelablePromise.ts as it wasn't used in anywhere
* Move cancelable-promise to the place where it is used
commit 177747ecda
Author: Jack Westbrook <jack.westbrook@gmail.com>
Date: Thu Jun 27 12:42:42 2024 +0200
Grafana/data: Remove barrel files part 1 (#89556 )
* chore(grafana-data): remove dataframe barrel file and update all imports and exports
* chore(grafana-data): remove field barrel file and update imports n exports
* chore(grafana-data): remove utils barrel file and update imports and exports
* chore(grafana-data): remove tranformations barrel file and update imports n exports
* chore(grafana-data): remove imports from root index.ts
* chore(grafana-data): remove valueFormats barrel file and update imports n exports
* chore(grafana-data): don't import from root barrel file
commit c3b16639bc
Author: Ashley Harrison <ashley.harrison@grafana.com>
Date: Thu Jun 27 11:15:15 2024 +0100
Keybinds E2E: simplify keybinds e2e even further (#89819 )
simplify keybinds e2e even further
commit 8b7a891db4
Author: AHeinlein <AHeinlein@users.noreply.github.com>
Date: Thu Jun 27 12:07:30 2024 +0200
Docs: Update LDAP doc for debug view (#89522 )
Update LDAP doc
LDAP debug view does not work with single bind since there is no way to bind to the LDAP server and perform the search.
commit cb31a1b6ff
Author: Tom Ratcliffe <tom.ratcliffe@grafana.com>
Date: Thu Jun 27 10:33:40 2024 +0100
Alerting: Update warning message for Telegram parse_mode and default to empty value (#89630 )
commit 3ef048cdd7
Author: Sergej-Vlasov <37613182+Sergej-Vlasov@users.noreply.github.com>
Date: Thu Jun 27 12:06:07 2024 +0300
DashboardScenes: Disable flaky new-datasource-variable e2e test (#89817 )
disable flaky new-datasource-variable e2e test
commit e09c1c7515
Author: brendamuir <100768211+brendamuir@users.noreply.github.com>
Date: Thu Jun 27 10:10:34 2024 +0200
Alerting docs: adds silence RBAC 11.1 (#89176 )
* Alerting docs: adds silence RBAC 11.1
* ran prettier
* Improve docs with new rule-specific silence RBAC information
* Apply suggestions from code review
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Apply suggestions from code review
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* prettier
---------
Co-authored-by: Matt Jacobson <matthew.jacobson@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
commit 1aeceb9d9a
Author: Alexander Akhmetov <me@alx.cx>
Date: Thu Jun 27 09:45:15 2024 +0200
Alerting: Add setting for maximum allowed rule evaluation results (#89468 )
* Alerting: Add setting for maximum allowed rule evaluation results
Added a new configuration setting `quota.alerting_rule_evaluation_results` to set the maximum number of alert rule evaluation results per rule. If the limit is exceeded, the evaluation will result in an error.
commit e96b1c0b42
Author: Georges Chaudy <chaudyg@gmail.com>
Date: Mon Jul 1 10:32:37 2024 +0200
Add unified-next-grpc (#89891 )
commit afe0848d16
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 27 13:11:10 2024 +0300
history UI
commit 2fab168fb1
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 27 12:08:46 2024 +0300
history UI
commit 1043efe3db
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 27 11:26:42 2024 +0300
rename to legacy
commit d452e53ce3
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 27 10:53:08 2024 +0300
avoid key from context
commit 19496ceed5
Merge: b71329a8c3
be1414b36b
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 27 10:19:58 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit b71329a8c3
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 27 10:09:59 2024 +0300
history in resource package
commit 37c6b56e4e
Merge: 80fa46b225
9056ff73f6
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 27 08:49:46 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 80fa46b225
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 27 08:49:24 2024 +0300
history from SQL query
commit 4d49cc3118
Merge: 999cd506c0
ed13959e33
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 27 07:35:23 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 999cd506c0
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 27 01:20:29 2024 +0300
now with dashboard history
commit 7345ece8ef
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 27 00:10:30 2024 +0300
with dashboard service
commit 86a7064334
Merge: f68390bebf
ba4f2713c5
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 26 16:04:23 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit f68390bebf
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 26 16:04:08 2024 +0300
not rest.Storage
commit cfc192a2b5
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 26 12:53:57 2024 +0300
more utils
commit 197a837e1e
Merge: 44a134f72b
4651506319
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 26 08:48:10 2024 +0300
merge main
commit 44a134f72b
Merge: bac63d0edb
f5d9c247d9
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Mon Jun 24 20:55:15 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit bac63d0edb
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 21 17:39:19 2024 +0300
remove old comment
commit 37edc450a7
Merge: af38567ea5
b62f8c0f19
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 21 17:38:20 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit af38567ea5
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 21 14:55:40 2024 +0300
remove unimplemented functions
commit ec925bab80
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 21 14:53:23 2024 +0300
has a watch bridge... but not working
commit b771d38d78
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 21 11:13:35 2024 +0300
with build changes
commit 37c2dade15
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 21 09:58:38 2024 +0300
writing to SQL
commit bb7d6d44cd
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 21 09:24:44 2024 +0300
with setup flags
commit c2c9449629
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 21 09:09:01 2024 +0300
working
commit d67f83a1f3
Merge: b07c4e4210
61a102274d
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 21 07:49:24 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit b07c4e4210
Merge: 09741a3f49
b075926202
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 21 00:52:10 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 09741a3f49
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 20 23:05:13 2024 +0300
merge main
commit 8a6d2e9b6e
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 20 22:50:08 2024 +0300
merge main
commit 63ebf7b12e
Merge: 75d5ad465e
5e95c1bdf8
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 20 22:34:38 2024 +0300
merge main
commit 75d5ad465e
Merge: 83df3bdec8
d988f5c3b0
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 20 22:26:33 2024 +0300
merge main
commit 83df3bdec8
Merge: a115bb6214
27e800768e
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 20 18:07:48 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit a115bb6214
Merge: c17140f263
13e069b5af
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 20 17:05:36 2024 +0300
merge main
commit c17140f263
Merge: 3a6e7dc3f0
5d328983a1
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 19 22:59:26 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 3a6e7dc3f0
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 19 22:09:33 2024 +0300
go mod tidy
commit 040f392018
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 19 22:01:10 2024 +0300
Storage: Add cdk blob support to ResourceStore (#89408 )
commit 3e85f87db6
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 19 15:15:37 2024 +0300
Storage(NG): Move message and operation from protobuf to annotations (#89359 )
commit 0b29ca5eac
Merge: 0717e39ec2
b3907ca5ec
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 19 14:57:21 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 0717e39ec2
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jun 18 22:27:16 2024 +0300
K8s: Rename origin.key to origin.hash (#89337 )
commit 4b4afa1fa7
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jun 18 21:19:21 2024 +0300
more cleanup
commit 9f6709c167
Merge: 7e171702f4
b0c043de5f
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jun 18 21:17:30 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 7e171702f4
Merge: 760848d203
890482052a
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jun 18 16:08:30 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 760848d203
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jun 18 16:07:55 2024 +0300
Storage (resource): Mutate object in storage, not k8s (#89331 )
commit 5e4fa5d735
Merge: 4cde5bd59f
ea7f6ea32f
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jun 18 08:44:04 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 4cde5bd59f
Merge: 549ecfe053
5f83fdef2c
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jun 18 07:27:05 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 549ecfe053
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Sat Jun 15 00:49:06 2024 +0300
lint fix
commit 1a5de75c34
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Sat Jun 15 00:42:19 2024 +0300
lint fix
commit 31a05d5666
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Sat Jun 15 00:26:45 2024 +0300
hack hack hack... but working from kubectl
commit 2f64556cf1
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 23:34:04 2024 +0300
almost... but stuck on requester
commit c1b786c718
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 23:10:59 2024 +0300
cleanup
commit d8abf8d851
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 22:53:10 2024 +0300
entity bridge
commit d5f3038421
Merge: df9baddf53
8491e02caf
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 21:48:25 2024 +0300
merge main
commit df9baddf53
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 21:44:33 2024 +0300
move test files
commit 617dd1b40e
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 21:30:41 2024 +0300
add basic list
commit 8108e90fe2
Merge: ef3a601109
15c81b2a8b
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 17:42:18 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit ef3a601109
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 17:42:15 2024 +0300
update the event type messages
commit 55d1e8ad1d
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 17:41:16 2024 +0300
update the event type messages
commit a01f8dd099
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 16:52:17 2024 +0300
remove rv from key and update watch signature
commit e78a5122ce
Merge: 504d84b8b2
90c3d74955
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 16:19:53 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 504d84b8b2
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 15:21:28 2024 +0300
with storage wrapper
commit 4fa60b6546
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 15:21:17 2024 +0300
with storage wrapper
commit d97d59ab38
Merge: f66768c67d
2dd44e2f58
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 14:55:52 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit f66768c67d
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 14:24:36 2024 +0300
now with a base server implementation
commit 4a41f7d0dd
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 14:24:26 2024 +0300
now with a base server implementation
commit 68003738fd
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 11:28:15 2024 +0300
use partial object metadata
commit fc82089987
Merge: 9478befbcd
dd3c3b5857
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 10:57:16 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 9478befbcd
Merge: 19481990d1
2173429ce2
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 09:08:14 2024 +0300
merge main
commit 19481990d1
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 09:06:44 2024 +0300
merge main
commit 29714d87fe
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 02:12:35 2024 +0300
use a path hash for the blob table
commit 382d5d4e01
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Fri Jun 14 02:04:21 2024 +0300
add fs based store
commit 15b958b2d1
Merge: a03a978eb4
e2f65dda0c
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 22:56:34 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit a03a978eb4
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 22:37:29 2024 +0300
maybe happier
commit 79aed54c2c
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 22:12:55 2024 +0300
more body prep
commit 1540c98fe1
Merge: f54af3d371
9d3a4e236d
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 21:19:51 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit f54af3d371
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 20:12:53 2024 +0300
sum cleanup
commit a0f682b315
Merge: 2197a0e5e8
eb535e163d
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 20:05:01 2024 +0300
merge main
commit 2197a0e5e8
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 16:02:06 2024 +0300
update workspace
commit b696b6a32a
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 15:53:06 2024 +0300
update go.mod
commit 8f44e1a349
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 15:49:41 2024 +0300
lint fixes
commit c1798320d2
Merge: b44333730f
afcb5a855c
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 14:27:42 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit b44333730f
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 14:26:57 2024 +0300
now with basic test
commit f481f11d3a
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 09:11:10 2024 +0300
change tree structure
commit e7c15b0e96
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 08:42:00 2024 +0300
merged main and moved folder structure
commit 09e8605f14
Merge: 40829d645c
99d8025829
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 07:14:54 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 40829d645c
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Thu Jun 13 07:08:54 2024 +0300
include client wrapper
commit 1857690bd0
Merge: c9c18717f5
ed400f0bbf
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 12 22:02:53 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit c9c18717f5
Merge: ad79d44db8
3ae95a6eb1
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 12 15:26:12 2024 +0300
packaging
commit ad79d44db8
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 12 14:44:21 2024 +0300
adding package
commit f8a2a83d59
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 12 14:44:18 2024 +0300
adding package
commit 7b6e4d5da4
Merge: 16471fa057
58f7032b39
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 12 14:21:41 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 16471fa057
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 12 13:02:06 2024 +0300
now with event setup
commit d83aa7f865
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 12 02:44:49 2024 +0300
is_current
commit df148ca9ea
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 12 02:21:05 2024 +0300
use reflection
commit 0118c7666a
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 12 02:20:47 2024 +0300
use reflection
commit 5c91e52922
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 12 02:15:05 2024 +0300
get metadata with reflection
commit af86293d87
Merge: 4dc3d0ee7f
465efbf802
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 12 00:48:13 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 4dc3d0ee7f
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 12 00:34:40 2024 +0300
update
commit 835879aa7a
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Wed Jun 12 00:29:52 2024 +0300
revert hash key issues
commit ac39953d0e
Author: Ryan McKinley <ryantxu@gmail.com>
Date: Tue Jun 11 23:01:40 2024 +0300
basic queries
* remove old file
2024-07-22 16:07:12 +03:00
Ida Štambuk
5b17cd93c5
Cloudwatch: Remove awsDatasourcesNewFormStyling feature toggle ( #90128 )
...
* Remove toggle from cloudwatch plugin
* Remove feature toggle from registry
---------
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com>
2024-07-22 14:48:17 +02:00
Joao Silva
546f4aa700
Navigation: Show list of pinned items on MegaMenu ( #90280 )
...
* Navigation: Show list of pinned ites on the navigation
* Rename section to 'Bookmarks'
* Internationalization
* Rename everything to bookmarks
* Update public/app/core/reducers/navBarTree.ts
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Ignore empty message as well
* Dont update navigation if there is an error patching
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2024-07-22 11:43:40 +01:00
Ieva
4c7d8c8cdd
RBAC: Refactor RBAC plugin interface code ( #90679 )
...
move plugin RBAC registration ifaces to pluginsintegrations
2024-07-22 09:31:36 +01:00
Piotr Jamróz
042c239a56
Query History: Enable query history test ( #90597 )
...
* Enable query history test
* Fix time range in the test
2024-07-22 09:22:41 +02:00
Michael Mandrus
ee90cd3031
CloudMigrations: Send local events to gms during the migration process ( #90637 )
...
* add gms client function
* add timeout config for endpoint
* report events to gms
* fix lint error
* clean up report calls and make sure reports all have local ids
* extra validation
* improve error logging and fix url
2024-07-20 07:02:31 +03:00
Kristina
a0268a9ad2
Query History: Prevent viewers from accessing ( #88735 )
...
* Add permissions check for viewer without viewers_can_edit
* Add test
* fix lint
* Add role checks on other handlers
* Linter and fix Go issue
* Fix conflict
* Remove invalid way of testing for error
2024-07-19 14:44:58 -05:00
Stephanie Hingtgen
3fcc7f412b
Loki Datasource: Fix getting the feature toggles in MT mode ( #90684 )
2024-07-19 20:37:46 +03:00
Eric Leijonmarck
248af65f9c
Actionsets: Add ability for plugins to add actions for core actionsets (i.e. folders:edit
) ( #88776 )
...
* initial commit
* Action sets stored
remove the dependancy for actionsets
got the actionsets registered
storing the permissions
* fix golanglinting
* remove unused struct field
* wip
* actionset registry for a plugin from the actionsetservice
* update to make declareactionset the primary way of plugin registration and modification
* declare actually extends actionsets
* tests fixed
* tests skipped
* skip tests
* skip tests
* skip tests
* skip tests
* change to warning instead
* remove step from pipeline to see if it fails due to plugin not registering
* reintroduce step but remove features dependancy
* add back the tests that were failing
* remove comments and another skip test
* fix a comment and remove unneeded changes
* fix and clean up, put the behaviour behind a feature toggle
* clean up
* fixing tests
* hard-code allowed action sets for plugins
* Apply suggestions from code review
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* small cleanup
---------
Co-authored-by: IevaVasiljeva <ieva.vasiljeva@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2024-07-19 16:16:23 +01:00
AvivGuiser
96c3e9c550
Alerting: Use stable identifier of a group when export to HCL ( #90196 )
...
* change the rule-group to be hashed when exporting to HCL
Signed-off-by: Aviv Guiser <avivguiser@gmail.com>
---------
Signed-off-by: Aviv Guiser <avivguiser@gmail.com>
2024-07-19 18:13:26 +03:00
Nathan Vērzemnieks
f8c43d0bf3
Elasticsearch: Decouple backend from infra/tracing ( #90528 )
2024-07-19 09:26:10 +02:00
Nathan Vērzemnieks
9caa8151d8
Elasticsearch: Decouple backend from infra/log ( #90527 )
2024-07-19 08:51:18 +02:00
Nathan Vērzemnieks
269d54c984
Elasticsearch: Decouple backend from infra/http ( #90408 )
2024-07-19 08:01:41 +02:00
Dave Henderson
05b66aac5f
notifications: Fix confused trace spans in SMTP client ( #90559 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-07-18 23:20:40 -04:00
Alexander Weaver
418b077c59
Alerting: Integration testing for recording rules including writes ( #90390 )
...
* Add success case and tests for writer using metrics
* Use testable version of clock
* Assert a specific series was written
* Fix linter
* Fix manually constructed writer
2024-07-18 17:14:49 -05: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
Alexander Weaver
0e269db8a9
Alerting: Expose recordingWriter on ngalert ( #90573 )
...
Expose recordingWriter on ngalert
2024-07-18 13:24:06 -05:00
Michael Mandrus
71a97b925a
CloudMigrations: Add and fix logging ( #90616 )
...
* add logs so we can see how long async processes take
* fix a bunch of error logs:
* fix logs again
2024-07-18 21:16:56 +03:00
Michael Mandrus
17228e5794
CloudMigrations: Handle cancelation during snapshot building and upload ( #90612 )
...
implement cancelation during upload and building
2024-07-18 12:55:27 -04:00
Michael Mandrus
a43a538976
CloudMigrations: Fix issues discovered during end to end testing ( #90562 )
...
* improve error handling a retries during async operations
* fix use of contexts
* updates to how we call the folder api
* fix urls for gms
* more progress on the folder issue
* fix folders
* refactor for readability
2024-07-18 18:34:28 +03:00
Hugo Kiyodi Oshiro
5c966fd400
Plugins: Add logs to for plugin management actions ( #90587 )
...
* Plugins: Add logs to for plugin management actions
---------
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
2024-07-18 17:19:36 +02:00
Georges Chaudy
08c611c68b
ResourceServer: Resource store sql backend ( #90170 )
2024-07-18 08:03:18 -07: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
Yuri Tseretyan
09e10ae9e0
Alerting: Update State history API Open API documentation ( #89795 )
2024-07-18 10:37:05 -04:00
Kristin Laemmert
27b52b1507
ReplStore: Add support for round robin load balancing between multiple read replicas ( #90530 )
...
* ReplStore: Add support for multiple replicas and round-robin load balancing
* add check for zero-length repls list
2024-07-18 08:20:28 -04:00
Alexander Weaver
88ed77e7e8
Alerting: More graceful handling of NoData in recording rules ( #90312 )
...
* Handle NoData as its own case
* Debug
* Scalars parseable by CollectionReader
* fix linter
* Orgit add pkg/*git add pkg/* not and
2024-07-17 15:24:03 -05:00
Yuri Tseretyan
c3b9c9b239
Alerting: Send information about alert rule to data source in headers ( #90344 )
...
* add support of metadata to condition and adding it to request headers
* support for additional metadata when condition is built
* add additionall context to conditions: source and folder title
* add version
* use percent-encoding for header values
2024-07-17 22:55:12 +03:00
Ryan McKinley
b825700343
Chore: Skip flakey search test ( #90553 )
2024-07-17 21:14:59 +03:00
Ryan McKinley
f409f8c169
K8s/Dashboards: Implement dashboards as StorageBackend ( #90295 )
2024-07-17 10:49:23 -07:00
Kristina
6eb695b258
Explore: Add setting for default time offset ( #90401 )
...
* Add setting for explore for a different time offset
* fix linter
* Add validation for duration value
2024-07-17 11:47:49 -05:00
Jean-Philippe Quéméner
283280f329
fix(querier): use most specific timerange available ( #90540 )
...
* fix(querier): use most specific timerange available
* return zero values
2024-07-17 20:22:45 +04:00
Michael Mandrus
9b7e9d992b
CloudMigrations: Query GMS for a presigned upload url at upload time ( #90505 )
...
query GMS for an upload url at upload time
2024-07-17 11:53:21 -04:00
Yuri Tseretyan
970cafa20f
Alerting: Time interval Delete API to check for usages in alert rules ( #90500 )
...
* Check if a time interval is used in alert rules before deleting it
* Add time interval to parameters of ListAlertRulesQuery and ListNotificationSettings of DbStore
== Refacorings ==
* refactor isMuteTimeInUse to accept a single route
* update getMuteTiming to not return err
* update delete to get the mute timing from config first
2024-07-17 10:53:54 -04:00
Ryan McKinley
07c2d886fa
Storage: prepare in resource bytes in storage.Interface, not the backend ( #90513 )
...
* prepare in k8s
* prepare in k8s
* prepare in k8s
* simplify event creation
* decode the inputs
2024-07-17 07:40:03 -07:00
Andreas Christou
2616366a0a
Prometheus: Reintroduce Azure audience override feature flag ( #90339 )
...
* Re-add feature flag with deprecation note
* Hide the field in frontend if ff disabled
* Block scope overriding if ff is disabled in backend
- Update promlib to forward logger to extendOptions
- Add warning
- Update tests
* Default toggle to true for now
* Update description
* Update prom tests
* Fix lint
2024-07-17 15:09:55 +01:00
Serge Zaitsev
f5da9edbba
Chore: Remove unused method in db.DB ( #90433 )
...
* remove unused method
* clean up tests
2024-07-17 08:17:23 +02:00
Michael Mandrus
83b309c724
CloudMigrations: Don't migrate dashboards that are soft-deleted ( #90454 )
...
* skip dashboards that are soft-deleted while building snapshots
* add unit test
2024-07-16 22:33:11 +03:00
Andrew Hackmann
319a874033
MSSQL: Password auth for Azure AD ( #89746 )
...
* Password auth for Azure AD
* rename auth fields
* add azure flag for client password cred enabled
* prettier
* rename flag
* Update go.mod
* Update public/app/plugins/datasource/mssql/azureauth/AzureCredentialsForm.tsx
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
* Apply suggestions from code review
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
* update package
* go mod
* prettier
* remove password
* gowork
* remove unused env test
* linter
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-07-16 14:08:51 -05:00
Michael Mandrus
6585ed16e5
Chore: Fix CloudMigration unit tests ( #90489 )
...
remove parallel tests for things that deal with the database
2024-07-16 18:50:22 +03:00
Ryan McKinley
f3f9cc2e92
Scopes: Avoid dots in example names ( #90460 )
2024-07-16 18:30:36 +03:00
Ryan McKinley
030188831d
Storage: Use Error property for error handling rather than Status ( #90416 )
...
replace status with error
2024-07-16 07:43:15 -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
Matthew Jacobson
b7f422b68d
Alerting: Receiver API Get+List+Delete ( #90384 )
2024-07-16 10:02:16 -04:00
Michael Mandrus
6ff21726b7
CloudMigrations: Query GMS for snapshot status with a results offset ( #90453 )
...
* query GMS for status with an offset
* remove unused state
2024-07-16 09:04:21 -04:00
Piotr Jamróz
f14ba32ea6
Query Library: Use current namespace when calling API ( #90423 )
...
* Use the current namespace
* Enable PeakQ API
* Enable PeakQ API when Query API is enabled
* Enable PeakQ API when Query API & Query Library are enabled
2024-07-16 11:50:38 +02:00
Piotr Jamróz
6750e881e3
Query History: Use a search index on new queries to filter in mixed data sources ( #88979 )
...
* Add search index table
* Stab a test
* Add more tests
* Add basic index
* Switch to UID and add a test for the index
* Improve tests coverage
* Remove redundant whitespaces
* Load all data source APIs when query history is loaded
* Fix column type
* Fix migration
* Clean-up the index
* Fix linting
* Fix migrations
* Fix migrations
* Fix migrations
* Rename index to details
2024-07-16 11:47:21 +02:00
Yuri Tseretyan
9c05b30489
Chore: Add more logs and tracing to hysteresis flows ( #90369 )
2024-07-15 13:38:20 -04:00
Michael Mandrus
542a1bf3ac
CloudMigrations: Query Grafana Migration Status for status while the snapshot is in the cloud ( #90314 )
...
* implement querying gms for snapshot status
* add some documentation
* provide snapshot resources after snapshot is created
* add rate limiting to backend
* fix compilation error
* fix typo
* add unit tests
* finish merge
* lint
* swagger gen
* more testing
* remove duplicate test
* address a couple PR comments
* update switch statement to a map
* add timeouts to gms client through the http client
* remove extra whitespace
* put method back where it was so the PR is less confusing
* fix tests
* add todo
* fix final unit test
2024-07-15 09:22:57 -04:00
Joey
5beaae8561
FlameGraph: Remove flameGraphItemCollapsing feature toggle ( #90190 )
...
Remove feature toggle
2024-07-15 13:45:41 +01:00
Fabrizio
612ebf5508
Dynatrace: Add to list of DS with custom label logic ( #90258 )
2024-07-15 10:18:54 +02:00
Georges Chaudy
ff7c0edd64
ResourceServer: Update twice should return an ErrOptimisticLockingFailed ( #90378 )
...
Update twice should return an ErrOptimisticLockingFailed
2024-07-12 23:01:24 +00:00
Isabella Siu
9a8be1785a
CloudWatch: Fix raw queries with dimensions set ( #90348 )
2024-07-12 14:24:09 -04: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
Alexander Weaver
b3d863c11e
Expr: Make math expression scalars compliant with dataplane contract ( #90350 )
...
* Specify frame type for scalars arbitrarily
* Update alerting tests which assert on entire dataframe fields
2024-07-12 12:52:19 -05:00
Matthew Jacobson
ba800692c6
Alerting: Persist AlertInstance ResolvedAt & LastSentAt ( #89135 )
...
* Alerting: Persist AlertInstance ResolvedAt & LastSentAt
* Fix test
* Modify existing tests
* Fix merge conflicts from nullable LastSentAt & ResolvedAt
2024-07-12 12:26:58 -04:00
Matthew Jacobson
b7767c79e7
Alerting: Fix contact point export 500 error and notifications/receivers missing settings ( #90342 )
...
* Regression test
* Fix 500 error when exporting redacted receivers
* Fix tests to check permissions
2024-07-12 11:42:22 -04:00
Kristin Laemmert
8a6107cd35
DashboardStore: Use ReplDB and get dashboard quotas from the ReadReplica ( #90235 )
...
* Use ReplDB in dashboard store and update all fixtures - no other changes
* just moving dashboard counts for now
* find the missing test fixture
2024-07-12 10:47:49 -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
Aaron Godin
7e767e40a9
IAM: Fix logic for enabling a user ( #90309 )
...
fix: correct logic on enabling a disabled user account
2024-07-12 10:54:27 +02: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
Alexander Weaver
111ebd4fb2
Alerting: Create integration testing infra for recording rules ( #90306 )
...
* Create some integration testing infra for RRs
* whoops
* Require no error in responding
* fix linter
* Panic, no need to pass testing around
* Extend status test
2024-07-11 14:59:52 -05:00
Alexander Weaver
ab32183e18
Alerting: Track recording rule health and last eval info ephemerally ( #90247 )
...
* Track health and last eval info
* Read method for status
* Minor tests
2024-07-11 14:05:09 -05:00
Leonor Oliveira
d0afa60feb
Remove unused metric ( #90327 )
2024-07-11 15:31:37 +02:00
Santiago
3bb861b9f0
Alerting: Remove empty/namespace labels when sending alerts to the remote Alertmanager ( #90284 )
...
* Alerting: Remove empty/namespace labels when sending alerts to the remote Alertmanager
* update tests
* fix typo in comment
2024-07-11 15:20:12 +02:00
Nihal
c1d9e793be
Metrics: Fix internal metrics endpoint not accessible from browser if basic auth is enabled ( #86904 )
...
* add WWW-Authenticate header in the http response of /metrics endpoint in case of wrong basic auth credentials
Signed-off-by: Syed Nihal <syed.nihal@nokia.com>
* added change log for the change fixing the issue https://github.com/grafana/grafana/issues/86902
Signed-off-by: Syed Nihal <syed.nihal@nokia.com>
* Update CHANGELOG.md
---------
Signed-off-by: Syed Nihal <syed.nihal@nokia.com>
2024-07-11 14:55:48 +02:00
Bruno
420ff1d07b
Cloud migration: upload snapshot files using presigned url ( #90273 )
...
* Cloud migration: upload snapshot files using presigned url
* log error if index file cannot be closed
* log error if file cannot be closed in uploadUsingPresignedURL
2024-07-11 09:32:02 -03:00
Misi
69c5fa8361
IDToken: Add current user's Username and UID to the ID token ( #90240 )
...
* Set claims.Rest.Login from the IDService
* Add UID to the ID token
2024-07-11 14:25:30 +02:00
Leonor Oliveira
b75276c641
Fix outcome metric ( #90322 )
2024-07-11 13:50:20 +02:00
Pepe Cano
d7c844b5b6
Alerting UX: copy changes in Groups view ( #90173 )
...
* UI and help copy changes in Alerting Groups view
* Alerting Groups view: change subtitle
* Rename Alerting page title: `Groups` to `Active notifications`
* Update pseudo-local
* update betterer
* Extract translation through `make i18n-extract`
2024-07-11 13:33:41 +02:00
Mihai Doarna
bbd1611265
SSO: Register LDAP service if LDAP is enabled in SSO settings ( #90228 )
...
register LDAP service if LDAP is enabled in SSO settings
2024-07-11 13:53:43 +03:00
Alex Khomenko
62494248e3
Restore dashboards: Add RBAC ( #90270 )
...
* Restore dashboards: Add RBAC
* Add check to navtree
* Prevent non-admins from searching deleted dbs
* Add check to the route
* Cleanup
* Update translations
* Update API permissions
* Correct permissions
* Update warning message
* Update translation
* Return 401 for deleted query without admin role
2024-07-11 13:20:04 +03:00
Sonia Aguilar
c76b490c57
Alerting: Central alert history part4 ( #90088 )
...
* Implement EventDetails for expanded rows and pagination on the events list
* Add test for getPanelDataForRule function
* prettier
* refactor EventState component
* create interfaces for props
* Add missing translations
* Update some comments
* Add plus button in alertrulename , to add it into the filter
* Add plus button to add filters from the list labels and alert name
* Add clear labels filter button
* run prettier
* fix RBAC checks
* Update AlertLabels onLabelClick functionality
* add limit=0 in useCombinedRule call
* Add filter by state
* remove plus button in labels
* Fix state filter
* Add filter by previous state
* fix some errors after solving conflicts
* Add comments and remove some type assertions
* Update the number of transitions calculation to be for each instance
* Add tests for state filters
* remove type assertion
* Address review comments
* Update returnTo prop in alert list view url
* Update translations
* address review comments
* prettier
* update cursor to pointer
* Address Deyan review comments
* address review pr comments from Deyan
* fix label styles
* Visualize expanded row as a state graph and address some pr review comments
* Add warning when limit of events is reached and rename onClickLabel
* Update texts
* Fix translations
* Update some Labels in the expanded states visualization
* move getPanelDataForRule to a separate file
* Add header to the list of events
* Move HistoryErrorMessage to a separate file
* remove getPanelDataForRule function and test
* add comment
* fitler by instance label results shown inthe state chart
* remove defaults.ini changes
* fix having single event on time state chart
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-07-11 12:09:52 +02:00
Agnès Toulet
fb8e98bcc9
PDF: Add go dependency ( #89949 )
...
Chore: Add Enterprise library
2024-07-11 11:50:40 +02:00