Commit Graph

33524 Commits

Author SHA1 Message Date
Sofia Papagiannaki
d718ee1918 SQLStore: Prevent concurrent migrations (#44101)
* SQLStore: Prevent concurrent migrations

* Hide behind a feature toggle

* Configurable locking attempt timeout

* Update docs/sources/administration/configuration.md

Co-authored-by: Igor Suleymanov <radiohead@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-02-15 18:54:27 +02:00
Dimitris Sotirakis
163b570f5d CI: Remove manual gcloud authentication (#44986)
* Remove manual gcloud auth from store-packages

* Update grabpl
2022-02-15 16:45:37 +02:00
Ivana Huckova
636a45f065 Query history: Create API to patch comment of query in query history (#44981)
* Query history: Patch comment

* Update docs/sources/http_api/query_history.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/http_api/query_history.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Remove redundant check

* Use WithTransactionalDbSession to update comment

* Fix status code in test

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-02-15 15:43:17 +01:00
Torkel Ödegaard
a757a57c6e Prometheus: Show executed query in inspector (#45362)
* Prometheus: Show executed query in inspector

* Loki: Improving test
2022-02-15 15:02:03 +01:00
Serge Zaitsev
b9e5bae51f Chore: Remove bus.Dispatch from cleanup service (#45401) 2022-02-15 14:56:19 +01:00
Gabriel MABILLE
d11f6a95a4 AccessControl: Enable empty list New button based on user permissions (#45398) 2022-02-15 14:51:19 +01:00
Joey Tawadrous
f8ae66ff5a Updated broken links (#43849) 2022-02-15 13:42:21 +00:00
Gabriel MABILLE
91dd0563c9 AccessControl: Trigger permission reload with team removal (#45383) 2022-02-15 14:23:40 +01:00
Torkel Ödegaard
ed5b2e5210 Move QueryPartDef out from angular app (#45386) 2022-02-15 14:20:50 +01:00
Ivana Huckova
6a828a051a Logs: Fix LogDetailsRow tests that produced console errors (#45388)
* Fix LogDetailsRow tests that produced console errors

* Use div instead of wrapping with table

* Use div instead of wrapping with table
2022-02-15 14:06:24 +01:00
Gilles De Mey
651bb773db Alerting: do not unescape external AM label values (#45334) 2022-02-15 13:57:00 +01:00
kay delaney
e1ff4dc9fe NewsPanel: Add support for Atom feeds (#45390) 2022-02-15 12:26:59 +00:00
Marcus Andersson
146eed400a TempalteSrv: re-adding variabelExists to prevent breaking angular plugins. (#45387) 2022-02-15 13:22:13 +01:00
Shirley
1c1a45a880 CloudWatch: Add tests to annotations query (#45337) 2022-02-15 12:45:50 +01:00
Hugo Häggmark
f1c4da095b Chore: Removes console output from InspectDataTab.test.tsx (#45374) 2022-02-15 13:33:10 +02:00
Joey Tawadrous
1b3dd310c0 Loki: Uppercase autocomplete (#45123)
* Updated regex

* Added test for uppercase

* Updated regex
2022-02-15 11:02:51 +00:00
Levente Balogh
27ee091d49 Chore: fix Levitate reporting issues with missing PR numbers (#45381)
* chore: persist the PR number in the Levitate workflow artifact

This is going to be used later in the reporting workflow, as for
3rd party (fork) PRs Github doesn't correctly populate the `workflow_run` context (the PR number is missing from it).

* chore: use the PR number from the artifact for Levitate reporting
2022-02-15 11:10:44 +01:00
Levente Balogh
4aca996c55 fix: use the a PAT instead of the GITHUB_TOKEN (#45376) 2022-02-15 11:06:23 +01:00
Hugo Häggmark
10a9ca0ae1 Chore: Removes console outputs from runRequest.test.ts (#45375) 2022-02-15 11:12:26 +02:00
Gábor Farkas
a612087c63 loki: remove fullRangeLogsVolume feature flag (#45286) 2022-02-15 09:05:03 +01:00
Marcus Andersson
9a12b3ea00 TemplateSrv: exposing a function to detect if a target contains a template (#45214)
* exposing a function to check if a target contains variables.

* fixed tests.

* renamed function

* updated betterer result.
2022-02-15 08:53:42 +01:00
Hugo Häggmark
21beb88a4f Chore: Remove console ouputs from DashboardPage.test.tsx (#45373) 2022-02-15 07:40:27 +01:00
Tobias Skarhed
9c97c14a97 Governance: Update employer info (#45369) 2022-02-14 15:43:50 -08:00
Yuriy Tseretyan
095ea44e97 Alerting: Move BaseInterval and MinInterval to UnifiedAlerting config (#45107)
* use base interval if legacy value is less than the base interval
2022-02-11 16:13:49 -05:00
Ezequiel Victorero
4f815e3d8e Access control: adding FGAC to annotation GET endpoints and fixed roles (#45102)
* Access control: adding FGAC to annotation GET endpoints and fixed roles

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2022-02-11 15:43:29 -03:00
gotjosh
1a9638c363 Alerting: Add Alerting Squad as codeowner of legacy alerting (#45282)
* Alerting: Add Alerting Squad as codeowner of legacy alerting

* update with split by function

* not ending with a /
2022-02-11 19:21:45 +01:00
Ieva
9ac4843df1 Documentation for teams with FGAC (#45321)
* docs for teams with FGAC

* Update docs/sources/enterprise/access-control/fine-grained-access-control-references.md

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2022-02-11 18:00:13 +01:00
Gabriel MABILLE
6fbf346747 AccessControl: Add endpoint to get user permissions (#45309)
* AccessControl: Add endpoint to get user permissions

Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com>
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>

* Fix SA tests

* Linter is wrong :p

* Wait I was wrong

* Adding the route for teams:creator too

Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com>
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
2022-02-11 17:40:43 +01:00
Ashley Harrison
689df761e6 Chore: Stub deprecation warning in AngularLocationWrapper (#45319) 2022-02-11 16:34:16 +00:00
Ashley Harrison
820a70f49a Stub deprecation warning in kbn unit tests (#45313) 2022-02-11 16:34:06 +00:00
gotjosh
8bf2e642aa Alerting: Fix updating notification channels in legacy (#45302)
The problem here is that without the orgID we ignore the lookup of the existing notification channel just before updating and end up failing the update because there is no channel available.
2022-02-11 16:13:51 +00:00
malcolmholmes
9a7438c720 Build: only specify github-token when needed (#45326) 2022-02-11 16:01:45 +00:00
Ivana Huckova
9e2caa9ddc Prometheus: Add hints to query builder (#45288)
* Add hints to query builder

* Move Query hints to own component

* Use replace 5m with  in rate queries

* Remove unused prop
2022-02-11 16:50:35 +01:00
Alex Khomenko
574f609550 Init node item (#45218) 2022-02-11 16:18:33 +01:00
Connor Lindsey
cd05ee0054 Chore: Prevent focused tests by adding jest eslint rule (#45088)
* Prevent focused tests by adding jest eslint rule

* Remove redundant no-only-tests eslint plugin

* Update lock file
2022-02-11 15:59:30 +01:00
Connor Lindsey
3da0434e64 Tempo: Update service graph linked queries to use rate_interval and group histogram (#45248) 2022-02-11 07:58:10 -07:00
Ashley Harrison
378ce15418 Stub console.warn (#45311) 2022-02-11 14:56:25 +00:00
Marcus Efraimsson
6a776c78d4 Datasource: Fixes storing of secureJSONData when creating/updating datasource (#45290)
Fixes an issue introduced by #44987 where bus dispatch was replaced by calling sqlstore 
directly instead of the datasource service.

Fixes #45273
2022-02-11 15:52:14 +01:00
malcolmholmes
334ee9c4a7 Build: build enterprise2 with OSS (#45317)
* Build: build enterprise2 with OSS
2022-02-11 15:38:40 +01:00
Zoltán Bedi
77a0a71929 Docs: Update whats new in 8.4 (#45289)
Changed the swagger ui feature flag to the actual feature flag.
2022-02-11 09:19:12 -05:00
kay delaney
10cc2fd6bc Chore: Add types for OAuth settings in config (#45247) 2022-02-11 13:54:24 +00:00
Torkel Ödegaard
aa6cee1072 Prometheus: Specific code mode view that has no options, instead sharing options with builder (#45260)
* Prometheus: Adding a slimmed down code mode for new prometheus query ux

* Show Both option in Explore

* Prometheus: Adding query defaults handling

* More tweaks

* Fixing defaults and logic for when to show exemplars toggle

* Fixing tooltip text

* Set exemplars to false when setting query type instant

* Updated test
2022-02-11 14:43:52 +01:00
Gábor Farkas
59c5f14a59 loki: handle parsing infinity in loki response (#45097) 2022-02-11 14:28:11 +01:00
idafurjes
d8a56d08ba Remove bus from usage stats (#45275) 2022-02-11 14:04:15 +01:00
Marcus Efraimsson
0e8a5407d1 Postgres/MySQL/MSSQL: Remove usage of legacy timeSrv (#45241) 2022-02-11 13:36:11 +01:00
Torkel Ödegaard
fed112ef3b Angular: Add AngularJS plugin support deprecation plan to docs site (#45149)
* Angular: Add AngularJS plugin support deprecation plan to docs site

* Updated wording

* Update

* Update docs/sources/developers/angular_deprecation.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/developers/angular_deprecation.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/developers/angular_deprecation.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/developers/angular_deprecation.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/developers/angular_deprecation.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/developers/angular_deprecation.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-02-11 12:35:04 +01:00
Torkel Ödegaard
089d6d7f7a Alerting: Fixing minor styling issues (#45236) 2022-02-11 12:34:32 +01:00
Gábor Farkas
29d48a503c loki: add logs-volume documentation (#45283) 2022-02-11 12:06:02 +01:00
matt abrams
8c47373d74 LibraryPanels: Prevent long descriptions and names from obscuring the delete button (#45190)
* fix library panel description wrapping

* make panel name wrap
2022-02-11 10:57:22 +00:00
Gábor Farkas
4a7cc3e0f0 loki: enable-by-default the full-range-logs-volume feature (try2) (#45246)
* loki: enable-by-default the full-range-logs-volume feature

* add explanation comment

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>

* fixed invalid code

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-02-11 11:28:27 +01:00