Will Browne
6186aac5d4
Revert "Plugins: Add module hash field to plugin model" ( #116211 )
...
* Revert "Plugins: Add module hash field to plugin model (#116119 )"
This reverts commit aa9b587cc1 .
* trigger
* trigger
2026-01-13 18:34:39 +00:00
Will Browne
aa9b587cc1
Plugins: Add module hash field to plugin model ( #116119 )
...
* add module hash field to plugin model
* fix tests
* fix lint issues
2026-01-13 14:35:45 +00:00
Will Browne
d2b788eb53
Plugins: Remove angular details from meta API ( #116194 )
...
remove angular details from meta API
2026-01-13 13:41:40 +00:00
Will Browne
368762c026
Plugins: Add plugins module ( #115951 )
...
* create plugins go module
* make update-workspace
* ref from plugins app
* undo README change
* fix Dockerfile
* make update-workspace
* re-add plugins/codegen
2026-01-09 10:33:56 +00:00
Will Browne
ec55871b9b
Plugins: Remove pkg/tsdb/* as dependency ( #115886 )
...
* remove deps
* singular
* add rest
* make update-workspace
* undo go.mod changes
2026-01-07 11:28:25 +00:00
Will Browne
9409af6f1c
Plugins: Add plugin.isFullyInstalled to usePluginConfig hook ( #115898 )
...
add isfullyinstalled to hook
2026-01-06 17:56:53 +00:00
Will Browne
466a27deff
Plugins: Remove pkg/infra/log as dependency ( #115832 )
...
* remove pkg/infra/log as dependency
* add pluginslog
* add slog caching
2026-01-06 14:44:49 +00:00
Will Browne
618316a2f7
Revert "App Plugins: Allow to define experimental pages" ( #115841 )
...
Revert "App Plugins: Allow to define experimental pages (#114232 )"
This reverts commit e1a2f178e7 .
2026-01-05 17:04:07 +00:00
Will Browne
99cabcb8be
Plugins: Remove pkg/services/org and pkg/services/pluginsintegration/pluginerrs dependencies ( #115820 )
...
* remove deps from pkg/plugins
* fmt
* lint fix
2026-01-05 14:10:44 +00:00
Will Browne
70b1053ad1
Plugins: Remove pkg/infra/fs, pkg/infra/tracing and pkg/infra/process dependencies from pkg/plugins ( #115798 )
...
* remove dependency on packages
* update tests
* trigger
2026-01-05 11:12:31 +00:00
Will Browne
1a0bc39ec3
Plugins: Remove some pkg/infra/* dependencies from pkg/plugins ( #115795 )
...
* tackle some /pkg/infra/* packages
* run make update-workspace
* add owner for slugify dep
2026-01-05 09:42:47 +00:00
Will Browne
105b407629
Plugins: Sync validator plugin.json schema copy edits back to source of truth ( #115790 )
...
sync validator copy edits back to source of truth
2026-01-02 15:52:10 +00:00
Will Browne
e0711d9d1d
Plugins: Local provider for meta ( #114474 )
2025-12-17 16:25:54 +01:00
Will Browne
c4c1708e38
Plugins: Sync channel close for app installer readiness ( #115078 )
...
sync channel close
2025-12-10 14:07:55 +00:00
Will Browne
39f4b2a959
Plugins: Rename current meta provider to catalog provider ( #114966 )
...
rename cloud provider to catalog provider
2025-12-10 12:22:05 +00:00
Will Browne
5694d6371e
Plugins: Upgrade github.com/grafana/grafana-plugin-sdk-go v0.283.0 => v0.284.0 ( #114400 )
...
* upgraded github.com/grafana/grafana-plugin-sdk-go v0.283.0 => v0.284.0
* make update-workspace
* apply fixes
* nolint for FieldTypeNullableJSON instead
* fmt
* fix lint issues
2025-11-25 15:46:07 +00:00
Will Browne and Todd Treece
f1dbbcbe00
Plugins: Add /meta and /metas APIs to plugins app ( #113775 )
...
* add /meta and /metas APIs
* wrapped storage route
* format file
* fix switch statement lint issue
* fix plugininstaller test
---------
Co-authored-by: Todd Treece <todd.treece@grafana.com >
2025-11-24 18:20:11 +00:00
Will Browne
7d179120b6
Plugins: Replace CDN class with FS CDN type ( #113968 )
...
replace cdn class with fs type
2025-11-20 14:03:24 +00:00
Will Browne
e00eb854f5
Plugins: Add ttlPluginInstanceManager feature toggle ( #114084 )
...
add ttlPluginInstanceManager feature toggle
2025-11-18 11:17:23 +00:00
Will Browne
374cb1b163
Plugins: Bump plugin SDK version to v0.282.0 ( #114079 )
...
bump plugin SDK version to v0.282.0
2025-11-18 10:42:58 +00:00
Will Browne
9818822e87
Plugins: Fix flaky backend tests ( #113945 )
...
* fix flaky tests
* tidy
2025-11-14 15:09:12 +00:00
Will Browne
1535cfc17b
Plugins: Datasource breadcrumb link should link to settings tab ( #113862 )
...
datasource breadcrumb link should link to settings tab
2025-11-14 10:03:39 +00:00
Will Browne
f041563df3
Plugins: Prevent passing host environment variables to plugin processes by default ( #113412 )
...
* remove pluginsSkipHostEnvVars toggle
* fix tests
2025-11-13 15:31:57 +00:00
Will Browne
a55e502aed
OpenFeature: Make OpenFeature initialization reusable with config struct ( #112456 )
...
* make existing pieces more reusable
* inline func
* tidy comment
2025-10-20 11:44:03 +01:00
Will Browne
2223338e34
Plugins: Update plugin fakes package name ( #112503 )
...
update plugin fakes package name
2025-10-16 15:14:05 +01:00
Will Browne
ab4bacbead
Plugins: Pass image tag separately for plugin container mode ( #112344 )
...
propagate tag
2025-10-14 15:25:04 +01:00
Will Browne
e109763f21
Plugins: Add metric for tracking plugin asset info ( #112322 )
...
* add metric for tracking plugin asset info
* make check more specific
* check host instead
2025-10-13 14:42:32 +01:00
Will Browne
59459560c2
Chore: Remove reference to image renderer plugin in renderer not found log message ( #112264 )
2025-10-10 12:17:18 +02:00
Will Browne
69f788ad55
Plugins: Remove pluginAssetProvider feature toggle ( #112046 )
...
* remove toggle
* fix lint issue
2025-10-10 10:35:22 +01:00
Will Browne
99784bea14
Plugins: Add toggle for plugin CDN URLs ( #111985 )
...
add toggle
2025-10-03 16:28:51 +01:00
Will Browne
cc72599321
Revert "Plugins: Move store init to dskit service" ( #111806 )
...
Revert "Plugins: Move store init to dskit service (#111206 )"
This reverts commit 4cff7237d0 .
2025-09-30 12:48:27 +01:00
Will Browne
073338ec29
Plugins: Dependencies do not inherit parent URL for preinstall ( #111762 )
...
dependencies dont inehrit parent url for preinstall
2025-09-29 17:57:41 +01:00
Will Browne
8fe2925c47
Plugins: Add toggle for prioritizing loading plugins from CDN ( #111671 )
...
add toggle for loading cdn plugins first
2025-09-26 17:12:44 +01:00
Will Browne
b154763d04
Chore: Bump prometheus/client_golang to v1.23.2 ( #111123 )
...
bump prometheus/client_golang to v1.23.2
2025-09-16 09:26:50 +01:00
Will Browne
2df39fc71a
Plugins: Add metrics for fs + cloud provisioning info ( #111030 )
...
* add new metrics for plugin fs + cloud provisioning
* fix test
* update label
2025-09-15 14:54:16 +01:00
Will Browne
5520a38726
Chore: Update log level for plugin container mode enabled path ( #110873 )
...
update log level
2025-09-10 12:36:55 +00:00
Will Browne
0a7e0e5298
Plugins: Add ability to run backend plugins in containers ( #110534 )
...
* add client cfg for containers
* remove unused code
* add field for skip host env for proto client
* add docker to Swagger ignore
* add to enterprise swagger gen
* undo go.mod changes
* pass container image
* propagate container image field
2025-09-10 11:12:23 +01:00
Will Browne
05a6e8503e
Plugins: StaticFS should implement FSRemover ( #110706 )
...
make staticfs implement fs removal interface
2025-09-09 15:33:05 +01:00
Will Browne
81fa79cdf6
Plugins: Add metric for connection request unavailable errors ( #110454 )
...
add metric for connection request unavailable errors
2025-09-02 17:23:07 +01:00
Will Browne
6747b60822
Plugins: Remove pluginsDetailsRightPanel feature toggle ( #107321 )
...
remove pluginsDetailsRightPanel feature toggle
2025-07-25 13:02:05 +01:00
Will Browne
7f065c94de
Plugins: Remove pluginsCDNSyncLoader feature toggle ( #108389 )
...
* remove pluginsCDNSyncLoader feature toggle
* fix lint issues
* fix other linter issue
2025-07-22 09:33:23 +01:00
Will Browne
cd87bbbdea
Plugins: Remove externalCorePlugins feature toggle ( #108386 )
...
remove externalCorePlugins feature toggle
2025-07-21 13:55:30 +01:00
Will Browne
f6ed9e6ff0
Plugins: Introduce plugin asset provider ( #108063 )
...
* introduce plugin asset provider
* simply with PR feedback
* fix linter
2025-07-17 16:20:35 +01:00
Will Browne
54d6140e6d
Plugins: Stub logger method for backend plugin test mock ( #108211 )
...
stub logger method for backend plugin test mock
2025-07-17 10:18:31 +01:00
Will Browne
1e0fd825eb
Plugins: Simplify assetpath logic ( #107876 )
...
* simplify assetpath logic
* fix tests
2025-07-09 15:48:52 +01:00
Will Browne
43d369b51a
Plugins Remove failWrongDSUID feature toggle ( #107308 )
...
* remove failWrongDSUID FT
* undo go.mod changes
2025-06-27 14:43:58 +01:00
Will Browne
3020794b60
Plugins: Remove angularDeprecationUI feature toggle ( #107300 )
...
* remove angularDeprecationUI FT
* undo go.mod changes
2025-06-27 12:02:00 +01:00
Will Browne
3d37f969e7
Plugins: Move discovery logic to plugin sources ( #106911 )
...
* move finder behaviour to source
* tidy
* undo go.mod changes
* fix comment
* tidy unsafe local source
2025-06-19 10:28:23 +01:00
Will Browne
05b458741e
DataSources: Add mutex to provisioning step ( #106921 )
...
add mutex to ds provisioning
2025-06-18 16:34:40 +01:00
Will Browne
cf31954f2a
Plugins: Add integration test for provisioned plugin dashboard import ( #105681 )
...
* add test
* make it fail
* get test work reliably
* get or create db section
* remove unnecessary code
* move test to first
* add comment
* apply PR feedback
2025-06-12 14:24:47 +01:00
Will Browne
edb0865caa
Chore: Ensure we save correct default admin user in integration test DB setup ( #105752 )
...
* fix helper + amend tests
* fix import + remove unused var
* remove more users
* remove unused code
* update test comment
2025-05-28 11:25:01 +01:00
Will Browne
9c2846c4fb
Plugins: Separate pluginv2 interfaces from ProtoClient interface ( #104795 )
...
split interfaces
2025-05-06 17:02:32 +01:00
Will Browne
a5649b6e1d
Plugins: Fix issue with propagating ID token downstream for RunStream requests ( #104833 )
...
fix issue
2025-05-06 11:41:32 +01:00
Will Browne
a1b792b1f5
Plugins: Remove plugin dependency version ( #103728 )
...
remove plugin dependency version
2025-04-10 15:02:05 +01:00
Will Browne
53126eb307
Chore: Disable snapshot flag for plugins API test ( #103733 )
...
disable snapshot flag for test
2025-04-10 09:57:20 +01:00
Will Browne
48877f9187
Alerting: Fix plugin not found error during condition validation ( #102437 )
...
improve error
2025-04-04 10:37:55 +01:00
Will Browne
5b67ae1876
Plugins: Remove support for secrets manager plugins ( #101467 )
...
* remove secrets manager code
* remove unused struct
* add test toggles back
* rollback golden file changes
* add missing TestMain
* update betterer
2025-03-20 10:00:59 +00:00
Will Browne
8d839780d6
Plugins: Update to latest go plugin SDK version (0.272.0) ( #102090 )
...
update go plugin sdk to latest
2025-03-13 10:23:30 +00:00
Will Browne
5a2cba7b01
Plugins: Forward HTTP headers to plugin streaming calls ( #101960 )
...
* forward HTTP headers to plugin streaming calls
* fixup
* fix test based on feedback
* improve test assertions
2025-03-12 10:37:07 +00:00
Will Browne
510c76df49
Chore: Update to latest go plugin SDK ( #101939 )
...
* update to latest go plugin SDK
* add missing changes
2025-03-11 14:57:19 +00:00
Will Browne
c74a5fcbed
Chore: Avoid simplejson usage in xorm module ( #101943 )
...
avoid simplejson usage
2025-03-11 14:24:20 +00:00
Will Browne
04cc096b23
Docs: Fix plugin installation title by removing non-breaking space ( #101798 )
...
remove nbsp
2025-03-07 14:48:55 +00:00
Will Browne
8f465f1249
Plugins: Add confirmation modal for uninstalling updateable plugin ( #101297 )
...
* add confirmation modal for uninstalling updateable plugin
* shush betterer
* refactor with master Levi
* update betterer
* update name
2025-02-27 10:56:25 +00:00
Will Browne and Andres Martinez Gotor
70fb7b9545
Plugins: Remove bundled plugins feature ( #96490 )
...
* remove bundled plugins
* Add echo to command
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
* remove folder entirely
* remove folder from CODEOWNERS
---------
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
2025-01-14 12:04:01 +00:00
Will Browne
5a2315dabf
Plugins: Capture error source from grpc status errors ( #97471 )
...
* capture errorsource from grpc error
* apply PR feedback
* update comment
* update comment
* use SDK logic
* update SDK commit
* update sdk
* update golden files
2025-01-08 17:05:28 +00:00
Will Browne
d85353926d
Metrics: Export multi registry ( #97662 )
...
* export multi registry
* fixup
2024-12-12 09:48:27 +00:00
Will Browne
871af07203
Chore: Go Workspace fix ( #97694 )
2024-12-09 20:45:03 -06:00
Will Browne
6bd1865749
Plugins: Fix flaky reverse proxy response tests ( #96051 )
...
tidy
2024-11-11 14:35:42 +00:00
Will Browne
b87c76ad21
Plugins: Add metric to track plugin backend target ( #95976 )
...
* add metric to track plugin backend target
* tidy
* fix test
2024-11-07 12:01:46 +00:00
Will Browne
9ae3d049a3
Plugins: Simplify TestExtractFiles test ( #95183 )
...
simplify TestExtractFiles test
2024-10-24 12:01:00 +01:00
Will Browne
a2868fdb14
Plugins: Replace references of plugin SDK backend.Logger with Grafana logger ( #95235 )
...
replace references
2024-10-24 12:00:40 +01:00
Will Browne
25abd57029
Plugins: Update to latest go plugin SDK (0.256.0) ( #95065 )
...
* update to latest go plugin SDK
* make update-workspace
* update alerting tests
2024-10-22 15:44:53 +01:00
Will Browne
f97f489c2c
Plugins: Skip install errors if dependency plugin already exists ( #94710 )
...
* skip install errors if dependency plugin already exists
* add test
2024-10-15 11:35:45 +01:00
Will Browne
52f8cecd4a
Plugins: Add state logs for plugin client retrieval ( #93630 )
...
* add state to grpc plugin
* tidy
* fix lint
* fix issues
* return true
* use defer
* update err message
2024-09-24 15:55:02 +03:00
Will Browne
7cd546238b
Revert "Plugins: Add logs for plugin proto client retrieval" ( #93617 )
...
Revert "Plugins: Add logs for plugin proto client retrieval (#93527 )"
This reverts commit ccf6fbebfa .
2024-09-23 19:26:02 +03:00
Will Browne
ccf6fbebfa
Plugins: Add logs for plugin proto client retrieval ( #93527 )
2024-09-20 17:36:11 +01:00
Will Browne
362ffff591
Plugins: Avoid returning 404 for AutoEnabled apps ( #93436 )
...
avoid errors for autoenabled apps
2024-09-19 14:00:34 +01:00
Will Browne
ffbf6cf72d
Plugins: Add test case for relative parent directory path ( #93338 )
...
add case for testing relative path
2024-09-13 18:30:19 +03:00
Will Browne and Levente Balogh
3f8d127410
Plugins: Ensure only updateable plugins can be updated via the UI ( #93205 )
...
* only updateable plugins can be updated via the UI
* add missing state
* Apply levi brains
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* apply same style throughout
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-09-12 13:51:50 +01:00
Will Browne
0469b0f52e
Plugins: Ensure fetch loading strategy cases for nested plugins ( #93209 )
...
* fix
* fix func name
2024-09-11 16:35:13 +03:00
Will Browne and Jack Westbrook
2c47d246fc
Plugins: Introduce LoadingStrategy for frontend loading logic ( #92392 )
...
* do it all
* feat(plugins): move loadingStrategy to ds pluginMeta and add to plugin settings endpoint
* support child plugins and update tests
* use relative path for nested plugins
* feat(plugins): support nested plugins in the plugin loader cache by extracting pluginId from path
* feat(grafana-data): add plugin loading strategy to plugin meta and export
* feat(plugins): pass down loadingStrategy to fe plugin loader
* refactor(plugins): make PluginLoadingStrategy an enum
* feat(plugins): add the loading strategy to the fe plugin loader cache
* feat(plugins): load fe plugin js assets as script tags based on be loadingStrategy
* add more tests
* feat(plugins): add loading strategy to plugin preloader
* feat(plugins): make loadingStrategy a maybe and provide fetch fallback
* test(alerting): update config.apps mocks to include loadingStrategy
* fix format
---------
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2024-09-09 10:38:35 +01:00
Will Browne
aea8b60849
Plugins: Add support for fetching plugin includes from plugin CDN ( #91476 )
...
* update oss side
* add Rel func to plugins.FS
* update tests
* add comment
* fix fs paths for nested plugin
* fix test
* fix sources
* fix cdn class bug
* update tests
* remove commented out code
2024-08-21 09:46:41 +01:00
Will Browne
d35e9264bb
Plugins: Use plugins SDK constants for OAuth header names ( #90892 )
...
use SDK consts
2024-08-20 13:29:41 +01:00
Will Browne
704b07b3f0
Plugins: Bump plugin SDK to latest (0.244.0) ( #92057 )
...
bump SDK
2024-08-20 14:40:51 +03:00
Will Browne
9300c1bbea
Plugins: Update CLI check if plugin is already installed ( #91213 )
...
* check if plugin installed
* undo remove initial vers check
* still attempt deps
2024-08-06 09:21:40 +01:00
Will Browne and Giuseppe Guerra
fa49fe3331
Plugins: Use bundle instead of individual plugin during construct step ( #91140 )
...
* work off bundle instead of individual plugin
* Remove children
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
* Remove children ref
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
* fix assign
* end early
* unset children
---------
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
2024-07-30 11:24:37 +01:00
Will Browne
1b3fa8c47f
Plugins: Hide version information when plugin is managed ( #88065 )
...
* first pass
* fixup
* fix linter issues
* fix API test
* update naming
* rework
* update var name
* empty check
* prettier
* fix test
* fix lint
2024-07-29 11:18:43 +01:00
Will Browne
343d6f8a0c
Plugins: Support > 1 levels of plugin dependencies ( #90174 )
...
* do it
* prevent loops
* change to sync.Map
2024-07-09 15:46:30 +01:00
Will Browne
cff9ecbd6d
Plugins: Ensure plugin dependency field in plugin.json does not require version ( #90142 )
...
non required + pattern
2024-07-08 15:28:52 +01: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
Will Browne
7d8722b561
API server: Add shutdown func to interface ( #88827 )
...
add shutdown func to interface
2024-06-06 15:18:54 +01:00
Will Browne
8a5c0cfdc0
Plugins: Pass cancellable context during API server creation ( #86545 )
2024-04-19 09:22:14 +03:00
Will Browne
dceb83ab42
Plugins: Expose backendplugin for client proto interface ( #86207 )
...
* first pass
* tidy
* add err check
* remove comment
* simplify
* remove unused stuff
* add backend()
* use SDK commit
* add codeowners for go.mod
* fix go.mod
* bump SDK
* go work sync
2024-04-17 18:47:01 +02:00
Will Browne
698436aa29
Plugins: Update to latest go plugin sdk (v0.221.0) ( #85796 )
...
* update plugin sdk
* fix indirect
2024-04-09 15:06:05 +02:00
Will Browne
257cc98062
Datasources: Remove unused functions ( #85473 )
...
* cleanup unused funcs
* remove more stuff
2024-04-02 16:19:52 +02:00
Will Browne
22fe7b067c
Plugins: Set correct PDC config values for proxy requests ( #85412 )
...
pass appropriate values
2024-03-29 20:17:05 +02:00
Will Browne
1a0ac381eb
Plugins: Send PDC file paths and contents for backwards compatibility ( #85287 )
...
* send paths and contents
* go work sync
2024-03-27 18:19:11 +01:00
Will Browne
cd912367b3
Plugins: Pass PDC info as file paths ( #85239 )
...
* pass filepaths
* fix test
2024-03-27 15:21:05 +01:00
Will Browne
b765c21d4c
Plugins: Pass PDC file contents in requests ( #84783 )
...
* Plugins: Pass PDC file contents in requests
* go mod tidy
* undo go.mod changes
* fix linter
* fix tests
* undo unnecessary changes
* update dep
* join with comma
* update naming
* bump SDK
2024-03-22 13:52:24 +01:00
Will Browne
c8c372c327
Prometheus: Prevent duplicate registration of custom header middleware ( #84860 )
...
* remove dupe middleware
* fix test
2024-03-20 21:22:33 +02:00