Commit Graph

31408 Commits

Author SHA1 Message Date
Grot (@grafanabot) 9a2e14d3e5 InfluxDB: Fix regular expression to parse aliases according to documentation (#41186) (#41190)
* Fix regular expression to parse aliases that start with either square brackets or dollar sign

* Fix lint

(cherry picked from commit 8a3e192e6a)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2021-11-02 13:53:37 +01:00
Grot (@grafanabot) c7cc9629f7 Changing 'Save' button style to primary (#41144) (#41181)
Changing 'Save' button style to primary according to Figma design.

(cherry picked from commit 0599b6180f)

Co-authored-by: Luis Filipe Pessoa <luis.f.pessoa@gmail.com>
2021-11-02 10:38:14 +01:00
Grot (@grafanabot) 6ed1ba3205 Docs: Fixed broken link in the plugin migration guide (#41148) (#41149)
* fixed broken link.

* updated title of link.

(cherry picked from commit d98cb8274c)

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2021-11-01 11:03:40 -04:00
Grot (@grafanabot) c0875d5a61 Added note. (#41118) (#41121)
(cherry picked from commit 161d92e12f)

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-10-29 21:42:28 +02:00
Grot (@grafanabot) 34b37ab3db Added note about small devices. (#41113) (#41116)
(cherry picked from commit 61fbdb60ff)

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-10-29 14:23:38 -04:00
Grot (@grafanabot) 3f8936316b influxdb: influxql: fix table-format data processing with renamed time field (#41052) (#41101)
(cherry picked from commit 24db1efa9d)

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2021-10-29 16:19:09 +02:00
Grot (@grafanabot) edb2644951 Cloudwatch: Add support for AWS/Backup metrics and dimensions (#41077) (#41086)
Add AWS/Backup supported metrics and dimensions based on the official
AWS documentation.

(cherry picked from commit b9e0a41f5a)

Co-authored-by: Szymon Szypulski <szymon.szypulski@gmail.com>
2021-10-29 13:17:22 +02:00
Grot (@grafanabot) 6603c809dd Plugins Catalog: Set external manage link to installation tab (#40994) (#41083)
* feat(catalog): set external manage link to installation tab

* fix(catalog): use pluginCatalogURL when getting external manage link

(cherry picked from commit 5d98155b5f)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-10-29 13:03:19 +02:00
Grot (@grafanabot) af225e3370 Tables: fix sorting for NaN values (#40938) (#41054)
Fixes #37236

(cherry picked from commit 97e0e12f40)

Co-authored-by: Derik Evangelista <derik.evangelista@grafana.com>
2021-10-29 11:35:52 +01:00
Grot (@grafanabot) 994b44f3fc Explore: fix footer margin in Query History (#40970) (#41080)
(cherry picked from commit 914d8d6f15)

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2021-10-29 12:32:04 +02:00
Tania B 8ac788c71a [8.2.x] Fix decrypting secrets in alerting migration (#41057)
* Add support for decrypting secrets with metadata prefix

* Update tests
2021-10-29 13:28:48 +03:00
Grot (@grafanabot) f230b64700 upgrade ncurses in docker image (#41002) (#41068)
(cherry picked from commit 641a18b92e)

Co-authored-by: Kevin Minehart <kmineh0151@gmail.com>
2021-10-28 23:40:34 +02:00
Grot (@grafanabot) 69c0b0a55c Update brew install path in docs, for brew v3 (#40980) (#41053)
* Update brew install path in docs, for brew v3

* Ran prettier.

Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
Co-authored-by: kay delaney <kay@grafana.com>
(cherry picked from commit d6693ec90d)

Co-authored-by: Sam Jewell <2903904+samjewell@users.noreply.github.com>
2021-10-28 18:06:49 +02:00
achatterjee-grafana 509ef6e3a6 Doc backport 40737 (unified alerting doc changes) (#41048)
* resolve conflicts

* remove .yarn/sdks

* removed duplicate content

Co-authored-by: Kevin Minehart <kmineh0151@gmail.com>
2021-10-28 11:10:13 -04:00
Grot (@grafanabot) 42f0612e5a Loki/Prometheus: Improve facetting message in label browser (#40998) (#41047)
* Chore: Improve Loki/Prometheus facetting message in label browser

* Chore: Remove uneeded console log and comment

(cherry picked from commit 8869df2ffe)

Co-authored-by: Devin Smith <me@devinsmith.co.za>
2021-10-28 16:48:15 +02:00
Grot (@grafanabot) beb283d16d Dashboard: Fixes lazy loading of panels not in view for mobile layout (#41009) (#41031)
* Dashboard: Fixes lazy loading of panels not in view for mobile layout

* Refactoring and adding more comments

* Removed console.log

(cherry picked from commit 4c52ada7a9)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-10-28 13:30:19 +02:00
Grot (@grafanabot) 9400471580 Dashboard: Fix repeats in snapshots (#41018) (#41024)
(cherry picked from commit fbd68c4e96)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-10-28 11:20:32 +02:00
Grot (@grafanabot) f574408f6a CloudWatch: Handle nested panels when migrating CloudWatch queries (#40993) (#41022)
* support nested targets when migrating cloudwatch queries

* cleanup

* use panelUpgrades array

* bump schema version number

(cherry picked from commit 7521d56cec)

Co-authored-by: Erik Sundell <erik.sundell@grafana.com>
2021-10-28 10:23:39 +02:00
Grot (@grafanabot) 6ceec99f41 Buttons: Improves button styles to make them perfectly symmetrical (#40977) (#41021)
* Buttons: Improves button styles to make them perfectly symmetrical

* Fixed icon vertical centering

(cherry picked from commit 6a2dc11545)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-10-28 10:07:17 +02:00
Grot (@grafanabot) c3e46eaa8f Rendering: Check if default image exists to avoid breaking reports if it's moved (#40930) (#40991)
(cherry picked from commit 37cbed4b48)

Co-authored-by: Selene <selenepinillos@gmail.com>
2021-10-27 16:41:47 +02:00
Grot (@grafanabot) 10135a4851 Alerting: specify Prometheus implementation in YAML example (docs) (#40474) (#40989)
(cherry picked from commit 16f4d02419)

Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
2021-10-27 16:25:30 +02:00
Grot (@grafanabot) c6836903d6 Alerting: updated docs regarding multi-org AM (#40982) (#40988)
(cherry picked from commit 0189eaf76c)

Co-authored-by: Armand Grillet <2117580+armandgrillet@users.noreply.github.com>
2021-10-27 16:22:43 +02:00
Grot (@grafanabot) 1952e01e48 Barchart: Fixes barchart switching from palette to thresholds color mode (#40954) (#40974)
(cherry picked from commit 858d654d1c)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-10-27 10:15:52 +02:00
Grot (@grafanabot) 808ffb0d51 DashboardLinks: Fix time in links not being updated (#40934) (#40969)
(cherry picked from commit fadf72dd34)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-10-27 07:45:34 +02:00
Grot (@grafanabot) 28f85570a1 Docs: Updated the plugin admin configuration default value (#40942) (#40959)
(cherry picked from commit 6e08e12749)

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2021-10-26 21:43:10 +02:00
Grot (@grafanabot) a513ff729e Docs: Fix for clarifications about the image renderer (#40182) (#40960)
* Added time range controls updates

* Added plugins catalog update

* Added enterprise images

* Added community contributions highlights for 8.2

* accessibility statement

* Update docs/sources/whatsnew/whats-new-in-v8-2.md

Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>

* Update docs/sources/whatsnew/whats-new-in-v8-2.md

Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>

* Update docs/sources/whatsnew/whats-new-in-v8-2.md

Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>

* Update docs/sources/whatsnew/whats-new-in-v8-2.md

Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>

* Update docs/sources/whatsnew/whats-new-in-v8-2.md

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

* Update docs/sources/whatsnew/whats-new-in-v8-2.md

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

* Update docs/sources/whatsnew/whats-new-in-v8-2.md

Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>

* Update docs/sources/whatsnew/whats-new-in-v8-2.md

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

* Update docs/sources/whatsnew/whats-new-in-v8-2.md

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

* Apply suggestions from code review

Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>

* Ran prettier:write to see if we can fix the issues

* Fix issues with template info

* Merge fix

* Template fix part 2

* What is a mergfix even

* Additional final fixes

* Markdown link error fix for time picker changes

* Ran prettier -w again to fix linting issues

* What's new fixes for image rendered

Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
(cherry picked from commit dfbb3c4e23)

Co-authored-by: Petros Kolyvas <code@petros.io>
2021-10-26 20:17:12 +02:00
Grot (@grafanabot) 11a4d0b004 bump for CVE-2021-37219 CVE-2021-32574 CVE-2021-36213 (#40947) (#40952)
(cherry picked from commit 728a59f013)

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2021-10-26 17:49:11 +02:00
Grot (@grafanabot) 183fe28769 Plugins Catalog: Fix plugin details header styles (#40917) (#40948)
(cherry picked from commit 41530482ec)

Co-authored-by: James Wang <36892657+jamesxwang@users.noreply.github.com>
2021-10-26 17:03:00 +02:00
Grot (@grafanabot) ed71f677bd CloudWatch Logs: Fix variable interpolation in queries (#40899) (#40923)
* Interpolate variables in queries

* Remove test

(cherry picked from commit 8cf7e520e8)

Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2021-10-26 13:16:19 +02:00
Grot (@grafanabot) c3455c7850 AzureMonitor: Prevent incomplete Logs queries from running (#40512) (#40888)
* AzureMonitor: Prevent incomplete queries from running

* fix

(cherry picked from commit 90b802a62d)

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
2021-10-25 17:18:01 +01:00
Grot (@grafanabot) 87dc257f6d DataFrame: toDataFrame( ...) should support the query response payload (#40594) (#40842)
(cherry picked from commit aeb868bb06)

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-10-25 09:03:09 -07:00
Grot (@grafanabot) 055405eb65 Explore: Fix running queries without a datasource property set (#40805) (#40881)
* Explore: Fix running queries without a datasource property set

* fix test

* adjust test

(cherry picked from commit 2ee54b7ffe)

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2021-10-25 15:57:46 +02:00
Grot (@grafanabot) a8ecdca826 Datasources: Set response size metric based on actual bytes read (#40303) (#40867)
Fixes #33372

(cherry picked from commit 889d4683a1)

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-10-25 13:01:16 +02:00
Grot (@grafanabot) 908a951fc0 Alerting: fix ngalert alertmanager SQL Syntax Errors (#40827) (#40868)
* test kvstore in intregration tests with different databases

* escape 'key' in delete query

* export quote and use it in kvstore

(cherry picked from commit d1aefa1792)

Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>
2021-10-25 12:23:32 +02:00
Grot (@grafanabot) 543e9c2e50 CloudMonitoring: Fix TypeError in annotation queries (#40740) (#40852)
(cherry picked from commit d5de885633)

Co-authored-by: Junya Hayashi <junya.hayashi@groove-x.com>
2021-10-25 11:19:56 +02:00
Piotr Jamróz 0f2e309b4a Explore: Improve local storage error handling when rich history is added (#39943) (#40830)
* Rich History: improve local storage error handling

* Reduce number of max items and update docs

* Rotate not-starred items and add tests

* Add missing property to initial state

* Unify date in richHistory tests

* Show a warning message that rich history limit has been reached

* Add missing param

(cherry picked from commit ad757b48e7)
2021-10-25 09:09:47 +02:00
Hugo Häggmark 01468d2ac1 LibraryElements: fixes flaky tests (#40791) (#40796)
(cherry picked from commit c70cfe9125)
2021-10-25 06:08:11 +02:00
Grot (@grafanabot) 69b9579e84 Packaging: remove private users setting in systemd unit files (#40815) (#40821)
* Remove privateusers=true from grafana-server.service

(cherry picked from commit ca4b35e596)

Co-authored-by: Kevin Minehart <kmineh0151@gmail.com>
2021-10-22 17:34:45 +02:00
Grot (@grafanabot) a48e623d52 Explore: fix history settings tab padding (#40752) (#40806)
(cherry picked from commit 35e2a3a126)

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2021-10-22 13:23:00 +01:00
gotjosh abd1050f98 [8.2.x] Alerting: Validate contact point configuration during migration to Unified Alerting (#40717) (#40801)
* Alerting: Validate contact point configuration during migration to Unified Alerting (#40717)

* Alerting: Validate contact point configuration during the migration

This minimises the chances of generating broken configuration as part of the migration. Originally, we wanted to generate it and not produce a hard stop in Grafana but this strategy has the chance to avoid delivering notifications for our users.

We now think it's better to hard stop the migration and let the user take care of resolving the configuration manually.

(cherry picked from commit 74fb491b6a)
2021-10-22 12:16:36 +01:00
Grot (@grafanabot) c7f488580a Alerting: Fix kv_store query to escape reserved word (#40788) (#40795)
(cherry picked from commit a5501b7845)

Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
2021-10-22 09:27:19 +02:00
Grot (@grafanabot) 101a6f2f41 Correct price-plans list for this feature (#40283) (#40781)
* Correct price-plans list for this feature

The [Pricing Page][0] states that Enhanced LDAP is only for the Advanced plan
See https://github.com/grafana/website/pull/4117/commits/b59520986c516045e4dadc3feda0c5a9c8e7a610

[0]: https://grafana.com/products/cloud/pricing/

* Also update price plans on Enhanced LDAP page

(cherry picked from commit 6ce87a9655)

Co-authored-by: Sam Jewell <2903904+samjewell@users.noreply.github.com>
2021-10-22 09:18:24 +03:00
Grot (@grafanabot) 4b8993c1a5 Stat: Fixes an issue that could lead to browser crash with specific values (#40777) (#40789)
(cherry picked from commit 80b4ef820a)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-10-22 03:34:45 +02:00
Grot (@grafanabot) d3f9ec7231 Annotations: Allow addition of custom values whilst tags are loading (#40702) (#40768)
(cherry picked from commit 447a088750)

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-10-21 16:22:51 +02:00
Grot (@grafanabot) 681741b224 ReleaseNotes: Updated changelog and release notes for 8.2.2 (#40751) (#40759)
* ReleaseNotes: Updated changelog and release notes for 8.2.2

* Add entry for 8.2.2 release notes

Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
(cherry picked from commit 84091de394)
2021-10-21 14:30:43 +02:00
Grot (@grafanabot) 6232fe07c0 "Release: Updated versions in package to 8.2.2" (#40750) v8.2.2 2021-10-21 10:46:45 +01:00
Grot (@grafanabot) db5359f94e Prometheus: Pass scoped vars when creating PromLink query (#40525) (#40561)
(cherry picked from commit 4a3be0f845)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-10-21 11:03:21 +02:00
Sofia Papagiannaki b8a1af0db1 Hide Grafana 8 alerts for disabled org (#40687) (#40745)
(cherry picked from commit 2c28aea654)
2021-10-21 10:43:59 +02:00
Grot (@grafanabot) 867a305532 ValueMappings: Fix so that value mappings work in stat/gauge/bargauge/piechart (#40612) (#40623)
(cherry picked from commit 26dda75db5)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-10-21 09:30:13 +01:00
Grot (@grafanabot) 32069ea229 Dahboard: Only show "Another session is editing this dashboard" once per edit session (#40485) (#40487)
(cherry picked from commit 0c5491d6fd)

Co-authored-by: An <an.le@grafana.com>
2021-10-21 09:29:14 +01:00