Zoltán Bedi
5e8267fcf8
PostgreSQL: Read postgresDSUsePGX from config ( #112170 )
...
* PostgreSQL: Read `postgresDSUsePGX` from config
* Update plugins_test
2025-10-10 15:55:55 +02:00
Andreas Christou
fa9d6be255
Azure: Use SSO settings in plugin context ( #112058 )
...
* Bump grafana-azure-sdk-go
* Set override values
* Add Azure settings helper covering SSO cases
* Ensure Azure settings are correctly created
- Add mock for sso settings service
- Add tests
- Update wire
* Minor improvements
* Test updates
* Move fake implementation
* add interface to limit leakage
* rename
* work sync
* Fix wire
* Add fake provider
* Update tests
* Actually fix the workspace
* More go dependency fixes
* Update tests
* Update workspace, again
* Add missing tests
* Fix dependencies
* These dependencies..
* More dependency things
* Okay now dependencies really are fixed
* Lint
* Update pkg/services/pluginsintegration/pluginconfig/request.go
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
---------
Co-authored-by: Will Browne <wbrowne@tcd.ie >
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
2025-10-10 11:46:26 +01:00
Will Browne
69f788ad55
Plugins: Remove pluginAssetProvider feature toggle ( #112046 )
...
* remove toggle
* fix lint issue
2025-10-10 10:35:22 +01:00
Todd Treece
2d232aa10d
Plugins: Move store init to dskit service ( #111823 )
2025-10-02 19:53:31 -04: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
Todd Treece
4cff7237d0
Plugins: Move store init to dskit service ( #111206 )
2025-09-29 15:32:15 -04:00
Bruno
acd9838701
caching middleware: handle req.PluginContext.DataSourceInstanceSettings being nil ( #111258 )
...
* caching middleware: handle req.PluginContext.DataSourceInstanceSettings being nil
* add test case
2025-09-18 09:40:04 -03:00
Bruno
c61624ad3c
Query caching: add request deduplication middleware ( #110892 )
...
* secrets: update test to accept []byte(nil) and []byte{} (#110630 )
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com >
* Query caching: add request deduplication middleware
* log error if unable to build cache key
* remove TODO
* always use req.PluginContext.DataSourceInstanceSettings.UID
* make update-workspace
---------
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com >
2025-09-15 12:07:47 -03: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
Andreas Christou
f5457c7909
InfluxDB: Update feature toggle retrieval ( #110941 )
...
* Update how feature toggles are retrieved
* Update wire
* Update Influx registration
* Update test
2025-09-11 19:19:10 +01: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
Andre Pereira
d26c6c112a
Tempo: Migrates tags and tag values to datasource backend CallResource requests ( #110511 )
...
* Move tags and tag values request to datasource backend
* Remove outdated test
* Fix tests
* lint
* Refactor to use handlers for CallResource request
* lint
* Fix nit
2025-09-09 17:31:32 +01:00
Peter Štibraný
7fd9ab9481
Replace check for integration tests. ( #110707 )
...
* Replace check for integration tests.
* Revert changes in pkg/tsdb/mysql packages.
* Fix formatting of few tests.
2025-09-08 15:49:49 +02:00
Hugo Häggmark
bc843913e4
Chore: Removes HideAngularDeprecation configuration ( #110665 )
...
* Chore: cleans up HideAngularDeprecation
* Trigger build
2025-09-08 12:39:01 +02:00
Hugo Häggmark
5eb42ece91
Chore: clean up angular related test ( #110659 )
2025-09-05 11:28:51 +02:00
Matias Chomicki
df685757ff
New Logs Panel: remove sibling visualization ( #110444 )
...
* New Logs Panel: remove sibling visualization
* More removals
* Update provisioned dashboard
* Update translations
2025-09-04 11:27:50 +02: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
Nathan Vērzemnieks
bd5459fcf0
Plugins: Record plugin version in request metrics ( #110210 )
...
Plugins: record plugin version in request metrics
2025-08-28 15:05:39 +02:00
Hugo Häggmark
6fb6cf4f1d
Chore: defaults localizationForPlugins behavior ( #109778 )
...
* Chore: defaults localizationForPlugins behavior
* chore: fixes backend tests
* chore: fix backend tests
* chore: fix some more backend tests
2025-08-18 13:57:28 +02:00
Syerikjan Kh
abdb1c70ec
Fix: Install plugins when they have no plugin archive info(catalog en… ( #109200 )
...
* fix: install plugins when they have URL is set
* test:INSTALL_PLUGINS private plugin with version
2025-08-06 09:02:59 -04:00
Zoltán Bedi
3ff4c6a2d2
Postgres: Switch the datasource plugin from lib/pq to pgx ( #108443 )
...
* Postgres: Switch the datasource plugin from lib/pq to pgx
* Fix lint
2025-07-30 14:47:25 +02: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
Andres Martinez Gotor
8e663b50e9
Advisor: Allow to define enterprise checks ( #108114 )
2025-07-17 11:37:32 +02:00
Piotr Jamróz
68b9a5f57c
Tempo: Add a feature toggle for Alerting ( #106891 )
...
* Add a feature toggle
* Disable alerting when the toggle is switched off
* Update tests
* Update tests
* Update tests
* Simplify ReadPluginJSON as it's used by enterprise
* Update test
* Update test
* Add the toggle check to loader.go
* Move the logic to plugins integration pipeline
2025-07-15 15:36:36 +02:00
Andres Martinez Gotor
e4650d3d8f
Advisor: Update app-sdk and regenerate code ( #107786 )
2025-07-10 09:55:10 +02:00
Will Browne
1e0fd825eb
Plugins: Simplify assetpath logic ( #107876 )
...
* simplify assetpath logic
* fix tests
2025-07-09 15:48:52 +01:00
Ivana Huckova
7f2aed42a0
Plugins: Fix and encode invalid gRPC header values ( #107339 )
...
* Plugins: Fix and encode invalid gRPC header values
* Rename the method
* Run sanitizeHTTPHeaderValueForGRPC only if string includes utf8
* Update test
* Simplify
* Update
* do not double encode encoded characters
* Update test
* Update
* Add test case based on review
* Update test
2025-06-30 15:58:05 +02:00
Nathan Vērzemnieks
a18ea34688
CloudWatch: Backport aws-sdk-go-v2 update from external plugin ( #107136 )
...
* CloudWatch: Backport aws-sdk-go-v2 update from external plugin
* Review feedback & cleaning up a couple typos
2025-06-26 15:56:50 +02: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
Ivana Huckova
67f50478d9
Loki: Refactor getting of panel/dashboard title headers as part of decoupling ( #106829 )
...
* Loki: Refactor getting of panel/dashboard title headers as part of decoupling
* Add headers to be passed to api server
* Address review comments
2025-06-18 17:41:31 +02: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
beejeebus
6a0cf22b53
Revert "Postgres: Switch the datasource plugin from lib/pq to pgx ( #103961 )" ( #106270 )
...
This reverts commit 1e383b0c1e .
2025-06-03 08:45:07 -04:00
Zoltán Bedi
1e383b0c1e
Postgres: Switch the datasource plugin from lib/pq to pgx ( #103961 )
...
* Create libpqToPGX feature toggle
* Refactor PostgreSQL datasource to support PGX with feature toggle
- Updated `ProvideService` to accept feature toggles for enabling PGX.
- Modified integration tests to use the new PGX connection method.
- Introduced new functions for handling PGX connections and queries.
- Enhanced TLS configuration handling for PostgreSQL connections.
- Updated existing tests to ensure compatibility with PGX and new connection methods.
* Update PostgreSQL datasource to enhance connection pooling and error handling
- Increased `MaxOpenConns` to 10 in integration tests for improved connection management.
- Refactored connection handling in `newPostgresPGX` to return a connection pool instead of a single connection.
- Updated health check error handling to utilize context and feature toggles for better error reporting.
- Adjusted `DisposePGX` method to close the connection pool properly.
- Enhanced query execution to acquire connections from the pool, ensuring efficient resource usage.
* Cleanup
* Revert postgres_test unnecessary changes
* Rename feature toggle from `libpqToPGX` to `postgresDSUsePGX`
* Add null check to dispose method
* Fix lint issues
* Refactor connection string generation
* Address comment in health check file
* Rename p to pool
* Refactor executeQueryPGX and split into multiple functions
* Fix lint issues
* The returning error message from PGX is enough no need to separate the error code.
* Move TLS handling to newPostgresPGX function
* Disable ssl for integration tests
* Use MaxIdleConns option
* Remove old feature toggle
* Rename`generateConnectionConfigPGX` to `generateConnectionStringPGX`
* Add back part of the error messages
* Don't show max idle connections option when PGX enabled
* Address comments from Sriram
* Add back Sriram's changes
* PostgreSQL: Rework tls manager to use temporary files instead (#105330 )
* Rework tls manager to use temporary files instead
* Lint and test fixes
* Update pkg/tsdb/grafana-postgresql-datasource/postgres.go
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* Update betterer
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2025-05-26 08:54:18 +02:00
Syerikjan Kh
b38662e985
Plugins: Add preinstall_sync config - allow plugins to be preinstalled synchronously ( #105292 )
...
* feat: preinstall_sync config - process and installation logic
* ref: add preinstall_sync list to preinstalled plugins of frontendsettings
* fix: conf blank line for sections
* ref: remove plugins async flag, and rename PreinstallPlugins
* docs: default installed plugin list
2025-05-16 10:45:50 -04:00
Hugo Kiyodi Oshiro
43748e43bb
Plugins: Add plugins auto update feature ( #104112 )
2025-05-09 15:58:04 +02: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
Andres Martinez Gotor
0d50efe198
Preinstall: Avoid overwriting development versions ( #104781 )
2025-05-05 14:51:35 +02:00
Andrew Hackmann
710a5d29e9
Azure Prometheus: Add Azure prom to Azure forward auth setting ( #103910 )
...
add azure prom to the azure auth forward setting
2025-04-11 10:51:40 -05:00
Will Browne
a1b792b1f5
Plugins: Remove plugin dependency version ( #103728 )
...
remove plugin dependency version
2025-04-10 15:02:05 +01:00
Mariell Hoversholm
757be6365a
CI: Bump golangci-lint to 2.0.2 ( #103572 )
2025-04-10 14:42:23 +02:00
Andres Martinez Gotor
89c70fcdcf
Chore: Advisor stats ( #103711 )
2025-04-10 10:51:00 +02:00
Cory Forseth
4caa9853cb
Authorization: Add group to role DisplayName to make filtered list more clear ( #102950 )
...
* add group to role DisplayName to make searching easier
* clean up more role names; add filtered display text when fetching
* pass filter state into role menu to decide how to display role name
* prop name better describes what it does
2025-04-08 09:15:03 -05:00
Jack Westbrook
f96e4e9ad2
Frontend: Remove Angular ( #99760 )
...
* chore(angularsupport): delete feature toggle to disable angular
* feat(angular-support): remove config.angularSupportEnabled
* chore(jest): remove angular from setup file
* chore(angular): delete angular deprecation ui components
* refactor(angular): move migration featureflags into migration notice
* chore(dashboard): remove angular deprecation notices
* chore(annotations): remove angular editor loader
* feat(appwrapper): no more angular app loading
* feat(pluginscatalog): clean up angular plugin warnings and logic
* chore(angular): delete angular app and associated files
* feat(plugins): delete old angular graph plugin
* feat(plugins): delete old angular table panel
* feat(frontend): remove unused appEvent type
* feat(dashboards): clean up angular from panel options and menu
* feat(plugins): remove graph and table-old from built in plugins and delete sdk
* feat(frontend): remove angular related imports in routes and explore graph
* feat(theme): remove angular panel styles from global styles
* chore(i18n): run make i18n-extract
* test(api_plugins_test): refresh snapshot due to deleting old graph and table plugins
* chore(angulardeprecation): delete angular migration notice components and usage
* test(frontend): clean up tests that assert rendering angular deprecation notices
* chore(backend): remove autoMigrateOldPanels feature flag
* chore(config): remove angularSupportEnabled from config preventing loading angular plugins
* chore(graphpanel): remove autoMigrateGraphPanel from feature toggles
* chore(tablepanel): delete autoMigrateTablePanel feature flag
* chore(piechart): delete autoMigratePiechartPanel feature flag
* chore(worldmappanel): remove autoMigrateWorldmapPanel feature toggle
* chore(statpanel): remove autoMigrateStatPanel feature flag
* feat(dashboards): remove automigrate feature flags and always auto migrate angular panels
* test(pluginsintegration): fix failing loader test
* test(frontend): wip: fix failures and skip erroring migration tests
* chore(codeowners): remove deleted angular related files and directories
* test(graphite): remove angular mock from test file
* test(dashboards): skip failing exporter test, remove angularSupportEnabled flags
* test(dashbaord): skip another failing panel menu test
* Tests: fixes pkg/services/pluginsintegration/loader/loader_test.go (#100505 )
* Tests: fixes pkg/services/pluginsintegration/plugins_integration_test.go
* Trigger Build
* chore(dashboards): remove angularComponent from getPanelMenu, update test
* feat(dashboards): remove all usage of AngularComponent and getAngularLoader
* chore(betterer): refresh results file
* feat(plugins): remove PluginAngularBadge component and usage
* feat(datasource_srv): remove usage of getLegacyAngularInjector
* feat(queryeditor): delete AngularQueryComponentScope type
* Chore: removes Angular from plugin_loader
* Chore: remove angular from getPlugin
* Chore: fix i18n
* Trigger Build
* Chore: remove more Angular from importPanelPlugin
* Chore: remove search options warning
* Chore: remove and deprecate Angular related
* chore(angular): remove angular dependencies from core and runtime
* chore(runtime): delete angular injector
* chore(data): delete angular scope from event bus
* chore(plugin-catalog): remove code pushing app plugins angular config page
* chore(yarn): refresh lock file
* chore(frontend): remove ng-loader from webpack configs, remove systemjs cjs plugin
* chore(navigation): remove tether-drop cleanup from GrafanaRouter, delete dependency
* chore(runtime): delete AngularLoader
* chore(betterer): refresh results file
* chore(betterer): fix out of sync results file
* feat(query): fix type and import errors in QueryEditorRow
* test(dashboards): delete skipped angular related tests
* Tests: add back tests and fix betterer
* Tests: fix broken test
* Trigger build
* chore(i18n): remove angular deprecation related strings
* test: clean up connections and plugins catalog tests
* chore(betterer): update results file
---------
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com >
2025-04-04 11:31:35 +02:00
Hugo Häggmark
18ae5d7f0c
i18n: wires up translations for plugins ( #102853 )
...
* i18n: consolidate i18n types & runtime services
* Chore: updates after PR feedback
* Chore: updates after feedback
* Chore: updates after feedback
* Chore: adds feature toggle
* Chore: adds locale to backend
* Chore: adds locales to i18n instance
* Chore: fix missing path in CODEOWNERS
* Chore: fix go lint issues
* Chore: fix missing path in CODEOWNERS
* Chore: updates after PR feedback
* Trigger build
* Chore: updates after PR feedback
* Chore: use resolved language for lookup
* Chore: updates after PR feedback
* Update pkg/plugins/plugins.go
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
* Chore: updates after PR feedback
* Chore: updates after PR feedback
---------
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2025-03-31 06:38:38 +02: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
Yulia Shanyrova
cbdf2eecab
Plugins: Update some links in plugin jsons due of mistakes in previous PR ( #102214 )
...
* update some links in plugin jsons update backend tests
* fix the test
* fix the test
* Update public/app/plugins/datasource/azuremonitor/plugin.json
Co-authored-by: David Harris <david.harris@grafana.com >
* more docs links added, fix tests
---------
Co-authored-by: David Harris <david.harris@grafana.com >
2025-03-20 09:25:04 +01:00
Andres Martinez Gotor
ebddc79780
Stats: Propagate context when listing sandbox plugins ( #102207 )
2025-03-19 15:29:30 +01:00
Andres Martinez Gotor
a9634f9b12
Advisor: Skip plugin check for provisioned plugins ( #101782 )
2025-03-13 15:04:08 +01:00