Jo
ccbf200c4a
SupportBundles: Add OAuth bundle collectors ( #64810 )
...
* wip
* add oauth support bundles
* add specific configs for generic oauth and azureAD
* add doc entry
* optimize struct packing
* Update pkg/login/social/azuread_oauth.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* nit update
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2023-03-16 09:46:25 +02:00
ismail simsek
0823672fce
Influxdb: Re-introduce backend migration feature toggle ( #64829 )
...
* Revert "Influxdb: Remove backend migration feature toggle (#61308 )"
This reverts commit 67c02f66
* Put feature toggle back
2023-03-15 18:12:16 +01:00
Ezequiel Victorero
3f5acf346d
PublicDashboards: Query collapsed panels inside rows ( #64779 )
2023-03-15 12:44:17 -03:00
Artur Wierzbicki
b6f77bdfdb
Chore: provide authn.Service rather than *authnimpl.Service ( #64792 )
...
chore: provide `authn.Service` rather than `*authnimpl.Service` (#64792 )
2023-03-15 03:04:11 -07:00
ying-jeanne
6974f4340b
NestedFolders: Fix nested folder deletion ( #63572 )
...
---------
Co-authored-by: suntala <arati.rana@grafana.com >
Co-authored-by: ying-jeanne <ying-jeanne@users.noreply.github.com >
Co-authored-by: jeanne0731 <jeanne0731@users.noreply.github.com >
2023-03-15 09:51:37 +01:00
Yuri Tseretyan
85a954cd81
Alerting: Update scheduler to get updates only from database ( #64635 )
...
* stop using the scheduler's Update and Delete methods all communication must be via the database
* update scheduler's registry to calculate diff before re-setting the cache
* update fetcher to return the diff generated by registry
* update processTick to update rule eval routine if the rule was updated and it is not going to be evaluated at this tick.
* remove references to the scheduler from api package
* remove unused methods in the scheduler
2023-03-14 18:02:51 -04:00
Ryan McKinley
6751a93d49
FeatureToggles: remove open type declaration ( #64645 )
2023-03-14 19:47:32 +02:00
Jo
aade4b0bd2
AnonymousService: Test tagging service ( #64708 )
...
* add anonymous tagging tests
* lint
2023-03-14 10:47:34 +01:00
Alexander Weaver
faef3a8258
Alerting: Log error but don't fail initialization if state history connection test fails ( #64699 )
...
Don't return init error if ping fails, add tests
2023-03-13 15:54:46 -05:00
Ryan McKinley
6720690615
FeatureToggles: generate a csv file for easy auditing ( #64647 )
...
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com >
2023-03-13 08:07:12 -07:00
Artur Wierzbicki
08f2791b22
Chore: assign owner for prometheusAzureOverrideAudience ( #64620 )
...
assign the last owner
2023-03-13 16:56:55 +04:00
Andrej Ocenas
6647217208
Phlare: Use enum config to send deduplicated func and filenames ( #64435 )
2023-03-13 11:06:04 +01:00
Ryan McKinley
d5a9a0cea0
Chore: remove comments feature ( #64644 )
2023-03-11 04:28:12 -08:00
juanicabanas
222ad02176
PublicDashboards: Enable creation when dashboard has template variables ( #64560 )
2023-03-10 11:45:38 -03:00
Carl Bergquist
eb507dca89
Remotecache: rename setbytearray/getbytearray to set/get and remove codec ( #64470 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2023-03-10 13:57:29 +01:00
Domas
548a5054ad
Table: Introduce sparkline cell type ( #63182 )
2023-03-10 14:41:06 +02:00
Ashley Harrison
c955c20670
Chore: assign ownership of tracing feature flag to user essentials ( #64598 )
...
assign ownership of tracing feature flag to user essentials
2023-03-10 07:15:41 -05:00
juanicabanas
4d0e309d4e
PublicDashboards: New method created to get access through Request access page when its paused ( #64451 )
2023-03-09 14:17:54 -03:00
Karl Persson
8ef2afda87
ContextHandler: Always initiate permission map on signed in user ( #64541 )
2023-03-09 18:08:56 +01:00
Ieva
ed11c32c1d
Support bundles: fix user collector permissions and format collector output ( #64531 )
...
* fix user collector permissions and format collector output
* lint
2023-03-09 11:43:18 -05:00
Ashley Harrison
3336327306
Navigation: Fix Home logo always going to /login ( #62658 )
...
* only redirect to /login when anonymous access is disabled
* only search for dashboards when not logged in if anon access is enabled
* fix go logic
* add unit tests
2023-03-09 16:42:45 +00:00
Polina Boneva
ff6d601428
Chore: Assign grafanaDashboardsSquad as owners to some feature flags ( #64489 )
...
* assign grafanaDashboardsSquad as owners to some feature flags
2023-03-09 13:09:19 +02:00
Jean-Philippe Quéméner
fb5ed0b0b3
Alerting: fix flaky cache test ( #64499 )
2023-03-09 06:08:05 -05:00
Jo
4ee389676e
RemoteCache: Cleanup infra remote cache ( #64381 )
...
* add warning on Count
* add usagestats service
* fix typo
* remove unused glog
* remote cache stats collect
* add encrypt usage stat
* rename handler
* Update pkg/infra/remotecache/remotecache.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update pkg/infra/remotecache/remotecache_test.go
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2023-03-09 09:26:13 +01:00
owensmallwood
1a5a280c86
Pubdash: Email sharing handle dashboard deleted ( #64247 )
...
dashboard service calls pubdash service when dashboard deleted
2023-03-08 14:54:35 -06:00
Ryan McKinley
42e7ec9fe4
Chore: cleanup dashboard service names ( #64442 )
2023-03-08 14:37:45 -05:00
Stephanie Hingtgen
39a4634ae9
Plugins: Fix bug with copying grafanaData ( #64446 )
2023-03-08 11:21:01 -07:00
Artur Wierzbicki
fbe3bdc8f5
Chore: feature toggle ownership for aws plugins, observability metrics squad and backend platform ( #64448 )
...
aws plugins, backend platform
2023-03-08 13:12:22 -05:00
Artur Wierzbicki
3e89ffa2e6
Chore: assign feature flag ownership for GaaS ( #64420 )
...
* ownership for GaaS
* fix tests
* merge
2023-03-08 12:25:12 -05:00
Brendan O'Handley
74ed7ead16
FeatureFlags: Add "O11y-metrics" as Owner for metrics feature flags ( #64438 )
...
add o11y-metrics as Owner for metrics feature flags
2023-03-08 11:51:42 -05:00
Ryan McKinley
5f2fecfda7
Dashboards: Avoid adding unused revision property ( #64362 )
2023-03-08 08:26:38 -08:00
Levente Balogh
a186f036dd
Chore: Assign ownership to the Connections feature ( #64427 )
...
* chore: assign the plugins platform team as the owner for the data-connections feature
* chore: remove the toggle from the list of unassigned features
2023-03-08 11:23:20 -05:00
Carl Bergquist
7c55dbf37d
Remotecache: Migrates get/set calls to use bytearrays and remove get/set functions ( #63525 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2023-03-08 17:08:57 +01:00
Yuri Tseretyan
a5133d61b5
Code: Ownership for alerting feature toggles ( #64426 )
...
* add alerting squad as an owner of some feature flags
* remove flags from owneless
---------
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com >
2023-03-08 11:03:06 -05:00
Tania
f0529430ff
Chore: Assign ownership for as-code feature flags ( #64424 )
...
Chore: Add owners for as-code feature toggles
2023-03-08 10:38:52 -05:00
Joey
5ba2ca83d5
Assign Traces & Profiling feature flags to team ( #64406 )
2023-03-08 14:54:42 +00:00
Gábor Farkas
7aca818aae
feature flags: assign flags to observability-logs squad ( #64380 )
2023-03-08 07:42:47 -05:00
Misi
6543259a7d
Auth: Add SyncPermissions post auth hook ( #64205 )
...
* Add SyncPermissionsFromDB post auth hook
* Delete FromDB prefix
* Align tests
* Fixes
* Change SyncPermissionsHook prio
2023-03-08 13:35:54 +01:00
George Robinson
0c8876c3a2
Alerting: Return errors when expanding templates ( #63662 )
...
This commit changes the state package so that errors encountered while
expanding templates for custom labels and annotations are returned
from the function. This is not used at present, but will be used in the
future as we look at how to offer better feedback to users who don't
have access to logs, for example our customers who use Hosted Grafana.
2023-03-08 12:25:02 +00:00
Piotr Jamróz
8ad9e70ef0
Feature Toggles: Assign ownership of Explore Squad's feature toggles ( #64382 )
2023-03-08 12:45:45 +01:00
Ieva
1d1f58f0ed
Service accounts: fix usage of errutil errors and convert more errors to errutil ( #64299 )
...
* fix usage of errutil errors and convert more errors to errutil
* fix tests
2023-03-08 11:32:09 +00:00
Tania
b093439b2e
Chore: Add codeowners for encryption feature toggle ( #64384 )
...
Chore: Add codeowners for encryption feature toggle
2023-03-08 11:14:37 +01:00
Karl Persson
ee608c2582
Chore: Set authnz squad as owner of our feature toggles ( #64373 )
...
FeatureToggles: Set authnz squad as owner of our feature toggles
2023-03-08 09:49:02 +01:00
Timur Olzhabayev
05191d083d
Chore: Adding backend platform squad owned feature toggles ( #64351 )
...
Adding backend platform squad owned feature toggles
2023-03-08 06:57:50 +01:00
Ezequiel Victorero
1a5ab1b308
PublicDashboards: Remove dev mode for share by email toggle ( #64330 )
...
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2023-03-07 16:42:24 -03:00
Brendan O'Handley
9b6e531549
Prometheus: Metric encyclopedia ( #63423 )
...
* add metric encyclopedia feature toggle and component
* remove unused button
* move file, add test file
* add tests
* add pagination and tests
* test with 10,000,000 metrics
* remove unused import
* add filter by type
* search alphabetically and add switch to exclude metrics with no metadata
* add suggested functions and filter for functions
* allow user to select variables in encyclopedia
* fix style and tests
* add fuzzy search by either metric name or all metadata
* if missing metadata, remove metadata fuzzy search option, exclude metadata, and filter by type
* add encyclopedia feature tracking
* indicate that metrics are filtered by labels
* handle metric singular or plural
* add tooltips and fix language
* add filtering tests
* change 'search' to 'browse'
* remove functions filter and tests as not part of work flow
* add m.e. button and selected metric is a tag
* fix hanging search and update styles, padding, labels, and groupings
* small performance improvements
* fix tests
* add backend metrics query option
* add loading spinner for start load and backend search
* autofocus search input
* Update docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* run prettier
* run prettier
* fix text for feature toggle
* for license check since https://cla-assistant.io/check/grafana/grafana?pullRequest= <PR#> is not working
* fixing tests
* fix feature toggle docs
* fix feature toggle
* fix feature toggle
* add owner to feature toggle
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2023-03-07 13:41:05 -05:00
Will Browne
94f39e69a3
Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package ( #64154 )
...
* migrate plugincontext, adapter and pluginsettings
* add to CODEOWNERS
* fix imports
* fix CODEOWNERS
* take pluginsettings
* migrate wire stuff
2023-03-07 11:22:30 -05:00
Artur Wierzbicki
13650f3dc0
Code: codeownership for feature toggles ( #64266 )
...
* ownership for feature toggles v2
* add traceqlSearch
* MT -> app platform
* assign publicdashboards
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2023-03-07 20:04:20 +04:00
Ryan McKinley
bb9ae04bd8
Chore: cleanup entity api from CodeQL scan ( #64277 )
...
cleanup
2023-03-07 07:54:25 -08:00
Will Browne
68df83c86d
Plugins: Add Plugin FS abstraction ( #63734 )
...
* unexport pluginDir from dto
* first pass
* tidy
* naming + add mutex
* add dupe checking
* fix func typo
* interface + move logic from renderer
* remote finder
* remote signing
* fix tests
* tidy up
* tidy markdown logic
* split changes
* fix tests
* slim interface down
* fix status code
* tidy exec path func
* fixup
* undo changes
* remove unused func
* remove unused func
* fix goimports
* fetch remotely
* simultaneous support
* fix linter
* use var
* add exception for gosec warning
* fixup
* fix tests
* tidy
* rework cfg pattern
* simplify
* PR feedback
* fix dupe field
* remove g304 nolint
* apply PR feedback
* remove unnecessary gosec nolint
* fix finder loop and update comment
* fix map alloc
* fix test
* remove commented code
2023-03-07 16:47:02 +01:00