Arve Knudsen
dff84f6a31
Chore: Remove dead code ( #28664 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-05 11:00:00 +01:00
Torkel Ödegaard
fa567de9b8
Cloudwatch: Fix issue with field calculation transform not working properly with Cloudwatch data ( #28761 )
...
* Cloudwatch: Fix issue with reducer transform not working properly with Cloudwatch data
* Updated go sdk and updated code
* CloudWatch: Improve test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-03 11:24:26 +01:00
kay delaney
c4c5b2dc61
CloudWatch Logs queue and websocket support ( #28176 )
...
CloudWatch Logs queue and websocket support
2020-10-28 08:36:57 +00:00
Arve Knudsen
70c7724b65
GCS image uploader: Add tests ( #28521 )
...
* GCS uploader: Add tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use go generate
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-26 20:35:12 +01:00
gastonqiu
1646de4540
Image uploader: Fix uploading of images to GCS ( #26493 )
...
* GCS image uploader: Re-implement with Google SDK
Signed-off-by: gaston.qiu <gaston.qiu@umbocv.com>
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-24 13:00:36 +02:00
Carl Bergquist
74d1d3c6a8
Instrumentation: Add counters and histograms for database queries ( #28236 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-19 20:06:12 +02:00
Arve Knudsen
957c88eaca
CloudWatch: Re-implement authentication ( #25548 )
...
* CloudWatch: Revisit authentication
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Simplify auth code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use ARN
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add Drone configuration
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unused code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove .drone.yml
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix external ID usage
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Fix issues after merge
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove stale code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove stale code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use auth type enum
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix test snapshot
* Coordinate frontend and backend option names
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove old comments
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix front-end tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Introduce session cache
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use constants
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix field alignment
* CloudWatch: Fix log message
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Tidy go.mod
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Handle arn auth type
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Fix role assumption duration
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Inline unnecessary constants
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Use serial comma in UI
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Inline unnecessary constants
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Fail if missing region
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Handle unconfigured region
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Log when using cached session
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Include region in cache key
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add UI warnings for lecagy support
* Do not clear ARN fields whenging change authentication provider
* Graph NG: annotations display (#27972 )
* Annotations support POC
* Fix markers memoization
* dev dashboard update
* Update public/app/plugins/panel/graph3/plugins/AnnotationsPlugin.tsx
* CloudWatch: Remove errors.BadRequest
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Undo unintentional change
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove log line
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix cache key computation
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add region to cache key
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve log messages
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Add documentation
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve tooltip
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve docs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve docs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve docs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve tooltip
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add role assumption provisioning example
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add upgrade notes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve docs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* backend: use latest sdk (#28147 )
fixes #27713 via https://github.com/grafana/grafana-plugin-sdk-go/pull/227
* Docs: Update Permissions documentation (#28144 )
* removed overview.md
* content updates
* Update datasource_permissions.md
* update content
* content updates
* Update organization_roles.md
* Update docs/sources/enterprise/saml.md
Co-authored-by: Kyle Brandt <kyle@grafana.com>
* Update dashboard_folder_permissions.md
Co-authored-by: Kyle Brandt <kyle@grafana.com>
* area/grafana/toolkit: ci-package needs to use synchronous writes (#28148 )
* ci needs to use synchronous writes or the file ends up with zero length
* <Enterprise Docs> Add instructions to upload license via UI (#28067 )
* Add UI license upload option, reformat Enterprise license activation section
Added the option to upload a license file through the Server Admin UI, and did a little reformatting to make license activation look more like a process.
* Headers not bold, hyphens not asterisks
* Github: run metrics collector workflow every 10min (#28153 )
* GithubActions: Updated cron schedule
* Updated
* Docs: Update explore docs: remove dot at the end of line (#28151 )
HI - Removed Dot(.) at the end of line to make it consistent with other 2 points.
Thanks,
Ashish
* Fix frontend tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix frontend tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Docs: Update upgrade notes
Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Kyle Brandt <kyle@grafana.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Brian Gann <briangann@users.noreply.github.com>
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: ashishagarwal06 <34888589+ashishagarwal06@users.noreply.github.com>
2020-10-12 17:58:58 +02:00
Kyle Brandt
768392f45f
backend: use latest sdk ( #28147 )
...
fixes #27713 via https://github.com/grafana/grafana-plugin-sdk-go/pull/227
2020-10-09 12:05:11 -04:00
Alexander Zobnin
b55a51e270
SAML Single Logout ( #27995 )
...
* SAML: single logout WIP
* SAML: sign SAML requests
* SAML: remove unnecessary logs
* fix go mod file
* Docs: Single Logout
* SAML: use api endpoint for single logout
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* SAML: save context for single logout
* Chore: add SAML dependencies
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-10-08 17:42:55 +03:00
Emil Tullstedt
2e4191afca
Chore(crewjam/saml): go get -u ( #27598 )
2020-09-15 16:38:23 +02:00
Ryan McKinley
aa40320b45
Live: check logged-in-user for grafana live ( #27436 )
2020-09-15 00:01:14 -07:00
Marcos Mendez
4e94c0959a
Image Store: Add support for using signed URLs when uploading images to GCS ( #26840 )
...
Enables creating signed URLs when uploading images to Google Cloud Storage.
By using signed urls, not only is the public URL expiration configurable but the
images in the bucket are not publicly accessible.
Fixes #26773
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-09-07 19:10:14 +02:00
Arve Knudsen
19c8097595
Chore: Upgrade to Go 1.15.1 ( #27326 )
...
* Chore: Upgrade to Go 1.15.1
2020-09-02 15:51:19 +02:00
Joan López de la Franca Beltran
57b2d08755
Core: Add go-grpc-middleware dependency ( #27231 )
2020-08-28 15:33:21 +02:00
Joan López de la Franca Beltran
c91bfd8299
Core: Add loki/logproto dependency ( #27124 )
...
* Add grafana/loki dependency and update its dependencies
* Update grpcplugin log_wrapper to implement the latest version of hclog.Logger
* Remove panic handling + test case no longer needed since the source of panics (bug) was fixed
2020-08-25 11:52:21 +02:00
Ryan McKinley
cd9a773427
InfluxDB: use converters from SDK ( #27138 )
2020-08-24 13:19:32 -07:00
Arve Knudsen
3b248fccc8
Drone: Add Windows PR pipeline ( #26589 )
...
* Drone: Add Windows PR pipeline
* CI: Add Dockerfile for WiX image
2020-08-19 11:46:36 +02:00
Arve Knudsen
be3bf80749
InfluxDB: Upgrade to latest InfluxDB Go client ( #27021 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-17 08:32:26 +02:00
Arve Knudsen
50ebbb625e
InfluxDB: Upgrade Go client, use data source HTTP client ( #27012 )
...
* InfluxDB: Upgrade Go client, use data source HTTP client
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unnecessary Close
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-14 18:40:02 +02:00
Arve Knudsen
16c185c3b9
Chore: Drop xerrors dependency ( #26718 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-31 09:45:20 +02:00
Ryan McKinley
339138d61a
Live: include a streaming event manager ( #26537 )
2020-07-27 00:26:16 -07:00
Ryan McKinley
1f271d06e9
InfluxDB: flux query result can cause crash ( #26329 )
2020-07-14 11:06:27 -07:00
Arve Knudsen
bbe8cc4c84
Chore: Upgrade go-mssqldb ( #26188 )
...
* Chore: Upgrade go-mssqldb
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Apply feedback from reviews
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-13 13:19:40 +02:00
Kyle Brandt
c1ede4fc71
backend: use latest go plugin sdk (0.74.0) to sort wide frames ( #26207 )
...
This makes it so results are more stable between refreshes of data and fixes sorting issues with Azure Application Insights service as well as the two Azure Analytics services.
fixes #22937
2020-07-10 12:22:50 -04:00
kay delaney
fd29b952a6
Backend: use latest Go plugin SDK ( #26162 )
2020-07-08 15:26:49 +01:00
Dhananjay
3ef06a0c88
Cloudwatch: Add Support for external ID in assume role ( #23685 )
...
Co-authored by: Arve Knudsen
2020-07-02 15:24:36 +02:00
Kyle Brandt
d243cd9421
Backend: use latest Go plugin sdk ( #25909 )
...
* backend: use latest go plugin sdk which fixes #25287
* update for Frame.Meta.Custom SDK changes
2020-06-29 16:20:24 -04:00
Arve Knudsen
dcd5752086
Chore: Upgrade macaron ( #25869 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-06-29 19:15:11 +02:00
Marcus Efraimsson
5d1508ed8c
Instrumentation: Fix setting Jaeger tracing address through Grafana config ( #25768 )
...
Upgrades jaeger-client-go to v2.24.0 to resolve problem with setting Jaeger tracing
address through Grafana config.
Fixes #25563
2020-06-23 19:23:49 +02:00
Ryan McKinley
05ed781184
InfluxDB: use released client 1.3.0 ( #25725 )
2020-06-22 10:19:26 -07:00
Marcus Efraimsson
c0f3b2929c
Backend plugins: Refactor to allow shared contract between core and external backend plugins ( #25472 )
...
Refactor to allow shared contract between core and external backend plugins
allowing core backend data sources in Grafana to be implemented in same
way as an external backend plugin.
Use v0.67.0 of sdk.
Add tests for verifying plugin is restarted when process is killed.
Enable strict linting for backendplugin packages
2020-06-11 16:14:05 +02:00
Ryan McKinley
5f1f820bb9
Influx: Support flux in the influx datasource ( #25308 )
...
* add flux
* add token to datasource config editor
* add backend for flux
* make the interpolated query available in query inspector
* go mod tidy
* Chore: fixes a couple of strict null errors in influxdb plugin
Co-authored-by: kyle <kyle@grafana.com>
Co-authored-by: Lukas Siatka <lukasz.siatka@grafana.com>
2020-06-10 15:26:24 -04:00
Kyle Brandt
17d3bb4287
backend: use latest Go sdk ( #25304 )
...
* uses plugin-sdk-go v0.66.0, which adds adds the ExecutedQueryString property to FrameMeta and changes s/Title/DisplayName in FieldConfig
* go mod tidy
2020-06-03 04:03:37 -04:00
Marcus Efraimsson
890e1d8f94
Backend plugins: Send query type to backend plugins ( #24120 )
...
Use v0.60.0 of sdk.
2020-05-05 10:32:34 +02:00
Kyle Brandt
0dc8f4ea89
backend_plugins: duration support in Frame ( #23962 )
...
sdk v0.57.0
go mod tidy
2020-04-27 14:48:20 -04:00
kay delaney
f48ba11d4c
Datasource/Cloudwatch: Adds support for Cloudwatch Logs ( #23566 )
...
* Datasource/Cloudwatch: Adds support for Cloudwatch Logs
* Fix rebase leftover
* Use jsurl for AWS url serialization
* WIP: Temporary workaround for CLIQ metrics
* Only allow up to 20 log groups to be selected
* WIP additional changes
* More changes based on feedback
* More changes based on PR feedback
* Fix strict null errors
2020-04-25 22:48:20 +02:00
Kyle Brandt
80e1191ca0
Backend Plugins: (breaking change) Add PluginContext ( #23788 )
...
* breaking change for newer backend plugins
* use exported protobuf converters and sdk types to reduce duplicate code
* uses grafana-plugin-sdk-go@v0.54.0
2020-04-23 14:08:21 -04:00
Marcus Efraimsson
871ad73414
Backend plugins: Renderer v2 plugin ( #23625 )
...
grafana-plugin-model is legacy and is replaced by new backend
plugins SDK and architecture. Renderer is not part of SDK and
we want to keep it that way for now since it's highly unlikely there
will be more than one kind of renderer plugin.
So this PR adds support for renderer plugin v2.
Also adds support sending a Device Scale Factor parameter to the
plugin v2 remote rendering service and by that replaces #22474 .
Adds support sending a Headers parameter to the plugin v2 and
remote rendering service which for now only include
Accect-Language header (the user locale in browser when using
Grafana), ref grafana/grafana-image-renderer#45 .
Fixes health check json details response.
Adds image renderer plugin configuration settings in defaults.ini
and sample.ini.
Co-Authored-By: Arve Knudsen <arve.knudsen@gmail.com>
2020-04-21 16:16:41 +02:00
Ryan McKinley
aaab636bf4
Plugins: verify manifest signature ( #23519 )
...
* try decode
* vendor crypto deps
* commited missing vendor deps
* Theme: Refactoring theme colors variables (#23513 )
* Theme: Typography updates
* Updated
* Updated snapshot
* Renamed colors to palette
* Introduce colors namespace
* Massive theme color move
* Removing color selection logic with more abstract concepts
* Updates
* Minor sidemenu change
* Fix example jaeger agent port in docs (#23514 )
* @grafana/ui: Replace various icons using Icon component (#23442 )
* Replace icons in dashboard and settings
* Replace icons in alerting
* Update batch of icons
* Implement icons accross various files
* Style updates
* Search: Fix recent and starred icons
* Update styling and details
* Replace new icon created by unicons
* Fix e2e test, styling
* Minor styling updates
Co-authored-by: Clarity-89 <homes89@ukr.net>
* trying with p512 key
* trying with p512 key
* lint
* update with real signatures
* fixes spacing in test files
* remove convey from test
* use errutil to wrap errors
* removes print statement
* splitt tests into two run statements
* unexport plugin manifest struct
Co-authored-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
Co-authored-by: Clarity-89 <homes89@ukr.net>
2020-04-14 06:02:39 -07:00
Kyle Brandt
5153673884
BackendPlugins: update to sdk v0.42.0
...
misc cleanup
2020-04-09 15:47:30 -04:00
Marcus Efraimsson
a29056966c
Use v0.39.0 of SDK ( #23388 )
2020-04-08 18:54:23 +02:00
Arve Knudsen
7799dd84c1
Chore: Upgrade to Go 1.14 ( #23371 )
...
* Chore: Upgrade to Go 1.14
* Chore: Bump version of grafana/grafana-ci-deploy Docker image
* Chore: Fix/bump version of grafana/build-container Docker image
* CircleCI: Upgrade build Docker images
2020-04-08 14:13:05 +02:00
Kyle Brandt
f6cbb26167
BackendPlugin: Change QueryData response format ( #23234 )
...
* BackendPlugin: (wip) change response format
goes with https://github.com/grafana/grafana-plugin-sdk-go/pull/109
* fix error mapping in wrapper
* latest of my sdk branch
* latest of my sdk branch
* TransformWrapper fixes
* latest of sdk branch (removes extra meta)
* add metadata in wrappers
* also set error string
* sdk: v0.35.0
2020-04-07 10:13:14 -04:00
Noval Agung Prayogo
ea35ae4d1f
Chore: Update the xorm dependency ( #22376 )
...
* Upgrade xorm
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-04-01 15:57:21 +02:00
Agnès Toulet
f63877f247
Core: Add go-datemath library ( #22978 )
2020-03-26 10:26:47 +01:00
Marcus Efraimsson
b0253219eb
Use v0.33.0 of SDK ( #23031 )
2020-03-24 15:01:02 +01:00
Kyle Brandt
0e09a3fe15
Alerting: support alerting on data.Frame (that can be time series) ( #22812 )
...
data.Frame (that can be series) are converted to as tsdb.TimeSeriesSlice - so new backend plugins can be shimmed into existing alerting
use sdk v0.31.0
2020-03-18 10:30:07 -04:00
Carl Bergquist
b0407b3578
upgrades plugin sdk to 0.30.0 ( #22846 )
...
ref grafana/grafana-plugin-sdk-go#94
ref grafana/grafana-plugin-sdk-go#70
2020-03-17 16:58:52 +01:00
Carl Bergquist
ebc9549cbc
Add support for sending health check to datasource plugins. ( #22771 )
...
closes #21519
ref grafana/grafana-plugin-sdk-go#93
2020-03-13 12:31:44 +01:00
Kyle Brandt
69a5530aec
Backend Plugins: use sdk v0.26.0 ( #22725 )
...
allows Field names to be duplicated, goes with #22705
2020-03-11 10:06:16 -04:00