Commit Graph

35735 Commits

Author SHA1 Message Date
Joan López de la Franca Beltran
fcf6b29987
Docs: Add envelope encryption as breaking change (#50716)
* Docs: Add envelope encryption as breaking change

* Minor improvements

* Apply suggestions from code review

Co-authored-by: Tania <yalyna.ts@gmail.com>
2022-06-14 10:04:21 +02:00
Ryan McKinley
c5547fde59
Open Heatmap: update plugin snapshot testdata (#50747) 2022-06-14 00:35:20 -07:00
Zoltán Bedi
262ee5219e
Chore: Update yarn sdks (#50726) 2022-06-14 08:42:59 +02:00
Gábor Farkas
b6a590e535
do not update react-redux (#50700) 2022-06-14 08:39:21 +02:00
Carl Bergquist
b8b6d0e1a1
Instrumentation: Define handlers for requests that are not handled with named handlers (#50613)
Signed-off-by: bergquist <carl.bergquist@gmail.com>

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2022-06-14 07:58:20 +02:00
Ryan McKinley
b75cc7a86c
Heatmap: Remove alpha flag from new heatmap panel (#50733) 2022-06-14 07:18:54 +02:00
Ryan McKinley
4e4686001b
Timeseries: Improve cursor Y sync behavior (#50740) 2022-06-14 07:16:49 +02:00
owensmallwood
1bb2d2599c
Public Dashboards: Pubdash panels get data from pubdash api (#50556)
* Public dashboard query API

* Create new API on service for building metric request

* Flesh out testing, implement BuildPublicDashboardMetricRequest

* Test for errors and missing panels

* WIP: Test for multiple datasources

* Refactor tests, add supporting code for multiple datasources

* Gets the panel data from the pubdash query api

* Adds tests to make sure we get the correct api url from retrieving panel data

* Public dashboard query API

* Create new API on service for building metric request

* Flesh out testing, implement BuildPublicDashboardMetricRequest

* Test for errors and missing panels

* WIP: Test for multiple datasources

* Refactor tests, add supporting code for multiple datasources

* Handle queries from multiple datasources

* Replace dashboard time range with pubdash time range settings

* Fix comments from review, build failure

* removes changes to DataSourceWithBackend.ts regarding getting the pubdash panel query url. Going to do this in a new class, PublicDashboardDataSource.ts

* Include pubdash Uid in dashboard meta

* Creates new PublicDashboardDataSource.ts and adds test

* Passes pubdash uid down to PanelQueryRunner.ts to a PublicDashboardDatasource can be chosen when were looking at a public dashboard

* removes comment

* checks for error when unmarshalling json

* Only replace dashboard time settings with pubdash time settings when pubdash time settings exist

* formatting and added comment

Co-authored-by: Jesse Weaver <jesse.weaver@grafana.com>
Co-authored-by: Jeff Levin <jeff@levinology.com>
2022-06-13 18:03:43 -06:00
Jesse Weaver
0371884cdd
Start of dashboard query API (#49547)
This PR adds endpoints for public dashboards to retrieve data from the backend (trusted) query engine. It works by executing queries defined on the backend without any user input and does not support template variables.

* Public dashboard query API
* Create new API on service for building metric request
* Flesh out testing, implement BuildPublicDashboardMetricRequest
* Test for errors and missing panels
* Refactor tests, add supporting code for multiple datasources
* Handle queries from multiple datasources
* Explicitly pass no user for querying public dashboard

Co-authored-by: Jeff Levin <jeff@levinology.com>
2022-06-13 15:23:56 -08:00
Drew Slobodnjak
07aa2bbbba
GeomapPanel: Add base types to data layer options (#50053)
* GeomapPanel: Add base types to data layer options

Removed isBaseMap check from data layer filter, which used to remove
base layer types from data layer options. For layer editor, slider to
control opacity is added.

* GeomapPanel: Reorder data layer options

For data layer selection, present user with data layer types first,
before base map layer types. Refactored to consolidate layer options
into a single exported function in registry with a base map boolean.

* GeomapPanel: Add descriptions to base map types

* GeomapPanel: add hideOpacity and apply to markers

* GeomapPanel: update descriptions for map types

Closes #47812
2022-06-13 14:07:20 -07:00
renovate[bot]
904b70cfe2
Update dependency eslint-plugin-jest to v26.5.3 (#50690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 19:16:09 +00:00
renovate[bot]
246099c52d
Update dependency @swc/helpers to v0.4.0 (#50730)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 19:14:40 +00:00
renovate[bot]
41e654d7f4
Update dependency moveable to v0.30.0 (#50723)
* Update dependency moveable to v0.30.0

* Update react-movable as well

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-06-13 21:00:46 +02:00
renovate[bot]
fb417d80a7
Update dependency @types/d3 to v7.4.0 (#50682)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 18:06:24 +00:00
Alexander Weaver
17e76b06ff
Alerting: Fix rendering issues in OpenAPI docs (#50630)
* Clean up status codes

* Missing consumes tag

* Regenerate

* Fix incorrect documented responses and missing UI elements

* Fix response docs

* Fix wrong response copy paste

* Regenerate

* Temporarily revert
2022-06-13 12:51:07 -05:00
Artur Wierzbicki
9779f684d1
Storage: refactor - decouple the Upload method from HTTP concepts (#50378)
* add `IsPathValidationError` util to fs api

* refactor storage.Upload method

* remove unused struct

* extract `RootUpload` constant

* move file validation outside of the service

* Make UploadErrorToStatusCode exported

* refactor pathValidationError check

* if -> switch

Co-authored-by: Tania B <yalyna.ts@gmail.com>
2022-06-13 21:21:50 +04:00
renovate[bot]
3b9d8da296
Update dependency @react-types/shared to v3.13.0 (#50679)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 17:17:50 +00:00
Dimitris Sotirakis
2dfa3270ef
Fix docs - add *.md checks (#50720) 2022-06-13 19:05:08 +02:00
Yuriy Tseretyan
c314ce48c7
Alerting: Support for optimistic locking for alert rules (#50274)
* add support for optimistic locking for alert_rule table
* return 409 in the case of opitimistic lock
2022-06-13 12:15:28 -04:00
Ryan McKinley
402b5ce4c6
SearchV2: support keyboard navigation (#49650)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-06-13 09:10:19 -07:00
Jean-Philippe Quéméner
1ed7280363
Alerting: add right provenance when creating mute timings (#50707) 2022-06-13 18:05:41 +02:00
Ashley Harrison
759e3ec4fa
Never set gridPos to null (#50400) 2022-06-13 16:43:42 +01:00
bob454522
bd818be36f
Too many tick chars on line 75 (#50708)
there are 4x ticks on line 75,  when there should be 3x.
this is causing all of the 9.0beta2 changelog notes to be commented out and not visible to the public on the changelog.
changing the 4x ticks to 3x ticks fixes this (on line 75).

(LOVE GRAFANA!)
2022-06-13 17:40:46 +02:00
Joan López de la Franca Beltran
97baa6911d
Metrics: Expose functions to initialize counters at zero (#50122) 2022-06-13 17:35:10 +02:00
Jean-Philippe Quéméner
ed6a887737
Alerting: remove unused function in alert rule store (#50696) 2022-06-13 11:24:29 -04:00
Gábor Farkas
d872aa993d
logs: better hasLogsVolumeSupport check (#50676) 2022-06-13 17:20:57 +02:00
Ryan McKinley
1902357693
Heatmap: consolidate naming conventions (#50272) 2022-06-13 08:08:33 -07:00
Sven Grossmann
d8d3a9c561
added opensearch annotations to not use default ui (#50655) 2022-06-13 17:07:38 +02:00
Agnès Toulet
3e5e86d926
Drone: remove flag from main downstream step (#50681) 2022-06-13 17:06:11 +02:00
Karl Persson
95a4c4a4d6
OAuth: Redirect to login if no oauth module is found or if module is not configured (#50661)
* OAuth: Redirect to login if no oauth module is found or if module is not
configured

* OAuth: Update test to check for location header
2022-06-13 16:59:15 +02:00
renovate[bot]
6aa29e1b84
Update dependency eslint to v8.17.0 (#50689)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 15:48:11 +01:00
Ashley Harrison
27e3e79661
Docs: Update documentation now create functionality has moved (#50663)
* Update documentation now + button functionality has moved

* Updates following comments
2022-06-13 15:23:53 +01:00
Jack Baldry
4cc3bc37a0
Use more relevant links to legacy alerting documentation (#50607)
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-06-13 16:14:32 +02:00
Ashley Harrison
d23bc5c390
Convert ApiKeysAddedModal test to RTL (#50669) 2022-06-13 14:52:17 +01:00
renovate[bot]
99c504d096
Update react monorepo (#47027)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 14:31:54 +01:00
renovate[bot]
3b37bb533e
Update dependency @react-types/menu to v3.6.0 (#50666)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 14:28:33 +01:00
Josh Hunt
b115e73ede
LibraryPanels: Require only viewer permissions to use a Library Panel (#50241)
* rename function to requireEditPermissionsOnFolder

* Require only viewer permissions on a folder when connecting a library panel from it

* update tests

* require edit permissions on the dashboard

* revert my change to the tests - these tests test something different

* revert changes to a test file???
2022-06-13 14:26:17 +01:00
Ivana Huckova
77bdbe1dea
Loki: Fix showing of duplicated label values in dropdown in query builder (#50680)
* Prometheus,Loki: Fix showing of duplicated values in dropdown

* Use different more readable solution

* Update
2022-06-13 15:19:20 +02:00
renovate[bot]
95d49711b2
Update dependency @react-types/button to v3.5.0 (#50664)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 12:24:00 +00:00
renovate[bot]
860beede6a
Update dependency @react-types/overlays to v3.6.0 (#50671)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 12:22:53 +00:00
Will Browne
8da9b4f2b5
add missing return (#50667) 2022-06-13 13:56:24 +02:00
renovate[bot]
be391fc8c4
Update dependency @react-aria/utils to v3.13.0 (#50588)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 12:05:49 +01:00
renovate[bot]
d8bd164a26
Update dependency @react-aria/overlays to v3.9.0 (#50586)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 11:35:49 +01:00
dependabot[bot]
369358500d
Bump github/codeql-action from 1 to 2 (#49128)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 11:29:42 +01:00
dependabot[bot]
cd29174171
Bump slackapi/slack-github-action from 1.18.0 to 1.19.0 (#49127)
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.18.0...v1.19.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 11:26:46 +01:00
dependabot[bot]
6028cc9c24
Bump actions/setup-node from 3.2.0 to 3.3.0 (#50276)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 11:23:26 +01:00
renovate[bot]
bd072905ac
Update dependency @react-aria/menu to v3.5.0 (#50584)
* Update dependency @react-aria/menu to v3.5.0

* Update @react-stately packages

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-06-13 11:05:08 +01:00
Sriram
ede7b29db5
Expression: Execute hidden expressions (#50636) 2022-06-13 10:23:15 +01:00
Andrej Ocenas
bd04b776b5
Prometheus: Don't show undefined for step in collapsed options in query editor when value is "auto" (#50511) 2022-06-13 11:21:38 +02:00
Eric Leijonmarck
2abb6a461f
Docs: updated CSRF additional headers (#50589)
* Docs: updated CSRF additional headers

* Update docs/sources/setup-grafana/configure-security/configure-authentication/saml.md

Co-authored-by: heoelri <heoelri@users.noreply.github.com>

* update to include referer

* Update docs/sources/setup-grafana/configure-security/configure-authentication/saml.md

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: heoelri <heoelri@users.noreply.github.com>
2022-06-13 11:13:29 +02:00