28326 Commits
Author SHA1 Message Date
Grot (@grafanabot) 3e3cf4dc60 "Release: Updated versions in package to 7.5.3" (#32745) v7.5.3 2021-04-07 12:36:01 +02:00
Grot (@grafanabot)andJack Westbrook 68d8de712d FolderPicker: Prevent dropdown menu from disappearing off screen (#32603) (#32741)
* fix(folderpicker): remove position fixed so menu works in panel editor for dashlist & alertlist

* test(folderpicker): update snapshot

(cherry picked from commit 8b38b70e00)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-04-07 11:28:07 +02:00
Grot (@grafanabot)andConor Evans 48d280b999 Loki: Remove empty annotations tags (#32359) (#32490)
* Loki - filter labels with empty values

Signed-off-by: Conor Evans <coevans@tcd.ie>

* Apply prettier change

Signed-off-by: Conor Evans <coevans@tcd.ie>

* Apply Piotr's suggestion - swap map/filter statements

Signed-off-by: Conor Evans <coevans@tcd.ie>
(cherry picked from commit 3af573ea96)

Co-authored-by: Conor Evans <43791257+conorevans@users.noreply.github.com>
2021-04-07 11:10:48 +02:00
Grot (@grafanabot)andGuillermo Julián b692d2fd4c SingleStat: fix wrong call to getDataLinkUIModel (#32721) (#32739)
(cherry picked from commit fbabed203f)

Co-authored-by: Guillermo Julián <gjulianm@users.noreply.github.com>
2021-04-07 09:30:24 +02:00
Zoltán Bedi d71e38eb96 Prometheus: Fix instant query to run two times when exemplars enabled (#32508) (#32726)
* Prometheus: Fix instant query to run two times when exemplars enabled

* Update exemplar messages

* Tempo: show empty response if response is empty

(cherry picked from commit 70d49b017d)
2021-04-07 09:08:27 +02:00
Giordano Ricci 49ad493676 Elasticsearch: Fix bucket script variable duplication in UI (#32705) (#32714)
* Elasticsearch: Fix bucket script variable duplication

* Generate names based on previous value & fix list key

* Fix typos

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
(cherry picked from commit 317909f0c9)
2021-04-06 14:52:16 +02:00
Hugo Häggmark e1006c8395 Variables: Confirms selection before opening new picker (#32586) (#32710)
* Variables: Confirms selection before opening new picker

* Tests: fixes e2e tests

(cherry picked from commit 6087980de0)
2021-04-06 13:13:16 +02:00
Grot (@grafanabot)andGiordano Ricci 0d6b30ee28 CloudWarch: Fix service quotas link (#32686) (#32689)
(cherry picked from commit bc60991fae)

Co-authored-by: Giordano Ricci <gio.ricci@grafana.com>
2021-04-05 13:51:35 +01:00
Grot (@grafanabot)andJack Westbrook b6d569fdb3 Configuration: Prevent browser hanging / crashing with large number of org users (#32546) (#32598)
* fix(userslist): introduce pagination to prevent browser crash with large number of users

* test(userlist): fix failing tests

* refactor(userlist): use layout components for spacing

* test(userslist): update snapshots

(cherry picked from commit 9caf2f8b3a)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-04-01 15:51:16 +02:00
Grot (@grafanabot)andJack Westbrook 3158473206 chore: bump execa to v2.1.0 (#32543) (#32592)
* chore(toolkit): bump execa to v2 to fix vulnerability issue

* chore(toolkit): update usage of execa

(cherry picked from commit b714cdf395)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-04-01 15:00:04 +02:00
Andrej Ocenas 81d34a9efa Explore: Fix bug where navigating to explore would result in wrong query and datasource to be shown (#32558) 2021-04-01 13:10:57 +02:00
Grot (@grafanabot)andDimitris Sotirakis f00e253e6e Fix broken gtime tests (#32582) (#32587)
(cherry picked from commit 71a8579412)

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2021-04-01 11:18:59 +02:00
Will Browne 86e2d2ab82 resolve conflicts (#32567) 2021-04-01 10:05:34 +02:00
Grot (@grafanabot)andArve Knudsen d8af326511 gtime: Make ParseInterval deterministic (#32539) (#32560)
* gtime: Make ParseInterval deterministic by using UTC timezone

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
(cherry picked from commit 6730558f8c)

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-31 17:34:38 +02:00
Grot (@grafanabot)andkay delaney 8943e7383d Dashboard: No longer includes default datasource when externally exporting dashboard with row (#32494) (#32535)
Closes #31065

(cherry picked from commit 230f95dc47)

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2021-03-31 09:20:39 +01:00
Grot (@grafanabot)andHugo Häggmark cc871bd682 TextboxVariable: Limits the length of the preview value (#32472) (#32530)
(cherry picked from commit 2def9a8172)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-03-31 07:27:23 +02:00
Grot (@grafanabot)andHugo Häggmark 05141051cd AdHocVariable: Adds default data source (#32470) (#32476)
(cherry picked from commit 84ea3a73c0)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-03-31 06:08:55 +02:00
Grot (@grafanabot)andHugo Häggmark c270520aa9 Variables: Fixes Unsupported data format error for null values (#32480) (#32487)
(cherry picked from commit 009df4fb7a)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-03-31 06:08:49 +02:00
Grot (@grafanabot)andZoltán Bedi e60f34336e Prometheus: align exemplars check to latest api change (#32513) (#32515)
(cherry picked from commit d8a83fec9d)

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-03-30 20:05:22 +02:00
Grot (@grafanabot) ca413c612f "Release: Updated versions in package to 7.5.2" (#32502) v7.5.2 2021-03-30 15:47:47 +02:00
Erik Sundell 22d31136ee SigV4: Add support EC2 IAM role auth and possibility to toggle auth providers (#32444) (#32488)
* wip: consume aws-sdk config in auth http settings

* fix typings

* use sdk regions

* use latest version of grafana/aws-sdk

* use newest sdk

* add comment

* bump sdk

* fix yarn lock file

* fix storybook issue

* upgrade aws-sdk. also use it in grafana ui

* remove not used config

* add aws-sdk as an external dep for grafana in the grafana ui rollup

Co-authored-by: Will Browne <will.browne@grafana.com>
(cherry picked from commit f0d6f132ae)
2021-03-30 13:25:32 +02:00
Grot (@grafanabot)andIvana Huckova 5d87c596a7 Set spanNulls to default (#32471) (#32486)
(cherry picked from commit cfc7537632)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-03-30 12:58:55 +02:00
Grot (@grafanabot)andTorkel Ödegaard 8262548005 Graph: Fix setting right y-axis when standard option unit is configured (#32426) (#32442)
(cherry picked from commit 33e33e3872)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-03-30 11:27:04 +02:00
Grot (@grafanabot)andCarl Bergquist 270660eaa8 API: Return 409 on datasource version conflict (#32425) (#32433)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
(cherry picked from commit 5ec530f3fc)

Co-authored-by: Carl Bergquist <carl.bergquist@gmail.com>
2021-03-29 16:46:36 +02:00
Grot (@grafanabot)andCarl Bergquist b0314c0818 API: Return 400 on invalid Annotation requests (#32429) (#32431)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
(cherry picked from commit e1458391bb)

Co-authored-by: Carl Bergquist <carl.bergquist@gmail.com>
2021-03-29 16:13:56 +02:00
Grot (@grafanabot)andTorkel Ödegaard 0c208a31dd Variables: Fixes problem with data source variable when default ds is selected (#32384) (#32424)
(cherry picked from commit f37c8c10c5)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-03-29 14:43:02 +02:00
Grot (@grafanabot)andkay delaney c33d12185d Table: Fixes so links work for image cells (#32370) (#32410)
* Panel/Table: Adjust data links logic
Closes #31576

(cherry picked from commit 2827d89ccf)

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2021-03-29 14:00:02 +02:00
Grot (@grafanabot)andTorkel Ödegaard 5288ff82b7 Variables: Fixes error when manually non-matching entering custom value in variable input/picker (#32390) (#32394)
(cherry picked from commit 340334994f)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-03-29 11:06:30 +02:00
Grot (@grafanabot)andTorkel Ödegaard d33b1e6561 DashboardQueryEditor: Run query after selecting source panel (#32383) (#32395)
(cherry picked from commit a4b0ad3937)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-03-29 11:06:19 +02:00
Grot (@grafanabot)andCarl Bergquist 42d465e38a API: Datasource endpoint should return 400 bad request if id and orgId is invalid (#32392) (#32397)
* return 400 bad request if id and orgId is invalid

Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
(cherry picked from commit eb241b960f)

Co-authored-by: Carl Bergquist <carl.bergquist@gmail.com>
2021-03-29 09:22:37 +02:00
Grot (@grafanabot) 4dffb875cf "Release: Updated versions in package to 7.5.1" (#32362) v7.5.1 2021-03-26 14:12:21 +01:00
Arve Knudsen cfc83e8f20 MSSQL: Upgrade go-mssqldb (#32347) (#32361)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
(cherry picked from commit c8afce5fd6)
2021-03-26 14:01:20 +01:00
Grot (@grafanabot)andDominik Prokop 38c362bdbb GraphNG: Fix tooltip displaying wrong or no data (#32312) (#32348)
(cherry picked from commit 95c65a1f4a)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-03-26 10:38:01 +01:00
Grot (@grafanabot) b144fb1a9f "Release: Updated versions in package to 7.5.0" (#32308) v7.5.0 2021-03-25 11:13:32 +01:00
Grot (@grafanabot)andIvana Huckova c330762f20 Loki: Fix text search in Label browser (#32293) (#32306)
* Switch to simple search before implementing proper fuzzy search

* Just do simple search

* Finalize simple search

* Pass string to highlights

(cherry picked from commit a127e09503)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-03-25 10:41:28 +01:00
Grot (@grafanabot)andIvana Huckova f593179a4a Explore: Show all dataFrames in data tab in Inspector (#32161) (#32299)
* Add option to show/download all data

* Add test

* Address feedback

(cherry picked from commit bd7285a9e3)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-03-24 19:31:12 +01:00
Grot (@grafanabot)andOscar Kilhed 0f146e7c38 PieChartV2: Add migration from old piechart (#32259) (#32291)
* Add migration from old piechart

* Add piechart migration tests

(cherry picked from commit 49c4211295)

Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2021-03-24 16:13:22 +01:00
Hugo Häggmark 099f5cbf97 LibraryPanels: Adds Type and Description to DB (#32258) (#32288)
* Refactor: adds description to getCreateCommand

* Refactor: Adds type and description fields

* Chore: Updates FrontEnd

* Update pkg/services/librarypanels/database.go

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

* Update pkg/services/librarypanels/database.go

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

* Chore: fixes backend linting error

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
(cherry picked from commit 7f5487a461)
2021-03-24 14:57:02 +01:00
Grot (@grafanabot)andHugo Häggmark 15ee6280db LibraryPanels: Prevents deletion of connected library panels (#32277) (#32284)
* LibraryPanels: Prevents deletion of connected library panels

* Refactor: adds the delete library panel modal

* Chore: updates after PR comments

(cherry picked from commit 376ed8a381)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-03-24 13:42:19 +01:00
Grot (@grafanabot)andkay delaney 0b08c5e608 Library Panels: Add "Discard" button to panel save modal (#31647) (#32281)
* Library Panels: Add "Discard" button to panel save modal

(cherry picked from commit 06a6fb405c)

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2021-03-24 13:10:32 +01:00
Grot (@grafanabot)andHugo Häggmark c713b92249 LibraryPanels: Changes to non readonly reducer (#32193) (#32200)
(cherry picked from commit 79f0cf7874)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-03-24 07:47:07 +01:00
Grot (@grafanabot) 80a4d4296c Notifications: InfluxDB - Fix regex to include metrics with hyphen in aliases (#32224) (#32262)
* Notifications: InfluxDB - fix regex to include metrics with hyphen

* Add hyphen check in tests

(cherry picked from commit fdaac2b8fb)
2021-03-23 15:51:49 +01:00
Kyle Brandt 47c10bab65 SSE/InfluxDB: Change InfluxQL to work with server side expressions (#31691) (#32102)
* SSE/InfluxDB: Change InfluxQL to work with server side expressions
updates the request to handle EpochMS as the time range (which is what expressions sends)
and the response to use millisecond timestamps instead of seconds.
fixes #31604
similar to https://github.com/grafana/grafana/pull/31455

(cherry picked from commit 026bf1f9ca)
2021-03-23 11:38:19 +01:00
Grot (@grafanabot)andHa. Huynh Sam 1acc921689 DashboardSettings: Fixes issue with tags list not updating when changes are made (#32241) (#32247)
(cherry picked from commit 014a4cda9d)

Co-authored-by: Ha. Huynh Sam <huynhha12798@gmail.com>
2021-03-23 11:10:26 +01:00
Grot (@grafanabot)andIvana Huckova 0528f7211a Logs: If log message missing, use empty string (#32080) (#32243)
* Fix error when message in undefined and add test

* Fix typo

(cherry picked from commit cfdb9db775)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-03-23 09:47:53 +01:00
Grot (@grafanabot)andErik Sundell fafa352451 CloudWatch: Use latest version of aws sdk (#32217) (#32223)
* use latest version of aws sdk

* use yet a newer version

(cherry picked from commit c1d53bd646)

Co-authored-by: Erik Sundell <erik.sundell@grafana.com>
2021-03-22 17:30:43 +01:00
Grot (@grafanabot) a9077812d8 Release: Updated versions in package to 7.5.0-beta.2 (#32158) v7.5.0-beta2 2021-03-19 13:02:15 +01:00
Carl Bergquist 5039c90b8c HttpServer: Make read timeout configurable but disabled by default (#31575) (#32154)
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
(cherry picked from commit 862cd473eb)
2021-03-19 12:01:37 +01:00
Grot (@grafanabot)andDominik Prokop 1df1d60e1e GraphNG: Ignore string fields when building data for uPlot in GraphNG (#32150) (#32151)
(cherry picked from commit fb337e5c1d)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-03-19 11:25:44 +01:00
Grot (@grafanabot)andTania B fbf3469e80 Fix loading timezone info on windows (#32029) (#32149)
* Fix loading timezone info on windows

* Move setting zoneinfo to config load

* Construct proper file path

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

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
(cherry picked from commit ea484312a0)

Co-authored-by: Tania B <yalyna.ts@gmail.com>
2021-03-19 10:41:26 +01:00