Commit Graph

25766 Commits

Author SHA1 Message Date
Torkel Ödegaard
81e955e6b5 BackendSrv: Cancellable requests & Observable all the way (#25746)
* BackendSrv: Observable all the way POC

* starting to unify code paths

* tests pass

* Unified error handling

* Single request path and error handling

* Fixed ts issue

* another ts issu

* Added back old requestId cancellation

* Slow progress trying to grasp the full picture of cancellation

* Updates

* refactoring

* Remove a bunch of stuff from backendSrv

* Removed another function

* Do not show error alerts for data queries

* Muu

* Updated comment

* fixed ts issue

* unify request options type

* Made query inspector subscribe to backendSrv stream instead of legacy app events

* Add back support for err.isHandled to limit scope

* never show success alerts

* Updated tests

* Fixing tests

* Minor weak

* Improved logic for the showErrorAlert and showSuccessAlert boolean flags, now they work more logically

* Fix issue
2020-07-07 21:22:47 +02:00
Arve Knudsen
ba4a8256a4 Chore: Rename plugin CI image as grafana/grafana-plugin-ci:latest-alpine (#26106)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-07 19:16:22 +02:00
Ivana Huckova
52f12d10c5 Explore/Loki: Escape \ in labels for show context queries (#26116)
* Hot fix, keep the file

* Add comment

* Update public/app/plugins/datasource/loki/datasource.ts

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

* Remove script.go file

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-07 17:42:49 +02:00
Dominik Prokop
74b2c2acdc Fix lint (#26130) 2020-07-07 16:48:25 +02:00
Kyle Brandt
9164a35240 Azure: Restore Insights Metrics alias feature (#26098)
also fix case sensitivity for azure monitor metrics
2020-07-07 08:42:03 -04:00
Dominik Prokop
eb4391a228 grafana/ui: Do not rename export for InlineFormLabel (#26118) 2020-07-07 14:09:58 +02:00
Dominik Prokop
36e9d262c0 Add guide and tooling for local packages registry setup (#26110) 2020-07-07 14:07:00 +02:00
Arve Knudsen
e7e854ea33 Upgrade build pipeline tool (#26112)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-07 13:31:19 +02:00
Dominik Prokop
aa671c863e Chore: Bump rxjs to latest (#26084) 2020-07-07 10:45:15 +02:00
Arve Knudsen
953a80d76f CircleCI: Check errors from publishing master Docker images (#26107)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-07 10:16:22 +02:00
Torkel Ödegaard
c9f22b72e3 StatPanel: Fixes issue with name showing for single series / field results (#26070)
* StatPanel: Fix text mode auto logic

* Removed import
2020-07-07 10:16:06 +02:00
Arve Knudsen
586d26c729 Chore: Replace scopelint with exportloopref (#26075)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-07 10:01:39 +02:00
Sofia Papagiannaki
e8a8159085 Cloudwatch: Update AWS/MediaConnect metrics and dimensions (#26093)
* Cloudwatch: Update AWS/MediaConnect dimensions

* Cloudwatch: Update AWS/MetricConnect metrics
2020-07-07 10:16:20 +03:00
Peter Holmberg
8f1115c6ac Fix: Icon and Tooltip on Variables editor (#26086) 2020-07-07 08:45:37 +02:00
Eivind Gussiås Løkseth
6b0d753728 Docs: Fix list of sample providers (#26067)
* Fix list of sample providers

The sample providers on this page has changed, so the list at the top of the page is no longer correct. Also link to Octo and Azure AD pages from here, since they are also OAuth2 providers.

* Fix misspelled Okta

* Make bullet list of OAuth2 providers

* Sort list of OAuth2 providers alphabetically
2020-07-06 14:28:31 -07:00
Diana Payton
d72c25500a Docs: Update plugin-signature-verification.md (#26030)
minor edit
2020-07-06 13:08:32 -07:00
Diana Payton
3a57ba20cf Docs: Update _index.md (#26028) 2020-07-06 13:07:54 -07:00
Marcus Olsson
0f41ca620b Docs: Add guidelines for inclusive language (#25533)
* Docs: Add guidelines for inclusive language

* Fix review comments

* Fix review comments

* Update documentation-style-guide.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-07-06 12:59:34 -07:00
Torkel Ödegaard
7e8bd0c1b7 Chore: Fix typescript strict null errors from 674 -> 565 (#26057)
* Chore: Fix typescript strict null errors

* Added new limit

* Fixed ts issue

* fixed tests

* trying to fix type inference

* Fixing more ts errors

* Revert tsconfig option

* Fix

* Fixed code

* More fixes

* fix tests

* Updated snapshot
2020-07-06 21:16:27 +02:00
Torkel Ödegaard
4fc984f771 TestData: Pass scoped vars when interpolating alias (#26088) 2020-07-06 20:55:19 +02:00
Arve Knudsen
c711b792fe Plugin CI image: Pin Alpine version, don't use apk cache (#26095)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-06 20:44:54 +02:00
Arve Knudsen
41d432b5ae Chore: Enable whitespace linter (#25903)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-06 20:17:28 +02:00
Diana Payton
42295898b8 Docs: Update auth.md (#26034) 2020-07-06 07:56:26 -07:00
Labesse Kévin
8e7a88faff Imagestore: Fallback to application default credentials when no key file is specified for GCS (#25948)
The external image storage for GCS creates the JWT Token from a credentials file, 
but if your Grafana server runs under a GCE instance with a service account on it, 
you can use that instead (you don't have to manage/secure the credentials file).

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-07-06 15:02:58 +02:00
Sofia Papagiannaki
44dff6fdd0 Auth: Fix POST request failures with anonymous access (#26049)
Macaron context.QueryBool() seems to modify the request context
that causes the POST and PUT requests to fail with:
"http: proxy error: net/http: HTTP/1.x transport connection broken: http: ContentLength=333 with Body length 0"
2020-07-06 15:59:00 +03:00
Leonard Gram
632c54f91d Docs: monthly reports (#25964)
* Docs: monthly reports

* Docs: version available

* Docs: feedback from Diana and Agnes.
2020-07-06 13:49:35 +02:00
Andreas Opferkuch
390c80d7f5 ThemeContext: Make useStyles type-aware (#26056)
PLUS:
Make it more consise
Add unit test
2020-07-06 12:16:02 +02:00
annegies
a2737c0896 Remove break from ldap, get all groups from all the group base searches specified (#25825)
Signed-off-by: Annegies van 't Zand <ace.vtzand@gmail.com>
2020-07-06 12:02:39 +02:00
Eivind Gussiås Løkseth
338ce0cc10 Docs: Default configuration is defaults.ini (#26071)
Fixes #26068 
The `conf ` directory doesn't have any `grafana.ini`, but a `defaults.ini`, which contains the default configuration.
2020-07-06 11:00:03 +02:00
Torkel Ödegaard
6f13f2de7d Docs: Update enterprise docs landing (#26072)
Closes #26069
2020-07-06 10:59:06 +02:00
Arve Knudsen
5321360021 Chore: Upgrade golangci-lint (#26074)
* Chore: Upgrade golangci-lint
2020-07-06 09:43:26 +02:00
Ryan McKinley
af5dff8a1b panel Inspect: improve structure debugging (#26065) 2020-07-04 15:14:57 -07:00
Torkel Ödegaard
8be735a6ec TextPanel: Fixed issue with new react text panel (#26061) 2020-07-04 21:26:55 +02:00
Torkel Ödegaard
c5cd9c5648 E2E: Trying to fix flake e2e (#26063) 2020-07-04 17:30:41 +02:00
Torkel Ödegaard
d19d6128c9 Revert "Inspect: Hide minimap in json view"
This reverts commit 0dd5c4e69d.
2020-07-04 12:26:54 +02:00
Torkel Ödegaard
0dd5c4e69d Inspect: Hide minimap in json view 2020-07-04 12:23:58 +02:00
Ryan McKinley
c0762b6ddc Chore: reduce null check errors/warnigns (#25223)
* fix a few null errors

* more

* flip logic

* merge master

* more

* fewer changes

* processor

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-07-03 17:49:29 +02:00
Carl Bergquist
26852ca788 Instrument dashboard versions and annotation count (#26044) 2020-07-03 15:47:46 +02:00
David
081f954a2b Explore: Don't run queries on datasource change (#26033)
- more and more datasources are having long-running queries,
automatically triggering is becoming more of a burden than a help.
- some datasource queries might actually cost money, so running queries
should be explicit.
2020-07-03 15:04:57 +02:00
Torkel Ödegaard
66460ae740 InfluxDB: Fixed new group by dropdown now showing (#26031) 2020-07-03 14:58:29 +02:00
Ryan McKinley
3acc2a6ac2 Table: JSON Cell should try to convert strings to JSON (#26024) 2020-07-03 10:23:32 +02:00
Steven Vachon
634d8d60d6 @grafana/e2e: close options panel before interacting with the query form (#26036)
... it's logically better, but the real reason is to appease Cypress which was cause a consistent request error for a single plugin (datadog-datasource). An error which could not be reproduced manually.
2020-07-03 10:22:56 +02:00
Tobias Skarhed
b06d2cf30f AdminUsersTable: Fix width (#26019) 2020-07-03 09:24:36 +02:00
Josh Soref
dec76b4556 Graph panel: Move Stacking and null values before Hover tooltip options (#26037) 2020-07-03 09:14:44 +02:00
Ivana Huckova
8b46655361 Elastic: Fix displaying of correct log message (#26020)
* Fix default field, remove redundant line field check

* Add comments
2020-07-03 09:10:59 +02:00
Ryan McKinley
b7792de16d grafana/data: do not bundle rxjs (#26039) 2020-07-03 09:07:17 +02:00
Peter Holmberg
02a46a5d61 Migrate: Error page (404) (#26010)
* first things

* simple migration and remove angular part
2020-07-03 08:53:54 +02:00
ChrisDGH
45bbee2dea Update _index.md 2020-07-02 15:03:03 -04:00
Sofia Papagiannaki
b765b4130f Chore: updated testing in latest.json to 7.1.0-beta2 (#26018) 2020-07-02 17:49:42 +03:00
Maksim Nabokikh
3720c25638 grafana-cli: Add ability to read password from stdin to reset admin password (#26016)
* grafana-cli: Add ability to read password from stdin to reset admin password

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-02 16:29:10 +02:00