Will Browne
124bf413a2
make plugin loading for nested plugins more deterministic ( #44330 )
2022-01-25 16:05:12 +01:00
Will Browne
da98ebdcdf
Plugins: Remove old code related to Core plugin installs ( #44311 )
...
* remove old code
* remove even more
* skip flaky test
2022-01-21 13:38:04 +01:00
Will Browne
3cb0fb3ddc
fix and add test ( #44286 )
2022-01-21 11:00:20 +01:00
Will Browne
7fbc7d019a
Plugins: Core plugins register via backend factory provider ( #43171 )
...
* refactoring store interface and init flow
* fix import
* fix linter
* refactor resource calling
* load with class
* re-order args
* fix tests
* fix linter
* remove old creator
* add custom config struct
* fix some tests
* cleanup
* fix
* tackle plugins
* fix linter
* refactor and fix test
* add connect failure error
* add fix for azure, cloud monitoring and test data
* restructure
* remove unused err
* add fake tracer for test
* fix grafana ds plugin
2022-01-20 18:16:22 +01:00
Will Browne
a65ce992c1
fix delete plugin dashboard ( #44055 )
2022-01-17 10:33:42 +01:00
Will Browne
7694fff0ef
[WIP] Plugins: Refactoring backend initialization flow ( #42247 )
...
* refactoring store interface and init flow
* fix import
* fix linter
* refactor resource calling
* load with class
* re-order args
* fix tests
* fix linter
* remove old creator
* add custom config struct
* fix some tests
* cleanup
* fix linter
* add connect failure error
* remove unused err
* convert test over
2022-01-14 13:30:39 +01:00
Will Browne
e4ba5f17dd
add core plugins thru store ( #43085 )
2021-12-14 15:22:40 +01:00
Will Browne
155487bfb0
Plugins: Add typed models for frontend settings data sources and panels ( #42062 )
...
* add model for data source
* add model for panels
* add omitempty
* make consistent with main
* dont emit bools
* resolve conflicts
* remove file
* remove file
* update field name
* always pass jsonData
* minify the changes
* remove dupe line
2021-12-14 11:16:13 +01:00
Will Browne
6c4555265a
Plugins: Update client to use SDK resource contract ( #42888 )
...
* client uses sdk resource handler
* apply pr feedback
2021-12-14 11:15:49 +01:00
Will Browne
fb05f253d4
update release notes ( #42848 )
2021-12-07 19:24:45 +02:00
Will Browne
9c9e79da4f
only preload app plugins ( #42434 )
2021-11-29 18:26:04 +01:00
Will Browne
e440796cb3
only load CSV when data exists ( #42441 )
2021-11-29 15:21:18 +01:00
Will Browne
0921037f32
Plugins: Move logs from globals to fields ( #42141 )
...
* move logs from globals to fields
* fix test
2021-11-23 17:09:52 +01:00
Will Browne
96b1776856
Chore: Fix pass context for SetAlertStateCommand ( #42135 )
...
* fix pass ctx for SetAlertStateCommand
* fix integration test
2021-11-23 16:40:09 +01:00
Will Browne
4fa7fd2c75
add unsupported renderer message to catalog ( #41898 )
2021-11-19 08:47:28 +00:00
Will Browne
fb2436af18
fix stream handler funcs ( #41800 )
2021-11-17 13:33:00 +02:00
Will Browne
2e3e7a7e55
Plugins: Plugin Store API returns DTO model ( #41340 )
...
* toying around
* fix refs
* remove unused fields
* go further
* add context
* ensure streaming handler is set
2021-11-17 12:04:22 +01:00
Will Browne and Marcus Efraimsson
8ea75c9401
Plugins: Add SDK stream handler support to plugin.Client ( #41650 )
...
* add stream handler support to plugin.Client
* nil instead of empty resp
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
* nil instead of empty resp #2
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2021-11-15 14:25:13 +01:00
Will Browne
8adefa32fd
Plugins: Return error from QueryData when plugin is not found ( #41494 )
...
* Plugins: Return error from QueryData when plugin is not found
* use nil for resp
2021-11-10 10:39:32 +01:00
Will Browne
8a42fca485
process app plugins first ( #41346 )
2021-11-05 15:07:53 +01:00
Will Browne
14742ea44a
add oauth pass thru logic to api/ds/query ( #41352 )
2021-11-05 15:07:04 +01:00
Will Browne
2faf3b6a31
rearrange log statements for log15 ( #41137 )
2021-11-02 10:20:17 +01:00
Will Browne
8157d3564b
remove println ( #41139 )
2021-11-01 14:55:07 +00:00
Will Browne
1f6965e859
fix homepath for enterprise e2e tests ( #41140 )
2021-11-01 13:48:52 +01:00
Will Browne
b80fbe03f0
Plugins: Refactor Plugin Management ( #40477 )
...
* add core plugin flow
* add instrumentation
* move func
* remove cruft
* support external backend plugins
* refactor + clean up
* remove comments
* refactor loader
* simplify core plugin path arg
* cleanup loggers
* move signature validator to plugins package
* fix sig packaging
* cleanup plugin model
* remove unnecessary plugin field
* add start+stop for pm
* fix failures
* add decommissioned state
* export fields just to get things flowing
* fix comments
* set static routes
* make image loading idempotent
* merge with backend plugin manager
* re-use funcs
* reorder imports + remove unnecessary interface
* add some TODOs + remove unused func
* remove unused instrumentation func
* simplify client usage
* remove import alias
* re-use backendplugin.Plugin interface
* re order funcs
* improve var name
* fix log statements
* refactor data model
* add logic for dupe check during loading
* cleanup state setting
* refactor loader
* cleanup manager interface
* add rendering flow
* refactor loading + init
* add renderer support
* fix renderer plugin
* reformat imports
* track errors
* fix plugin signature inheritance
* name param in interface
* update func comment
* fix func arg name
* introduce class concept
* remove func
* fix external plugin check
* apply changes from pm-experiment
* fix core plugins
* fix imports
* rename interface
* comment API interface
* add support for testdata plugin
* enable alerting + use correct core plugin contracts
* slim manager API
* fix param name
* fix filter
* support static routes
* fix rendering
* tidy rendering
* get tests compiling
* fix install+uninstall
* start finder test
* add finder test coverage
* start loader tests
* add test for core plugins
* load core + bundled test
* add test for nested plugin loading
* add test files
* clean interface + fix registering some core plugins
* refactoring
* reformat and create sub packages
* simplify core plugin init
* fix ctx cancel scenario
* migrate initializer
* remove Init() funcs
* add test starter
* new logger
* flesh out initializer tests
* refactoring
* remove unused svc
* refactor rendering flow
* fixup loader tests
* add enabled helper func
* fix logger name
* fix data fetchers
* fix case where plugin dir doesn't exist
* improve coverage + move dupe checking to loader
* remove noisy debug logs
* register core plugins automagically
* add support for renderer in catalog
* make private func + fix req validation
* use interface
* re-add check for renderer in catalog
* tidy up from moving to auto reg core plugins
* core plugin registrar
* guards
* copy over core plugins for test infra
* all tests green
* renames
* propagate new interfaces
* kill old manager
* get compiling
* tidy up
* update naming
* refactor manager test + cleanup
* add more cases to finder test
* migrate validator to field
* more coverage
* refactor dupe checking
* add test for plugin class
* add coverage for initializer
* split out rendering
* move
* fixup tests
* fix uss test
* fix frontend settings
* fix grafanads test
* add check when checking sig errors
* fix enabled map
* fixup
* allow manual setup of CM
* rename to cloud-monitoring
* remove TODO
* add installer interface for testing
* loader interface returns
* tests passing
* refactor + add more coverage
* support 'stackdriver'
* fix frontend settings loading
* improve naming based on package name
* small tidy
* refactor test
* fix renderer start
* make cloud-monitoring plugin ID clearer
* add plugin update test
* add integration tests
* don't break all if sig can't be calculated
* add root URL check test
* add more signature verification tests
* update DTO name
* update enabled plugins comment
* update comments
* fix linter
* revert fe naming change
* fix errors endpoint
* reset error code field name
* re-order test to help verify
* assert -> require
* pm check
* add missing entry + re-order
* re-check
* dump icon log
* verify manager contents first
* reformat
* apply PR feedback
* apply style changes
* fix one vs all loading err
* improve log output
* only start when no signature error
* move log
* rework plugin update check
* fix test
* fix multi loading from cfg.PluginSettings
* improve log output #2
* add error abstraction to capture errors without registering a plugin
* add debug log
* add unsigned warning
* e2e test attempt
* fix logger
* set home path
* prevent panic
* alternate
* ugh.. fix home path
* return renderer even if not started
* make renderer plugin managed
* add fallback renderer icon, update renderer badge + prevent changes when renderer is installed
* fix icon loading
* rollback renderer changes
* use correct field
* remove unneccessary block
* remove newline
* remove unused func
* fix bundled plugins base + module fields
* remove unused field since refactor
* add authorizer abstraction
* loader only returns plugins expected to run
* fix multi log output
2021-11-01 10:53:33 +01:00
Will Browne
76d88a6cec
change log level to debug ( #41102 )
2021-11-01 09:00:00 +00:00
Will Browne
67449b95e9
dispatch with context where missing ( #40810 )
2021-10-27 15:57:06 +02:00
Will Browne
728a59f013
bump for CVE-2021-37219 CVE-2021-32574 CVE-2021-36213 ( #40947 )
2021-10-26 17:20:55 +02:00
Will Browne
e4297006f6
Chore: Propagate context for data source provisioning ( #40235 )
...
* context all the things
* apply feedback
* rollback some alerting changes
* rollback some alerting changes #2
* more rollbacks
* more rollbacks #2
* more rollbacks #3
* more rollbacks #4
* fix integration test
* add missing context
* add missing and remove incorrect dispatch
2021-10-18 17:06:19 +02:00
Will Browne
281d60095f
remove refs to --pure-lockfile ( #40345 )
2021-10-13 14:59:47 +02:00
Will Browne
1a71f0fe13
Chore: Add WARN log if grafana server process is running with elevated privileges ( #35205 )
...
* warn on linux
* add warning for grpc plugins
* add windows support
* update go.mod
* reorganize imports
* update naming
* remove Windows logic
* simplify and add check for when UID and EUID don't match
* fix build
* tidy go.mod
* feedback
* cleanup + migrate
2021-09-13 17:46:47 +02:00
Will Browne
40267f5ea0
Plugins: Fix "too many open files" error when verifying signature of plugin with many files ( #39100 )
...
* close file at loop end
* less tired approach
2021-09-13 17:46:26 +02:00
Will Browne
40643ee023
track signature files + add warn log ( #38938 )
2021-09-08 08:49:05 +02:00
Will Browne
e39410c094
Cloud-Monitoring: Ensure service gets dependencies ( #38788 )
...
* ensure cloud-monitoring gets service dependencies
* all one line
2021-09-01 15:29:21 +02:00
Will Browne
1618d5ad6f
use most appropriate func for registering core plugins ( #38497 )
2021-08-25 10:08:48 +02:00
ae17cce316
Plugins: Add Hide OAuth Forward config option ( #36306 )
...
* add prop
* add angular conf
* invert naming
* undo md changes
* fix wording
* y u fail 4 me
* refactor(datasourcesettings): rename hideForwardOAuthIdentityOption prop
* refactor(datasourcesettings): rename scope.hideForwardOAuthIdentityOption
* Update contribute/style-guides/e2e.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* feat(datasourcehttpsettings): add showForwardOAuthIdentityOption to angular wrappers & template
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-08-20 15:53:54 +02:00
Will Browne
697ac937c6
fix with global config state ( #37293 )
2021-08-17 12:16:34 +02:00
Will Browne
8a2f63ee06
Update Makefile ( #37926 )
2021-08-17 12:06:33 +02:00
Will Browne
45754edfbc
bump plugin-sdk-go to fix tls verify field issue ( #37797 )
2021-08-11 16:23:07 +02:00
Will Browne
e0315dabe8
Plugins: Use file extension allowlist when serving plugin assets instead of checking for UNIX executable ( #37688 )
...
* explicitly check for plugin binary
* remove check completely
* resolve conflicts
* allow module + logos
* add tests
* simplify
* rework to allowlist
* add case
* remove old stuff
* simplify
* add case insensitive test
2021-08-09 16:07:54 +02:00
Will Browne
74f89cfd3a
update latest.json for 8.1.0 stable ( #37599 )
2021-08-05 18:05:40 +02:00
Will Browne
5a54deb38b
Add 8.1.0 release notes link ( #37591 )
2021-08-05 15:04:05 +02:00
e403d54ba4
Plugins: Update plugin catalog docs ( #37557 )
...
* docs(catalog): update documentation for 8.1 changes
* docs(catalog): update the image and video links
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* make catalog refs consistent
* Update docs/sources/plugins/catalog.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-08-04 18:35:15 +02:00
Will Browne
312e78ff0b
fix typo ( #37457 )
2021-08-03 09:41:31 +02:00
Will Browne
08a73a5291
Plugins: Perform plugin update check prior to uninstall ( #36909 )
...
* only uninstall if update is possible
* add .
* update lingo for clarity
2021-07-29 11:52:23 +02:00
Will Browne
56702376b6
delay go mod verify until all is copied ( #37246 )
2021-07-27 11:50:25 +02:00
Will Browne
0069d13929
Docs: Add 8.1.0 beta1 and beta2 release note links ( #37140 )
2021-07-23 13:00:23 +03:00
Will Browne
94688be398
Plugins: Use plugin.pluginDir as source of truth for plugin location ( #36711 )
...
* use plugin.pluginDir as source of truth for plugin location
* correct the interface
2021-07-15 09:08:25 +02:00
Will Browne
e82f8dbef9
switch to json resp for errors ( #36743 )
2021-07-15 08:56:11 +02:00
Will Browne
7dbe388d4e
fix gzipped plugin asset response ( #36721 )
2021-07-14 09:38:49 +02:00
Will Browne
e06335ffe9
Plugins: Improve grafana-cli UX + API response messaging for plugin install incompatibility scenario ( #36556 )
...
* improve UX for plugin install incompatability
* refactor test
2021-07-13 09:58:46 +02:00
Will Browne
2616580bae
allow for appropriate content-type to be set ( #36545 )
2021-07-08 11:14:24 +02:00
Will Browne
333d520528
Plugins: Improve API response for plugin assets ( #36352 )
...
* improve API response for plugin assets 403
* remove unnecessary newline
2021-07-07 12:18:05 +02:00
Will Browne
719e78f333
bump version ( #36430 )
2021-07-05 12:19:10 +02:00
Will Browne
ea8aee0432
add note about HA limitation ( #36112 )
2021-06-24 10:16:07 -04:00
Will Browne and achatterjee-grafana
89d8dedece
Plugins: Improve wording around allow_loading_unsigned_plugins configuration ( #35731 )
...
* improve wording
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update conf/sample.ini
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update conf/defaults.ini
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-06-15 18:53:11 +02:00
Will Browne
adbb15a3a7
Plugins: fix test with bad symlink target ( #35737 )
2021-06-15 13:53:09 +02:00
Will Browne
303352a89b
Plugins: Ignore symlinked folders when verifying plugin signature ( #34434 )
...
* add check + test
* fix test
* add manifest
* fix linter
* add nolint
* separate err cond checks
* only collect relevant plugin files
* skip symlinks
* refactor
* add missing test files + enable scanning Chromium.app/
* remove test since case already covered
* remove unnecessary changes from before
* refactor
* remove comment
2021-06-15 11:55:47 +02:00
Will Browne
873e20b7ae
Plugins: Ignore trailing slash in root URL check ( #35338 )
...
* ignore trailing slash in root URL check
* apply pr feedback
2021-06-09 09:57:32 +02:00
Will Browne
2e9ad871b3
remove incorrect use of grafana-cli logger ( #35228 )
2021-06-04 11:06:34 +02:00
Will Browne
057ba4a6e7
fix bad log format ( #35150 )
2021-06-03 10:26:52 +02:00
Will Browne and Ursula Kallio
8d51c2ae97
Plugins: Update plugin signing copy + docs ( #34716 )
...
* update plugin signing copy + docs
* rewording
* remove grafana sig note
* update unsigned plugin wording
* remove org admin reference in catalog docs
* add whitespace to message
* apply pr suggestion
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* apply pr feedback
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
2021-05-31 21:54:53 +02:00
Will Browne
28ccf2c880
add missing statis assets prefix ( #34999 )
2021-05-31 20:30:43 +02:00
Will Browne
aba1801193
Plugins: Check for Grafana admin instead of Org admin ( #35000 )
...
* check for grafana admin where necessary
* fix
2021-05-31 18:42:36 +02:00
Will Browne
98c849d4cc
fix permissions + add link for admins ( #34906 )
2021-05-31 12:30:32 +02:00
Will Browne and Diana Payton
244d3f61c3
Plugins: Add missing docs for plugin catalog ( #34679 )
...
* add missing docs for plugin catalog
* apply PR feedback
* use mp4 instead of gif
* update wording
* Add note about org admins
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* apply pr feedback
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
2021-05-28 16:44:40 +02:00
Will Browne
c7b58fe186
Plugins: Enable catalog management link to gcom ( #34673 )
...
* click out to gcom when config enabled
* set to false
* fix styling for uninstall
* remove advertising config + simplify callout URL
* add entry to configuration.md
* update config name
* update lingo
2021-05-27 12:45:06 +02:00
Will Browne
dbef103fb9
check is grafana admin ( #34773 )
2021-05-27 11:08:16 +02:00
Will Browne
c4dcfdef56
Plugins: Improve plugin installer error messages ( #34437 )
...
* fix and improve error messages
* enrich error message
* ignore previous changes
* revert manual version bump
* remove condition
* fix version param
2021-05-20 15:11:07 +02:00
Will Browne
c1ec13035d
Plugins: Enforce signing for all plugins ( #34364 )
...
* enforce non-backend plugin signing
* fix tests
* add tests
* add signatures
* apply PR feedback
* update upgrading docs
2021-05-19 15:42:50 +02:00
Will Browne and Jack Westbrook
4e31169a43
Plugins: Catalog force enable via config and remove enterprise plugin options ( #34358 )
...
* force enable catalog based on backend config
* update comments
* chore(plugin-catalog): remove config page in favour of backend flag
* docs(plugin-catalog): update readme
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2021-05-19 10:22:31 +02:00
Will Browne
3db0b4ad93
Plugins: Remove Apache licenses from bundled plugins ( #34214 )
...
* remove Apache licenses
* update license links
* remove links from input plugin.json
* remove links
* correct package.json license
* set to private instead
* remove
2021-05-18 15:51:33 +02:00
c39d6ad97d
Plugins: Enable plugin runtime install/uninstall capabilities ( #33836 )
...
* add uninstall flow
* add install flow
* small cleanup
* smaller-footprint solution
* cleanup + make bp start auto
* fix interface contract
* improve naming
* accept version arg
* ensure use of shared logger
* make installer a field
* add plugin decommissioning
* add basic error checking
* fix api docs
* making initialization idempotent
* add mutex
* fix comment
* fix test
* add test for decommission
* improve existing test
* add more test coverage
* more tests
* change test func to use read lock
* refactoring + adding test asserts
* improve purging old install flow
* improve dupe checking
* change log name
* skip over dupe scanned
* make test assertion more flexible
* remove trailing line
* fix pointer receiver name
* update comment
* add context to API
* add config flag
* add base http api test + fix update functionality
* simplify existing check
* clean up test
* refactor tests based on feedback
* add single quotes to errs
* use gcmp in tests + fix logo issue
* make plugin list testing more flexible
* address feedback
* fix API test
* fix linter
* undo preallocate
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* fix linting issue in test
* add docs placeholder
* update install notes
* Update docs/sources/plugins/marketplace.md
Co-authored-by: Marcus Olsson <marcus.olsson@hey.com >
* update access wording
* add more placeholder docs
* add link to more info
* PR feedback - improved errors, refactor, lock fix
* improve err details
* propagate plugin version errors
* don't autostart renderer
* add H1
* fix imports
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: Marcus Olsson <marcus.olsson@hey.com >
2021-05-12 20:05:16 +02:00
Will Browne
5c13820bba
Ensure http client has no timeout ( #33856 )
2021-05-10 16:59:33 +02:00
Will Browne and Marcus Efraimsson
9726c76429
Chore: Swap out use of backend plugin SDK's backend.Logger ( #33783 )
...
* Remove use of backend SDKs backend.Logger
* reorder imports
* FIx logger name
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2021-05-07 15:16:21 +02:00
Will Browne
3b10451f9f
version bump ( #33784 )
2021-05-06 16:40:04 +02:00
Will Browne
6958340b24
Plugins: Support installing to folders with whitespace and fix pluginUrl trailing and leading whitespace failures ( #32506 )
...
* Plugins: Support installing to folders with whitespace and fix pluginUrl trailing and leading whitespace failures
* update docs
* update docs
2021-04-27 16:30:59 +02:00
Will Browne
8e6205c107
Plugins: Move plugin installing + uninstalling logic from CLI to plugins package ( #33274 )
...
* move guts from cli to server
* renaming + refactoring
* add pluginsDir arg
* arg fixes
* add support for repo URL override
* add funcs to interface
* use pluginID consistently
* swap args
* pass mandatory grafanaVersion field
* introduce logger interface
* create central logger for CLI
* add infra log wrapper
* re-add log initer step
* remove unused logger
* add checks for uninstalling
* improve debug blue
* make sure to close file
* fix linter issues
* remove space
* improve newline usage
* refactor packaging
* improve logger API
* fix interface func names
* close file and reformat zipslip catch
* handle G305 linter warning
* add helpful debug log
2021-04-26 16:13:40 +02:00
Will Browne
c37a3bebb7
Plugins: Serve static assets directly instead of through middleware handler ( #32779 )
...
* removed static routes from macaron
* move path src to plugins pkg
* use plugin details
* remove dead code
* fixes
* use clean from std lib
* reformat imports
* remove caching headers + add security checks
* revert using no cache header middleware
* add cache-control headers
* add 404 check
* use new var for subsequent file handling
2021-04-21 15:17:23 +02:00
Will Browne
6a3faad0b0
Chore: Bump grafana-aws-sdk dep to 0.4.0 ( #32563 )
2021-03-31 18:30:32 +02:00
Will Browne
1d7f155c92
remove unnecessary state ( #32278 )
2021-03-29 14:22:56 +02:00
Will Browne
d7862c50b8
Plugins: Migrate CloudWatch to backend plugin SDK ( #31149 )
...
* first pass
* add instance manager
* fix tests
* remove dead code
* unexport fields
* cleanup
* remove ds instance from executor
* cleanup
* inline im
* remove old func
* get error working
* unexport field
* let fe do its magic
* fix channel name
* revert some tsdb changes
* fix annotations
* cleanup
2021-03-23 16:32:12 +01:00
Will Browne
8e1c2d6472
move backend docs to their relevant folder ( #32041 )
2021-03-17 09:41:16 +01:00
Will Browne
9454a4e125
add more context to unknown delta log ( #31943 )
2021-03-12 15:38:23 +01:00
Will Browne
c40d96d0ab
Plugins: Remove pre-existing plugin installs when installing with grafana-cli ( #31515 )
...
* remove old install before install if exists
* fix log format
2021-03-10 19:13:08 +01:00
Will Browne
9ea3a65d46
Chore: add alias for what's new 7.5 ( #31668 )
2021-03-04 10:45:08 +01:00
Will Browne
a606a49cb2
propagate plugin unavailable message to UI ( #31560 )
2021-03-01 18:54:10 +01:00
Will Browne
d33375ade9
use 0.1.0 ( #31215 )
2021-02-15 12:53:20 +01:00
Will Browne
da3f963987
convert path to posix by default ( #31045 )
2021-02-09 16:21:45 +01:00
Will Browne
f4e12c1c19
Docs: Fix bad image path for alert notification template ( #30911 )
2021-02-04 18:11:55 +01:00
Will Browne
3b7b49a4aa
Auth: Use SigV4 lib from grafana-aws-sdk ( #30713 )
...
* replace with lib
* remove test + apply feedback
2021-02-01 16:07:27 +01:00
Will Browne
bdf00d3a59
Docs: Refer to product docs in whats new for alerting templating feature ( #30652 )
...
* Docs: Refer to product docs in whats new for alerting templating feature
* move link below image
* remove whitespace
2021-01-27 14:27:01 +01:00
Will Browne
ad7d75c14d
Docs: Update 7.4 What's New to use more correct description of alerting notification template feature ( #30502 )
...
* use more correct description of feature
* reference variable templating
* add word
2021-01-25 20:18:26 +01:00
Will Browne
7562c6749d
Cloud Monitoring: Fix legend naming with display name override ( #30440 )
...
* Cloud Monitoring: Fix legend naming with display name override
* include MQL queries
* cover all bases
* refactor
2021-01-21 15:08:57 +01:00
Will Browne
0c67ceadb8
Docs: Fix img link for alert notification template ( #30436 )
...
* fix img link
* update image name
2021-01-20 17:26:58 +01:00
Will Browne and Arve Knudsen
c9da053e5d
Alerting: Evaluate data templating in alert rule name and message ( #29908 )
...
* evaluate Go style template
* inlince func
* add test case
* PR feedback and add tests for templte data map func
* Add test case
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* do regex check
* ensure ecape
* small cleanup
* dont exit on template execution errors
* add info tooltip
* add docs
* switch from go tmpl to regex
* update docs/comments
* update tooltip wording
* update docs wording
* add simple test
* avoid .MustCompile
* point to labels in docs
* update docs
* fix docs links
* remove line
* fix lint
* add note about multiple labels
* propagate labels for CM
* update docs
* remove whitespace
* update task title
* update docs
* pr feedback
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-19 22:02:44 +01:00
Will Browne
ffd86f2a5b
Plugins: Force POSIX style path separators for manifest generation ( #30287 )
...
* force POSIX style path separators
* include posix style for symbolic links
* include in error string
2021-01-19 15:26:50 +01:00
Will Browne
a0a1422b2d
Auth: Add missing request headers to SigV4 middleware allowlist ( #30115 )
...
* Auth: Add Content-Type to SigV4 header allowlist
* add MT headers to permitted headers
* add Kibana API header to allowlist
* add Content-Length header to allow list
2021-01-14 09:06:09 +01:00
Will Browne
af47d28499
Alerting: Copy frame field labels to time series tags ( #29886 )
...
* Alerting: Copy frame field labels to time series tags
* keep comment
* add test case
2020-12-16 18:07:45 +01:00
Will Browne
a515c54404
Plugins: Add support for signature manifest V2 ( #29240 )
...
* add support for signing manifest v2
* add log and fix var name
* shorten comment
* improve comment
* remove unnecessary param
* improve naming
* reformat
* rename var
* refactor test
* remove unnecessary assert
* simplify test requirements
* add more test cases
* address feedback
* revert naming
* flip tracking missing
* fix check
* Trigger Build
2020-12-11 12:57:57 +01:00