28337 Commits
Author SHA1 Message Date
Grot (@grafanabot) 615c153b3a "Release: Updated versions in package to 7.5.4" (#32971) v7.5.4 2021-04-14 11:07:34 +02:00
Grot (@grafanabot)andJack Westbrook b6763e0ac2 fix(datasource_srv): prevent infinite loop where default datasource is named default (#32949) (#32967)
(cherry picked from commit b0470c84a5)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-04-14 10:38:55 +02:00
Josh Huntanddeesejohn eebe4a5e6f Added Azure Monitor support for Microsoft.AppConfiguration/configurationStores namespace (#32123) (#32968)
Closes #28733

Co-authored-by: deesejohn <deese.john@gmail.com>
2021-04-14 10:20:39 +02:00
Grot (@grafanabot) 385bf145d8 fix sqlite3 tx retry condition operator precedence (#32897) (#32952) 2021-04-13 19:12:06 +03:00
Grot (@grafanabot)andJosh Hunt ef3cf5cc94 AzureMonitor: Add support for Virtual WAN namespaces (#32935) (#32947)
* AzureMonitor: Add support for additional Microsoft.Network namespaces

* Update supported_namespaces.ts

* Update supported_namespaces.ts

(cherry picked from commit a7d18bbc89)

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
2021-04-13 18:07:35 +02:00
Grot (@grafanabot)andJack Westbrook 7354150b79 Plugins: Allow a non-dashboard page to be the default home page (#32926) (#32945)
* feat: introduce home page redirect if default dashboard

* style: clean up

* Apply suggestions from code review

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>

* chore(dashboard): remove obsolete setting import

* docs(config): add home_page description

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
(cherry picked from commit bd74953f0d)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-04-13 17:27:05 +02:00
Grot (@grafanabot)andLeon Sorokin 4f542d69db GraphNG: uPlot 1.6.8 (#32859) (#32863)
(cherry picked from commit 0c71fdac3d)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-04-09 22:35:05 -05:00
Dimitris Sotirakis d548282ed5 Alerting: Add ability to include aliases with dashes (/) and at (@) signs in InfluxDB (#32844) 2021-04-09 15:51:12 +02:00
Grot (@grafanabot)andZoltán Bedi 3e67fc8670 Prometheus: Allow exemplars endpoint in data source proxy (#32802) (#32804)
(cherry picked from commit 7a2ab93e7a)

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-04-08 18:41:24 +02:00
580030ed9a [v7.5.x] Table: Fixes table data links so they refer to correct row after sorting (#32758)
* Table: Fixes table data links so they refer to correct row after sorting (#32571)

* Table: Fixes table data links so they refer to correct row after sorting

* Tests: adds some basic tests incl sorting

* Refactor: removes dependeny on app

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
(cherry picked from commit 5e1d0a8851)

* Tests: mocks locationUtl to fix test

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-04-08 07:38:23 +02:00
Grot (@grafanabot)andkay delaney 7fc361d50f TablePanel: Makes sorting case-insensitive (#32435) (#32752)
* UI/Table: Make sorting case-insensitive
Closes #30476

(cherry picked from commit 6c16ecf65f)

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2021-04-07 16:05:41 +02:00
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