Commit Graph

31441 Commits

Author SHA1 Message Date
Grot (@grafanabot) ec8e606de0 InfluxDB: fix numeric aliases in queries (#41531) (#41587)
* influxdb: alerting: handle out-of-range numeric aliases

* influxdb: updated documentation

(cherry picked from commit eb47a58029)

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2021-11-11 09:48:58 +01:00
Grot (@grafanabot) 3110e11330 fix: check lotex endpoint URL (#41429) (#41585)
* fix: check lotex endpoint URL

* Add validation for data sources URLs

Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
(cherry picked from commit dbe78e47b1)

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2021-11-11 08:19:44 +01:00
achatterjee-grafana fb4875a58e update content (#41575) 2021-11-10 20:43:45 -05:00
Grot (@grafanabot) c4a5a217cf Tempo: Fix validation of float durations (#41400) (#41538)
* Fix parsing of float numbers in validation

* Adjust test

* Update packages/grafana-data/src/datetime/durationutil.test.ts

* Update packages/grafana-data/src/datetime/durationutil.test.ts

* Remove us from placeholder

(cherry picked from commit 7bc27a3cfc)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-11-10 16:27:24 +01:00
Grot (@grafanabot) 5f5e962b2d Alerting: Special alert instance if rule is in state NoData (#40540) (#41525)
* do not suppress NoData state
* extract conversion of state to postable alert + tests
* create a special alert instance if nodata
* use NoData when converting from Keep Last State instead of Alerting
* add silence during migration if NoData is mapped to KeepLastState.

(cherry picked from commit 610643a668)

Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
2021-11-10 12:15:23 +01:00
Grot (@grafanabot) d80013022e Alerting: Parse App URL only once (#39855) (#41522)
(cherry picked from commit 2b4e51f478)

Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
2021-11-10 10:44:35 +00:00
Grot (@grafanabot) 49aa3f8d4f Storybook: Fix decorator height (#41468) (#41519)
* fix(storybook): make sure story background fills available height

* fix(storybook): add decorator to prevent badge filling all available height

* docs(badge): use centered story

* revert(badge): remove obsolete Meta typing

(cherry picked from commit cd5277befd)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-11-10 11:24:19 +01:00
Grot (@grafanabot) fff0da8fe9 DataProxy: Fix issue overriding response body when response status is 101 (#41364) (#41476)
When a request going through Grafana data source proxy responds with a websocket
upgrade response we cannot override the response body since it produces an error.
This problem seems to have been introduced in Grafana v8.0 by #38962.
In addition #40303 added same problem.

Fixes #41292

(cherry picked from commit 3be452f995)

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-11-09 15:04:44 +01:00
Grot (@grafanabot) af84e20232 Alerting: Remove CTA button from read-only notification policy page (#41096) (#41474)
* don't show cta button for read-only prometheus alertmanager

* grammar fix

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>

Co-authored-by: Peter Holmberg <peterholmberg@users.noreply.github.com>
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
Co-authored-by: Peter Holmberg <peter.hlmbrg@gmail.com>
(cherry picked from commit 345af8374c)

Co-authored-by: Domas <domas.lapinskas@grafana.com>
2021-11-09 14:42:46 +01:00
Marcus Efraimsson 4d9f5ec8a2 Chore: Go mod tidy (#41373) 2021-11-09 12:07:14 +01:00
Marcus Andersson 8520ab9232 Chore: Prevent loading error from showing too early (#41426) 2021-11-09 10:03:49 +01:00
Grot (@grafanabot) ca6ebdd3d8 Docs: Update data source provisioning in regards to HTTP specific settings (#40163) (#41432)
Clarifies documentation in regards to data source provisioning and certain
settings that earlier was explained as applicable to All data sources.

Fixes #19574

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
(cherry picked from commit b304965bbe)

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-11-08 19:34:30 +01:00
Grot (@grafanabot) 859ee3c826 Docs: Added note that only string type is supported for query variables. (#41359) (#41409)
* Added note that only string type is supported for query variables.

* Added doc review.

(cherry picked from commit f346bbb3bb)

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
2021-11-08 13:09:47 -05:00
Grot (@grafanabot) 022d16d897 Updated a few install topics with references to "Hosted Grafana" (#41106) (#41427)
(cherry picked from commit bda60f3458)

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-11-08 13:09:08 -05:00
Grot (@grafanabot) 3b8be57b4f Alerting: fix bug where user is able to access rules from namespaces user is not part of (#41403) (#41406)
* Add fix
* Add tests
(cherry picked from commit 6220872633)

Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
Co-authored-by: Armand Grillet <2117580+armandgrillet@users.noreply.github.com>
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>
Co-authored-by: George Robinson <george.robinson@grafana.com>
Co-authored-by: gotjosh <josue@grafana.com>
2021-11-08 18:57:51 +01:00
Grot (@grafanabot) adfd39e5fd Chore: Fixed failing e2e due to day light saving time. (#41417) (#41422)
(cherry picked from commit dce851e396)

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2021-11-08 17:36:10 +01:00
Grot (@grafanabot) ad3864b9f1 Update config-from-query.md (#41333) (#41361)
(cherry picked from commit e0ad74a815)

Co-authored-by: Dawnpool <57010815+Dawnpool@users.noreply.github.com>
2021-11-06 02:18:38 -04:00
Giordano Ricci d2e61e4aba Elasticsearch: use field configured in query editor as field for date_histogram aggregations (#41258) (#41358)
* Elasticsearch: use field configured in query editor as field for date_histogram aggregations

* add tests

(cherry picked from commit d524dc6108)
2021-11-05 15:43:42 +00:00
Will Browne 5350c74b39 backport of 41346 (#41365) 2021-11-05 16:19:14 +01:00
Grot (@grafanabot) f75f86b57c Dashboards: Fix 'Copy' from being appended to new dashboard titles (#41344) (#41348)
(cherry picked from commit cbc00babe4)

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
2021-11-05 12:34:58 +01:00
Dimitris Sotirakis 0068d6a43c Update CHANGELOG.md (#41343) 2021-11-05 11:36:51 +01:00
Ashley Harrison bd9c45a170 NewsPanel: Prevent date and title collapsing to single row (#41260) 2021-11-04 09:55:52 +00:00
Dimitris Sotirakis a73c109d79 Fix blog post link (#41286) 2021-11-03 18:49:17 +02:00
Dimitris Sotirakis d52f25825b [v8.2.x] Sanitized NavBar children links to remove angular interpolation (#41283)
* Sanitized nav bar links to remove angular interpolation

* NavBar: Add sanitize to children items

(cherry picked from commit a3dc30546f)
(cherry picked from commit 561ca52ab3)

* use replaceAll when sanitizing urls

(cherry picked from commit 8081dc9ee9)
(cherry picked from commit c86d520821)

* switch to global regexp

(cherry picked from commit 1c7ce348ce)
(cherry picked from commit 28e2be2a8a)

* Resolve conflicts

Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
Co-authored-by: Dan Cech <dcech@grafana.com>
2021-11-03 17:05:29 +01:00
Grot (@grafanabot) 120689b3c6 "Release: Updated versions in package to 8.2.3" (#41279) 2021-11-03 16:30:51 +01:00
Grot (@grafanabot) ec13ae79bd Update opt-in.md (#41216) (#41271)
Need to change that `true` to `false`.

(cherry picked from commit 1c3c1a52bb)

Co-authored-by: Alexandre de Verteuil <alexandre@grafana.com>
2021-11-03 10:53:18 -04:00
Grot (@grafanabot) 81463cd984 NewsPanel: Prevent small titles being split onto multiple lines (#41193) (#41270)
(cherry picked from commit bb079641d7)

Co-authored-by: Jamie Shears <jsws@users.noreply.github.com>
2021-11-03 15:27:24 +01:00
Dimitris Sotirakis dad0c5a22e ReleaseNotes: Update release notes for v8.2.3 (#41268) 2021-11-03 15:18:23 +01:00
Josh Hunt aca8793e40 Dashboard: Disable image renderer link for unsaved dashboards (#41249) (#41251)
(cherry picked from commit 9fc5193ecd)
2021-11-03 11:56:48 +00:00
Grot (@grafanabot) 26f155b86a Alerting: Fix duplicating queries in rule editor (#41091) (#41203)
(cherry picked from commit 69fe2def89)

Co-authored-by: Domas <domas.lapinskas@grafana.com>
2021-11-03 12:13:38 +02:00
Grot (@grafanabot) a306205a58 Annotations: Ensure legacy annotation editors are cleaned up properly when switching datasource (#41115) (#41208)
* Annotations: Ensure Angular-based annotation editors are cleaned up properly

* Annotations: Remove ng-if instead of wrapping in div

(cherry picked from commit e0b2e0b152)

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-02 17:04:29 +01:00
Grot (@grafanabot) 49416ac031 LibraryPanels: Ensure the list can be fully scrolled when adding a library panel (#41196) (#41207)
(cherry picked from commit eb223a6645)

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-02 16:51:21 +01:00
Marcus Andersson 1800fab246 PluginsCatalog: Fix so we display the correct badges when a plugin is disabled (#41195) (#41159) 2021-11-02 15:20:16 +01:00
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