Commit Graph

29753 Commits

Author SHA1 Message Date
Arve Knudsen
1c87edb7cf
Drone: Sync with main (#35015)
* Drone: Sync with main

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-06-01 09:45:39 +02:00
Grot (@grafanabot)
0727a3a66b
Reporting: update docs (#34740) (#35011)
* Reporting: update dcos

* Add info about pausing reports

* Add version note

* Update docs/sources/enterprise/reporting.md

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

* Docs: update report form information

* Docs: update report scheduling

* Docs: re-order reporting sections

* Update docs/sources/enterprise/reporting.md

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>

* Update docs/sources/enterprise/reporting.md

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>

* Update docs/sources/enterprise/reporting.md

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>

* Update docs/sources/enterprise/reporting.md

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>

* Update docs/sources/enterprise/reporting.md

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>

* Update docs/sources/enterprise/reporting.md

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>

* Update docs/sources/enterprise/reporting.md

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>

* Update docs/sources/enterprise/reporting.md

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>

* Update docs/sources/enterprise/reporting.md

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Agnès Toulet <agnes.toulet@gmail.com>
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
(cherry picked from commit c6a78a6bd7)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-06-01 09:03:22 +02:00
Grot (@grafanabot)
ec170be577
Collapse: Fixes icon (angle down/right) positioning (#34930) (#35009)
(cherry picked from commit ce63da63db)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-06-01 08:53:15 +02:00
Grot (@grafanabot)
3eca7864ed
NodeGraph: Fix error when clicking link in a context menu (#34817) (#34830)
* Add prevent default if onClick exists

* Apply field overrides

(cherry picked from commit fcdab32750)

Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2021-06-01 08:43:49 +02:00
Grot (@grafanabot)
d2c9c33d41
Color: Remove the default color scale logic (#34913) (#34918)
(cherry picked from commit 179bfecb3e)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-06-01 06:29:08 +02:00
Grot (@grafanabot)
b5f2e6ae0f
Plugins: Update plugin signing copy + docs (#34716) (#35008) 2021-05-31 22:20:52 +02:00
Grot (@grafanabot)
b06b3d5a61
add missing statis assets prefix (#34999) (#35007)
(cherry picked from commit 28ccf2c880)

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2021-05-31 21:42:36 +02:00
Grot (@grafanabot)
8ba26e2f09
Secure from custom config being undefined in PlotLegend (#34975) (#35006)
(cherry picked from commit 823581add8)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-05-31 20:44:24 +02:00
Grot (@grafanabot)
0b02a7e918
Test datasource: Returns always float values (#34986) (#35001)
(cherry picked from commit 51afde34bd)

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2021-05-31 20:19:09 +03:00
Grot (@grafanabot)
f70ffc30e7
Plugins: Check for Grafana admin instead of Org admin (#35000) (#35003)
* check for grafana admin where necessary

* fix

(cherry picked from commit aba1801193)

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2021-05-31 19:10:41 +02:00
Grot (@grafanabot)
eae88f8ce8
Alerting: Migrate tags as labels and not annotations (#34990) (#34992)
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
(cherry picked from commit a23674ef99)

Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
2021-05-31 16:43:10 +02:00
Grot (@grafanabot)
735630f364
Admin: hide per role counts for licensed users (#34984) (#34991)
* Hide per-role counts for licensed users

* Hide totals

(cherry picked from commit 05f3161f8e)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-05-31 16:30:38 +02:00
Grot (@grafanabot)
ddb6922773
Oauth: Assign role from GF_USERS_AUTO_ASSIGN_ORG_ROLE for Azure AD Oauth (#34838) (#34938)
* 30555:Assign correct role with environment variable GF_USERS_AUTO_ASSIGN_ORG_ROLE

* 30555:Remove unused condition

(cherry picked from commit 48f6d6f7e6)

Co-authored-by: idafurjes <36131195+idafurjes@users.noreply.github.com>
2021-05-31 15:18:24 +02:00
Grot (@grafanabot)
d8c4981b77
Alerting: New alert list panel component (#34614) (#34988)
(cherry picked from commit 7dd5a065ba)

Co-authored-by: Nathan Rodman <nathanrodman@gmail.com>
2021-05-31 14:35:37 +02:00
Grot (@grafanabot)
765655fefd
Alerting: Migrate paused alerts to silences (#34898) (#34987)
* Alerting: Migrate paused alerts to silences

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix lint

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
(cherry picked from commit 7c25465b3a)

Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
2021-05-31 14:32:41 +02:00
Grot (@grafanabot)
727119f9ce
PluginsList Panel: Redirect to catalog app for updating plugins (#34893) (#34985)
* feat(pluginlistpanel): if catalog app is enabled redirect user if plugin is upgradable

* refactor(catalog): update copy if plugin is disabled

(cherry picked from commit 8c93899b15)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-05-31 14:26:20 +02:00
Grot (@grafanabot)
ba313788d5
fix permissions + add link for admins (#34906) (#34981)
(cherry picked from commit 98c849d4cc)

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2021-05-31 12:54:59 +02:00
Grot (@grafanabot)
8168629948
Explore: Fix show all series (#34968) (#34979)
(cherry picked from commit 6e5d349ae8)

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-05-31 11:41:47 +02:00
Grot (@grafanabot)
0df47643fd
[Alerting]: fix/cleanup API examples (#34588) (#34970)
(cherry picked from commit 355be158b7)

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2021-05-31 11:56:00 +03:00
Grot (@grafanabot)
c24d507800
InfluxDB: InfluxQL: apply on enter not on blur (#34963) (#34969)
(cherry picked from commit 618dc6a2f6)

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2021-05-31 10:35:47 +02:00
Grot (@grafanabot)
3884cfe270
GraphNG: Remove fieldName and hideInLegend properties from UPlotSeriesBuilder (#34901) (#34965)
* Remove fieldName and hideInLegend properties from UPlotSeriesBuilder

* Fix test

(cherry picked from commit 573d7b8893)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-05-31 10:29:57 +02:00
Grot (@grafanabot)
a7a9d002cb
Make sure ConfirmButton cannot be clicked when closed (#34818) (#34967)
(cherry picked from commit e38c6d73a0)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-05-31 10:07:31 +02:00
Grot (@grafanabot)
dfff63da1b
Add custom icons for layout options (#34890) (#34966)
(cherry picked from commit 10f6638d9e)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-05-31 10:02:08 +02:00
Grot (@grafanabot)
7206d16352
DataLinks: Fixes an issue __series.name is not working in data link (#34932) (#34960)
(cherry picked from commit c7076c9e19)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-05-31 09:32:13 +02:00
Grot (@grafanabot)
fdd80b1b4c
StatPanel: Fixes data link tooltip not showing for single value (#34934) (#34962)
(cherry picked from commit d9e9e4744d)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-05-31 09:31:18 +02:00
Grot (@grafanabot)
bf3ce22358
DashboardLinks: Fix dropdown positioning (#34909) (#34961)
(cherry picked from commit fd028fd798)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-05-31 09:26:43 +02:00
Grot (@grafanabot)
f6b0cd714d
ConfirmModal: Auto focus delete button (#34917) (#34959)
(cherry picked from commit ef13f7ece1)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-05-31 09:06:32 +02:00
Grot (@grafanabot)
2335c3d0d5
Alerting: Add support for configuring avatar URL for the Discord notifier (#33355) (#34940)
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
(cherry picked from commit badec6c6ad)

Co-authored-by: Chip Wolf ‮ <hello@chipwolf.uk>
2021-05-31 09:02:32 +02:00
Grot (@grafanabot)
bfb3e90750
BarChart: make sure tooltip closes when user presses E (#34884) (#34941)
(cherry picked from commit dfc466052d)

Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2021-05-31 09:01:37 +02:00
Grot (@grafanabot)
bee8b0a9dd
Table: Fixes sorting for number fields (#34722) (#34957)
* Table: Fixes sorting for number fields

* Refactor: changes after PR comments

* Refactor: found a bug

(cherry picked from commit 37ab5ec7f4)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-05-31 06:35:57 +02:00
Grot (@grafanabot)
fb9f1a3b04
State timeline: defer quadtree construction until first mousemove (#34949) (#34954)
(cherry picked from commit 13768da417)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-05-29 15:18:27 -05:00
Grot (@grafanabot)
216f018377
Rename: Status grid to history (#34864) (#34953)
(cherry picked from commit 4972e0f6a1)

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-05-29 21:03:37 +02:00
Grot (@grafanabot)
5e46bbe823
[Dashboard] Revert feature toggle trimdefaults (#34888) (#34937)
* Revert "solve comments and retrigger the test"

This reverts commit f08d2d9eca.

* Revert "update api doc"

This reverts commit cc09ceb853.

* Revert "remove post trim"

This reverts commit 46fe8ed596.

* Revert "fix typo"

This reverts commit 3b3ceee16e.

* Revert "Apply suggestions from code review"

This reverts commit 3b7f3b8e15.

* Revert "update comments"

This reverts commit b9c6260876.

* Revert "update doc"

This reverts commit 8e4c4d7c93.

* Revert "remove feature toggle + add libraryPaneldefinition"

This reverts commit d01cfcc2ed.

* fix some typos

* Update public/app/features/dashboard/components/ShareModal/ShareExport.tsx

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Update docs/sources/dashboards/export-import.md

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

* fix comments

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
(cherry picked from commit b391e43472)

Co-authored-by: ying-jeanne <74549700+ying-jeanne@users.noreply.github.com>
2021-05-29 16:59:06 +02:00
Grot (@grafanabot)
55cbd415a2
Themes: Add border to sidemenu, and reduce border in dark theme a tiny bit (#34737) (#34950)
* Themes: Add border to sidemenu, and reduce border in dark theme a tiny bit

* Updated

(cherry picked from commit d6a9a9b975)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-05-29 07:34:25 +02:00
Grot (@grafanabot)
e9b6b66a46
Add key for DataLinkButtons (#34935) (#34936)
(cherry picked from commit f16b2c40c1)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-05-28 22:20:54 +02:00
Grot (@grafanabot)
5a68094a45
Loki: Add formatting for annotations (#34774) (#34876)
* add formatting for loki annotations

based/copied from the same features from the prometheus datasource

(cherry picked from commit 261319a4be)

Co-authored-by: Fredrik Enestad <fredrik@enestad.com>
2021-05-28 19:00:45 +02:00
Grot (@grafanabot)
8fef4d7a8a
alerting: fixes per-receiver metric cardinality (#34915) (#34924)
(cherry picked from commit cc38613ba4)

Co-authored-by: Owen Diehl <ow.diehl@gmail.com>
2021-05-28 18:54:30 +02:00
Grot (@grafanabot)
4a67bfc102
Alerting/consistent api errors (#34858) (#34920)
* consolidates alertmanager api errors

* util & testing consistent errors

* consistent errors for rest of ngalert apis

* updates expected errors in testware

* bump ci

* linting

* unrelated: dashboard.go lint

(cherry picked from commit 9aca032d10)

Co-authored-by: Owen Diehl <ow.diehl@gmail.com>
2021-05-28 12:20:46 -04:00
Joan López de la Franca Beltran
6dc4e4d563
Usage Stats: Make the UsageStatsService extension point more flexible (#34778) (#34895)
* Usage Stats: Rename service to use a more idiomatic name

* Usage Stats: Update MetricsFunc definition and implementations

* Revert "Usage Stats: Rename service to use a more idiomatic name"

This reverts commit 910ecce3e8.

* Usage Stats: Update MetricsFunc definition and implementations

(cherry picked from commit f601921670)
2021-05-28 17:47:47 +02:00
Joan López de la Franca Beltran
2ca76fa8ae
Docs: Settings updates at runtime (#34169) (#34892)
* Docs: Settings updates on runtime docs skeleton

* Docs: Settings HTTP API

* Docs: Minor changes on settings updates at runtime docs

* Docs: Settings updates at runtime description

* Docs: Minor fix

* Docs: Move PUT /api/admin/settings docs into Admin API page

* Docs: Added longer explanation into 'Settings updates at runtime' page

* Apply suggestions from code review

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

* Docs: Include order of precedence description at settings updates page

* Update docs/sources/http_api/admin.md

* Docs: Add link to main configuration page from Settings updates at runtime

* Apply suggestions from code review

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
(cherry picked from commit 886f6fc55b)
2021-05-28 17:44:35 +02:00
Grot (@grafanabot)
aa48f0f6a0
Prometheus: Add info that using Loki as Prometheus data source is no longer supported and might stop working (#34650) (#34911)
* Add information that Loki as Prometheus data source is not supported

* Fix ugly error when loki as prometheus used

* Refactor, add test

* Fix type error

* Fix test by passing missing method

* Update public/app/plugins/datasource/prometheus/query_hints.ts

* Remove optionality in prop

(cherry picked from commit add1b827ae)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-05-28 17:36:21 +02:00
Grot (@grafanabot)
4c967fe718
Alerting: Extract values from MD expr alerts (#34757) (#34908)
When using mulit-dimensional Grafana managed alerts (e.g. SSE math) extract refIds values and labels so they can be shown in the notification and dashboards.

(cherry picked from commit b47e7d12e6)

Co-authored-by: Kyle Brandt <kyle@grafana.com>
2021-05-28 11:34:59 -04:00
Grot (@grafanabot)
0101d3a51d
Add info about logs histogram (#34886) (#34910)
(cherry picked from commit 6adcfa9e50)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-05-28 17:31:53 +02:00
Grot (@grafanabot)
3652af9e0b
Plugins: Add missing docs for plugin catalog (#34679) (#34907)
* add missing docs for plugin catalog

* apply PR feedback

* use mp4 instead of gif

* update wording

* Add note about org admins

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

* apply pr feedback

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

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2021-05-28 17:08:25 +02:00
Robby Milo
5f4379a24d
cleanup shortcodes, asset paths (#34826) (#34900)
(cherry picked from commit 327fa124a4)
2021-05-28 16:43:49 +02:00
Grot (@grafanabot)
e1eebdcf75
Alerting: Do no hard fail on finding discontinued channels on migration (#34894) (#34902)
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
(cherry picked from commit ad6648b649)

Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
2021-05-28 16:39:45 +02:00
Grot (@grafanabot)
c767dedffd
live: fix log message (#34879) (#34883)
(cherry picked from commit b73d168753)

Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
2021-05-28 17:25:23 +03:00
Grot (@grafanabot)
f704fa423d
Prometheus: exemplars show different symbols (#34763) (#34899)
* Show different symbols for different queries

* Only run different exemplars

* Address review comment

* Do the same for dashboard + tests

(cherry picked from commit 4435895833)

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-05-28 16:05:33 +02:00
Grot (@grafanabot)
6d6e875a84
Prometheus: Add metadata to metrics in Metrics browser (#34708) (#34896)
* Prometheus: Add metadata to metrics in Metrics browser

- use the available metadata to enhance the tooltip on metric items in the metrics browser
- added meta info for histogram metrics (was missing before)
- also added one for ALERTS

* fix test

(cherry picked from commit 2205464a8d)

Co-authored-by: David <david.kaltschmidt@gmail.com>
2021-05-28 15:32:07 +02:00
Grot (@grafanabot)
a0e0414720
Alerting: Fix flaky TestNotificationChannels take 2 (#34880) (#34885)
* Alerting: Fix flaky TestNotificationChannels take 2

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix nits

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix lint

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
(cherry picked from commit 8278c7bf77)

Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
2021-05-28 12:19:39 +02:00