Commit Graph

29898 Commits

Author SHA1 Message Date
Grot (@grafanabot)
7a96df875b Annotations: Fix annotation line and marker colors (#35608) (#35619)
(cherry picked from commit 75ff02a9fb)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-06-14 12:39:40 +02:00
Grot (@grafanabot)
5c5d45e19f "Release: Updated versions in package to 8.0.2" (#35614) v8.0.2 2021-06-14 10:55:02 +02:00
Grot (@grafanabot)
ffd39d5f36 Fix typo (#35452) (#35454)
(cherry picked from commit e4a4446004)

Co-authored-by: Nolan Crooks <58015900+crockk@users.noreply.github.com>
2021-06-14 10:06:35 +02:00
Grot (@grafanabot)
a97ad5e6e4 AlertList: make sure we sort the alert list when displayed in "recent state changes" mode. (#35544) (#35545)
(cherry picked from commit 5ac2a7cca6)

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2021-06-14 09:53:02 +02:00
Grot (@grafanabot)
4a7c0eafd4 Variables: Hides default data source if missing from regex (#35561) (#35605)
(cherry picked from commit d94817146e)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-06-14 06:29:39 +02:00
Grot (@grafanabot)
982dfe21f5 Snapshots: Remove dashboard links from snapshots (#35567) (#35586)
(cherry picked from commit 4907d09ffe)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-06-12 08:11:02 +02:00
Grot (@grafanabot)
a156582fc4 Theme: Change white base in dark theme (#35564) (#35582)
* Theme: Change white base in dark theme

* Updated

* Updated snapshots

(cherry picked from commit f884381a68)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-06-12 08:10:50 +02:00
Grot (@grafanabot)
e3ea4f839b PieChart: Fixes legend dimension limits (#35563) (#35584)
* PieChart: Fixes legend size limits

* Fixing table legend

* remove legend

(cherry picked from commit a328afd631)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-06-12 08:10:38 +02:00
Grot (@grafanabot)
be3032c4e8 Stat: improve color mode migration from singlestat panels (#35538) (#35587)
(cherry picked from commit 056e17216e)

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-06-11 18:29:41 +02:00
Grot (@grafanabot)
b4e30f1bd3 Dashboard: handle the case where refresh_intervals could be null (#35511) (#35579)
* handle the case where refresh_intervals === null + add unit test

* have a clean _dashboard for each test

* modify check to see if refresh_intervals is an array

(cherry picked from commit 60f79a3548)

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
2021-06-11 17:45:32 +02:00
Marcus Efraimsson
906af3bf4b [v8.0.x] Datasource: Add support for max_conns_per_host in dataproxy settings (#35520) (#35573)
Allow configuring dataproxy.max_conns_per_host for HTTP data sources.

Ref #35519
Ref #35257

(cherry picked from commit 6531424c72)

Co-authored-by: Javier Palomo <javier.palomo@grafana.com>
2021-06-11 17:18:44 +02:00
Grot (@grafanabot)
603c7ce2aa Graph and GraphNG: make the stories internal (#35491) (#35499)
(cherry picked from commit bea8747405)

Co-authored-by: Uchechukwu Obasi <obasiuche62@gmail.com>
2021-06-11 15:46:09 +02:00
Grot (@grafanabot)
601b9e3e8a Postgres/MySQL/MSSQL: Fix concurrent map writes panic (#35510) (#35562)
Fixes panic/fatal error concurrent map writes in SQL data sources when multiple
queries are executed concurrently and you interpolate SQL query before executing it.

Fixes #35469

(cherry picked from commit 0611207f3b)

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-06-11 15:24:06 +02:00
Grot (@grafanabot)
e442c3e790 TimeSeries: Fix fill below for dataframes with name (#35453) (#35560)
Use original dataframes for matching config.

(cherry picked from commit 38734366d1)

Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2021-06-11 14:24:24 +02:00
Grot (@grafanabot)
748e99a923 Configuration: Fix changing org preferences on FireFox (#35549) (#35551)
(cherry picked from commit 1838e6b774)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-06-11 12:23:28 +02:00
Grot (@grafanabot)
ab7efc2bb6 Search: runAllTimers => runOnlyPendingTimers (#35509) (#35550)
(cherry picked from commit 8e827337ea)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-06-11 12:08:23 +02:00
Grot (@grafanabot)
7b10cf8b87 Doc add note to alerting docs (#35528) (#35530)
* Added note about retrieving rules from data sources.

* Polishing content.

* Fixed typos

* Update docs/sources/alerting/unified-alerting/opt-in.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/alerting/unified-alerting/opt-in.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/alerting/unified-alerting/opt-in.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
(cherry picked from commit 07a970a50f)

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-06-10 14:32:28 -04:00
Grot (@grafanabot)
0e3c8b6aa3 Docs: Update intro-histograms.md (#35462) (#35527)
(cherry picked from commit 34e4985a44)

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-06-10 18:05:54 +02:00
Grot (@grafanabot)
8a2e2aa063 Fix: only recurse a symbolic link if it is a directory (#35455) (#35521)
* only recurse a symbolic link if it is a directory

* added test for detecting valid plugins using lib dirs with symbolic links in them (like oracle)

* fix linting errors

* added extra checks as per code-review

(cherry picked from commit 83f26e9ce2)

Co-authored-by: Stephanie Closson <srclosson@gmail.com>
2021-06-10 17:54:50 +02:00
Grot (@grafanabot)
a23ff23deb ReleaseNotes: Updated changelog and release notes for 8.0.1 (#35502) (#35522)
* ReleaseNotes: Updated changelog and release notes for 8.0.1

* add link to index

* Apply suggestions from code review

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

* Wording changes

Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
(cherry picked from commit c45c6655d0)
2021-06-10 17:06:06 +02:00
Grot (@grafanabot)
8849243d27 "Release: Updated versions in package to 8.0.1" (#35501) v8.0.1 2021-06-10 13:31:37 +02:00
Grot (@grafanabot)
ded96ea901 Upgrade ARG API version (#35464) (#35492)
(cherry picked from commit 05f3985108)

Co-authored-by: shuotli <63325084+shuotli@users.noreply.github.com>
2021-06-10 12:56:38 +02:00
Grot (@grafanabot)
658388573e StatPanel: Fixes issue with graph look when switching color mode (#35460) (#35482) 2021-06-10 11:53:18 +02:00
Grot (@grafanabot)
fcdf4ee25c GoogleCloudMonitoring: Fix query object for panels prior to v7 (#35449) (#35483)
* Fix query object for cloudmonitor panel from v6

* Use proper function

(cherry picked from commit 83b6df738e)

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
2021-06-10 11:38:53 +02:00
Grot (@grafanabot)
f0a975fc09 Routing: Remove subPath only at start of href (#35416) (#35485)
* fix(routing): remove baseUrl only if at start of url

* test(routing): add subdirectory suburl tests for stripBaseFromUrl

* test(routing): add absolute url check to fix tests, add extra tests

(cherry picked from commit 8b2ee06f3c)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-06-10 11:33:42 +02:00
Grot (@grafanabot)
422e388fa2 Datasource: Fix storing timeout option as numeric (#35441) (#35481)
#31871 introduced support for configuring timeout in seconds
for HTTP data sources. That had a bug where backend expected
a numeric timeout value where it was actually stored as a
string. This should resolve this by requiring input to be
numbers, storing input as numeric and falling back to string
value if there's no numeric value.

Ref #31871

(cherry picked from commit d15d87db8a)

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-06-10 10:51:47 +02:00
Grot (@grafanabot)
ad6f9a0c32 Cloudwatch: Fix duplicated time series (#35433) (#35480)
* make sure queries are only ran once

* test aliases

* use correct dates

(cherry picked from commit eff2410bae)

Co-authored-by: Erik Sundell <erik.sundell@grafana.com>
2021-06-10 10:48:16 +02:00
Grot (@grafanabot)
56d51e45ae Grafana-UI: Removes knobs still showing in storybook stories (#35381) (#35409)
* Grafana-UI: Removes knobs from storybook addons pane

* removed other knobs settings since we are disabling it

* remove the knobs disable config in individual stories

(cherry picked from commit 8d9e1d75a5)

Co-authored-by: Uchechukwu Obasi <obasiuche62@gmail.com>
2021-06-10 10:42:08 +02:00
Grot (@grafanabot)
1bdd2c54d9 HTTP Client: Introduce go-conntrack into http client provider (#35314) (#35477)
* Introduce go-conntrack into http client provider

* Fixes according to reviewer's comments

* Fixes according to reviewer's comments

(cherry picked from commit 7cdf8b3705)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2021-06-10 10:21:30 +02:00
Grot (@grafanabot)
c4075fe2e3 Alerting/SSE: Fix "count_non_null" reducer validation (#35451) (#35457)
fixes error "reducer 'count_non_null' in condition 2 is not a valid reducer"

(cherry picked from commit f4e9dcd40b)
2021-06-09 21:06:07 +02:00
Grot (@grafanabot)
8c1b326585 Live: only connect when user has a role (#35339) (#35395)
(cherry picked from commit 78d53c5e3d)

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-06-09 09:40:51 -07:00
Grot (@grafanabot)
8b6c978d6d Logs panel: Add paddings so first and last lines can be copied (#35410) (#35444)
* Logs panel: Add paddings so all lines can be copied

* Update public/app/plugins/panel/logs/LogsPanel.tsx

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
(cherry picked from commit 34f680a20d)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-06-09 18:33:34 +02:00
Grot (@grafanabot)
f4750c7a6b Fix missing defaultRegion (#35436) (#35440)
(cherry picked from commit 086309700e)

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
2021-06-09 17:44:32 +02:00
Grot (@grafanabot)
bd331f76ed Docs: Update panel-library.md (#35435) (#35439)
(cherry picked from commit ccd3ec5f2f)

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-06-09 17:41:38 +02:00
Grot (@grafanabot)
4fca76a631 [v8.0.x] Postgres/MySQL/MSSQL: Fix annotation parsing for empty responses (#35367) (#35430)
* fix sql annotation parsing for empty responses

* fix backend when no data returned

* add back frontend changes

Co-authored-by: Ying WANG <ying.wang@grafana.com>
(cherry picked from commit 9a5e10e6fb)

Co-authored-by: Marc Bachmann <marc.brookman@gmail.com>
2021-06-09 17:39:33 +02:00
Grot (@grafanabot)
3cae0e4d18 remove box-shadow from sidenav items using images for consistency (#35428) (#35434)
(cherry picked from commit 445356d6aa)

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
2021-06-09 15:17:06 +01:00
Grot (@grafanabot)
f1810430a9 Dashboard: Fixes Dashboard init failed error on dashboards with old singlestat panels in collapsed rows (#35432)
(cherry picked from commit b3a2740d57)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-06-09 16:09:12 +02:00
Grot (@grafanabot)
aee6c15316 Postgres/MySQL/MSSQL: Fix so that numeric/non-string values are returned from query variables (#35411) (#35423)
Fixes a problem with query variables where SQL query returning for example only
numeric values didn't populate the query variables with values.

Fixes #35391

(cherry picked from commit bf7301e485)

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-06-09 14:42:17 +02:00
Grot (@grafanabot)
688d68af7e Docs: Fix code sample for access control provisioning (#35406) (#35419)
(cherry picked from commit dc7a641978)

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2021-06-09 14:22:27 +02:00
Grot (@grafanabot)
ed605c97f9 Plugins: Ignore trailing slash in root URL check (#35338) (#35402)
* ignore trailing slash in root URL check

* apply pr feedback

(cherry picked from commit 873e20b7ae)

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2021-06-09 10:22:24 +02:00
Grot (@grafanabot)
dd5b51527d Chore: Fix observable function in DashboardQueryRunnerImpl (#35398) (#35399)
(cherry picked from commit 35168764c3)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-06-09 08:10:42 +02:00
Grot (@grafanabot)
6fc58b6ea0 Toolkit: Resolve external fonts when Grafana is served from a sub path(#35352) (#35383)
(cherry picked from commit 044acf727b)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-06-08 19:22:14 +02:00
achatterjee-grafana
8784364f59 Removed duplicate content and folder. (#35389) 2021-06-08 18:42:17 +02:00
Grot (@grafanabot)
6ee6dbc8df Added a note to differentiate legacy and new alerts. (#35385) (#35387)
(cherry picked from commit ec9b9d6ab1)

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-06-08 17:51:24 +02:00
Grot (@grafanabot)
11f2a91377 Visualizations: Fixes Stat/BarGauge/Gauge/PieChart all values mode showing same name if same value (#35368) (#35384)
(cherry picked from commit c425c30d7e)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-06-08 17:13:45 +02:00
Alex Khomenko
7360428b3e Search: minor UI fixes (#35335) (#35377)
* Increase margin between search item so it's visible

* Fix manage dashboards height overflow

* Align folder icon

* Increase margin

* Update container height

* Fix className not being passed to CardContainer
2021-06-08 15:14:00 +02:00
Grot (@grafanabot)
fa5309a3a8 Docs: Fix image paths (#35334) (#35375)
(cherry picked from commit 6a39fc9ae1)

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2021-06-08 16:09:37 +03:00
Grot (@grafanabot)
4e4dad60ce Dashboard: Removed console log prompt (#35366) (#35370)
(cherry picked from commit 26027fea2a)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-06-08 14:32:08 +02:00
Giordano Ricci
d5e06ffcf4 Chore: fix docs publish branch for v8 (#35361)
* Chore: fix docs publish branch for v8

* Docs: remove notice in what's new
2021-06-08 13:23:46 +02:00
Giordano Ricci
331756990d Docs: Fix publishing path (#35359) 2021-06-08 10:46:03 +01:00